From 820151b6d27643ba0927ca84d1bccadbd695a55d Mon Sep 17 00:00:00 2001
From: Oszkar Semerath
Date: Wed, 6 May 2020 00:27:55 +0200
Subject: PS language update
---
.../contentassist/antlr/SolverLanguageParser.java | 62 +-
.../antlr/internal/InternalSolverLanguage.g | 1159 ++--
.../antlr/internal/InternalSolverLanguage.tokens | 50 +-
.../internal/InternalSolverLanguageLexer.java | 395 +-
.../internal/InternalSolverLanguageParser.java | 7335 ++++++++++----------
.../AbstractSolverLanguageProposalProvider.java | 22 +-
.../model/generated/SolverLanguage.ecore | 12 +-
.../model/generated/SolverLanguage.genmodel | 8 +-
.../viatra/solver/language/SolverLanguage.xtextbin | Bin 7297 -> 7164 bytes
.../parser/antlr/internal/InternalSolverLanguage.g | 530 +-
.../antlr/internal/InternalSolverLanguage.tokens | 48 +-
.../internal/InternalSolverLanguageLexer.java | 397 +-
.../internal/InternalSolverLanguageParser.java | 3034 ++++----
.../SolverLanguageSemanticSequencer.java | 44 +-
.../SolverLanguageSyntacticSequencer.java | 49 +-
.../services/SolverLanguageGrammarAccess.java | 469 +-
.../language/solverLanguage/NamedObject.java | 2 +-
.../solver/language/solverLanguage/Predicate.java | 46 +
.../solverLanguage/SolverLanguageFactory.java | 18 -
.../solverLanguage/SolverLanguagePackage.java | 230 +-
.../solverLanguage/impl/PredicateImpl.java | 150 +
.../impl/SolverLanguageFactoryImpl.java | 28 -
.../impl/SolverLanguagePackageImpl.java | 71 +-
.../util/SolverLanguageAdapterFactory.java | 42 -
.../solverLanguage/util/SolverLanguageSwitch.java | 53 +-
.../viatra/solver/language/SolverLanguage.xtext | 26 +-
26 files changed, 6990 insertions(+), 7290 deletions(-)
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 0a4b46a5..7f135fb2 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
@@ -41,12 +41,10 @@ public class SolverLanguageParser extends AbstractContentAssistParser {
builder.put(grammarAccess.getComplexObjectAccess().getAlternatives(), "rule__ComplexObject__Alternatives");
builder.put(grammarAccess.getObjectAccess().getAlternatives(), "rule__Object__Alternatives");
builder.put(grammarAccess.getDataObjectAccess().getAlternatives(), "rule__DataObject__Alternatives");
- builder.put(grammarAccess.getPredicateAccess().getAlternatives(), "rule__Predicate__Alternatives");
- builder.put(grammarAccess.getPredicateSymbolAccess().getAlternatives_6(), "rule__PredicateSymbol__Alternatives_6");
- builder.put(grammarAccess.getErrorPredicateAccess().getAlternatives_5(), "rule__ErrorPredicate__Alternatives_5");
+ builder.put(grammarAccess.getPredicateAccess().getAlternatives_4(), "rule__Predicate__Alternatives_4");
builder.put(grammarAccess.getPatternBodyAccess().getAlternatives_1(), "rule__PatternBody__Alternatives_1");
builder.put(grammarAccess.getPolarityAccess().getAlternatives(), "rule__Polarity__Alternatives");
- builder.put(grammarAccess.getConstraintAccess().getAlternatives_2(), "rule__Constraint__Alternatives_2");
+ builder.put(grammarAccess.getConstraintAccess().getAlternatives(), "rule__Constraint__Alternatives");
builder.put(grammarAccess.getClosureTypeAccess().getAlternatives(), "rule__ClosureType__Alternatives");
builder.put(grammarAccess.getLiteralAccess().getAlternatives(), "rule__Literal__Alternatives");
builder.put(grammarAccess.getCDInterpretationAccess().getAlternatives(), "rule__CDInterpretation__Alternatives");
@@ -60,6 +58,9 @@ public class SolverLanguageParser extends AbstractContentAssistParser {
builder.put(grammarAccess.getTruthValueAccess().getGroup_2(), "rule__TruthValue__Group_2__0");
builder.put(grammarAccess.getTruthValueAccess().getGroup_3(), "rule__TruthValue__Group_3__0");
builder.put(grammarAccess.getBasicInterpretationAccess().getGroup(), "rule__BasicInterpretation__Group__0");
+ builder.put(grammarAccess.getBasicInterpretationAccess().getGroup_1(), "rule__BasicInterpretation__Group_1__0");
+ builder.put(grammarAccess.getBasicInterpretationAccess().getGroup_1_1(), "rule__BasicInterpretation__Group_1_1__0");
+ builder.put(grammarAccess.getBasicInterpretationAccess().getGroup_1_1_1(), "rule__BasicInterpretation__Group_1_1_1__0");
builder.put(grammarAccess.getExistSymbolAccess().getGroup(), "rule__ExistSymbol__Group__0");
builder.put(grammarAccess.getEqualsSymbolAccess().getGroup(), "rule__EqualsSymbol__Group__0");
builder.put(grammarAccess.getBooleanSymbolAccess().getGroup(), "rule__BooleanSymbol__Group__0");
@@ -67,21 +68,22 @@ public class SolverLanguageParser extends AbstractContentAssistParser {
builder.put(grammarAccess.getRealSymbolAccess().getGroup(), "rule__RealSymbol__Group__0");
builder.put(grammarAccess.getStringSymbolAccess().getGroup(), "rule__StringSymbol__Group__0");
builder.put(grammarAccess.getNamedObjectAccess().getGroup(), "rule__NamedObject__Group__0");
- builder.put(grammarAccess.getPredicateSymbolAccess().getGroup(), "rule__PredicateSymbol__Group__0");
- builder.put(grammarAccess.getPredicateSymbolAccess().getGroup_6_1(), "rule__PredicateSymbol__Group_6_1__0");
- builder.put(grammarAccess.getPredicateSymbolAccess().getGroup_6_1_1(), "rule__PredicateSymbol__Group_6_1_1__0");
- builder.put(grammarAccess.getErrorPredicateAccess().getGroup(), "rule__ErrorPredicate__Group__0");
- builder.put(grammarAccess.getErrorPredicateAccess().getGroup_3(), "rule__ErrorPredicate__Group_3__0");
- builder.put(grammarAccess.getErrorPredicateAccess().getGroup_5_1(), "rule__ErrorPredicate__Group_5_1__0");
- builder.put(grammarAccess.getErrorPredicateAccess().getGroup_5_1_1(), "rule__ErrorPredicate__Group_5_1_1__0");
+ builder.put(grammarAccess.getPredicateAccess().getGroup(), "rule__Predicate__Group__0");
+ builder.put(grammarAccess.getPredicateAccess().getGroup_2(), "rule__Predicate__Group_2__0");
+ builder.put(grammarAccess.getPredicateAccess().getGroup_2_1(), "rule__Predicate__Group_2_1__0");
+ builder.put(grammarAccess.getPredicateAccess().getGroup_2_1_1(), "rule__Predicate__Group_2_1_1__0");
+ builder.put(grammarAccess.getPredicateAccess().getGroup_4_1(), "rule__Predicate__Group_4_1__0");
+ builder.put(grammarAccess.getPredicateAccess().getGroup_4_1_1(), "rule__Predicate__Group_4_1_1__0");
builder.put(grammarAccess.getParameterAccess().getGroup(), "rule__Parameter__Group__0");
builder.put(grammarAccess.getParameterAccess().getGroup_1(), "rule__Parameter__Group_1__0");
builder.put(grammarAccess.getPatternBodyAccess().getGroup(), "rule__PatternBody__Group__0");
builder.put(grammarAccess.getPolarityAccess().getGroup_0(), "rule__Polarity__Group_0__0");
builder.put(grammarAccess.getPolarityAccess().getGroup_1(), "rule__Polarity__Group_1__0");
- builder.put(grammarAccess.getConstraintAccess().getGroup(), "rule__Constraint__Group__0");
- builder.put(grammarAccess.getConstraintAccess().getGroup_2_0(), "rule__Constraint__Group_2_0__0");
- builder.put(grammarAccess.getConstraintAccess().getGroup_2_1(), "rule__Constraint__Group_2_1__0");
+ builder.put(grammarAccess.getConstraintAccess().getGroup_0(), "rule__Constraint__Group_0__0");
+ builder.put(grammarAccess.getConstraintAccess().getGroup_0_2(), "rule__Constraint__Group_0_2__0");
+ builder.put(grammarAccess.getConstraintAccess().getGroup_0_2_2(), "rule__Constraint__Group_0_2_2__0");
+ builder.put(grammarAccess.getConstraintAccess().getGroup_1(), "rule__Constraint__Group_1__0");
+ builder.put(grammarAccess.getConstraintAccess().getGroup_1_3(), "rule__Constraint__Group_1_3__0");
builder.put(grammarAccess.getClosureTypeAccess().getGroup_0(), "rule__ClosureType__Group_0__0");
builder.put(grammarAccess.getClosureTypeAccess().getGroup_1(), "rule__ClosureType__Group_1__0");
builder.put(grammarAccess.getAllInstancesAccess().getGroup(), "rule__AllInstances__Group__0");
@@ -95,8 +97,9 @@ public class SolverLanguageParser extends AbstractContentAssistParser {
builder.put(grammarAccess.getMultiplicityDefinitionAccess().getGroup(), "rule__MultiplicityDefinition__Group__0");
builder.put(grammarAccess.getProblemAccess().getStatementsAssignment(), "rule__Problem__StatementsAssignment");
builder.put(grammarAccess.getBasicInterpretationAccess().getSymbolAssignment_0(), "rule__BasicInterpretation__SymbolAssignment_0");
- builder.put(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_2(), "rule__BasicInterpretation__ObjectsAssignment_2");
- builder.put(grammarAccess.getBasicInterpretationAccess().getValueAssignment_5(), "rule__BasicInterpretation__ValueAssignment_5");
+ builder.put(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_1_1_0(), "rule__BasicInterpretation__ObjectsAssignment_1_1_0");
+ builder.put(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_1_1_1_1(), "rule__BasicInterpretation__ObjectsAssignment_1_1_1_1");
+ builder.put(grammarAccess.getBasicInterpretationAccess().getValueAssignment_3(), "rule__BasicInterpretation__ValueAssignment_3");
builder.put(grammarAccess.getModelSymbolAccess().getNameAssignment(), "rule__ModelSymbol__NameAssignment");
builder.put(grammarAccess.getNamedObjectAccess().getNameAssignment_1(), "rule__NamedObject__NameAssignment_1");
builder.put(grammarAccess.getUnnamedObjectAccess().getNameAssignment(), "rule__UnnamedObject__NameAssignment");
@@ -104,23 +107,22 @@ public class SolverLanguageParser extends AbstractContentAssistParser {
builder.put(grammarAccess.getIntObjectAccess().getValueAssignment(), "rule__IntObject__ValueAssignment");
builder.put(grammarAccess.getRealObjectAccess().getValueAssignment(), "rule__RealObject__ValueAssignment");
builder.put(grammarAccess.getStringObjectAccess().getValueAssignment(), "rule__StringObject__ValueAssignment");
- builder.put(grammarAccess.getPredicateSymbolAccess().getSymbolAssignment_1(), "rule__PredicateSymbol__SymbolAssignment_1");
- builder.put(grammarAccess.getPredicateSymbolAccess().getParametersAssignment_3(), "rule__PredicateSymbol__ParametersAssignment_3");
- builder.put(grammarAccess.getPredicateSymbolAccess().getBodiesAssignment_6_1_0(), "rule__PredicateSymbol__BodiesAssignment_6_1_0");
- builder.put(grammarAccess.getPredicateSymbolAccess().getBodiesAssignment_6_1_1_1(), "rule__PredicateSymbol__BodiesAssignment_6_1_1_1");
- builder.put(grammarAccess.getErrorPredicateAccess().getNameAssignment_2(), "rule__ErrorPredicate__NameAssignment_2");
- builder.put(grammarAccess.getErrorPredicateAccess().getParametersAssignment_3_1(), "rule__ErrorPredicate__ParametersAssignment_3_1");
- builder.put(grammarAccess.getErrorPredicateAccess().getBodiesAssignment_5_1_0(), "rule__ErrorPredicate__BodiesAssignment_5_1_0");
- builder.put(grammarAccess.getErrorPredicateAccess().getBodiesAssignment_5_1_1_1(), "rule__ErrorPredicate__BodiesAssignment_5_1_1_1");
+ builder.put(grammarAccess.getPredicateAccess().getIsErrorAssignment_0(), "rule__Predicate__IsErrorAssignment_0");
+ builder.put(grammarAccess.getPredicateAccess().getSymbolAssignment_1(), "rule__Predicate__SymbolAssignment_1");
+ builder.put(grammarAccess.getPredicateAccess().getParametersAssignment_2_1_0(), "rule__Predicate__ParametersAssignment_2_1_0");
+ builder.put(grammarAccess.getPredicateAccess().getParametersAssignment_2_1_1_1(), "rule__Predicate__ParametersAssignment_2_1_1_1");
+ builder.put(grammarAccess.getPredicateAccess().getBodiesAssignment_4_1_0(), "rule__Predicate__BodiesAssignment_4_1_0");
+ builder.put(grammarAccess.getPredicateAccess().getBodiesAssignment_4_1_1_1(), "rule__Predicate__BodiesAssignment_4_1_1_1");
builder.put(grammarAccess.getParameterAccess().getVariableAssignment_0(), "rule__Parameter__VariableAssignment_0");
builder.put(grammarAccess.getParameterAccess().getTypeAssignment_1_1(), "rule__Parameter__TypeAssignment_1_1");
builder.put(grammarAccess.getPatternBodyAccess().getConstraintsAssignment_1_1(), "rule__PatternBody__ConstraintsAssignment_1_1");
- builder.put(grammarAccess.getConstraintAccess().getPolarityAssignment_0(), "rule__Constraint__PolarityAssignment_0");
- builder.put(grammarAccess.getConstraintAccess().getSymbolAssignment_1(), "rule__Constraint__SymbolAssignment_1");
- builder.put(grammarAccess.getConstraintAccess().getParamsAssignment_2_0_1(), "rule__Constraint__ParamsAssignment_2_0_1");
- builder.put(grammarAccess.getConstraintAccess().getClosureTypeAssignment_2_1_0(), "rule__Constraint__ClosureTypeAssignment_2_1_0");
- builder.put(grammarAccess.getConstraintAccess().getParamsAssignment_2_1_2(), "rule__Constraint__ParamsAssignment_2_1_2");
- builder.put(grammarAccess.getConstraintAccess().getParamsAssignment_2_1_3(), "rule__Constraint__ParamsAssignment_2_1_3");
+ builder.put(grammarAccess.getConstraintAccess().getPolarityAssignment_0_0(), "rule__Constraint__PolarityAssignment_0_0");
+ builder.put(grammarAccess.getConstraintAccess().getSymbolAssignment_0_1(), "rule__Constraint__SymbolAssignment_0_1");
+ builder.put(grammarAccess.getConstraintAccess().getParamsAssignment_0_2_1(), "rule__Constraint__ParamsAssignment_0_2_1");
+ builder.put(grammarAccess.getConstraintAccess().getParamsAssignment_0_2_2_1(), "rule__Constraint__ParamsAssignment_0_2_2_1");
+ builder.put(grammarAccess.getConstraintAccess().getClosureTypeAssignment_1_0(), "rule__Constraint__ClosureTypeAssignment_1_0");
+ builder.put(grammarAccess.getConstraintAccess().getParamsAssignment_1_2(), "rule__Constraint__ParamsAssignment_1_2");
+ builder.put(grammarAccess.getConstraintAccess().getParamsAssignment_1_3_1(), "rule__Constraint__ParamsAssignment_1_3_1");
builder.put(grammarAccess.getVariableAccess().getNameAssignment(), "rule__Variable__NameAssignment");
builder.put(grammarAccess.getAllInstancesAccess().getSymbolAssignment_1(), "rule__AllInstances__SymbolAssignment_1");
builder.put(grammarAccess.getDefaultInterpretationAccess().getInterpretationAssignment_1(), "rule__DefaultInterpretation__InterpretationAssignment_1");
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
index 5a6ae569..df8f4ea3 100644
--- 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
@@ -740,59 +740,9 @@ rulePredicate
}
:
(
- { before(grammarAccess.getPredicateAccess().getAlternatives()); }
- (rule__Predicate__Alternatives)
- { after(grammarAccess.getPredicateAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRulePredicateSymbol
-entryRulePredicateSymbol
-:
-{ before(grammarAccess.getPredicateSymbolRule()); }
- rulePredicateSymbol
-{ after(grammarAccess.getPredicateSymbolRule()); }
- EOF
-;
-
-// Rule PredicateSymbol
-rulePredicateSymbol
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getPredicateSymbolAccess().getGroup()); }
- (rule__PredicateSymbol__Group__0)
- { after(grammarAccess.getPredicateSymbolAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleErrorPredicate
-entryRuleErrorPredicate
-:
-{ before(grammarAccess.getErrorPredicateRule()); }
- ruleErrorPredicate
-{ after(grammarAccess.getErrorPredicateRule()); }
- EOF
-;
-
-// Rule ErrorPredicate
-ruleErrorPredicate
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getErrorPredicateAccess().getGroup()); }
- (rule__ErrorPredicate__Group__0)
- { after(grammarAccess.getErrorPredicateAccess().getGroup()); }
+ { before(grammarAccess.getPredicateAccess().getGroup()); }
+ (rule__Predicate__Group__0)
+ { after(grammarAccess.getPredicateAccess().getGroup()); }
)
;
finally {
@@ -890,9 +840,9 @@ ruleConstraint
}
:
(
- { before(grammarAccess.getConstraintAccess().getGroup()); }
- (rule__Constraint__Group__0)
- { after(grammarAccess.getConstraintAccess().getGroup()); }
+ { before(grammarAccess.getConstraintAccess().getAlternatives()); }
+ (rule__Constraint__Alternatives)
+ { after(grammarAccess.getConstraintAccess().getAlternatives()); }
)
;
finally {
@@ -1469,63 +1419,21 @@ finally {
restoreStackSize(stackSize);
}
-rule__Predicate__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getPredicateAccess().getPredicateSymbolParserRuleCall_0()); }
- rulePredicateSymbol
- { after(grammarAccess.getPredicateAccess().getPredicateSymbolParserRuleCall_0()); }
- )
- |
- (
- { before(grammarAccess.getPredicateAccess().getErrorPredicateParserRuleCall_1()); }
- ruleErrorPredicate
- { after(grammarAccess.getPredicateAccess().getErrorPredicateParserRuleCall_1()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateSymbol__Alternatives_6
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getPredicateSymbolAccess().getFalseKeyword_6_0()); }
- 'false'
- { after(grammarAccess.getPredicateSymbolAccess().getFalseKeyword_6_0()); }
- )
- |
- (
- { before(grammarAccess.getPredicateSymbolAccess().getGroup_6_1()); }
- (rule__PredicateSymbol__Group_6_1__0)
- { after(grammarAccess.getPredicateSymbolAccess().getGroup_6_1()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ErrorPredicate__Alternatives_5
+rule__Predicate__Alternatives_4
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getErrorPredicateAccess().getFalseKeyword_5_0()); }
+ { before(grammarAccess.getPredicateAccess().getFalseKeyword_4_0()); }
'false'
- { after(grammarAccess.getErrorPredicateAccess().getFalseKeyword_5_0()); }
+ { after(grammarAccess.getPredicateAccess().getFalseKeyword_4_0()); }
)
|
(
- { before(grammarAccess.getErrorPredicateAccess().getGroup_5_1()); }
- (rule__ErrorPredicate__Group_5_1__0)
- { after(grammarAccess.getErrorPredicateAccess().getGroup_5_1()); }
+ { before(grammarAccess.getPredicateAccess().getGroup_4_1()); }
+ (rule__Predicate__Group_4_1__0)
+ { after(grammarAccess.getPredicateAccess().getGroup_4_1()); }
)
;
finally {
@@ -1574,21 +1482,21 @@ finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Alternatives_2
+rule__Constraint__Alternatives
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getConstraintAccess().getGroup_2_0()); }
- (rule__Constraint__Group_2_0__0)
- { after(grammarAccess.getConstraintAccess().getGroup_2_0()); }
+ { before(grammarAccess.getConstraintAccess().getGroup_0()); }
+ (rule__Constraint__Group_0__0)
+ { after(grammarAccess.getConstraintAccess().getGroup_0()); }
)
|
(
- { before(grammarAccess.getConstraintAccess().getGroup_2_1()); }
- (rule__Constraint__Group_2_1__0)
- { after(grammarAccess.getConstraintAccess().getGroup_2_1()); }
+ { before(grammarAccess.getConstraintAccess().getGroup_1()); }
+ (rule__Constraint__Group_1__0)
+ { after(grammarAccess.getConstraintAccess().getGroup_1()); }
)
;
finally {
@@ -1632,6 +1540,12 @@ rule__Literal__Alternatives
ruleDataObject
{ after(grammarAccess.getLiteralAccess().getDataObjectParserRuleCall_1()); }
)
+ |
+ (
+ { before(grammarAccess.getLiteralAccess().getNamedObjectParserRuleCall_2()); }
+ ruleNamedObject
+ { after(grammarAccess.getLiteralAccess().getNamedObjectParserRuleCall_2()); }
+ )
;
finally {
restoreStackSize(stackSize);
@@ -2216,9 +2130,9 @@ rule__BasicInterpretation__Group__1__Impl
}
:
(
- { before(grammarAccess.getBasicInterpretationAccess().getLeftParenthesisKeyword_1()); }
- '('
- { after(grammarAccess.getBasicInterpretationAccess().getLeftParenthesisKeyword_1()); }
+ { before(grammarAccess.getBasicInterpretationAccess().getGroup_1()); }
+ (rule__BasicInterpretation__Group_1__0)?
+ { after(grammarAccess.getBasicInterpretationAccess().getGroup_1()); }
)
;
finally {
@@ -2243,9 +2157,9 @@ rule__BasicInterpretation__Group__2__Impl
}
:
(
- { before(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_2()); }
- (rule__BasicInterpretation__ObjectsAssignment_2)*
- { after(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_2()); }
+ { before(grammarAccess.getBasicInterpretationAccess().getColonKeyword_2()); }
+ ':'
+ { after(grammarAccess.getBasicInterpretationAccess().getColonKeyword_2()); }
)
;
finally {
@@ -2258,7 +2172,6 @@ rule__BasicInterpretation__Group__3
}
:
rule__BasicInterpretation__Group__3__Impl
- rule__BasicInterpretation__Group__4
;
finally {
restoreStackSize(stackSize);
@@ -2270,62 +2183,198 @@ rule__BasicInterpretation__Group__3__Impl
}
:
(
- { before(grammarAccess.getBasicInterpretationAccess().getRightParenthesisKeyword_3()); }
+ { before(grammarAccess.getBasicInterpretationAccess().getValueAssignment_3()); }
+ (rule__BasicInterpretation__ValueAssignment_3)
+ { after(grammarAccess.getBasicInterpretationAccess().getValueAssignment_3()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__BasicInterpretation__Group_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BasicInterpretation__Group_1__0__Impl
+ rule__BasicInterpretation__Group_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BasicInterpretation__Group_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBasicInterpretationAccess().getLeftParenthesisKeyword_1_0()); }
+ '('
+ { after(grammarAccess.getBasicInterpretationAccess().getLeftParenthesisKeyword_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BasicInterpretation__Group_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BasicInterpretation__Group_1__1__Impl
+ rule__BasicInterpretation__Group_1__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BasicInterpretation__Group_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBasicInterpretationAccess().getGroup_1_1()); }
+ (rule__BasicInterpretation__Group_1_1__0)?
+ { after(grammarAccess.getBasicInterpretationAccess().getGroup_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BasicInterpretation__Group_1__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BasicInterpretation__Group_1__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BasicInterpretation__Group_1__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBasicInterpretationAccess().getRightParenthesisKeyword_1_2()); }
')'
- { after(grammarAccess.getBasicInterpretationAccess().getRightParenthesisKeyword_3()); }
+ { after(grammarAccess.getBasicInterpretationAccess().getRightParenthesisKeyword_1_2()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__BasicInterpretation__Group__4
+
+rule__BasicInterpretation__Group_1_1__0
@init {
int stackSize = keepStackSize();
}
:
- rule__BasicInterpretation__Group__4__Impl
- rule__BasicInterpretation__Group__5
+ rule__BasicInterpretation__Group_1_1__0__Impl
+ rule__BasicInterpretation__Group_1_1__1
;
finally {
restoreStackSize(stackSize);
}
-rule__BasicInterpretation__Group__4__Impl
+rule__BasicInterpretation__Group_1_1__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getBasicInterpretationAccess().getColonKeyword_4()); }
- ':'
- { after(grammarAccess.getBasicInterpretationAccess().getColonKeyword_4()); }
+ { before(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_1_1_0()); }
+ (rule__BasicInterpretation__ObjectsAssignment_1_1_0)
+ { after(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_1_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BasicInterpretation__Group_1_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BasicInterpretation__Group_1_1__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BasicInterpretation__Group_1_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBasicInterpretationAccess().getGroup_1_1_1()); }
+ (rule__BasicInterpretation__Group_1_1_1__0)*
+ { after(grammarAccess.getBasicInterpretationAccess().getGroup_1_1_1()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__BasicInterpretation__Group__5
+
+rule__BasicInterpretation__Group_1_1_1__0
@init {
int stackSize = keepStackSize();
}
:
- rule__BasicInterpretation__Group__5__Impl
+ rule__BasicInterpretation__Group_1_1_1__0__Impl
+ rule__BasicInterpretation__Group_1_1_1__1
;
finally {
restoreStackSize(stackSize);
}
-rule__BasicInterpretation__Group__5__Impl
+rule__BasicInterpretation__Group_1_1_1__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getBasicInterpretationAccess().getValueAssignment_5()); }
- (rule__BasicInterpretation__ValueAssignment_5)
- { after(grammarAccess.getBasicInterpretationAccess().getValueAssignment_5()); }
+ { before(grammarAccess.getBasicInterpretationAccess().getCommaKeyword_1_1_1_0()); }
+ ','
+ { after(grammarAccess.getBasicInterpretationAccess().getCommaKeyword_1_1_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BasicInterpretation__Group_1_1_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BasicInterpretation__Group_1_1_1__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BasicInterpretation__Group_1_1_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_1_1_1_1()); }
+ (rule__BasicInterpretation__ObjectsAssignment_1_1_1_1)
+ { after(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_1_1_1_1()); }
)
;
finally {
@@ -2738,269 +2787,242 @@ finally {
}
-rule__PredicateSymbol__Group__0
+rule__Predicate__Group__0
@init {
int stackSize = keepStackSize();
}
:
- rule__PredicateSymbol__Group__0__Impl
- rule__PredicateSymbol__Group__1
+ rule__Predicate__Group__0__Impl
+ rule__Predicate__Group__1
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group__0__Impl
+rule__Predicate__Group__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPredicateSymbolAccess().getPredicateKeyword_0()); }
- 'predicate'
- { after(grammarAccess.getPredicateSymbolAccess().getPredicateKeyword_0()); }
+ { before(grammarAccess.getPredicateAccess().getIsErrorAssignment_0()); }
+ (rule__Predicate__IsErrorAssignment_0)?
+ { after(grammarAccess.getPredicateAccess().getIsErrorAssignment_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group__1
+rule__Predicate__Group__1
@init {
int stackSize = keepStackSize();
}
:
- rule__PredicateSymbol__Group__1__Impl
- rule__PredicateSymbol__Group__2
+ rule__Predicate__Group__1__Impl
+ rule__Predicate__Group__2
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group__1__Impl
+rule__Predicate__Group__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPredicateSymbolAccess().getSymbolAssignment_1()); }
- (rule__PredicateSymbol__SymbolAssignment_1)
- { after(grammarAccess.getPredicateSymbolAccess().getSymbolAssignment_1()); }
+ { before(grammarAccess.getPredicateAccess().getSymbolAssignment_1()); }
+ (rule__Predicate__SymbolAssignment_1)
+ { after(grammarAccess.getPredicateAccess().getSymbolAssignment_1()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group__2
+rule__Predicate__Group__2
@init {
int stackSize = keepStackSize();
}
:
- rule__PredicateSymbol__Group__2__Impl
- rule__PredicateSymbol__Group__3
+ rule__Predicate__Group__2__Impl
+ rule__Predicate__Group__3
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group__2__Impl
+rule__Predicate__Group__2__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPredicateSymbolAccess().getLeftParenthesisKeyword_2()); }
- '('
- { after(grammarAccess.getPredicateSymbolAccess().getLeftParenthesisKeyword_2()); }
+ { before(grammarAccess.getPredicateAccess().getGroup_2()); }
+ (rule__Predicate__Group_2__0)?
+ { after(grammarAccess.getPredicateAccess().getGroup_2()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group__3
+rule__Predicate__Group__3
@init {
int stackSize = keepStackSize();
}
:
- rule__PredicateSymbol__Group__3__Impl
- rule__PredicateSymbol__Group__4
+ rule__Predicate__Group__3__Impl
+ rule__Predicate__Group__4
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group__3__Impl
+rule__Predicate__Group__3__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPredicateSymbolAccess().getParametersAssignment_3()); }
- (rule__PredicateSymbol__ParametersAssignment_3)*
- { after(grammarAccess.getPredicateSymbolAccess().getParametersAssignment_3()); }
+ { before(grammarAccess.getPredicateAccess().getColonHyphenMinusKeyword_3()); }
+ ':-'
+ { after(grammarAccess.getPredicateAccess().getColonHyphenMinusKeyword_3()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group__4
+rule__Predicate__Group__4
@init {
int stackSize = keepStackSize();
}
:
- rule__PredicateSymbol__Group__4__Impl
- rule__PredicateSymbol__Group__5
+ rule__Predicate__Group__4__Impl
+ rule__Predicate__Group__5
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group__4__Impl
+rule__Predicate__Group__4__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPredicateSymbolAccess().getRightParenthesisKeyword_4()); }
- ')'
- { after(grammarAccess.getPredicateSymbolAccess().getRightParenthesisKeyword_4()); }
+ { before(grammarAccess.getPredicateAccess().getAlternatives_4()); }
+ (rule__Predicate__Alternatives_4)
+ { after(grammarAccess.getPredicateAccess().getAlternatives_4()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group__5
+rule__Predicate__Group__5
@init {
int stackSize = keepStackSize();
}
:
- rule__PredicateSymbol__Group__5__Impl
- rule__PredicateSymbol__Group__6
+ rule__Predicate__Group__5__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group__5__Impl
+rule__Predicate__Group__5__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPredicateSymbolAccess().getColonKeyword_5()); }
- ':'
- { after(grammarAccess.getPredicateSymbolAccess().getColonKeyword_5()); }
+ { before(grammarAccess.getPredicateAccess().getFullStopKeyword_5()); }
+ '.'
+ { after(grammarAccess.getPredicateAccess().getFullStopKeyword_5()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group__6
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PredicateSymbol__Group__6__Impl
- rule__PredicateSymbol__Group__7
-;
-finally {
- restoreStackSize(stackSize);
-}
-rule__PredicateSymbol__Group__6__Impl
+rule__Predicate__Group_2__0
@init {
int stackSize = keepStackSize();
}
:
-(
- { before(grammarAccess.getPredicateSymbolAccess().getAlternatives_6()); }
- (rule__PredicateSymbol__Alternatives_6)
- { after(grammarAccess.getPredicateSymbolAccess().getAlternatives_6()); }
-)
+ rule__Predicate__Group_2__0__Impl
+ rule__Predicate__Group_2__1
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group__7
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PredicateSymbol__Group__7__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateSymbol__Group__7__Impl
+rule__Predicate__Group_2__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPredicateSymbolAccess().getFullStopKeyword_7()); }
- '.'
- { after(grammarAccess.getPredicateSymbolAccess().getFullStopKeyword_7()); }
+ { before(grammarAccess.getPredicateAccess().getLeftParenthesisKeyword_2_0()); }
+ '('
+ { after(grammarAccess.getPredicateAccess().getLeftParenthesisKeyword_2_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-
-rule__PredicateSymbol__Group_6_1__0
+rule__Predicate__Group_2__1
@init {
int stackSize = keepStackSize();
}
:
- rule__PredicateSymbol__Group_6_1__0__Impl
- rule__PredicateSymbol__Group_6_1__1
+ rule__Predicate__Group_2__1__Impl
+ rule__Predicate__Group_2__2
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group_6_1__0__Impl
+rule__Predicate__Group_2__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPredicateSymbolAccess().getBodiesAssignment_6_1_0()); }
- (rule__PredicateSymbol__BodiesAssignment_6_1_0)
- { after(grammarAccess.getPredicateSymbolAccess().getBodiesAssignment_6_1_0()); }
+ { before(grammarAccess.getPredicateAccess().getGroup_2_1()); }
+ (rule__Predicate__Group_2_1__0)?
+ { after(grammarAccess.getPredicateAccess().getGroup_2_1()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group_6_1__1
+rule__Predicate__Group_2__2
@init {
int stackSize = keepStackSize();
}
:
- rule__PredicateSymbol__Group_6_1__1__Impl
+ rule__Predicate__Group_2__2__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group_6_1__1__Impl
+rule__Predicate__Group_2__2__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPredicateSymbolAccess().getGroup_6_1_1()); }
- (rule__PredicateSymbol__Group_6_1_1__0)*
- { after(grammarAccess.getPredicateSymbolAccess().getGroup_6_1_1()); }
+ { before(grammarAccess.getPredicateAccess().getRightParenthesisKeyword_2_2()); }
+ ')'
+ { after(grammarAccess.getPredicateAccess().getRightParenthesisKeyword_2_2()); }
)
;
finally {
@@ -3008,53 +3030,53 @@ finally {
}
-rule__PredicateSymbol__Group_6_1_1__0
+rule__Predicate__Group_2_1__0
@init {
int stackSize = keepStackSize();
}
:
- rule__PredicateSymbol__Group_6_1_1__0__Impl
- rule__PredicateSymbol__Group_6_1_1__1
+ rule__Predicate__Group_2_1__0__Impl
+ rule__Predicate__Group_2_1__1
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group_6_1_1__0__Impl
+rule__Predicate__Group_2_1__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPredicateSymbolAccess().getVerticalLineKeyword_6_1_1_0()); }
- '|'
- { after(grammarAccess.getPredicateSymbolAccess().getVerticalLineKeyword_6_1_1_0()); }
+ { before(grammarAccess.getPredicateAccess().getParametersAssignment_2_1_0()); }
+ (rule__Predicate__ParametersAssignment_2_1_0)
+ { after(grammarAccess.getPredicateAccess().getParametersAssignment_2_1_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group_6_1_1__1
+rule__Predicate__Group_2_1__1
@init {
int stackSize = keepStackSize();
}
:
- rule__PredicateSymbol__Group_6_1_1__1__Impl
+ rule__Predicate__Group_2_1__1__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__Group_6_1_1__1__Impl
+rule__Predicate__Group_2_1__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPredicateSymbolAccess().getBodiesAssignment_6_1_1_1()); }
- (rule__PredicateSymbol__BodiesAssignment_6_1_1_1)
- { after(grammarAccess.getPredicateSymbolAccess().getBodiesAssignment_6_1_1_1()); }
+ { before(grammarAccess.getPredicateAccess().getGroup_2_1_1()); }
+ (rule__Predicate__Group_2_1_1__0)*
+ { after(grammarAccess.getPredicateAccess().getGroup_2_1_1()); }
)
;
finally {
@@ -3062,269 +3084,215 @@ finally {
}
-rule__ErrorPredicate__Group__0
+rule__Predicate__Group_2_1_1__0
@init {
int stackSize = keepStackSize();
}
:
- rule__ErrorPredicate__Group__0__Impl
- rule__ErrorPredicate__Group__1
+ rule__Predicate__Group_2_1_1__0__Impl
+ rule__Predicate__Group_2_1_1__1
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group__0__Impl
+rule__Predicate__Group_2_1_1__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getErrorPredicateAccess().getErrorPredicateAction_0()); }
- ()
- { after(grammarAccess.getErrorPredicateAccess().getErrorPredicateAction_0()); }
+ { before(grammarAccess.getPredicateAccess().getCommaKeyword_2_1_1_0()); }
+ ','
+ { after(grammarAccess.getPredicateAccess().getCommaKeyword_2_1_1_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group__1
+rule__Predicate__Group_2_1_1__1
@init {
int stackSize = keepStackSize();
}
:
- rule__ErrorPredicate__Group__1__Impl
- rule__ErrorPredicate__Group__2
+ rule__Predicate__Group_2_1_1__1__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group__1__Impl
+rule__Predicate__Group_2_1_1__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getErrorPredicateAccess().getErrorKeyword_1()); }
- 'error'
- { after(grammarAccess.getErrorPredicateAccess().getErrorKeyword_1()); }
+ { before(grammarAccess.getPredicateAccess().getParametersAssignment_2_1_1_1()); }
+ (rule__Predicate__ParametersAssignment_2_1_1_1)
+ { after(grammarAccess.getPredicateAccess().getParametersAssignment_2_1_1_1()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ErrorPredicate__Group__2__Impl
- rule__ErrorPredicate__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ErrorPredicate__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getErrorPredicateAccess().getNameAssignment_2()); }
- (rule__ErrorPredicate__NameAssignment_2)?
- { after(grammarAccess.getErrorPredicateAccess().getNameAssignment_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-rule__ErrorPredicate__Group__3
+rule__Predicate__Group_4_1__0
@init {
int stackSize = keepStackSize();
}
:
- rule__ErrorPredicate__Group__3__Impl
- rule__ErrorPredicate__Group__4
+ rule__Predicate__Group_4_1__0__Impl
+ rule__Predicate__Group_4_1__1
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group__3__Impl
+rule__Predicate__Group_4_1__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getErrorPredicateAccess().getGroup_3()); }
- (rule__ErrorPredicate__Group_3__0)
- { after(grammarAccess.getErrorPredicateAccess().getGroup_3()); }
+ { before(grammarAccess.getPredicateAccess().getBodiesAssignment_4_1_0()); }
+ (rule__Predicate__BodiesAssignment_4_1_0)
+ { after(grammarAccess.getPredicateAccess().getBodiesAssignment_4_1_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group__4
+rule__Predicate__Group_4_1__1
@init {
int stackSize = keepStackSize();
}
:
- rule__ErrorPredicate__Group__4__Impl
- rule__ErrorPredicate__Group__5
+ rule__Predicate__Group_4_1__1__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group__4__Impl
+rule__Predicate__Group_4_1__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getErrorPredicateAccess().getColonKeyword_4()); }
- ':'
- { after(grammarAccess.getErrorPredicateAccess().getColonKeyword_4()); }
+ { before(grammarAccess.getPredicateAccess().getGroup_4_1_1()); }
+ (rule__Predicate__Group_4_1_1__0)*
+ { after(grammarAccess.getPredicateAccess().getGroup_4_1_1()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group__5
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ErrorPredicate__Group__5__Impl
- rule__ErrorPredicate__Group__6
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ErrorPredicate__Group__5__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getErrorPredicateAccess().getAlternatives_5()); }
- (rule__ErrorPredicate__Alternatives_5)
- { after(grammarAccess.getErrorPredicateAccess().getAlternatives_5()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-rule__ErrorPredicate__Group__6
+rule__Predicate__Group_4_1_1__0
@init {
int stackSize = keepStackSize();
}
:
- rule__ErrorPredicate__Group__6__Impl
+ rule__Predicate__Group_4_1_1__0__Impl
+ rule__Predicate__Group_4_1_1__1
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group__6__Impl
+rule__Predicate__Group_4_1_1__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getErrorPredicateAccess().getFullStopKeyword_6()); }
- '.'
- { after(grammarAccess.getErrorPredicateAccess().getFullStopKeyword_6()); }
+ { before(grammarAccess.getPredicateAccess().getVerticalLineKeyword_4_1_1_0()); }
+ '|'
+ { after(grammarAccess.getPredicateAccess().getVerticalLineKeyword_4_1_1_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-
-rule__ErrorPredicate__Group_3__0
+rule__Predicate__Group_4_1_1__1
@init {
int stackSize = keepStackSize();
}
:
- rule__ErrorPredicate__Group_3__0__Impl
- rule__ErrorPredicate__Group_3__1
+ rule__Predicate__Group_4_1_1__1__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group_3__0__Impl
+rule__Predicate__Group_4_1_1__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getErrorPredicateAccess().getLeftParenthesisKeyword_3_0()); }
- '('
- { after(grammarAccess.getErrorPredicateAccess().getLeftParenthesisKeyword_3_0()); }
+ { before(grammarAccess.getPredicateAccess().getBodiesAssignment_4_1_1_1()); }
+ (rule__Predicate__BodiesAssignment_4_1_1_1)
+ { after(grammarAccess.getPredicateAccess().getBodiesAssignment_4_1_1_1()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group_3__1
+
+rule__Parameter__Group__0
@init {
int stackSize = keepStackSize();
}
:
- rule__ErrorPredicate__Group_3__1__Impl
- rule__ErrorPredicate__Group_3__2
+ rule__Parameter__Group__0__Impl
+ rule__Parameter__Group__1
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group_3__1__Impl
+rule__Parameter__Group__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getErrorPredicateAccess().getParametersAssignment_3_1()); }
- (rule__ErrorPredicate__ParametersAssignment_3_1)*
- { after(grammarAccess.getErrorPredicateAccess().getParametersAssignment_3_1()); }
+ { before(grammarAccess.getParameterAccess().getVariableAssignment_0()); }
+ (rule__Parameter__VariableAssignment_0)
+ { after(grammarAccess.getParameterAccess().getVariableAssignment_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group_3__2
+rule__Parameter__Group__1
@init {
int stackSize = keepStackSize();
}
:
- rule__ErrorPredicate__Group_3__2__Impl
+ rule__Parameter__Group__1__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group_3__2__Impl
+rule__Parameter__Group__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getErrorPredicateAccess().getRightParenthesisKeyword_3_2()); }
- ')'
- { after(grammarAccess.getErrorPredicateAccess().getRightParenthesisKeyword_3_2()); }
+ { before(grammarAccess.getParameterAccess().getGroup_1()); }
+ (rule__Parameter__Group_1__0)?
+ { after(grammarAccess.getParameterAccess().getGroup_1()); }
)
;
finally {
@@ -3332,53 +3300,53 @@ finally {
}
-rule__ErrorPredicate__Group_5_1__0
+rule__Parameter__Group_1__0
@init {
int stackSize = keepStackSize();
}
:
- rule__ErrorPredicate__Group_5_1__0__Impl
- rule__ErrorPredicate__Group_5_1__1
+ rule__Parameter__Group_1__0__Impl
+ rule__Parameter__Group_1__1
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group_5_1__0__Impl
+rule__Parameter__Group_1__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getErrorPredicateAccess().getBodiesAssignment_5_1_0()); }
- (rule__ErrorPredicate__BodiesAssignment_5_1_0)
- { after(grammarAccess.getErrorPredicateAccess().getBodiesAssignment_5_1_0()); }
+ { before(grammarAccess.getParameterAccess().getColonKeyword_1_0()); }
+ ':'
+ { after(grammarAccess.getParameterAccess().getColonKeyword_1_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group_5_1__1
+rule__Parameter__Group_1__1
@init {
int stackSize = keepStackSize();
}
:
- rule__ErrorPredicate__Group_5_1__1__Impl
+ rule__Parameter__Group_1__1__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group_5_1__1__Impl
+rule__Parameter__Group_1__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getErrorPredicateAccess().getGroup_5_1_1()); }
- (rule__ErrorPredicate__Group_5_1_1__0)*
- { after(grammarAccess.getErrorPredicateAccess().getGroup_5_1_1()); }
+ { before(grammarAccess.getParameterAccess().getTypeAssignment_1_1()); }
+ (rule__Parameter__TypeAssignment_1_1)
+ { after(grammarAccess.getParameterAccess().getTypeAssignment_1_1()); }
)
;
finally {
@@ -3386,53 +3354,53 @@ finally {
}
-rule__ErrorPredicate__Group_5_1_1__0
+rule__PatternBody__Group__0
@init {
int stackSize = keepStackSize();
}
:
- rule__ErrorPredicate__Group_5_1_1__0__Impl
- rule__ErrorPredicate__Group_5_1_1__1
+ rule__PatternBody__Group__0__Impl
+ rule__PatternBody__Group__1
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group_5_1_1__0__Impl
+rule__PatternBody__Group__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getErrorPredicateAccess().getVerticalLineKeyword_5_1_1_0()); }
- '|'
- { after(grammarAccess.getErrorPredicateAccess().getVerticalLineKeyword_5_1_1_0()); }
+ { before(grammarAccess.getPatternBodyAccess().getPatternBodyAction_0()); }
+ ()
+ { after(grammarAccess.getPatternBodyAccess().getPatternBodyAction_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group_5_1_1__1
+rule__PatternBody__Group__1
@init {
int stackSize = keepStackSize();
}
:
- rule__ErrorPredicate__Group_5_1_1__1__Impl
+ rule__PatternBody__Group__1__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__Group_5_1_1__1__Impl
+rule__PatternBody__Group__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getErrorPredicateAccess().getBodiesAssignment_5_1_1_1()); }
- (rule__ErrorPredicate__BodiesAssignment_5_1_1_1)
- { after(grammarAccess.getErrorPredicateAccess().getBodiesAssignment_5_1_1_1()); }
+ { before(grammarAccess.getPatternBodyAccess().getAlternatives_1()); }
+ (rule__PatternBody__Alternatives_1)
+ { after(grammarAccess.getPatternBodyAccess().getAlternatives_1()); }
)
;
finally {
@@ -3440,53 +3408,53 @@ finally {
}
-rule__Parameter__Group__0
+rule__Polarity__Group_0__0
@init {
int stackSize = keepStackSize();
}
:
- rule__Parameter__Group__0__Impl
- rule__Parameter__Group__1
+ rule__Polarity__Group_0__0__Impl
+ rule__Polarity__Group_0__1
;
finally {
restoreStackSize(stackSize);
}
-rule__Parameter__Group__0__Impl
+rule__Polarity__Group_0__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getParameterAccess().getVariableAssignment_0()); }
- (rule__Parameter__VariableAssignment_0)
- { after(grammarAccess.getParameterAccess().getVariableAssignment_0()); }
+ { before(grammarAccess.getPolarityAccess().getPositiveAction_0_0()); }
+ ()
+ { after(grammarAccess.getPolarityAccess().getPositiveAction_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Parameter__Group__1
+rule__Polarity__Group_0__1
@init {
int stackSize = keepStackSize();
}
:
- rule__Parameter__Group__1__Impl
+ rule__Polarity__Group_0__1__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__Parameter__Group__1__Impl
+rule__Polarity__Group_0__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getParameterAccess().getGroup_1()); }
- (rule__Parameter__Group_1__0)?
- { after(grammarAccess.getParameterAccess().getGroup_1()); }
+ { before(grammarAccess.getPolarityAccess().getPlusSignKeyword_0_1()); }
+ '+'
+ { after(grammarAccess.getPolarityAccess().getPlusSignKeyword_0_1()); }
)
;
finally {
@@ -3494,53 +3462,53 @@ finally {
}
-rule__Parameter__Group_1__0
+rule__Polarity__Group_1__0
@init {
int stackSize = keepStackSize();
}
:
- rule__Parameter__Group_1__0__Impl
- rule__Parameter__Group_1__1
+ rule__Polarity__Group_1__0__Impl
+ rule__Polarity__Group_1__1
;
finally {
restoreStackSize(stackSize);
}
-rule__Parameter__Group_1__0__Impl
+rule__Polarity__Group_1__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getParameterAccess().getColonKeyword_1_0()); }
- ':'
- { after(grammarAccess.getParameterAccess().getColonKeyword_1_0()); }
+ { before(grammarAccess.getPolarityAccess().getNegativeAction_1_0()); }
+ ()
+ { after(grammarAccess.getPolarityAccess().getNegativeAction_1_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Parameter__Group_1__1
+rule__Polarity__Group_1__1
@init {
int stackSize = keepStackSize();
}
:
- rule__Parameter__Group_1__1__Impl
+ rule__Polarity__Group_1__1__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__Parameter__Group_1__1__Impl
+rule__Polarity__Group_1__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getParameterAccess().getTypeAssignment_1_1()); }
- (rule__Parameter__TypeAssignment_1_1)
- { after(grammarAccess.getParameterAccess().getTypeAssignment_1_1()); }
+ { before(grammarAccess.getPolarityAccess().getHyphenMinusKeyword_1_1()); }
+ '-'
+ { after(grammarAccess.getPolarityAccess().getHyphenMinusKeyword_1_1()); }
)
;
finally {
@@ -3548,242 +3516,242 @@ finally {
}
-rule__PatternBody__Group__0
+rule__Constraint__Group_0__0
@init {
int stackSize = keepStackSize();
}
:
- rule__PatternBody__Group__0__Impl
- rule__PatternBody__Group__1
+ rule__Constraint__Group_0__0__Impl
+ rule__Constraint__Group_0__1
;
finally {
restoreStackSize(stackSize);
}
-rule__PatternBody__Group__0__Impl
+rule__Constraint__Group_0__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPatternBodyAccess().getPatternBodyAction_0()); }
- ()
- { after(grammarAccess.getPatternBodyAccess().getPatternBodyAction_0()); }
+ { before(grammarAccess.getConstraintAccess().getPolarityAssignment_0_0()); }
+ (rule__Constraint__PolarityAssignment_0_0)?
+ { after(grammarAccess.getConstraintAccess().getPolarityAssignment_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__PatternBody__Group__1
+rule__Constraint__Group_0__1
@init {
int stackSize = keepStackSize();
}
:
- rule__PatternBody__Group__1__Impl
+ rule__Constraint__Group_0__1__Impl
+ rule__Constraint__Group_0__2
;
finally {
restoreStackSize(stackSize);
}
-rule__PatternBody__Group__1__Impl
+rule__Constraint__Group_0__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPatternBodyAccess().getAlternatives_1()); }
- (rule__PatternBody__Alternatives_1)
- { after(grammarAccess.getPatternBodyAccess().getAlternatives_1()); }
+ { before(grammarAccess.getConstraintAccess().getSymbolAssignment_0_1()); }
+ (rule__Constraint__SymbolAssignment_0_1)
+ { after(grammarAccess.getConstraintAccess().getSymbolAssignment_0_1()); }
)
;
finally {
restoreStackSize(stackSize);
}
-
-rule__Polarity__Group_0__0
+rule__Constraint__Group_0__2
@init {
int stackSize = keepStackSize();
}
:
- rule__Polarity__Group_0__0__Impl
- rule__Polarity__Group_0__1
+ rule__Constraint__Group_0__2__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__Polarity__Group_0__0__Impl
+rule__Constraint__Group_0__2__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPolarityAccess().getPositiveAction_0_0()); }
- ()
- { after(grammarAccess.getPolarityAccess().getPositiveAction_0_0()); }
+ { before(grammarAccess.getConstraintAccess().getGroup_0_2()); }
+ (rule__Constraint__Group_0_2__0)?
+ { after(grammarAccess.getConstraintAccess().getGroup_0_2()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Polarity__Group_0__1
+
+rule__Constraint__Group_0_2__0
@init {
int stackSize = keepStackSize();
}
:
- rule__Polarity__Group_0__1__Impl
+ rule__Constraint__Group_0_2__0__Impl
+ rule__Constraint__Group_0_2__1
;
finally {
restoreStackSize(stackSize);
}
-rule__Polarity__Group_0__1__Impl
+rule__Constraint__Group_0_2__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPolarityAccess().getPlusSignKeyword_0_1()); }
- '+'
- { after(grammarAccess.getPolarityAccess().getPlusSignKeyword_0_1()); }
+ { before(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_0_2_0()); }
+ '('
+ { after(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_0_2_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-
-rule__Polarity__Group_1__0
+rule__Constraint__Group_0_2__1
@init {
int stackSize = keepStackSize();
}
:
- rule__Polarity__Group_1__0__Impl
- rule__Polarity__Group_1__1
+ rule__Constraint__Group_0_2__1__Impl
+ rule__Constraint__Group_0_2__2
;
finally {
restoreStackSize(stackSize);
}
-rule__Polarity__Group_1__0__Impl
+rule__Constraint__Group_0_2__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPolarityAccess().getNegativeAction_1_0()); }
- ()
- { after(grammarAccess.getPolarityAccess().getNegativeAction_1_0()); }
+ { before(grammarAccess.getConstraintAccess().getParamsAssignment_0_2_1()); }
+ (rule__Constraint__ParamsAssignment_0_2_1)?
+ { after(grammarAccess.getConstraintAccess().getParamsAssignment_0_2_1()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Polarity__Group_1__1
+rule__Constraint__Group_0_2__2
@init {
int stackSize = keepStackSize();
}
:
- rule__Polarity__Group_1__1__Impl
+ rule__Constraint__Group_0_2__2__Impl
+ rule__Constraint__Group_0_2__3
;
finally {
restoreStackSize(stackSize);
}
-rule__Polarity__Group_1__1__Impl
+rule__Constraint__Group_0_2__2__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPolarityAccess().getHyphenMinusKeyword_1_1()); }
- '-'
- { after(grammarAccess.getPolarityAccess().getHyphenMinusKeyword_1_1()); }
+ { before(grammarAccess.getConstraintAccess().getGroup_0_2_2()); }
+ (rule__Constraint__Group_0_2_2__0)*
+ { after(grammarAccess.getConstraintAccess().getGroup_0_2_2()); }
)
;
finally {
restoreStackSize(stackSize);
}
-
-rule__Constraint__Group__0
+rule__Constraint__Group_0_2__3
@init {
int stackSize = keepStackSize();
}
:
- rule__Constraint__Group__0__Impl
- rule__Constraint__Group__1
+ rule__Constraint__Group_0_2__3__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Group__0__Impl
+rule__Constraint__Group_0_2__3__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getConstraintAccess().getPolarityAssignment_0()); }
- (rule__Constraint__PolarityAssignment_0)?
- { after(grammarAccess.getConstraintAccess().getPolarityAssignment_0()); }
+ { before(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_0_2_3()); }
+ ')'
+ { after(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_0_2_3()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Group__1
+
+rule__Constraint__Group_0_2_2__0
@init {
int stackSize = keepStackSize();
}
:
- rule__Constraint__Group__1__Impl
- rule__Constraint__Group__2
+ rule__Constraint__Group_0_2_2__0__Impl
+ rule__Constraint__Group_0_2_2__1
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Group__1__Impl
+rule__Constraint__Group_0_2_2__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getConstraintAccess().getSymbolAssignment_1()); }
- (rule__Constraint__SymbolAssignment_1)
- { after(grammarAccess.getConstraintAccess().getSymbolAssignment_1()); }
+ { before(grammarAccess.getConstraintAccess().getCommaKeyword_0_2_2_0()); }
+ ','
+ { after(grammarAccess.getConstraintAccess().getCommaKeyword_0_2_2_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Group__2
+rule__Constraint__Group_0_2_2__1
@init {
int stackSize = keepStackSize();
}
:
- rule__Constraint__Group__2__Impl
+ rule__Constraint__Group_0_2_2__1__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Group__2__Impl
+rule__Constraint__Group_0_2_2__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getConstraintAccess().getAlternatives_2()); }
- (rule__Constraint__Alternatives_2)
- { after(grammarAccess.getConstraintAccess().getAlternatives_2()); }
+ { before(grammarAccess.getConstraintAccess().getParamsAssignment_0_2_2_1()); }
+ (rule__Constraint__ParamsAssignment_0_2_2_1)
+ { after(grammarAccess.getConstraintAccess().getParamsAssignment_0_2_2_1()); }
)
;
finally {
@@ -3791,215 +3759,188 @@ finally {
}
-rule__Constraint__Group_2_0__0
+rule__Constraint__Group_1__0
@init {
int stackSize = keepStackSize();
}
:
- rule__Constraint__Group_2_0__0__Impl
- rule__Constraint__Group_2_0__1
+ rule__Constraint__Group_1__0__Impl
+ rule__Constraint__Group_1__1
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Group_2_0__0__Impl
+rule__Constraint__Group_1__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_2_0_0()); }
- '('
- { after(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_2_0_0()); }
+ { before(grammarAccess.getConstraintAccess().getClosureTypeAssignment_1_0()); }
+ (rule__Constraint__ClosureTypeAssignment_1_0)
+ { after(grammarAccess.getConstraintAccess().getClosureTypeAssignment_1_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Group_2_0__1
+rule__Constraint__Group_1__1
@init {
int stackSize = keepStackSize();
}
:
- rule__Constraint__Group_2_0__1__Impl
- rule__Constraint__Group_2_0__2
+ rule__Constraint__Group_1__1__Impl
+ rule__Constraint__Group_1__2
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Group_2_0__1__Impl
+rule__Constraint__Group_1__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getConstraintAccess().getParamsAssignment_2_0_1()); }
- (rule__Constraint__ParamsAssignment_2_0_1)*
- { after(grammarAccess.getConstraintAccess().getParamsAssignment_2_0_1()); }
+ { before(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_1_1()); }
+ '('
+ { after(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_1_1()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Group_2_0__2
+rule__Constraint__Group_1__2
@init {
int stackSize = keepStackSize();
}
:
- rule__Constraint__Group_2_0__2__Impl
+ rule__Constraint__Group_1__2__Impl
+ rule__Constraint__Group_1__3
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Group_2_0__2__Impl
+rule__Constraint__Group_1__2__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_2_0_2()); }
- ')'
- { after(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_2_0_2()); }
+ { before(grammarAccess.getConstraintAccess().getParamsAssignment_1_2()); }
+ (rule__Constraint__ParamsAssignment_1_2)?
+ { after(grammarAccess.getConstraintAccess().getParamsAssignment_1_2()); }
)
;
finally {
restoreStackSize(stackSize);
}
-
-rule__Constraint__Group_2_1__0
+rule__Constraint__Group_1__3
@init {
int stackSize = keepStackSize();
}
:
- rule__Constraint__Group_2_1__0__Impl
- rule__Constraint__Group_2_1__1
+ rule__Constraint__Group_1__3__Impl
+ rule__Constraint__Group_1__4
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Group_2_1__0__Impl
+rule__Constraint__Group_1__3__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getConstraintAccess().getClosureTypeAssignment_2_1_0()); }
- (rule__Constraint__ClosureTypeAssignment_2_1_0)
- { after(grammarAccess.getConstraintAccess().getClosureTypeAssignment_2_1_0()); }
+ { before(grammarAccess.getConstraintAccess().getGroup_1_3()); }
+ (rule__Constraint__Group_1_3__0)*
+ { after(grammarAccess.getConstraintAccess().getGroup_1_3()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Group_2_1__1
+rule__Constraint__Group_1__4
@init {
int stackSize = keepStackSize();
}
:
- rule__Constraint__Group_2_1__1__Impl
- rule__Constraint__Group_2_1__2
+ rule__Constraint__Group_1__4__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Group_2_1__1__Impl
+rule__Constraint__Group_1__4__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_2_1_1()); }
- '('
- { after(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_2_1_1()); }
+ { before(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_1_4()); }
+ ')'
+ { after(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_1_4()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Group_2_1__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Constraint__Group_2_1__2__Impl
- rule__Constraint__Group_2_1__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Constraint__Group_2_1__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getConstraintAccess().getParamsAssignment_2_1_2()); }
- (rule__Constraint__ParamsAssignment_2_1_2)
- { after(grammarAccess.getConstraintAccess().getParamsAssignment_2_1_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-rule__Constraint__Group_2_1__3
+rule__Constraint__Group_1_3__0
@init {
int stackSize = keepStackSize();
}
:
- rule__Constraint__Group_2_1__3__Impl
- rule__Constraint__Group_2_1__4
+ rule__Constraint__Group_1_3__0__Impl
+ rule__Constraint__Group_1_3__1
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Group_2_1__3__Impl
+rule__Constraint__Group_1_3__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getConstraintAccess().getParamsAssignment_2_1_3()); }
- (rule__Constraint__ParamsAssignment_2_1_3)
- { after(grammarAccess.getConstraintAccess().getParamsAssignment_2_1_3()); }
+ { before(grammarAccess.getConstraintAccess().getCommaKeyword_1_3_0()); }
+ ','
+ { after(grammarAccess.getConstraintAccess().getCommaKeyword_1_3_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Group_2_1__4
+rule__Constraint__Group_1_3__1
@init {
int stackSize = keepStackSize();
}
:
- rule__Constraint__Group_2_1__4__Impl
+ rule__Constraint__Group_1_3__1__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__Group_2_1__4__Impl
+rule__Constraint__Group_1_3__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_2_1_4()); }
- ')'
- { after(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_2_1_4()); }
+ { before(grammarAccess.getConstraintAccess().getParamsAssignment_1_3_1()); }
+ (rule__Constraint__ParamsAssignment_1_3_1)
+ { after(grammarAccess.getConstraintAccess().getParamsAssignment_1_3_1()); }
)
;
finally {
@@ -4296,7 +4237,7 @@ rule__ClassInterpretation__Group__0__Impl
:
(
{ before(grammarAccess.getClassInterpretationAccess().getAbstractAssignment_0()); }
- (rule__ClassInterpretation__AbstractAssignment_0)
+ (rule__ClassInterpretation__AbstractAssignment_0)?
{ after(grammarAccess.getClassInterpretationAccess().getAbstractAssignment_0()); }
)
;
@@ -4688,7 +4629,7 @@ rule__FieldRelationInterpretation__Group__0__Impl
:
(
{ before(grammarAccess.getFieldRelationInterpretationAccess().getContainmentAssignment_0()); }
- (rule__FieldRelationInterpretation__ContainmentAssignment_0)
+ (rule__FieldRelationInterpretation__ContainmentAssignment_0)?
{ after(grammarAccess.getFieldRelationInterpretationAccess().getContainmentAssignment_0()); }
)
;
@@ -4823,7 +4764,7 @@ rule__GlobalRelationInterpretation__Group__0__Impl
:
(
{ before(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentAssignment_0()); }
- (rule__GlobalRelationInterpretation__ContainmentAssignment_0)
+ (rule__GlobalRelationInterpretation__ContainmentAssignment_0)?
{ after(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentAssignment_0()); }
)
;
@@ -5131,30 +5072,45 @@ finally {
restoreStackSize(stackSize);
}
-rule__BasicInterpretation__ObjectsAssignment_2
+rule__BasicInterpretation__ObjectsAssignment_1_1_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_0_0()); }
+ ruleComplexObject
+ { after(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BasicInterpretation__ObjectsAssignment_1_1_1_1
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_2_0()); }
+ { before(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_1_1_0()); }
ruleComplexObject
- { after(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_2_0()); }
+ { after(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_1_1_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__BasicInterpretation__ValueAssignment_5
+rule__BasicInterpretation__ValueAssignment_3
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getBasicInterpretationAccess().getValueTruthValueParserRuleCall_5_0()); }
+ { before(grammarAccess.getBasicInterpretationAccess().getValueTruthValueParserRuleCall_3_0()); }
ruleTruthValue
- { after(grammarAccess.getBasicInterpretationAccess().getValueTruthValueParserRuleCall_5_0()); }
+ { after(grammarAccess.getBasicInterpretationAccess().getValueTruthValueParserRuleCall_3_0()); }
)
;
finally {
@@ -5266,120 +5222,94 @@ finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__SymbolAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getPredicateSymbolAccess().getSymbolModelSymbolParserRuleCall_1_0()); }
- ruleModelSymbol
- { after(grammarAccess.getPredicateSymbolAccess().getSymbolModelSymbolParserRuleCall_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateSymbol__ParametersAssignment_3
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getPredicateSymbolAccess().getParametersParameterParserRuleCall_3_0()); }
- ruleParameter
- { after(grammarAccess.getPredicateSymbolAccess().getParametersParameterParserRuleCall_3_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateSymbol__BodiesAssignment_6_1_0
+rule__Predicate__IsErrorAssignment_0
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPredicateSymbolAccess().getBodiesPatternBodyParserRuleCall_6_1_0_0()); }
- rulePatternBody
- { after(grammarAccess.getPredicateSymbolAccess().getBodiesPatternBodyParserRuleCall_6_1_0_0()); }
+ { before(grammarAccess.getPredicateAccess().getIsErrorErrorKeyword_0_0()); }
+ (
+ { before(grammarAccess.getPredicateAccess().getIsErrorErrorKeyword_0_0()); }
+ 'error'
+ { after(grammarAccess.getPredicateAccess().getIsErrorErrorKeyword_0_0()); }
+ )
+ { after(grammarAccess.getPredicateAccess().getIsErrorErrorKeyword_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__PredicateSymbol__BodiesAssignment_6_1_1_1
+rule__Predicate__SymbolAssignment_1
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getPredicateSymbolAccess().getBodiesPatternBodyParserRuleCall_6_1_1_1_0()); }
- rulePatternBody
- { after(grammarAccess.getPredicateSymbolAccess().getBodiesPatternBodyParserRuleCall_6_1_1_1_0()); }
+ { before(grammarAccess.getPredicateAccess().getSymbolModelSymbolParserRuleCall_1_0()); }
+ ruleModelSymbol
+ { after(grammarAccess.getPredicateAccess().getSymbolModelSymbolParserRuleCall_1_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__NameAssignment_2
+rule__Predicate__ParametersAssignment_2_1_0
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getErrorPredicateAccess().getNameIDTerminalRuleCall_2_0()); }
- RULE_ID
- { after(grammarAccess.getErrorPredicateAccess().getNameIDTerminalRuleCall_2_0()); }
+ { before(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_0_0()); }
+ ruleParameter
+ { after(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__ParametersAssignment_3_1
+rule__Predicate__ParametersAssignment_2_1_1_1
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getErrorPredicateAccess().getParametersParameterParserRuleCall_3_1_0()); }
+ { before(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_1_1_0()); }
ruleParameter
- { after(grammarAccess.getErrorPredicateAccess().getParametersParameterParserRuleCall_3_1_0()); }
+ { after(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_1_1_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__BodiesAssignment_5_1_0
+rule__Predicate__BodiesAssignment_4_1_0
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getErrorPredicateAccess().getBodiesPatternBodyParserRuleCall_5_1_0_0()); }
+ { before(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_0_0()); }
rulePatternBody
- { after(grammarAccess.getErrorPredicateAccess().getBodiesPatternBodyParserRuleCall_5_1_0_0()); }
+ { after(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__ErrorPredicate__BodiesAssignment_5_1_1_1
+rule__Predicate__BodiesAssignment_4_1_1_1
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getErrorPredicateAccess().getBodiesPatternBodyParserRuleCall_5_1_1_1_0()); }
+ { before(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_1_1_0()); }
rulePatternBody
- { after(grammarAccess.getErrorPredicateAccess().getBodiesPatternBodyParserRuleCall_5_1_1_1_0()); }
+ { after(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_1_1_0()); }
)
;
finally {
@@ -5431,90 +5361,105 @@ finally {
restoreStackSize(stackSize);
}
-rule__Constraint__PolarityAssignment_0
+rule__Constraint__PolarityAssignment_0_0
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getConstraintAccess().getPolarityPolarityParserRuleCall_0_0()); }
+ { before(grammarAccess.getConstraintAccess().getPolarityPolarityParserRuleCall_0_0_0()); }
rulePolarity
- { after(grammarAccess.getConstraintAccess().getPolarityPolarityParserRuleCall_0_0()); }
+ { after(grammarAccess.getConstraintAccess().getPolarityPolarityParserRuleCall_0_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__SymbolAssignment_1
+rule__Constraint__SymbolAssignment_0_1
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getConstraintAccess().getSymbolModelSymbolParserRuleCall_1_0()); }
+ { before(grammarAccess.getConstraintAccess().getSymbolModelSymbolParserRuleCall_0_1_0()); }
ruleModelSymbol
- { after(grammarAccess.getConstraintAccess().getSymbolModelSymbolParserRuleCall_1_0()); }
+ { after(grammarAccess.getConstraintAccess().getSymbolModelSymbolParserRuleCall_0_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Constraint__ParamsAssignment_0_2_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_1_0()); }
+ ruleLiteral
+ { after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_1_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__ParamsAssignment_2_0_1
+rule__Constraint__ParamsAssignment_0_2_2_1
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_0_1_0()); }
+ { before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_2_1_0()); }
ruleLiteral
- { after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_0_1_0()); }
+ { after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_2_1_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__ClosureTypeAssignment_2_1_0
+rule__Constraint__ClosureTypeAssignment_1_0
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getConstraintAccess().getClosureTypeClosureTypeParserRuleCall_2_1_0_0()); }
+ { before(grammarAccess.getConstraintAccess().getClosureTypeClosureTypeParserRuleCall_1_0_0()); }
ruleClosureType
- { after(grammarAccess.getConstraintAccess().getClosureTypeClosureTypeParserRuleCall_2_1_0_0()); }
+ { after(grammarAccess.getConstraintAccess().getClosureTypeClosureTypeParserRuleCall_1_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__ParamsAssignment_2_1_2
+rule__Constraint__ParamsAssignment_1_2
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_1_2_0()); }
+ { before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_2_0()); }
ruleLiteral
- { after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_1_2_0()); }
+ { after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_2_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Constraint__ParamsAssignment_2_1_3
+rule__Constraint__ParamsAssignment_1_3_1
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_1_3_0()); }
+ { before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_3_1_0()); }
ruleLiteral
- { after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_1_3_0()); }
+ { after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_3_1_0()); }
)
;
finally {
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
index e2d30366..938a5322 100644
--- 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
@@ -1,33 +1,34 @@
-'('=17
-')'=18
-'*'=30
-'+'=29
+'('=18
+')'=19
+'*'=31
+'+'=30
+','=20
'-'=13
'.'=14
-'..'=38
-':'=19
-'\''=26
-'abstract'=39
-'bool'=22
-'class'=32
-'containment'=40
-'default'=31
-'enum'=36
-'equals'=21
+'..'=39
+':'=17
+':-'=28
+'\''=27
+'abstract'=40
+'bool'=23
+'class'=33
+'containment'=41
+'default'=32
+'enum'=37
+'equals'=22
'error'=16
-'exists'=20
-'extends'=35
+'exists'=21
+'extends'=36
'false'=11
-'int'=23
-'predicate'=27
-'real'=24
-'relation'=37
-'string'=25
+'int'=24
+'real'=25
+'relation'=38
+'string'=26
'true'=12
'unknown'=15
-'{'=33
-'|'=28
-'}'=34
+'{'=34
+'|'=29
+'}'=35
RULE_ANY_OTHER=10
RULE_ID=5
RULE_INT=4
@@ -65,3 +66,4 @@ T__37=37
T__38=38
T__39=39
T__40=40
+T__41=41
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
index d5f63d03..c95bdd1e 100644
--- 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
@@ -48,6 +48,7 @@ public class InternalSolverLanguageLexer extends Lexer {
public static final int T__24=24;
public static final int T__25=25;
public static final int T__40=40;
+ public static final int T__41=41;
public static final int T__20=20;
public static final int T__21=21;
@@ -193,10 +194,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__17;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:17:7: ( '(' )
- // InternalSolverLanguage.g:17:9: '('
+ // InternalSolverLanguage.g:17:7: ( ':' )
+ // InternalSolverLanguage.g:17:9: ':'
{
- match('(');
+ match(':');
}
@@ -213,10 +214,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__18;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:18:7: ( ')' )
- // InternalSolverLanguage.g:18:9: ')'
+ // InternalSolverLanguage.g:18:7: ( '(' )
+ // InternalSolverLanguage.g:18:9: '('
{
- match(')');
+ match('(');
}
@@ -233,10 +234,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__19;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:19:7: ( ':' )
- // InternalSolverLanguage.g:19:9: ':'
+ // InternalSolverLanguage.g:19:7: ( ')' )
+ // InternalSolverLanguage.g:19:9: ')'
{
- match(':');
+ match(')');
}
@@ -253,11 +254,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__20;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:20:7: ( 'exists' )
- // InternalSolverLanguage.g:20:9: 'exists'
+ // InternalSolverLanguage.g:20:7: ( ',' )
+ // InternalSolverLanguage.g:20:9: ','
{
- match("exists");
-
+ match(',');
}
@@ -274,10 +274,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__21;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:21:7: ( 'equals' )
- // InternalSolverLanguage.g:21:9: 'equals'
+ // InternalSolverLanguage.g:21:7: ( 'exists' )
+ // InternalSolverLanguage.g:21:9: 'exists'
{
- match("equals");
+ match("exists");
}
@@ -295,10 +295,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__22;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:22:7: ( 'bool' )
- // InternalSolverLanguage.g:22:9: 'bool'
+ // InternalSolverLanguage.g:22:7: ( 'equals' )
+ // InternalSolverLanguage.g:22:9: 'equals'
{
- match("bool");
+ match("equals");
}
@@ -316,10 +316,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__23;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:23:7: ( 'int' )
- // InternalSolverLanguage.g:23:9: 'int'
+ // InternalSolverLanguage.g:23:7: ( 'bool' )
+ // InternalSolverLanguage.g:23:9: 'bool'
{
- match("int");
+ match("bool");
}
@@ -337,10 +337,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__24;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:24:7: ( 'real' )
- // InternalSolverLanguage.g:24:9: 'real'
+ // InternalSolverLanguage.g:24:7: ( 'int' )
+ // InternalSolverLanguage.g:24:9: 'int'
{
- match("real");
+ match("int");
}
@@ -358,10 +358,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__25;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:25:7: ( 'string' )
- // InternalSolverLanguage.g:25:9: 'string'
+ // InternalSolverLanguage.g:25:7: ( 'real' )
+ // InternalSolverLanguage.g:25:9: 'real'
{
- match("string");
+ match("real");
}
@@ -379,10 +379,11 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__26;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:26:7: ( '\\'' )
- // InternalSolverLanguage.g:26:9: '\\''
+ // InternalSolverLanguage.g:26:7: ( 'string' )
+ // InternalSolverLanguage.g:26:9: 'string'
{
- match('\'');
+ match("string");
+
}
@@ -399,11 +400,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__27;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:27:7: ( 'predicate' )
- // InternalSolverLanguage.g:27:9: 'predicate'
+ // InternalSolverLanguage.g:27:7: ( '\\'' )
+ // InternalSolverLanguage.g:27:9: '\\''
{
- match("predicate");
-
+ match('\'');
}
@@ -420,10 +420,11 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__28;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:28:7: ( '|' )
- // InternalSolverLanguage.g:28:9: '|'
+ // InternalSolverLanguage.g:28:7: ( ':-' )
+ // InternalSolverLanguage.g:28:9: ':-'
{
- match('|');
+ match(":-");
+
}
@@ -440,10 +441,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__29;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:29:7: ( '+' )
- // InternalSolverLanguage.g:29:9: '+'
+ // InternalSolverLanguage.g:29:7: ( '|' )
+ // InternalSolverLanguage.g:29:9: '|'
{
- match('+');
+ match('|');
}
@@ -460,10 +461,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__30;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:30:7: ( '*' )
- // InternalSolverLanguage.g:30:9: '*'
+ // InternalSolverLanguage.g:30:7: ( '+' )
+ // InternalSolverLanguage.g:30:9: '+'
{
- match('*');
+ match('+');
}
@@ -480,11 +481,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__31;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:31:7: ( 'default' )
- // InternalSolverLanguage.g:31:9: 'default'
+ // InternalSolverLanguage.g:31:7: ( '*' )
+ // InternalSolverLanguage.g:31:9: '*'
{
- match("default");
-
+ match('*');
}
@@ -501,10 +501,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__32;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:32:7: ( 'class' )
- // InternalSolverLanguage.g:32:9: 'class'
+ // InternalSolverLanguage.g:32:7: ( 'default' )
+ // InternalSolverLanguage.g:32:9: 'default'
{
- match("class");
+ match("default");
}
@@ -522,10 +522,11 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__33;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:33:7: ( '{' )
- // InternalSolverLanguage.g:33:9: '{'
+ // InternalSolverLanguage.g:33:7: ( 'class' )
+ // InternalSolverLanguage.g:33:9: 'class'
{
- match('{');
+ match("class");
+
}
@@ -542,10 +543,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__34;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:34:7: ( '}' )
- // InternalSolverLanguage.g:34:9: '}'
+ // InternalSolverLanguage.g:34:7: ( '{' )
+ // InternalSolverLanguage.g:34:9: '{'
{
- match('}');
+ match('{');
}
@@ -562,11 +563,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__35;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:35:7: ( 'extends' )
- // InternalSolverLanguage.g:35:9: 'extends'
+ // InternalSolverLanguage.g:35:7: ( '}' )
+ // InternalSolverLanguage.g:35:9: '}'
{
- match("extends");
-
+ match('}');
}
@@ -583,10 +583,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__36;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:36:7: ( 'enum' )
- // InternalSolverLanguage.g:36:9: 'enum'
+ // InternalSolverLanguage.g:36:7: ( 'extends' )
+ // InternalSolverLanguage.g:36:9: 'extends'
{
- match("enum");
+ match("extends");
}
@@ -604,10 +604,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__37;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:37:7: ( 'relation' )
- // InternalSolverLanguage.g:37:9: 'relation'
+ // InternalSolverLanguage.g:37:7: ( 'enum' )
+ // InternalSolverLanguage.g:37:9: 'enum'
{
- match("relation");
+ match("enum");
}
@@ -625,10 +625,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__38;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:38:7: ( '..' )
- // InternalSolverLanguage.g:38:9: '..'
+ // InternalSolverLanguage.g:38:7: ( 'relation' )
+ // InternalSolverLanguage.g:38:9: 'relation'
{
- match("..");
+ match("relation");
}
@@ -646,10 +646,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__39;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:39:7: ( 'abstract' )
- // InternalSolverLanguage.g:39:9: 'abstract'
+ // InternalSolverLanguage.g:39:7: ( '..' )
+ // InternalSolverLanguage.g:39:9: '..'
{
- match("abstract");
+ match("..");
}
@@ -667,10 +667,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__40;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:40:7: ( 'containment' )
- // InternalSolverLanguage.g:40:9: 'containment'
+ // InternalSolverLanguage.g:40:7: ( 'abstract' )
+ // InternalSolverLanguage.g:40:9: 'abstract'
{
- match("containment");
+ match("abstract");
}
@@ -683,16 +683,37 @@ public class InternalSolverLanguageLexer extends Lexer {
}
// $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:41:7: ( 'containment' )
+ // InternalSolverLanguage.g:41:9: 'containment'
+ {
+ match("containment");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__41"
+
// $ANTLR start "RULE_STRING"
public final void mRULE_STRING() throws RecognitionException {
try {
int _type = RULE_STRING;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:5870:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
- // InternalSolverLanguage.g:5870:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ // InternalSolverLanguage.g:5815:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
+ // InternalSolverLanguage.g:5815:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
- // InternalSolverLanguage.g:5870:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
+ // InternalSolverLanguage.g:5815:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
loop1:
do {
int alt1=3;
@@ -708,7 +729,7 @@ public class InternalSolverLanguageLexer extends Lexer {
switch (alt1) {
case 1 :
- // InternalSolverLanguage.g:5870:20: '\\\\' .
+ // InternalSolverLanguage.g:5815:20: '\\\\' .
{
match('\\');
matchAny();
@@ -716,7 +737,7 @@ public class InternalSolverLanguageLexer extends Lexer {
}
break;
case 2 :
- // InternalSolverLanguage.g:5870:27: ~ ( ( '\\\\' | '\"' ) )
+ // InternalSolverLanguage.g:5815:27: ~ ( ( '\\\\' | '\"' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -753,10 +774,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = RULE_ID;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:5872:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // InternalSolverLanguage.g:5872:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // InternalSolverLanguage.g:5817:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // InternalSolverLanguage.g:5817:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // InternalSolverLanguage.g:5872:11: ( '^' )?
+ // InternalSolverLanguage.g:5817:11: ( '^' )?
int alt2=2;
int LA2_0 = input.LA(1);
@@ -765,7 +786,7 @@ public class InternalSolverLanguageLexer extends Lexer {
}
switch (alt2) {
case 1 :
- // InternalSolverLanguage.g:5872:11: '^'
+ // InternalSolverLanguage.g:5817:11: '^'
{
match('^');
@@ -783,7 +804,7 @@ public class InternalSolverLanguageLexer extends Lexer {
recover(mse);
throw mse;}
- // InternalSolverLanguage.g:5872:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // InternalSolverLanguage.g:5817:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop3:
do {
int alt3=2;
@@ -832,10 +853,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = RULE_INT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:5874:10: ( ( '0' .. '9' )+ )
- // InternalSolverLanguage.g:5874:12: ( '0' .. '9' )+
+ // InternalSolverLanguage.g:5819:10: ( ( '0' .. '9' )+ )
+ // InternalSolverLanguage.g:5819:12: ( '0' .. '9' )+
{
- // InternalSolverLanguage.g:5874:12: ( '0' .. '9' )+
+ // InternalSolverLanguage.g:5819:12: ( '0' .. '9' )+
int cnt4=0;
loop4:
do {
@@ -849,7 +870,7 @@ public class InternalSolverLanguageLexer extends Lexer {
switch (alt4) {
case 1 :
- // InternalSolverLanguage.g:5874:13: '0' .. '9'
+ // InternalSolverLanguage.g:5819:13: '0' .. '9'
{
matchRange('0','9');
@@ -881,12 +902,12 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = RULE_ML_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:5876:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // InternalSolverLanguage.g:5876:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // InternalSolverLanguage.g:5821:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // InternalSolverLanguage.g:5821:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // InternalSolverLanguage.g:5876:24: ( options {greedy=false; } : . )*
+ // InternalSolverLanguage.g:5821:24: ( options {greedy=false; } : . )*
loop5:
do {
int alt5=2;
@@ -911,7 +932,7 @@ public class InternalSolverLanguageLexer extends Lexer {
switch (alt5) {
case 1 :
- // InternalSolverLanguage.g:5876:52: .
+ // InternalSolverLanguage.g:5821:52: .
{
matchAny();
@@ -941,12 +962,12 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = RULE_SL_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:5878:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
- // InternalSolverLanguage.g:5878:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
+ // InternalSolverLanguage.g:5823:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // InternalSolverLanguage.g:5823:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // InternalSolverLanguage.g:5878:24: (~ ( ( '\\n' | '\\r' ) ) )*
+ // InternalSolverLanguage.g:5823:24: (~ ( ( '\\n' | '\\r' ) ) )*
loop6:
do {
int alt6=2;
@@ -959,7 +980,7 @@ public class InternalSolverLanguageLexer extends Lexer {
switch (alt6) {
case 1 :
- // InternalSolverLanguage.g:5878:24: ~ ( ( '\\n' | '\\r' ) )
+ // InternalSolverLanguage.g:5823: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();
@@ -979,7 +1000,7 @@ public class InternalSolverLanguageLexer extends Lexer {
}
} while (true);
- // InternalSolverLanguage.g:5878:40: ( ( '\\r' )? '\\n' )?
+ // InternalSolverLanguage.g:5823:40: ( ( '\\r' )? '\\n' )?
int alt8=2;
int LA8_0 = input.LA(1);
@@ -988,9 +1009,9 @@ public class InternalSolverLanguageLexer extends Lexer {
}
switch (alt8) {
case 1 :
- // InternalSolverLanguage.g:5878:41: ( '\\r' )? '\\n'
+ // InternalSolverLanguage.g:5823:41: ( '\\r' )? '\\n'
{
- // InternalSolverLanguage.g:5878:41: ( '\\r' )?
+ // InternalSolverLanguage.g:5823:41: ( '\\r' )?
int alt7=2;
int LA7_0 = input.LA(1);
@@ -999,7 +1020,7 @@ public class InternalSolverLanguageLexer extends Lexer {
}
switch (alt7) {
case 1 :
- // InternalSolverLanguage.g:5878:41: '\\r'
+ // InternalSolverLanguage.g:5823:41: '\\r'
{
match('\r');
@@ -1031,10 +1052,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = RULE_WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:5880:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // InternalSolverLanguage.g:5880:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalSolverLanguage.g:5825:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // InternalSolverLanguage.g:5825:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // InternalSolverLanguage.g:5880:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalSolverLanguage.g:5825:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt9=0;
loop9:
do {
@@ -1088,8 +1109,8 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = RULE_ANY_OTHER;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:5882:16: ( . )
- // InternalSolverLanguage.g:5882:18: .
+ // InternalSolverLanguage.g:5827:16: ( . )
+ // InternalSolverLanguage.g:5827:18: .
{
matchAny();
@@ -1104,8 +1125,8 @@ public class InternalSolverLanguageLexer extends Lexer {
// $ANTLR end "RULE_ANY_OTHER"
public void mTokens() throws RecognitionException {
- // InternalSolverLanguage.g:1:8: ( T__11 | T__12 | T__13 | T__14 | 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 | RULE_STRING | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
- int alt10=37;
+ // InternalSolverLanguage.g:1:8: ( T__11 | T__12 | T__13 | T__14 | 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 | RULE_STRING | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ int alt10=38;
alt10 = dfa10.predict(input);
switch (alt10) {
case 1 :
@@ -1319,49 +1340,56 @@ public class InternalSolverLanguageLexer extends Lexer {
}
break;
case 31 :
- // InternalSolverLanguage.g:1:190: RULE_STRING
+ // InternalSolverLanguage.g:1:190: T__41
{
- mRULE_STRING();
+ mT__41();
}
break;
case 32 :
- // InternalSolverLanguage.g:1:202: RULE_ID
+ // InternalSolverLanguage.g:1:196: RULE_STRING
{
- mRULE_ID();
+ mRULE_STRING();
}
break;
case 33 :
- // InternalSolverLanguage.g:1:210: RULE_INT
+ // InternalSolverLanguage.g:1:208: RULE_ID
{
- mRULE_INT();
+ mRULE_ID();
}
break;
case 34 :
- // InternalSolverLanguage.g:1:219: RULE_ML_COMMENT
+ // InternalSolverLanguage.g:1:216: RULE_INT
{
- mRULE_ML_COMMENT();
+ mRULE_INT();
}
break;
case 35 :
- // InternalSolverLanguage.g:1:235: RULE_SL_COMMENT
+ // InternalSolverLanguage.g:1:225: RULE_ML_COMMENT
{
- mRULE_SL_COMMENT();
+ mRULE_ML_COMMENT();
}
break;
case 36 :
- // InternalSolverLanguage.g:1:251: RULE_WS
+ // InternalSolverLanguage.g:1:241: RULE_SL_COMMENT
{
- mRULE_WS();
+ mRULE_SL_COMMENT();
}
break;
case 37 :
- // InternalSolverLanguage.g:1:259: RULE_ANY_OTHER
+ // InternalSolverLanguage.g:1:257: RULE_WS
+ {
+ mRULE_WS();
+
+ }
+ break;
+ case 38 :
+ // InternalSolverLanguage.g:1:265: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
@@ -1375,72 +1403,73 @@ public class InternalSolverLanguageLexer extends Lexer {
protected DFA10 dfa10 = new DFA10(this);
static final String DFA10_eotS =
- "\1\uffff\2\40\1\uffff\1\44\2\40\3\uffff\4\40\1\uffff\1\40\3\uffff\2\40\2\uffff\1\40\2\36\2\uffff\1\36\2\uffff\1\40\1\uffff\1\40\3\uffff\5\40\3\uffff\4\40\1\uffff\1\40\3\uffff\3\40\2\uffff\1\40\5\uffff\11\40\1\134\11\40\1\146\5\40\1\154\1\155\1\uffff\1\156\7\40\1\166\1\uffff\1\40\1\170\3\40\3\uffff\4\40\1\u0080\2\40\1\uffff\1\40\1\uffff\1\u0084\1\40\1\u0086\1\40\1\u0088\2\40\1\uffff\2\40\1\u008d\1\uffff\1\u008e\1\uffff\1\40\1\uffff\1\40\1\u0091\2\40\2\uffff\1\u0094\1\40\1\uffff\1\40\1\u0097\1\uffff\1\u0098\1\40\2\uffff\1\40\1\u009b\1\uffff";
+ "\1\uffff\2\40\1\uffff\1\44\2\40\1\53\3\uffff\4\40\4\uffff\2\40\2\uffff\1\40\2\36\2\uffff\1\36\2\uffff\1\40\1\uffff\1\40\3\uffff\5\40\5\uffff\4\40\4\uffff\3\40\2\uffff\1\40\5\uffff\11\40\1\134\10\40\1\145\5\40\1\153\1\154\1\uffff\1\155\6\40\1\164\1\uffff\1\40\1\166\3\40\3\uffff\3\40\1\175\2\40\1\uffff\1\40\1\uffff\1\u0081\1\40\1\u0083\1\40\1\u0085\1\40\1\uffff\2\40\1\u0089\1\uffff\1\u008a\1\uffff\1\40\1\uffff\1\u008c\2\40\2\uffff\1\u008f\1\uffff\1\40\1\u0091\1\uffff\1\40\1\uffff\1\40\1\u0094\1\uffff";
static final String DFA10_eofS =
- "\u009c\uffff";
+ "\u0095\uffff";
static final String DFA10_minS =
- "\1\0\1\141\1\162\1\uffff\1\56\2\156\3\uffff\1\157\1\156\1\145\1\164\1\uffff\1\162\3\uffff\1\145\1\154\2\uffff\1\142\1\0\1\101\2\uffff\1\52\2\uffff\1\154\1\uffff\1\165\3\uffff\1\153\1\162\1\151\2\165\3\uffff\1\157\1\164\1\141\1\162\1\uffff\1\145\3\uffff\1\146\1\141\1\156\2\uffff\1\163\5\uffff\1\163\1\145\1\156\1\157\1\163\1\145\1\141\1\155\1\154\1\60\1\154\1\141\1\151\1\144\1\141\1\163\2\164\1\145\1\60\1\157\1\162\1\164\1\156\1\154\2\60\1\uffff\1\60\1\164\1\156\1\151\1\165\1\163\1\141\1\162\1\60\1\uffff\1\167\1\60\1\163\1\144\1\163\3\uffff\1\151\1\147\1\143\1\154\1\60\1\151\1\141\1\uffff\1\156\1\uffff\1\60\1\163\1\60\1\157\1\60\1\141\1\164\1\uffff\1\156\1\143\1\60\1\uffff\1\60\1\uffff\1\156\1\uffff\1\164\1\60\1\155\1\164\2\uffff\1\60\1\145\1\uffff\1\145\1\60\1\uffff\1\60\1\156\2\uffff\1\164\1\60\1\uffff";
+ "\1\0\1\141\1\162\1\uffff\1\56\2\156\1\55\3\uffff\1\157\1\156\1\145\1\164\4\uffff\1\145\1\154\2\uffff\1\142\1\0\1\101\2\uffff\1\52\2\uffff\1\154\1\uffff\1\165\3\uffff\1\153\1\162\1\151\2\165\5\uffff\1\157\1\164\1\141\1\162\4\uffff\1\146\1\141\1\156\2\uffff\1\163\5\uffff\1\163\1\145\1\156\1\157\1\163\1\145\1\141\1\155\1\154\1\60\1\154\1\141\1\151\1\141\1\163\2\164\1\145\1\60\1\157\1\162\1\164\1\156\1\154\2\60\1\uffff\1\60\1\164\1\156\1\165\1\163\1\141\1\162\1\60\1\uffff\1\167\1\60\1\163\1\144\1\163\3\uffff\1\151\1\147\1\154\1\60\1\151\1\141\1\uffff\1\156\1\uffff\1\60\1\163\1\60\1\157\1\60\1\164\1\uffff\1\156\1\143\1\60\1\uffff\1\60\1\uffff\1\156\1\uffff\1\60\1\155\1\164\2\uffff\1\60\1\uffff\1\145\1\60\1\uffff\1\156\1\uffff\1\164\1\60\1\uffff";
static final String DFA10_maxS =
- "\1\uffff\1\141\1\162\1\uffff\1\56\1\156\1\170\3\uffff\1\157\1\156\1\145\1\164\1\uffff\1\162\3\uffff\1\145\1\157\2\uffff\1\142\1\uffff\1\172\2\uffff\1\57\2\uffff\1\154\1\uffff\1\165\3\uffff\1\153\1\162\1\164\2\165\3\uffff\1\157\1\164\1\154\1\162\1\uffff\1\145\3\uffff\1\146\1\141\1\156\2\uffff\1\163\5\uffff\1\163\1\145\1\156\1\157\1\163\1\145\1\141\1\155\1\154\1\172\1\154\1\141\1\151\1\144\1\141\1\163\2\164\1\145\1\172\1\157\1\162\1\164\1\156\1\154\2\172\1\uffff\1\172\1\164\1\156\1\151\1\165\1\163\1\141\1\162\1\172\1\uffff\1\167\1\172\1\163\1\144\1\163\3\uffff\1\151\1\147\1\143\1\154\1\172\1\151\1\141\1\uffff\1\156\1\uffff\1\172\1\163\1\172\1\157\1\172\1\141\1\164\1\uffff\1\156\1\143\1\172\1\uffff\1\172\1\uffff\1\156\1\uffff\1\164\1\172\1\155\1\164\2\uffff\1\172\1\145\1\uffff\1\145\1\172\1\uffff\1\172\1\156\2\uffff\1\164\1\172\1\uffff";
+ "\1\uffff\1\141\1\162\1\uffff\1\56\1\156\1\170\1\55\3\uffff\1\157\1\156\1\145\1\164\4\uffff\1\145\1\157\2\uffff\1\142\1\uffff\1\172\2\uffff\1\57\2\uffff\1\154\1\uffff\1\165\3\uffff\1\153\1\162\1\164\2\165\5\uffff\1\157\1\164\1\154\1\162\4\uffff\1\146\1\141\1\156\2\uffff\1\163\5\uffff\1\163\1\145\1\156\1\157\1\163\1\145\1\141\1\155\1\154\1\172\1\154\1\141\1\151\1\141\1\163\2\164\1\145\1\172\1\157\1\162\1\164\1\156\1\154\2\172\1\uffff\1\172\1\164\1\156\1\165\1\163\1\141\1\162\1\172\1\uffff\1\167\1\172\1\163\1\144\1\163\3\uffff\1\151\1\147\1\154\1\172\1\151\1\141\1\uffff\1\156\1\uffff\1\172\1\163\1\172\1\157\1\172\1\164\1\uffff\1\156\1\143\1\172\1\uffff\1\172\1\uffff\1\156\1\uffff\1\172\1\155\1\164\2\uffff\1\172\1\uffff\1\145\1\172\1\uffff\1\156\1\uffff\1\164\1\172\1\uffff";
static final String DFA10_acceptS =
- "\3\uffff\1\3\3\uffff\1\7\1\10\1\11\4\uffff\1\20\1\uffff\1\22\1\23\1\24\2\uffff\1\27\1\30\3\uffff\1\40\1\41\1\uffff\1\44\1\45\1\uffff\1\40\1\uffff\1\3\1\34\1\4\5\uffff\1\7\1\10\1\11\4\uffff\1\20\1\uffff\1\22\1\23\1\24\3\uffff\1\27\1\30\1\uffff\1\37\1\41\1\42\1\43\1\44\33\uffff\1\15\11\uffff\1\2\5\uffff\1\32\1\14\1\16\7\uffff\1\1\1\uffff\1\6\7\uffff\1\26\3\uffff\1\12\1\uffff\1\13\1\uffff\1\17\4\uffff\1\5\1\31\2\uffff\1\25\2\uffff\1\33\2\uffff\1\35\1\21\2\uffff\1\36";
+ "\3\uffff\1\3\4\uffff\1\10\1\11\1\12\4\uffff\1\21\1\23\1\24\1\25\2\uffff\1\30\1\31\3\uffff\1\41\1\42\1\uffff\1\45\1\46\1\uffff\1\41\1\uffff\1\3\1\35\1\4\5\uffff\1\22\1\7\1\10\1\11\1\12\4\uffff\1\21\1\23\1\24\1\25\3\uffff\1\30\1\31\1\uffff\1\40\1\42\1\43\1\44\1\45\32\uffff\1\16\10\uffff\1\2\5\uffff\1\33\1\15\1\17\6\uffff\1\1\1\uffff\1\6\6\uffff\1\27\3\uffff\1\13\1\uffff\1\14\1\uffff\1\20\3\uffff\1\5\1\32\1\uffff\1\26\2\uffff\1\34\1\uffff\1\36\2\uffff\1\37";
static final String DFA10_specialS =
- "\1\1\27\uffff\1\0\u0083\uffff}>";
+ "\1\1\27\uffff\1\0\174\uffff}>";
static final String[] DFA10_transitionS = {
- "\11\36\2\35\2\36\1\35\22\36\1\35\1\36\1\30\4\36\1\16\1\7\1\10\1\22\1\21\1\36\1\3\1\4\1\34\12\33\1\11\6\36\32\32\3\36\1\31\1\32\1\36\1\27\1\12\1\24\1\23\1\6\1\1\2\32\1\13\6\32\1\17\1\32\1\14\1\15\1\2\1\5\5\32\1\25\1\20\1\26\uff82\36",
+ "\11\36\2\35\2\36\1\35\22\36\1\35\1\36\1\30\4\36\1\17\1\10\1\11\1\22\1\21\1\12\1\3\1\4\1\34\12\33\1\7\6\36\32\32\3\36\1\31\1\32\1\36\1\27\1\13\1\24\1\23\1\6\1\1\2\32\1\14\10\32\1\15\1\16\1\2\1\5\5\32\1\25\1\20\1\26\uff82\36",
"\1\37",
"\1\41",
"",
"\1\43",
"\1\45",
"\1\51\2\uffff\1\50\1\46\5\uffff\1\47",
+ "\1\52",
"",
"",
"",
- "\1\55",
- "\1\56",
"\1\57",
"\1\60",
- "",
+ "\1\61",
"\1\62",
"",
"",
"",
- "\1\66",
- "\1\67\2\uffff\1\70",
"",
+ "\1\67",
+ "\1\70\2\uffff\1\71",
"",
- "\1\73",
- "\0\74",
- "\32\40\4\uffff\1\40\1\uffff\32\40",
"",
+ "\1\74",
+ "\0\75",
+ "\32\40\4\uffff\1\40\1\uffff\32\40",
"",
- "\1\76\4\uffff\1\77",
"",
+ "\1\77\4\uffff\1\100",
"",
- "\1\101",
"",
"\1\102",
"",
+ "\1\103",
+ "",
"",
"",
- "\1\103",
"\1\104",
- "\1\105\12\uffff\1\106",
- "\1\107",
+ "\1\105",
+ "\1\106\12\uffff\1\107",
"\1\110",
+ "\1\111",
"",
"",
"",
- "\1\111",
- "\1\112",
- "\1\113\12\uffff\1\114",
- "\1\115",
"",
+ "",
+ "\1\112",
+ "\1\113",
+ "\1\114\12\uffff\1\115",
"\1\116",
"",
"",
"",
+ "",
"\1\117",
"\1\120",
"\1\121",
@@ -1470,77 +1499,69 @@ public class InternalSolverLanguageLexer extends Lexer {
"\1\142",
"\1\143",
"\1\144",
- "\1\145",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
+ "\1\146",
"\1\147",
"\1\150",
"\1\151",
"\1\152",
- "\1\153",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
"",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
+ "\1\156",
"\1\157",
"\1\160",
"\1\161",
"\1\162",
"\1\163",
- "\1\164",
- "\1\165",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
"",
- "\1\167",
+ "\1\165",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
+ "\1\167",
+ "\1\170",
"\1\171",
- "\1\172",
- "\1\173",
"",
"",
"",
+ "\1\172",
+ "\1\173",
"\1\174",
- "\1\175",
+ "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
"\1\176",
"\1\177",
- "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
- "\1\u0081",
- "\1\u0082",
"",
- "\1\u0083",
+ "\1\u0080",
"",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
- "\1\u0085",
+ "\1\u0082",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
- "\1\u0087",
+ "\1\u0084",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
- "\1\u0089",
- "\1\u008a",
+ "\1\u0086",
"",
- "\1\u008b",
- "\1\u008c",
+ "\1\u0087",
+ "\1\u0088",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
"",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
"",
- "\1\u008f",
+ "\1\u008b",
"",
- "\1\u0090",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
- "\1\u0092",
- "\1\u0093",
+ "\1\u008d",
+ "\1\u008e",
"",
"",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
- "\1\u0095",
- "",
- "\1\u0096",
- "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
"",
+ "\1\u0090",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
- "\1\u0099",
"",
+ "\1\u0092",
"",
- "\1\u009a",
+ "\1\u0093",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
""
};
@@ -1575,7 +1596,7 @@ public class InternalSolverLanguageLexer extends Lexer {
this.transition = DFA10_transition;
}
public String getDescription() {
- return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | 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 | RULE_STRING | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
+ return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | 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 | RULE_STRING | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
IntStream input = _input;
@@ -1585,7 +1606,7 @@ public class InternalSolverLanguageLexer extends Lexer {
int LA10_24 = input.LA(1);
s = -1;
- if ( ((LA10_24>='\u0000' && LA10_24<='\uFFFF')) ) {s = 60;}
+ if ( ((LA10_24>='\u0000' && LA10_24<='\uFFFF')) ) {s = 61;}
else s = 30;
@@ -1607,23 +1628,23 @@ public class InternalSolverLanguageLexer extends Lexer {
else if ( (LA10_0=='e') ) {s = 6;}
- else if ( (LA10_0=='(') ) {s = 7;}
+ else if ( (LA10_0==':') ) {s = 7;}
- else if ( (LA10_0==')') ) {s = 8;}
+ else if ( (LA10_0=='(') ) {s = 8;}
- else if ( (LA10_0==':') ) {s = 9;}
+ else if ( (LA10_0==')') ) {s = 9;}
- else if ( (LA10_0=='b') ) {s = 10;}
+ else if ( (LA10_0==',') ) {s = 10;}
- else if ( (LA10_0=='i') ) {s = 11;}
+ else if ( (LA10_0=='b') ) {s = 11;}
- else if ( (LA10_0=='r') ) {s = 12;}
+ else if ( (LA10_0=='i') ) {s = 12;}
- else if ( (LA10_0=='s') ) {s = 13;}
+ else if ( (LA10_0=='r') ) {s = 13;}
- else if ( (LA10_0=='\'') ) {s = 14;}
+ else if ( (LA10_0=='s') ) {s = 14;}
- else if ( (LA10_0=='p') ) {s = 15;}
+ else if ( (LA10_0=='\'') ) {s = 15;}
else if ( (LA10_0=='|') ) {s = 16;}
@@ -1645,7 +1666,7 @@ public class InternalSolverLanguageLexer extends Lexer {
else if ( (LA10_0=='^') ) {s = 25;}
- else if ( ((LA10_0>='A' && LA10_0<='Z')||LA10_0=='_'||(LA10_0>='g' && LA10_0<='h')||(LA10_0>='j' && LA10_0<='o')||LA10_0=='q'||(LA10_0>='v' && LA10_0<='z')) ) {s = 26;}
+ else if ( ((LA10_0>='A' && LA10_0<='Z')||LA10_0=='_'||(LA10_0>='g' && LA10_0<='h')||(LA10_0>='j' && LA10_0<='q')||(LA10_0>='v' && LA10_0<='z')) ) {s = 26;}
else if ( ((LA10_0>='0' && LA10_0<='9')) ) {s = 27;}
@@ -1653,7 +1674,7 @@ public class InternalSolverLanguageLexer extends Lexer {
else if ( ((LA10_0>='\t' && LA10_0<='\n')||LA10_0=='\r'||LA10_0==' ') ) {s = 29;}
- else if ( ((LA10_0>='\u0000' && LA10_0<='\b')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\u001F')||LA10_0=='!'||(LA10_0>='#' && LA10_0<='&')||LA10_0==','||(LA10_0>=';' && LA10_0<='@')||(LA10_0>='[' && LA10_0<=']')||LA10_0=='`'||(LA10_0>='~' && LA10_0<='\uFFFF')) ) {s = 30;}
+ else if ( ((LA10_0>='\u0000' && LA10_0<='\b')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\u001F')||LA10_0=='!'||(LA10_0>='#' && LA10_0<='&')||(LA10_0>=';' && LA10_0<='@')||(LA10_0>='[' && LA10_0<=']')||LA10_0=='`'||(LA10_0>='~' && LA10_0<='\uFFFF')) ) {s = 30;}
if ( s>=0 ) return s;
break;
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 cc5980b1..ed956895 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
@@ -22,7 +22,7 @@ import java.util.ArrayList;
@SuppressWarnings("all")
public class InternalSolverLanguageParser extends AbstractInternalContentAssistParser {
public static final String[] tokenNames = new String[] {
- "", "", "", "", "RULE_INT", "RULE_ID", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'false'", "'true'", "'-'", "'.'", "'unknown'", "'error'", "'('", "')'", "':'", "'exists'", "'equals'", "'bool'", "'int'", "'real'", "'string'", "'\\''", "'predicate'", "'|'", "'+'", "'*'", "'default'", "'class'", "'{'", "'}'", "'extends'", "'enum'", "'relation'", "'..'", "'abstract'", "'containment'"
+ "", "", "", "", "RULE_INT", "RULE_ID", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'false'", "'true'", "'-'", "'.'", "'unknown'", "'error'", "':'", "'('", "')'", "','", "'exists'", "'equals'", "'bool'", "'int'", "'real'", "'string'", "'\\''", "':-'", "'|'", "'+'", "'*'", "'default'", "'class'", "'{'", "'}'", "'extends'", "'enum'", "'relation'", "'..'", "'abstract'", "'containment'"
};
public static final int RULE_STRING=6;
public static final int RULE_SL_COMMENT=8;
@@ -60,6 +60,7 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
public static final int T__24=24;
public static final int T__25=25;
public static final int T__40=40;
+ public static final int T__41=41;
public static final int T__20=20;
public static final int T__21=21;
@@ -148,7 +149,7 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
int alt1=2;
int LA1_0 = input.LA(1);
- if ( (LA1_0==RULE_ID||LA1_0==16||(LA1_0>=20 && LA1_0<=25)||LA1_0==27||LA1_0==31||LA1_0==36||(LA1_0>=39 && LA1_0<=40)) ) {
+ if ( (LA1_0==RULE_ID||LA1_0==16||(LA1_0>=21 && LA1_0<=26)||(LA1_0>=32 && LA1_0<=33)||(LA1_0>=37 && LA1_0<=38)||(LA1_0>=40 && LA1_0<=41)) ) {
alt1=1;
}
@@ -2226,31 +2227,31 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rulePredicate"
- // InternalSolverLanguage.g:737:1: rulePredicate : ( ( rule__Predicate__Alternatives ) ) ;
+ // InternalSolverLanguage.g:737:1: rulePredicate : ( ( rule__Predicate__Group__0 ) ) ;
public final void rulePredicate() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:741:2: ( ( ( rule__Predicate__Alternatives ) ) )
- // InternalSolverLanguage.g:742:2: ( ( rule__Predicate__Alternatives ) )
+ // InternalSolverLanguage.g:741:2: ( ( ( rule__Predicate__Group__0 ) ) )
+ // InternalSolverLanguage.g:742:2: ( ( rule__Predicate__Group__0 ) )
{
- // InternalSolverLanguage.g:742:2: ( ( rule__Predicate__Alternatives ) )
- // InternalSolverLanguage.g:743:3: ( rule__Predicate__Alternatives )
+ // InternalSolverLanguage.g:742:2: ( ( rule__Predicate__Group__0 ) )
+ // InternalSolverLanguage.g:743:3: ( rule__Predicate__Group__0 )
{
- before(grammarAccess.getPredicateAccess().getAlternatives());
- // InternalSolverLanguage.g:744:3: ( rule__Predicate__Alternatives )
- // InternalSolverLanguage.g:744:4: rule__Predicate__Alternatives
+ before(grammarAccess.getPredicateAccess().getGroup());
+ // InternalSolverLanguage.g:744:3: ( rule__Predicate__Group__0 )
+ // InternalSolverLanguage.g:744:4: rule__Predicate__Group__0
{
pushFollow(FOLLOW_2);
- rule__Predicate__Alternatives();
+ rule__Predicate__Group__0();
state._fsp--;
}
- after(grammarAccess.getPredicateAccess().getAlternatives());
+ after(grammarAccess.getPredicateAccess().getGroup());
}
@@ -2272,166 +2273,12 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR end "rulePredicate"
- // $ANTLR start "entryRulePredicateSymbol"
- // InternalSolverLanguage.g:753:1: entryRulePredicateSymbol : rulePredicateSymbol EOF ;
- public final void entryRulePredicateSymbol() throws RecognitionException {
- try {
- // InternalSolverLanguage.g:754:1: ( rulePredicateSymbol EOF )
- // InternalSolverLanguage.g:755:1: rulePredicateSymbol EOF
- {
- before(grammarAccess.getPredicateSymbolRule());
- pushFollow(FOLLOW_1);
- rulePredicateSymbol();
-
- state._fsp--;
-
- after(grammarAccess.getPredicateSymbolRule());
- match(input,EOF,FOLLOW_2);
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
- }
- return ;
- }
- // $ANTLR end "entryRulePredicateSymbol"
-
-
- // $ANTLR start "rulePredicateSymbol"
- // InternalSolverLanguage.g:762:1: rulePredicateSymbol : ( ( rule__PredicateSymbol__Group__0 ) ) ;
- public final void rulePredicateSymbol() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:766:2: ( ( ( rule__PredicateSymbol__Group__0 ) ) )
- // InternalSolverLanguage.g:767:2: ( ( rule__PredicateSymbol__Group__0 ) )
- {
- // InternalSolverLanguage.g:767:2: ( ( rule__PredicateSymbol__Group__0 ) )
- // InternalSolverLanguage.g:768:3: ( rule__PredicateSymbol__Group__0 )
- {
- before(grammarAccess.getPredicateSymbolAccess().getGroup());
- // InternalSolverLanguage.g:769:3: ( rule__PredicateSymbol__Group__0 )
- // InternalSolverLanguage.g:769:4: rule__PredicateSymbol__Group__0
- {
- pushFollow(FOLLOW_2);
- rule__PredicateSymbol__Group__0();
-
- state._fsp--;
-
-
- }
-
- after(grammarAccess.getPredicateSymbolAccess().getGroup());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rulePredicateSymbol"
-
-
- // $ANTLR start "entryRuleErrorPredicate"
- // InternalSolverLanguage.g:778:1: entryRuleErrorPredicate : ruleErrorPredicate EOF ;
- public final void entryRuleErrorPredicate() throws RecognitionException {
- try {
- // InternalSolverLanguage.g:779:1: ( ruleErrorPredicate EOF )
- // InternalSolverLanguage.g:780:1: ruleErrorPredicate EOF
- {
- before(grammarAccess.getErrorPredicateRule());
- pushFollow(FOLLOW_1);
- ruleErrorPredicate();
-
- state._fsp--;
-
- after(grammarAccess.getErrorPredicateRule());
- match(input,EOF,FOLLOW_2);
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
- }
- return ;
- }
- // $ANTLR end "entryRuleErrorPredicate"
-
-
- // $ANTLR start "ruleErrorPredicate"
- // InternalSolverLanguage.g:787:1: ruleErrorPredicate : ( ( rule__ErrorPredicate__Group__0 ) ) ;
- public final void ruleErrorPredicate() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:791:2: ( ( ( rule__ErrorPredicate__Group__0 ) ) )
- // InternalSolverLanguage.g:792:2: ( ( rule__ErrorPredicate__Group__0 ) )
- {
- // InternalSolverLanguage.g:792:2: ( ( rule__ErrorPredicate__Group__0 ) )
- // InternalSolverLanguage.g:793:3: ( rule__ErrorPredicate__Group__0 )
- {
- before(grammarAccess.getErrorPredicateAccess().getGroup());
- // InternalSolverLanguage.g:794:3: ( rule__ErrorPredicate__Group__0 )
- // InternalSolverLanguage.g:794:4: rule__ErrorPredicate__Group__0
- {
- pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Group__0();
-
- state._fsp--;
-
-
- }
-
- after(grammarAccess.getErrorPredicateAccess().getGroup());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "ruleErrorPredicate"
-
-
// $ANTLR start "entryRuleParameter"
- // InternalSolverLanguage.g:803:1: entryRuleParameter : ruleParameter EOF ;
+ // InternalSolverLanguage.g:753:1: entryRuleParameter : ruleParameter EOF ;
public final void entryRuleParameter() throws RecognitionException {
try {
- // InternalSolverLanguage.g:804:1: ( ruleParameter EOF )
- // InternalSolverLanguage.g:805:1: ruleParameter EOF
+ // InternalSolverLanguage.g:754:1: ( ruleParameter EOF )
+ // InternalSolverLanguage.g:755:1: ruleParameter EOF
{
before(grammarAccess.getParameterRule());
pushFollow(FOLLOW_1);
@@ -2457,21 +2304,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleParameter"
- // InternalSolverLanguage.g:812:1: ruleParameter : ( ( rule__Parameter__Group__0 ) ) ;
+ // InternalSolverLanguage.g:762:1: ruleParameter : ( ( rule__Parameter__Group__0 ) ) ;
public final void ruleParameter() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:816:2: ( ( ( rule__Parameter__Group__0 ) ) )
- // InternalSolverLanguage.g:817:2: ( ( rule__Parameter__Group__0 ) )
+ // InternalSolverLanguage.g:766:2: ( ( ( rule__Parameter__Group__0 ) ) )
+ // InternalSolverLanguage.g:767:2: ( ( rule__Parameter__Group__0 ) )
{
- // InternalSolverLanguage.g:817:2: ( ( rule__Parameter__Group__0 ) )
- // InternalSolverLanguage.g:818:3: ( rule__Parameter__Group__0 )
+ // InternalSolverLanguage.g:767:2: ( ( rule__Parameter__Group__0 ) )
+ // InternalSolverLanguage.g:768:3: ( rule__Parameter__Group__0 )
{
before(grammarAccess.getParameterAccess().getGroup());
- // InternalSolverLanguage.g:819:3: ( rule__Parameter__Group__0 )
- // InternalSolverLanguage.g:819:4: rule__Parameter__Group__0
+ // InternalSolverLanguage.g:769:3: ( rule__Parameter__Group__0 )
+ // InternalSolverLanguage.g:769:4: rule__Parameter__Group__0
{
pushFollow(FOLLOW_2);
rule__Parameter__Group__0();
@@ -2504,11 +2351,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRulePatternBody"
- // InternalSolverLanguage.g:828:1: entryRulePatternBody : rulePatternBody EOF ;
+ // InternalSolverLanguage.g:778:1: entryRulePatternBody : rulePatternBody EOF ;
public final void entryRulePatternBody() throws RecognitionException {
try {
- // InternalSolverLanguage.g:829:1: ( rulePatternBody EOF )
- // InternalSolverLanguage.g:830:1: rulePatternBody EOF
+ // InternalSolverLanguage.g:779:1: ( rulePatternBody EOF )
+ // InternalSolverLanguage.g:780:1: rulePatternBody EOF
{
before(grammarAccess.getPatternBodyRule());
pushFollow(FOLLOW_1);
@@ -2534,21 +2381,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rulePatternBody"
- // InternalSolverLanguage.g:837:1: rulePatternBody : ( ( rule__PatternBody__Group__0 ) ) ;
+ // InternalSolverLanguage.g:787:1: rulePatternBody : ( ( rule__PatternBody__Group__0 ) ) ;
public final void rulePatternBody() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:841:2: ( ( ( rule__PatternBody__Group__0 ) ) )
- // InternalSolverLanguage.g:842:2: ( ( rule__PatternBody__Group__0 ) )
+ // InternalSolverLanguage.g:791:2: ( ( ( rule__PatternBody__Group__0 ) ) )
+ // InternalSolverLanguage.g:792:2: ( ( rule__PatternBody__Group__0 ) )
{
- // InternalSolverLanguage.g:842:2: ( ( rule__PatternBody__Group__0 ) )
- // InternalSolverLanguage.g:843:3: ( rule__PatternBody__Group__0 )
+ // InternalSolverLanguage.g:792:2: ( ( rule__PatternBody__Group__0 ) )
+ // InternalSolverLanguage.g:793:3: ( rule__PatternBody__Group__0 )
{
before(grammarAccess.getPatternBodyAccess().getGroup());
- // InternalSolverLanguage.g:844:3: ( rule__PatternBody__Group__0 )
- // InternalSolverLanguage.g:844:4: rule__PatternBody__Group__0
+ // InternalSolverLanguage.g:794:3: ( rule__PatternBody__Group__0 )
+ // InternalSolverLanguage.g:794:4: rule__PatternBody__Group__0
{
pushFollow(FOLLOW_2);
rule__PatternBody__Group__0();
@@ -2581,11 +2428,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRulePolarity"
- // InternalSolverLanguage.g:853:1: entryRulePolarity : rulePolarity EOF ;
+ // InternalSolverLanguage.g:803:1: entryRulePolarity : rulePolarity EOF ;
public final void entryRulePolarity() throws RecognitionException {
try {
- // InternalSolverLanguage.g:854:1: ( rulePolarity EOF )
- // InternalSolverLanguage.g:855:1: rulePolarity EOF
+ // InternalSolverLanguage.g:804:1: ( rulePolarity EOF )
+ // InternalSolverLanguage.g:805:1: rulePolarity EOF
{
before(grammarAccess.getPolarityRule());
pushFollow(FOLLOW_1);
@@ -2611,21 +2458,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rulePolarity"
- // InternalSolverLanguage.g:862:1: rulePolarity : ( ( rule__Polarity__Alternatives ) ) ;
+ // InternalSolverLanguage.g:812:1: rulePolarity : ( ( rule__Polarity__Alternatives ) ) ;
public final void rulePolarity() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:866:2: ( ( ( rule__Polarity__Alternatives ) ) )
- // InternalSolverLanguage.g:867:2: ( ( rule__Polarity__Alternatives ) )
+ // InternalSolverLanguage.g:816:2: ( ( ( rule__Polarity__Alternatives ) ) )
+ // InternalSolverLanguage.g:817:2: ( ( rule__Polarity__Alternatives ) )
{
- // InternalSolverLanguage.g:867:2: ( ( rule__Polarity__Alternatives ) )
- // InternalSolverLanguage.g:868:3: ( rule__Polarity__Alternatives )
+ // InternalSolverLanguage.g:817:2: ( ( rule__Polarity__Alternatives ) )
+ // InternalSolverLanguage.g:818:3: ( rule__Polarity__Alternatives )
{
before(grammarAccess.getPolarityAccess().getAlternatives());
- // InternalSolverLanguage.g:869:3: ( rule__Polarity__Alternatives )
- // InternalSolverLanguage.g:869:4: rule__Polarity__Alternatives
+ // InternalSolverLanguage.g:819:3: ( rule__Polarity__Alternatives )
+ // InternalSolverLanguage.g:819:4: rule__Polarity__Alternatives
{
pushFollow(FOLLOW_2);
rule__Polarity__Alternatives();
@@ -2658,11 +2505,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleConstraint"
- // InternalSolverLanguage.g:878:1: entryRuleConstraint : ruleConstraint EOF ;
+ // InternalSolverLanguage.g:828:1: entryRuleConstraint : ruleConstraint EOF ;
public final void entryRuleConstraint() throws RecognitionException {
try {
- // InternalSolverLanguage.g:879:1: ( ruleConstraint EOF )
- // InternalSolverLanguage.g:880:1: ruleConstraint EOF
+ // InternalSolverLanguage.g:829:1: ( ruleConstraint EOF )
+ // InternalSolverLanguage.g:830:1: ruleConstraint EOF
{
before(grammarAccess.getConstraintRule());
pushFollow(FOLLOW_1);
@@ -2688,31 +2535,31 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleConstraint"
- // InternalSolverLanguage.g:887:1: ruleConstraint : ( ( rule__Constraint__Group__0 ) ) ;
+ // InternalSolverLanguage.g:837:1: ruleConstraint : ( ( rule__Constraint__Alternatives ) ) ;
public final void ruleConstraint() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:891:2: ( ( ( rule__Constraint__Group__0 ) ) )
- // InternalSolverLanguage.g:892:2: ( ( rule__Constraint__Group__0 ) )
+ // InternalSolverLanguage.g:841:2: ( ( ( rule__Constraint__Alternatives ) ) )
+ // InternalSolverLanguage.g:842:2: ( ( rule__Constraint__Alternatives ) )
{
- // InternalSolverLanguage.g:892:2: ( ( rule__Constraint__Group__0 ) )
- // InternalSolverLanguage.g:893:3: ( rule__Constraint__Group__0 )
+ // InternalSolverLanguage.g:842:2: ( ( rule__Constraint__Alternatives ) )
+ // InternalSolverLanguage.g:843:3: ( rule__Constraint__Alternatives )
{
- before(grammarAccess.getConstraintAccess().getGroup());
- // InternalSolverLanguage.g:894:3: ( rule__Constraint__Group__0 )
- // InternalSolverLanguage.g:894:4: rule__Constraint__Group__0
+ before(grammarAccess.getConstraintAccess().getAlternatives());
+ // InternalSolverLanguage.g:844:3: ( rule__Constraint__Alternatives )
+ // InternalSolverLanguage.g:844:4: rule__Constraint__Alternatives
{
pushFollow(FOLLOW_2);
- rule__Constraint__Group__0();
+ rule__Constraint__Alternatives();
state._fsp--;
}
- after(grammarAccess.getConstraintAccess().getGroup());
+ after(grammarAccess.getConstraintAccess().getAlternatives());
}
@@ -2735,11 +2582,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleClosureType"
- // InternalSolverLanguage.g:903:1: entryRuleClosureType : ruleClosureType EOF ;
+ // InternalSolverLanguage.g:853:1: entryRuleClosureType : ruleClosureType EOF ;
public final void entryRuleClosureType() throws RecognitionException {
try {
- // InternalSolverLanguage.g:904:1: ( ruleClosureType EOF )
- // InternalSolverLanguage.g:905:1: ruleClosureType EOF
+ // InternalSolverLanguage.g:854:1: ( ruleClosureType EOF )
+ // InternalSolverLanguage.g:855:1: ruleClosureType EOF
{
before(grammarAccess.getClosureTypeRule());
pushFollow(FOLLOW_1);
@@ -2765,21 +2612,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleClosureType"
- // InternalSolverLanguage.g:912:1: ruleClosureType : ( ( rule__ClosureType__Alternatives ) ) ;
+ // InternalSolverLanguage.g:862:1: ruleClosureType : ( ( rule__ClosureType__Alternatives ) ) ;
public final void ruleClosureType() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:916:2: ( ( ( rule__ClosureType__Alternatives ) ) )
- // InternalSolverLanguage.g:917:2: ( ( rule__ClosureType__Alternatives ) )
+ // InternalSolverLanguage.g:866:2: ( ( ( rule__ClosureType__Alternatives ) ) )
+ // InternalSolverLanguage.g:867:2: ( ( rule__ClosureType__Alternatives ) )
{
- // InternalSolverLanguage.g:917:2: ( ( rule__ClosureType__Alternatives ) )
- // InternalSolverLanguage.g:918:3: ( rule__ClosureType__Alternatives )
+ // InternalSolverLanguage.g:867:2: ( ( rule__ClosureType__Alternatives ) )
+ // InternalSolverLanguage.g:868:3: ( rule__ClosureType__Alternatives )
{
before(grammarAccess.getClosureTypeAccess().getAlternatives());
- // InternalSolverLanguage.g:919:3: ( rule__ClosureType__Alternatives )
- // InternalSolverLanguage.g:919:4: rule__ClosureType__Alternatives
+ // InternalSolverLanguage.g:869:3: ( rule__ClosureType__Alternatives )
+ // InternalSolverLanguage.g:869:4: rule__ClosureType__Alternatives
{
pushFollow(FOLLOW_2);
rule__ClosureType__Alternatives();
@@ -2812,11 +2659,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleLiteral"
- // InternalSolverLanguage.g:928:1: entryRuleLiteral : ruleLiteral EOF ;
+ // InternalSolverLanguage.g:878:1: entryRuleLiteral : ruleLiteral EOF ;
public final void entryRuleLiteral() throws RecognitionException {
try {
- // InternalSolverLanguage.g:929:1: ( ruleLiteral EOF )
- // InternalSolverLanguage.g:930:1: ruleLiteral EOF
+ // InternalSolverLanguage.g:879:1: ( ruleLiteral EOF )
+ // InternalSolverLanguage.g:880:1: ruleLiteral EOF
{
before(grammarAccess.getLiteralRule());
pushFollow(FOLLOW_1);
@@ -2842,21 +2689,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleLiteral"
- // InternalSolverLanguage.g:937:1: ruleLiteral : ( ( rule__Literal__Alternatives ) ) ;
+ // InternalSolverLanguage.g:887:1: ruleLiteral : ( ( rule__Literal__Alternatives ) ) ;
public final void ruleLiteral() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:941:2: ( ( ( rule__Literal__Alternatives ) ) )
- // InternalSolverLanguage.g:942:2: ( ( rule__Literal__Alternatives ) )
+ // InternalSolverLanguage.g:891:2: ( ( ( rule__Literal__Alternatives ) ) )
+ // InternalSolverLanguage.g:892:2: ( ( rule__Literal__Alternatives ) )
{
- // InternalSolverLanguage.g:942:2: ( ( rule__Literal__Alternatives ) )
- // InternalSolverLanguage.g:943:3: ( rule__Literal__Alternatives )
+ // InternalSolverLanguage.g:892:2: ( ( rule__Literal__Alternatives ) )
+ // InternalSolverLanguage.g:893:3: ( rule__Literal__Alternatives )
{
before(grammarAccess.getLiteralAccess().getAlternatives());
- // InternalSolverLanguage.g:944:3: ( rule__Literal__Alternatives )
- // InternalSolverLanguage.g:944:4: rule__Literal__Alternatives
+ // InternalSolverLanguage.g:894:3: ( rule__Literal__Alternatives )
+ // InternalSolverLanguage.g:894:4: rule__Literal__Alternatives
{
pushFollow(FOLLOW_2);
rule__Literal__Alternatives();
@@ -2889,11 +2736,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleVariable"
- // InternalSolverLanguage.g:953:1: entryRuleVariable : ruleVariable EOF ;
+ // InternalSolverLanguage.g:903:1: entryRuleVariable : ruleVariable EOF ;
public final void entryRuleVariable() throws RecognitionException {
try {
- // InternalSolverLanguage.g:954:1: ( ruleVariable EOF )
- // InternalSolverLanguage.g:955:1: ruleVariable EOF
+ // InternalSolverLanguage.g:904:1: ( ruleVariable EOF )
+ // InternalSolverLanguage.g:905:1: ruleVariable EOF
{
before(grammarAccess.getVariableRule());
pushFollow(FOLLOW_1);
@@ -2919,21 +2766,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleVariable"
- // InternalSolverLanguage.g:962:1: ruleVariable : ( ( rule__Variable__NameAssignment ) ) ;
+ // InternalSolverLanguage.g:912:1: ruleVariable : ( ( rule__Variable__NameAssignment ) ) ;
public final void ruleVariable() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:966:2: ( ( ( rule__Variable__NameAssignment ) ) )
- // InternalSolverLanguage.g:967:2: ( ( rule__Variable__NameAssignment ) )
+ // InternalSolverLanguage.g:916:2: ( ( ( rule__Variable__NameAssignment ) ) )
+ // InternalSolverLanguage.g:917:2: ( ( rule__Variable__NameAssignment ) )
{
- // InternalSolverLanguage.g:967:2: ( ( rule__Variable__NameAssignment ) )
- // InternalSolverLanguage.g:968:3: ( rule__Variable__NameAssignment )
+ // InternalSolverLanguage.g:917:2: ( ( rule__Variable__NameAssignment ) )
+ // InternalSolverLanguage.g:918:3: ( rule__Variable__NameAssignment )
{
before(grammarAccess.getVariableAccess().getNameAssignment());
- // InternalSolverLanguage.g:969:3: ( rule__Variable__NameAssignment )
- // InternalSolverLanguage.g:969:4: rule__Variable__NameAssignment
+ // InternalSolverLanguage.g:919:3: ( rule__Variable__NameAssignment )
+ // InternalSolverLanguage.g:919:4: rule__Variable__NameAssignment
{
pushFollow(FOLLOW_2);
rule__Variable__NameAssignment();
@@ -2966,11 +2813,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleAllInstances"
- // InternalSolverLanguage.g:978:1: entryRuleAllInstances : ruleAllInstances EOF ;
+ // InternalSolverLanguage.g:928:1: entryRuleAllInstances : ruleAllInstances EOF ;
public final void entryRuleAllInstances() throws RecognitionException {
try {
- // InternalSolverLanguage.g:979:1: ( ruleAllInstances EOF )
- // InternalSolverLanguage.g:980:1: ruleAllInstances EOF
+ // InternalSolverLanguage.g:929:1: ( ruleAllInstances EOF )
+ // InternalSolverLanguage.g:930:1: ruleAllInstances EOF
{
before(grammarAccess.getAllInstancesRule());
pushFollow(FOLLOW_1);
@@ -2996,21 +2843,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleAllInstances"
- // InternalSolverLanguage.g:987:1: ruleAllInstances : ( ( rule__AllInstances__Group__0 ) ) ;
+ // InternalSolverLanguage.g:937:1: ruleAllInstances : ( ( rule__AllInstances__Group__0 ) ) ;
public final void ruleAllInstances() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:991:2: ( ( ( rule__AllInstances__Group__0 ) ) )
- // InternalSolverLanguage.g:992:2: ( ( rule__AllInstances__Group__0 ) )
+ // InternalSolverLanguage.g:941:2: ( ( ( rule__AllInstances__Group__0 ) ) )
+ // InternalSolverLanguage.g:942:2: ( ( rule__AllInstances__Group__0 ) )
{
- // InternalSolverLanguage.g:992:2: ( ( rule__AllInstances__Group__0 ) )
- // InternalSolverLanguage.g:993:3: ( rule__AllInstances__Group__0 )
+ // InternalSolverLanguage.g:942:2: ( ( rule__AllInstances__Group__0 ) )
+ // InternalSolverLanguage.g:943:3: ( rule__AllInstances__Group__0 )
{
before(grammarAccess.getAllInstancesAccess().getGroup());
- // InternalSolverLanguage.g:994:3: ( rule__AllInstances__Group__0 )
- // InternalSolverLanguage.g:994:4: rule__AllInstances__Group__0
+ // InternalSolverLanguage.g:944:3: ( rule__AllInstances__Group__0 )
+ // InternalSolverLanguage.g:944:4: rule__AllInstances__Group__0
{
pushFollow(FOLLOW_2);
rule__AllInstances__Group__0();
@@ -3043,11 +2890,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleAllObjects"
- // InternalSolverLanguage.g:1003:1: entryRuleAllObjects : ruleAllObjects EOF ;
+ // InternalSolverLanguage.g:953:1: entryRuleAllObjects : ruleAllObjects EOF ;
public final void entryRuleAllObjects() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1004:1: ( ruleAllObjects EOF )
- // InternalSolverLanguage.g:1005:1: ruleAllObjects EOF
+ // InternalSolverLanguage.g:954:1: ( ruleAllObjects EOF )
+ // InternalSolverLanguage.g:955:1: ruleAllObjects EOF
{
before(grammarAccess.getAllObjectsRule());
pushFollow(FOLLOW_1);
@@ -3073,21 +2920,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleAllObjects"
- // InternalSolverLanguage.g:1012:1: ruleAllObjects : ( ( rule__AllObjects__Group__0 ) ) ;
+ // InternalSolverLanguage.g:962:1: ruleAllObjects : ( ( rule__AllObjects__Group__0 ) ) ;
public final void ruleAllObjects() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1016:2: ( ( ( rule__AllObjects__Group__0 ) ) )
- // InternalSolverLanguage.g:1017:2: ( ( rule__AllObjects__Group__0 ) )
+ // InternalSolverLanguage.g:966:2: ( ( ( rule__AllObjects__Group__0 ) ) )
+ // InternalSolverLanguage.g:967:2: ( ( rule__AllObjects__Group__0 ) )
{
- // InternalSolverLanguage.g:1017:2: ( ( rule__AllObjects__Group__0 ) )
- // InternalSolverLanguage.g:1018:3: ( rule__AllObjects__Group__0 )
+ // InternalSolverLanguage.g:967:2: ( ( rule__AllObjects__Group__0 ) )
+ // InternalSolverLanguage.g:968:3: ( rule__AllObjects__Group__0 )
{
before(grammarAccess.getAllObjectsAccess().getGroup());
- // InternalSolverLanguage.g:1019:3: ( rule__AllObjects__Group__0 )
- // InternalSolverLanguage.g:1019:4: rule__AllObjects__Group__0
+ // InternalSolverLanguage.g:969:3: ( rule__AllObjects__Group__0 )
+ // InternalSolverLanguage.g:969:4: rule__AllObjects__Group__0
{
pushFollow(FOLLOW_2);
rule__AllObjects__Group__0();
@@ -3120,11 +2967,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleDefaultInterpretation"
- // InternalSolverLanguage.g:1028:1: entryRuleDefaultInterpretation : ruleDefaultInterpretation EOF ;
+ // InternalSolverLanguage.g:978:1: entryRuleDefaultInterpretation : ruleDefaultInterpretation EOF ;
public final void entryRuleDefaultInterpretation() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1029:1: ( ruleDefaultInterpretation EOF )
- // InternalSolverLanguage.g:1030:1: ruleDefaultInterpretation EOF
+ // InternalSolverLanguage.g:979:1: ( ruleDefaultInterpretation EOF )
+ // InternalSolverLanguage.g:980:1: ruleDefaultInterpretation EOF
{
before(grammarAccess.getDefaultInterpretationRule());
pushFollow(FOLLOW_1);
@@ -3150,21 +2997,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleDefaultInterpretation"
- // InternalSolverLanguage.g:1037:1: ruleDefaultInterpretation : ( ( rule__DefaultInterpretation__Group__0 ) ) ;
+ // InternalSolverLanguage.g:987:1: ruleDefaultInterpretation : ( ( rule__DefaultInterpretation__Group__0 ) ) ;
public final void ruleDefaultInterpretation() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1041:2: ( ( ( rule__DefaultInterpretation__Group__0 ) ) )
- // InternalSolverLanguage.g:1042:2: ( ( rule__DefaultInterpretation__Group__0 ) )
+ // InternalSolverLanguage.g:991:2: ( ( ( rule__DefaultInterpretation__Group__0 ) ) )
+ // InternalSolverLanguage.g:992:2: ( ( rule__DefaultInterpretation__Group__0 ) )
{
- // InternalSolverLanguage.g:1042:2: ( ( rule__DefaultInterpretation__Group__0 ) )
- // InternalSolverLanguage.g:1043:3: ( rule__DefaultInterpretation__Group__0 )
+ // InternalSolverLanguage.g:992:2: ( ( rule__DefaultInterpretation__Group__0 ) )
+ // InternalSolverLanguage.g:993:3: ( rule__DefaultInterpretation__Group__0 )
{
before(grammarAccess.getDefaultInterpretationAccess().getGroup());
- // InternalSolverLanguage.g:1044:3: ( rule__DefaultInterpretation__Group__0 )
- // InternalSolverLanguage.g:1044:4: rule__DefaultInterpretation__Group__0
+ // InternalSolverLanguage.g:994:3: ( rule__DefaultInterpretation__Group__0 )
+ // InternalSolverLanguage.g:994:4: rule__DefaultInterpretation__Group__0
{
pushFollow(FOLLOW_2);
rule__DefaultInterpretation__Group__0();
@@ -3197,11 +3044,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleCDInterpretation"
- // InternalSolverLanguage.g:1053:1: entryRuleCDInterpretation : ruleCDInterpretation EOF ;
+ // InternalSolverLanguage.g:1003:1: entryRuleCDInterpretation : ruleCDInterpretation EOF ;
public final void entryRuleCDInterpretation() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1054:1: ( ruleCDInterpretation EOF )
- // InternalSolverLanguage.g:1055:1: ruleCDInterpretation EOF
+ // InternalSolverLanguage.g:1004:1: ( ruleCDInterpretation EOF )
+ // InternalSolverLanguage.g:1005:1: ruleCDInterpretation EOF
{
before(grammarAccess.getCDInterpretationRule());
pushFollow(FOLLOW_1);
@@ -3227,21 +3074,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleCDInterpretation"
- // InternalSolverLanguage.g:1062:1: ruleCDInterpretation : ( ( rule__CDInterpretation__Alternatives ) ) ;
+ // InternalSolverLanguage.g:1012:1: ruleCDInterpretation : ( ( rule__CDInterpretation__Alternatives ) ) ;
public final void ruleCDInterpretation() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1066:2: ( ( ( rule__CDInterpretation__Alternatives ) ) )
- // InternalSolverLanguage.g:1067:2: ( ( rule__CDInterpretation__Alternatives ) )
+ // InternalSolverLanguage.g:1016:2: ( ( ( rule__CDInterpretation__Alternatives ) ) )
+ // InternalSolverLanguage.g:1017:2: ( ( rule__CDInterpretation__Alternatives ) )
{
- // InternalSolverLanguage.g:1067:2: ( ( rule__CDInterpretation__Alternatives ) )
- // InternalSolverLanguage.g:1068:3: ( rule__CDInterpretation__Alternatives )
+ // InternalSolverLanguage.g:1017:2: ( ( rule__CDInterpretation__Alternatives ) )
+ // InternalSolverLanguage.g:1018:3: ( rule__CDInterpretation__Alternatives )
{
before(grammarAccess.getCDInterpretationAccess().getAlternatives());
- // InternalSolverLanguage.g:1069:3: ( rule__CDInterpretation__Alternatives )
- // InternalSolverLanguage.g:1069:4: rule__CDInterpretation__Alternatives
+ // InternalSolverLanguage.g:1019:3: ( rule__CDInterpretation__Alternatives )
+ // InternalSolverLanguage.g:1019:4: rule__CDInterpretation__Alternatives
{
pushFollow(FOLLOW_2);
rule__CDInterpretation__Alternatives();
@@ -3274,11 +3121,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleClassInterpretation"
- // InternalSolverLanguage.g:1078:1: entryRuleClassInterpretation : ruleClassInterpretation EOF ;
+ // InternalSolverLanguage.g:1028:1: entryRuleClassInterpretation : ruleClassInterpretation EOF ;
public final void entryRuleClassInterpretation() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1079:1: ( ruleClassInterpretation EOF )
- // InternalSolverLanguage.g:1080:1: ruleClassInterpretation EOF
+ // InternalSolverLanguage.g:1029:1: ( ruleClassInterpretation EOF )
+ // InternalSolverLanguage.g:1030:1: ruleClassInterpretation EOF
{
before(grammarAccess.getClassInterpretationRule());
pushFollow(FOLLOW_1);
@@ -3304,21 +3151,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleClassInterpretation"
- // InternalSolverLanguage.g:1087:1: ruleClassInterpretation : ( ( rule__ClassInterpretation__Group__0 ) ) ;
+ // InternalSolverLanguage.g:1037:1: ruleClassInterpretation : ( ( rule__ClassInterpretation__Group__0 ) ) ;
public final void ruleClassInterpretation() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1091:2: ( ( ( rule__ClassInterpretation__Group__0 ) ) )
- // InternalSolverLanguage.g:1092:2: ( ( rule__ClassInterpretation__Group__0 ) )
+ // InternalSolverLanguage.g:1041:2: ( ( ( rule__ClassInterpretation__Group__0 ) ) )
+ // InternalSolverLanguage.g:1042:2: ( ( rule__ClassInterpretation__Group__0 ) )
{
- // InternalSolverLanguage.g:1092:2: ( ( rule__ClassInterpretation__Group__0 ) )
- // InternalSolverLanguage.g:1093:3: ( rule__ClassInterpretation__Group__0 )
+ // InternalSolverLanguage.g:1042:2: ( ( rule__ClassInterpretation__Group__0 ) )
+ // InternalSolverLanguage.g:1043:3: ( rule__ClassInterpretation__Group__0 )
{
before(grammarAccess.getClassInterpretationAccess().getGroup());
- // InternalSolverLanguage.g:1094:3: ( rule__ClassInterpretation__Group__0 )
- // InternalSolverLanguage.g:1094:4: rule__ClassInterpretation__Group__0
+ // InternalSolverLanguage.g:1044:3: ( rule__ClassInterpretation__Group__0 )
+ // InternalSolverLanguage.g:1044:4: rule__ClassInterpretation__Group__0
{
pushFollow(FOLLOW_2);
rule__ClassInterpretation__Group__0();
@@ -3351,11 +3198,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleEnumInterpretation"
- // InternalSolverLanguage.g:1103:1: entryRuleEnumInterpretation : ruleEnumInterpretation EOF ;
+ // InternalSolverLanguage.g:1053:1: entryRuleEnumInterpretation : ruleEnumInterpretation EOF ;
public final void entryRuleEnumInterpretation() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1104:1: ( ruleEnumInterpretation EOF )
- // InternalSolverLanguage.g:1105:1: ruleEnumInterpretation EOF
+ // InternalSolverLanguage.g:1054:1: ( ruleEnumInterpretation EOF )
+ // InternalSolverLanguage.g:1055:1: ruleEnumInterpretation EOF
{
before(grammarAccess.getEnumInterpretationRule());
pushFollow(FOLLOW_1);
@@ -3381,21 +3228,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleEnumInterpretation"
- // InternalSolverLanguage.g:1112:1: ruleEnumInterpretation : ( ( rule__EnumInterpretation__Group__0 ) ) ;
+ // InternalSolverLanguage.g:1062:1: ruleEnumInterpretation : ( ( rule__EnumInterpretation__Group__0 ) ) ;
public final void ruleEnumInterpretation() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1116:2: ( ( ( rule__EnumInterpretation__Group__0 ) ) )
- // InternalSolverLanguage.g:1117:2: ( ( rule__EnumInterpretation__Group__0 ) )
+ // InternalSolverLanguage.g:1066:2: ( ( ( rule__EnumInterpretation__Group__0 ) ) )
+ // InternalSolverLanguage.g:1067:2: ( ( rule__EnumInterpretation__Group__0 ) )
{
- // InternalSolverLanguage.g:1117:2: ( ( rule__EnumInterpretation__Group__0 ) )
- // InternalSolverLanguage.g:1118:3: ( rule__EnumInterpretation__Group__0 )
+ // InternalSolverLanguage.g:1067:2: ( ( rule__EnumInterpretation__Group__0 ) )
+ // InternalSolverLanguage.g:1068:3: ( rule__EnumInterpretation__Group__0 )
{
before(grammarAccess.getEnumInterpretationAccess().getGroup());
- // InternalSolverLanguage.g:1119:3: ( rule__EnumInterpretation__Group__0 )
- // InternalSolverLanguage.g:1119:4: rule__EnumInterpretation__Group__0
+ // InternalSolverLanguage.g:1069:3: ( rule__EnumInterpretation__Group__0 )
+ // InternalSolverLanguage.g:1069:4: rule__EnumInterpretation__Group__0
{
pushFollow(FOLLOW_2);
rule__EnumInterpretation__Group__0();
@@ -3428,11 +3275,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleFieldRelationInterpretation"
- // InternalSolverLanguage.g:1128:1: entryRuleFieldRelationInterpretation : ruleFieldRelationInterpretation EOF ;
+ // InternalSolverLanguage.g:1078:1: entryRuleFieldRelationInterpretation : ruleFieldRelationInterpretation EOF ;
public final void entryRuleFieldRelationInterpretation() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1129:1: ( ruleFieldRelationInterpretation EOF )
- // InternalSolverLanguage.g:1130:1: ruleFieldRelationInterpretation EOF
+ // InternalSolverLanguage.g:1079:1: ( ruleFieldRelationInterpretation EOF )
+ // InternalSolverLanguage.g:1080:1: ruleFieldRelationInterpretation EOF
{
before(grammarAccess.getFieldRelationInterpretationRule());
pushFollow(FOLLOW_1);
@@ -3458,21 +3305,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleFieldRelationInterpretation"
- // InternalSolverLanguage.g:1137:1: ruleFieldRelationInterpretation : ( ( rule__FieldRelationInterpretation__Group__0 ) ) ;
+ // InternalSolverLanguage.g:1087:1: ruleFieldRelationInterpretation : ( ( rule__FieldRelationInterpretation__Group__0 ) ) ;
public final void ruleFieldRelationInterpretation() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1141:2: ( ( ( rule__FieldRelationInterpretation__Group__0 ) ) )
- // InternalSolverLanguage.g:1142:2: ( ( rule__FieldRelationInterpretation__Group__0 ) )
+ // InternalSolverLanguage.g:1091:2: ( ( ( rule__FieldRelationInterpretation__Group__0 ) ) )
+ // InternalSolverLanguage.g:1092:2: ( ( rule__FieldRelationInterpretation__Group__0 ) )
{
- // InternalSolverLanguage.g:1142:2: ( ( rule__FieldRelationInterpretation__Group__0 ) )
- // InternalSolverLanguage.g:1143:3: ( rule__FieldRelationInterpretation__Group__0 )
+ // InternalSolverLanguage.g:1092:2: ( ( rule__FieldRelationInterpretation__Group__0 ) )
+ // InternalSolverLanguage.g:1093:3: ( rule__FieldRelationInterpretation__Group__0 )
{
before(grammarAccess.getFieldRelationInterpretationAccess().getGroup());
- // InternalSolverLanguage.g:1144:3: ( rule__FieldRelationInterpretation__Group__0 )
- // InternalSolverLanguage.g:1144:4: rule__FieldRelationInterpretation__Group__0
+ // InternalSolverLanguage.g:1094:3: ( rule__FieldRelationInterpretation__Group__0 )
+ // InternalSolverLanguage.g:1094:4: rule__FieldRelationInterpretation__Group__0
{
pushFollow(FOLLOW_2);
rule__FieldRelationInterpretation__Group__0();
@@ -3505,11 +3352,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleGlobalRelationInterpretation"
- // InternalSolverLanguage.g:1153:1: entryRuleGlobalRelationInterpretation : ruleGlobalRelationInterpretation EOF ;
+ // InternalSolverLanguage.g:1103:1: entryRuleGlobalRelationInterpretation : ruleGlobalRelationInterpretation EOF ;
public final void entryRuleGlobalRelationInterpretation() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1154:1: ( ruleGlobalRelationInterpretation EOF )
- // InternalSolverLanguage.g:1155:1: ruleGlobalRelationInterpretation EOF
+ // InternalSolverLanguage.g:1104:1: ( ruleGlobalRelationInterpretation EOF )
+ // InternalSolverLanguage.g:1105:1: ruleGlobalRelationInterpretation EOF
{
before(grammarAccess.getGlobalRelationInterpretationRule());
pushFollow(FOLLOW_1);
@@ -3535,21 +3382,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleGlobalRelationInterpretation"
- // InternalSolverLanguage.g:1162:1: ruleGlobalRelationInterpretation : ( ( rule__GlobalRelationInterpretation__Group__0 ) ) ;
+ // InternalSolverLanguage.g:1112:1: ruleGlobalRelationInterpretation : ( ( rule__GlobalRelationInterpretation__Group__0 ) ) ;
public final void ruleGlobalRelationInterpretation() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1166:2: ( ( ( rule__GlobalRelationInterpretation__Group__0 ) ) )
- // InternalSolverLanguage.g:1167:2: ( ( rule__GlobalRelationInterpretation__Group__0 ) )
+ // InternalSolverLanguage.g:1116:2: ( ( ( rule__GlobalRelationInterpretation__Group__0 ) ) )
+ // InternalSolverLanguage.g:1117:2: ( ( rule__GlobalRelationInterpretation__Group__0 ) )
{
- // InternalSolverLanguage.g:1167:2: ( ( rule__GlobalRelationInterpretation__Group__0 ) )
- // InternalSolverLanguage.g:1168:3: ( rule__GlobalRelationInterpretation__Group__0 )
+ // InternalSolverLanguage.g:1117:2: ( ( rule__GlobalRelationInterpretation__Group__0 ) )
+ // InternalSolverLanguage.g:1118:3: ( rule__GlobalRelationInterpretation__Group__0 )
{
before(grammarAccess.getGlobalRelationInterpretationAccess().getGroup());
- // InternalSolverLanguage.g:1169:3: ( rule__GlobalRelationInterpretation__Group__0 )
- // InternalSolverLanguage.g:1169:4: rule__GlobalRelationInterpretation__Group__0
+ // InternalSolverLanguage.g:1119:3: ( rule__GlobalRelationInterpretation__Group__0 )
+ // InternalSolverLanguage.g:1119:4: rule__GlobalRelationInterpretation__Group__0
{
pushFollow(FOLLOW_2);
rule__GlobalRelationInterpretation__Group__0();
@@ -3582,11 +3429,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleMultiplicityDefinition"
- // InternalSolverLanguage.g:1178:1: entryRuleMultiplicityDefinition : ruleMultiplicityDefinition EOF ;
+ // InternalSolverLanguage.g:1128:1: entryRuleMultiplicityDefinition : ruleMultiplicityDefinition EOF ;
public final void entryRuleMultiplicityDefinition() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1179:1: ( ruleMultiplicityDefinition EOF )
- // InternalSolverLanguage.g:1180:1: ruleMultiplicityDefinition EOF
+ // InternalSolverLanguage.g:1129:1: ( ruleMultiplicityDefinition EOF )
+ // InternalSolverLanguage.g:1130:1: ruleMultiplicityDefinition EOF
{
before(grammarAccess.getMultiplicityDefinitionRule());
pushFollow(FOLLOW_1);
@@ -3612,21 +3459,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleMultiplicityDefinition"
- // InternalSolverLanguage.g:1187:1: ruleMultiplicityDefinition : ( ( rule__MultiplicityDefinition__Group__0 ) ) ;
+ // InternalSolverLanguage.g:1137:1: ruleMultiplicityDefinition : ( ( rule__MultiplicityDefinition__Group__0 ) ) ;
public final void ruleMultiplicityDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1191:2: ( ( ( rule__MultiplicityDefinition__Group__0 ) ) )
- // InternalSolverLanguage.g:1192:2: ( ( rule__MultiplicityDefinition__Group__0 ) )
+ // InternalSolverLanguage.g:1141:2: ( ( ( rule__MultiplicityDefinition__Group__0 ) ) )
+ // InternalSolverLanguage.g:1142:2: ( ( rule__MultiplicityDefinition__Group__0 ) )
{
- // InternalSolverLanguage.g:1192:2: ( ( rule__MultiplicityDefinition__Group__0 ) )
- // InternalSolverLanguage.g:1193:3: ( rule__MultiplicityDefinition__Group__0 )
+ // InternalSolverLanguage.g:1142:2: ( ( rule__MultiplicityDefinition__Group__0 ) )
+ // InternalSolverLanguage.g:1143:3: ( rule__MultiplicityDefinition__Group__0 )
{
before(grammarAccess.getMultiplicityDefinitionAccess().getGroup());
- // InternalSolverLanguage.g:1194:3: ( rule__MultiplicityDefinition__Group__0 )
- // InternalSolverLanguage.g:1194:4: rule__MultiplicityDefinition__Group__0
+ // InternalSolverLanguage.g:1144:3: ( rule__MultiplicityDefinition__Group__0 )
+ // InternalSolverLanguage.g:1144:4: rule__MultiplicityDefinition__Group__0
{
pushFollow(FOLLOW_2);
rule__MultiplicityDefinition__Group__0();
@@ -3659,34 +3506,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Statement__Alternatives"
- // InternalSolverLanguage.g:1202:1: rule__Statement__Alternatives : ( ( ruleInterpretation ) | ( rulePredicate ) );
+ // InternalSolverLanguage.g:1152:1: rule__Statement__Alternatives : ( ( ruleInterpretation ) | ( rulePredicate ) );
public final void rule__Statement__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1206:1: ( ( ruleInterpretation ) | ( rulePredicate ) )
+ // InternalSolverLanguage.g:1156:1: ( ( ruleInterpretation ) | ( rulePredicate ) )
int alt2=2;
- int LA2_0 = input.LA(1);
-
- if ( (LA2_0==RULE_ID||(LA2_0>=20 && LA2_0<=25)||LA2_0==31||LA2_0==36||(LA2_0>=39 && LA2_0<=40)) ) {
- alt2=1;
- }
- else if ( (LA2_0==16||LA2_0==27) ) {
- alt2=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 2, 0, input);
-
- throw nvae;
- }
+ alt2 = dfa2.predict(input);
switch (alt2) {
case 1 :
- // InternalSolverLanguage.g:1207:2: ( ruleInterpretation )
+ // InternalSolverLanguage.g:1157:2: ( ruleInterpretation )
{
- // InternalSolverLanguage.g:1207:2: ( ruleInterpretation )
- // InternalSolverLanguage.g:1208:3: ruleInterpretation
+ // InternalSolverLanguage.g:1157:2: ( ruleInterpretation )
+ // InternalSolverLanguage.g:1158:3: ruleInterpretation
{
before(grammarAccess.getStatementAccess().getInterpretationParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -3702,10 +3536,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1213:2: ( rulePredicate )
+ // InternalSolverLanguage.g:1163:2: ( rulePredicate )
{
- // InternalSolverLanguage.g:1213:2: ( rulePredicate )
- // InternalSolverLanguage.g:1214:3: rulePredicate
+ // InternalSolverLanguage.g:1163:2: ( rulePredicate )
+ // InternalSolverLanguage.g:1164:3: rulePredicate
{
before(grammarAccess.getStatementAccess().getPredicateParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -3738,13 +3572,13 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BooleanValue__Alternatives"
- // InternalSolverLanguage.g:1223:1: rule__BooleanValue__Alternatives : ( ( ( rule__BooleanValue__Group_0__0 ) ) | ( ( rule__BooleanValue__Group_1__0 ) ) );
+ // InternalSolverLanguage.g:1173:1: rule__BooleanValue__Alternatives : ( ( ( rule__BooleanValue__Group_0__0 ) ) | ( ( rule__BooleanValue__Group_1__0 ) ) );
public final void rule__BooleanValue__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1227:1: ( ( ( rule__BooleanValue__Group_0__0 ) ) | ( ( rule__BooleanValue__Group_1__0 ) ) )
+ // InternalSolverLanguage.g:1177:1: ( ( ( rule__BooleanValue__Group_0__0 ) ) | ( ( rule__BooleanValue__Group_1__0 ) ) )
int alt3=2;
int LA3_0 = input.LA(1);
@@ -3762,14 +3596,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt3) {
case 1 :
- // InternalSolverLanguage.g:1228:2: ( ( rule__BooleanValue__Group_0__0 ) )
+ // InternalSolverLanguage.g:1178:2: ( ( rule__BooleanValue__Group_0__0 ) )
{
- // InternalSolverLanguage.g:1228:2: ( ( rule__BooleanValue__Group_0__0 ) )
- // InternalSolverLanguage.g:1229:3: ( rule__BooleanValue__Group_0__0 )
+ // InternalSolverLanguage.g:1178:2: ( ( rule__BooleanValue__Group_0__0 ) )
+ // InternalSolverLanguage.g:1179:3: ( rule__BooleanValue__Group_0__0 )
{
before(grammarAccess.getBooleanValueAccess().getGroup_0());
- // InternalSolverLanguage.g:1230:3: ( rule__BooleanValue__Group_0__0 )
- // InternalSolverLanguage.g:1230:4: rule__BooleanValue__Group_0__0
+ // InternalSolverLanguage.g:1180:3: ( rule__BooleanValue__Group_0__0 )
+ // InternalSolverLanguage.g:1180:4: rule__BooleanValue__Group_0__0
{
pushFollow(FOLLOW_2);
rule__BooleanValue__Group_0__0();
@@ -3787,14 +3621,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1234:2: ( ( rule__BooleanValue__Group_1__0 ) )
+ // InternalSolverLanguage.g:1184:2: ( ( rule__BooleanValue__Group_1__0 ) )
{
- // InternalSolverLanguage.g:1234:2: ( ( rule__BooleanValue__Group_1__0 ) )
- // InternalSolverLanguage.g:1235:3: ( rule__BooleanValue__Group_1__0 )
+ // InternalSolverLanguage.g:1184:2: ( ( rule__BooleanValue__Group_1__0 ) )
+ // InternalSolverLanguage.g:1185:3: ( rule__BooleanValue__Group_1__0 )
{
before(grammarAccess.getBooleanValueAccess().getGroup_1());
- // InternalSolverLanguage.g:1236:3: ( rule__BooleanValue__Group_1__0 )
- // InternalSolverLanguage.g:1236:4: rule__BooleanValue__Group_1__0
+ // InternalSolverLanguage.g:1186:3: ( rule__BooleanValue__Group_1__0 )
+ // InternalSolverLanguage.g:1186:4: rule__BooleanValue__Group_1__0
{
pushFollow(FOLLOW_2);
rule__BooleanValue__Group_1__0();
@@ -3829,13 +3663,13 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TruthValue__Alternatives"
- // InternalSolverLanguage.g:1244:1: rule__TruthValue__Alternatives : ( ( ( rule__TruthValue__Group_0__0 ) ) | ( ( rule__TruthValue__Group_1__0 ) ) | ( ( rule__TruthValue__Group_2__0 ) ) | ( ( rule__TruthValue__Group_3__0 ) ) );
+ // InternalSolverLanguage.g:1194:1: rule__TruthValue__Alternatives : ( ( ( rule__TruthValue__Group_0__0 ) ) | ( ( rule__TruthValue__Group_1__0 ) ) | ( ( rule__TruthValue__Group_2__0 ) ) | ( ( rule__TruthValue__Group_3__0 ) ) );
public final void rule__TruthValue__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1248:1: ( ( ( rule__TruthValue__Group_0__0 ) ) | ( ( rule__TruthValue__Group_1__0 ) ) | ( ( rule__TruthValue__Group_2__0 ) ) | ( ( rule__TruthValue__Group_3__0 ) ) )
+ // InternalSolverLanguage.g:1198:1: ( ( ( rule__TruthValue__Group_0__0 ) ) | ( ( rule__TruthValue__Group_1__0 ) ) | ( ( rule__TruthValue__Group_2__0 ) ) | ( ( rule__TruthValue__Group_3__0 ) ) )
int alt4=4;
switch ( input.LA(1) ) {
case 12:
@@ -3867,14 +3701,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
switch (alt4) {
case 1 :
- // InternalSolverLanguage.g:1249:2: ( ( rule__TruthValue__Group_0__0 ) )
+ // InternalSolverLanguage.g:1199:2: ( ( rule__TruthValue__Group_0__0 ) )
{
- // InternalSolverLanguage.g:1249:2: ( ( rule__TruthValue__Group_0__0 ) )
- // InternalSolverLanguage.g:1250:3: ( rule__TruthValue__Group_0__0 )
+ // InternalSolverLanguage.g:1199:2: ( ( rule__TruthValue__Group_0__0 ) )
+ // InternalSolverLanguage.g:1200:3: ( rule__TruthValue__Group_0__0 )
{
before(grammarAccess.getTruthValueAccess().getGroup_0());
- // InternalSolverLanguage.g:1251:3: ( rule__TruthValue__Group_0__0 )
- // InternalSolverLanguage.g:1251:4: rule__TruthValue__Group_0__0
+ // InternalSolverLanguage.g:1201:3: ( rule__TruthValue__Group_0__0 )
+ // InternalSolverLanguage.g:1201:4: rule__TruthValue__Group_0__0
{
pushFollow(FOLLOW_2);
rule__TruthValue__Group_0__0();
@@ -3892,14 +3726,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1255:2: ( ( rule__TruthValue__Group_1__0 ) )
+ // InternalSolverLanguage.g:1205:2: ( ( rule__TruthValue__Group_1__0 ) )
{
- // InternalSolverLanguage.g:1255:2: ( ( rule__TruthValue__Group_1__0 ) )
- // InternalSolverLanguage.g:1256:3: ( rule__TruthValue__Group_1__0 )
+ // InternalSolverLanguage.g:1205:2: ( ( rule__TruthValue__Group_1__0 ) )
+ // InternalSolverLanguage.g:1206:3: ( rule__TruthValue__Group_1__0 )
{
before(grammarAccess.getTruthValueAccess().getGroup_1());
- // InternalSolverLanguage.g:1257:3: ( rule__TruthValue__Group_1__0 )
- // InternalSolverLanguage.g:1257:4: rule__TruthValue__Group_1__0
+ // InternalSolverLanguage.g:1207:3: ( rule__TruthValue__Group_1__0 )
+ // InternalSolverLanguage.g:1207:4: rule__TruthValue__Group_1__0
{
pushFollow(FOLLOW_2);
rule__TruthValue__Group_1__0();
@@ -3917,14 +3751,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:1261:2: ( ( rule__TruthValue__Group_2__0 ) )
+ // InternalSolverLanguage.g:1211:2: ( ( rule__TruthValue__Group_2__0 ) )
{
- // InternalSolverLanguage.g:1261:2: ( ( rule__TruthValue__Group_2__0 ) )
- // InternalSolverLanguage.g:1262:3: ( rule__TruthValue__Group_2__0 )
+ // InternalSolverLanguage.g:1211:2: ( ( rule__TruthValue__Group_2__0 ) )
+ // InternalSolverLanguage.g:1212:3: ( rule__TruthValue__Group_2__0 )
{
before(grammarAccess.getTruthValueAccess().getGroup_2());
- // InternalSolverLanguage.g:1263:3: ( rule__TruthValue__Group_2__0 )
- // InternalSolverLanguage.g:1263:4: rule__TruthValue__Group_2__0
+ // InternalSolverLanguage.g:1213:3: ( rule__TruthValue__Group_2__0 )
+ // InternalSolverLanguage.g:1213:4: rule__TruthValue__Group_2__0
{
pushFollow(FOLLOW_2);
rule__TruthValue__Group_2__0();
@@ -3942,14 +3776,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 4 :
- // InternalSolverLanguage.g:1267:2: ( ( rule__TruthValue__Group_3__0 ) )
+ // InternalSolverLanguage.g:1217:2: ( ( rule__TruthValue__Group_3__0 ) )
{
- // InternalSolverLanguage.g:1267:2: ( ( rule__TruthValue__Group_3__0 ) )
- // InternalSolverLanguage.g:1268:3: ( rule__TruthValue__Group_3__0 )
+ // InternalSolverLanguage.g:1217:2: ( ( rule__TruthValue__Group_3__0 ) )
+ // InternalSolverLanguage.g:1218:3: ( rule__TruthValue__Group_3__0 )
{
before(grammarAccess.getTruthValueAccess().getGroup_3());
- // InternalSolverLanguage.g:1269:3: ( rule__TruthValue__Group_3__0 )
- // InternalSolverLanguage.g:1269:4: rule__TruthValue__Group_3__0
+ // InternalSolverLanguage.g:1219:3: ( rule__TruthValue__Group_3__0 )
+ // InternalSolverLanguage.g:1219:4: rule__TruthValue__Group_3__0
{
pushFollow(FOLLOW_2);
rule__TruthValue__Group_3__0();
@@ -3984,34 +3818,36 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Interpretation__Alternatives"
- // InternalSolverLanguage.g:1277:1: rule__Interpretation__Alternatives : ( ( ruleBasicInterpretation ) | ( ruleDefaultInterpretation ) | ( ruleCDInterpretation ) );
+ // InternalSolverLanguage.g:1227:1: rule__Interpretation__Alternatives : ( ( ruleBasicInterpretation ) | ( ruleDefaultInterpretation ) | ( ruleCDInterpretation ) );
public final void rule__Interpretation__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1281:1: ( ( ruleBasicInterpretation ) | ( ruleDefaultInterpretation ) | ( ruleCDInterpretation ) )
+ // InternalSolverLanguage.g:1231:1: ( ( ruleBasicInterpretation ) | ( ruleDefaultInterpretation ) | ( ruleCDInterpretation ) )
int alt5=3;
switch ( input.LA(1) ) {
case RULE_ID:
- case 20:
case 21:
case 22:
case 23:
case 24:
case 25:
+ case 26:
{
alt5=1;
}
break;
- case 31:
+ case 32:
{
alt5=2;
}
break;
- case 36:
- case 39:
+ case 33:
+ case 37:
+ case 38:
case 40:
+ case 41:
{
alt5=3;
}
@@ -4025,10 +3861,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
switch (alt5) {
case 1 :
- // InternalSolverLanguage.g:1282:2: ( ruleBasicInterpretation )
+ // InternalSolverLanguage.g:1232:2: ( ruleBasicInterpretation )
{
- // InternalSolverLanguage.g:1282:2: ( ruleBasicInterpretation )
- // InternalSolverLanguage.g:1283:3: ruleBasicInterpretation
+ // InternalSolverLanguage.g:1232:2: ( ruleBasicInterpretation )
+ // InternalSolverLanguage.g:1233:3: ruleBasicInterpretation
{
before(grammarAccess.getInterpretationAccess().getBasicInterpretationParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -4044,10 +3880,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1288:2: ( ruleDefaultInterpretation )
+ // InternalSolverLanguage.g:1238:2: ( ruleDefaultInterpretation )
{
- // InternalSolverLanguage.g:1288:2: ( ruleDefaultInterpretation )
- // InternalSolverLanguage.g:1289:3: ruleDefaultInterpretation
+ // InternalSolverLanguage.g:1238:2: ( ruleDefaultInterpretation )
+ // InternalSolverLanguage.g:1239:3: ruleDefaultInterpretation
{
before(grammarAccess.getInterpretationAccess().getDefaultInterpretationParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -4063,10 +3899,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:1294:2: ( ruleCDInterpretation )
+ // InternalSolverLanguage.g:1244:2: ( ruleCDInterpretation )
{
- // InternalSolverLanguage.g:1294:2: ( ruleCDInterpretation )
- // InternalSolverLanguage.g:1295:3: ruleCDInterpretation
+ // InternalSolverLanguage.g:1244:2: ( ruleCDInterpretation )
+ // InternalSolverLanguage.g:1245:3: ruleCDInterpretation
{
before(grammarAccess.getInterpretationAccess().getCDInterpretationParserRuleCall_2());
pushFollow(FOLLOW_2);
@@ -4099,13 +3935,13 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Symbol__Alternatives"
- // InternalSolverLanguage.g:1304:1: rule__Symbol__Alternatives : ( ( ruleModelSymbol ) | ( rulePartialitySymbol ) | ( ruleDataSymbol ) );
+ // InternalSolverLanguage.g:1254:1: rule__Symbol__Alternatives : ( ( ruleModelSymbol ) | ( rulePartialitySymbol ) | ( ruleDataSymbol ) );
public final void rule__Symbol__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1308:1: ( ( ruleModelSymbol ) | ( rulePartialitySymbol ) | ( ruleDataSymbol ) )
+ // InternalSolverLanguage.g:1258:1: ( ( ruleModelSymbol ) | ( rulePartialitySymbol ) | ( ruleDataSymbol ) )
int alt6=3;
switch ( input.LA(1) ) {
case RULE_ID:
@@ -4113,16 +3949,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
alt6=1;
}
break;
- case 20:
case 21:
+ case 22:
{
alt6=2;
}
break;
- case 22:
case 23:
case 24:
case 25:
+ case 26:
{
alt6=3;
}
@@ -4136,10 +3972,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
switch (alt6) {
case 1 :
- // InternalSolverLanguage.g:1309:2: ( ruleModelSymbol )
+ // InternalSolverLanguage.g:1259:2: ( ruleModelSymbol )
{
- // InternalSolverLanguage.g:1309:2: ( ruleModelSymbol )
- // InternalSolverLanguage.g:1310:3: ruleModelSymbol
+ // InternalSolverLanguage.g:1259:2: ( ruleModelSymbol )
+ // InternalSolverLanguage.g:1260:3: ruleModelSymbol
{
before(grammarAccess.getSymbolAccess().getModelSymbolParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -4155,10 +3991,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1315:2: ( rulePartialitySymbol )
+ // InternalSolverLanguage.g:1265:2: ( rulePartialitySymbol )
{
- // InternalSolverLanguage.g:1315:2: ( rulePartialitySymbol )
- // InternalSolverLanguage.g:1316:3: rulePartialitySymbol
+ // InternalSolverLanguage.g:1265:2: ( rulePartialitySymbol )
+ // InternalSolverLanguage.g:1266:3: rulePartialitySymbol
{
before(grammarAccess.getSymbolAccess().getPartialitySymbolParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -4174,10 +4010,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:1321:2: ( ruleDataSymbol )
+ // InternalSolverLanguage.g:1271:2: ( ruleDataSymbol )
{
- // InternalSolverLanguage.g:1321:2: ( ruleDataSymbol )
- // InternalSolverLanguage.g:1322:3: ruleDataSymbol
+ // InternalSolverLanguage.g:1271:2: ( ruleDataSymbol )
+ // InternalSolverLanguage.g:1272:3: ruleDataSymbol
{
before(grammarAccess.getSymbolAccess().getDataSymbolParserRuleCall_2());
pushFollow(FOLLOW_2);
@@ -4210,20 +4046,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PartialitySymbol__Alternatives"
- // InternalSolverLanguage.g:1331:1: rule__PartialitySymbol__Alternatives : ( ( ruleExistSymbol ) | ( ruleEqualsSymbol ) );
+ // InternalSolverLanguage.g:1281:1: rule__PartialitySymbol__Alternatives : ( ( ruleExistSymbol ) | ( ruleEqualsSymbol ) );
public final void rule__PartialitySymbol__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1335:1: ( ( ruleExistSymbol ) | ( ruleEqualsSymbol ) )
+ // InternalSolverLanguage.g:1285:1: ( ( ruleExistSymbol ) | ( ruleEqualsSymbol ) )
int alt7=2;
int LA7_0 = input.LA(1);
- if ( (LA7_0==20) ) {
+ if ( (LA7_0==21) ) {
alt7=1;
}
- else if ( (LA7_0==21) ) {
+ else if ( (LA7_0==22) ) {
alt7=2;
}
else {
@@ -4234,10 +4070,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt7) {
case 1 :
- // InternalSolverLanguage.g:1336:2: ( ruleExistSymbol )
+ // InternalSolverLanguage.g:1286:2: ( ruleExistSymbol )
{
- // InternalSolverLanguage.g:1336:2: ( ruleExistSymbol )
- // InternalSolverLanguage.g:1337:3: ruleExistSymbol
+ // InternalSolverLanguage.g:1286:2: ( ruleExistSymbol )
+ // InternalSolverLanguage.g:1287:3: ruleExistSymbol
{
before(grammarAccess.getPartialitySymbolAccess().getExistSymbolParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -4253,10 +4089,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1342:2: ( ruleEqualsSymbol )
+ // InternalSolverLanguage.g:1292:2: ( ruleEqualsSymbol )
{
- // InternalSolverLanguage.g:1342:2: ( ruleEqualsSymbol )
- // InternalSolverLanguage.g:1343:3: ruleEqualsSymbol
+ // InternalSolverLanguage.g:1292:2: ( ruleEqualsSymbol )
+ // InternalSolverLanguage.g:1293:3: ruleEqualsSymbol
{
before(grammarAccess.getPartialitySymbolAccess().getEqualsSymbolParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -4289,31 +4125,31 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DataSymbol__Alternatives"
- // InternalSolverLanguage.g:1352:1: rule__DataSymbol__Alternatives : ( ( ruleBooleanSymbol ) | ( ruleIntegerSymbol ) | ( ruleRealSymbol ) | ( ruleStringSymbol ) );
+ // InternalSolverLanguage.g:1302:1: rule__DataSymbol__Alternatives : ( ( ruleBooleanSymbol ) | ( ruleIntegerSymbol ) | ( ruleRealSymbol ) | ( ruleStringSymbol ) );
public final void rule__DataSymbol__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1356:1: ( ( ruleBooleanSymbol ) | ( ruleIntegerSymbol ) | ( ruleRealSymbol ) | ( ruleStringSymbol ) )
+ // InternalSolverLanguage.g:1306:1: ( ( ruleBooleanSymbol ) | ( ruleIntegerSymbol ) | ( ruleRealSymbol ) | ( ruleStringSymbol ) )
int alt8=4;
switch ( input.LA(1) ) {
- case 22:
+ case 23:
{
alt8=1;
}
break;
- case 23:
+ case 24:
{
alt8=2;
}
break;
- case 24:
+ case 25:
{
alt8=3;
}
break;
- case 25:
+ case 26:
{
alt8=4;
}
@@ -4327,10 +4163,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
switch (alt8) {
case 1 :
- // InternalSolverLanguage.g:1357:2: ( ruleBooleanSymbol )
+ // InternalSolverLanguage.g:1307:2: ( ruleBooleanSymbol )
{
- // InternalSolverLanguage.g:1357:2: ( ruleBooleanSymbol )
- // InternalSolverLanguage.g:1358:3: ruleBooleanSymbol
+ // InternalSolverLanguage.g:1307:2: ( ruleBooleanSymbol )
+ // InternalSolverLanguage.g:1308:3: ruleBooleanSymbol
{
before(grammarAccess.getDataSymbolAccess().getBooleanSymbolParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -4346,10 +4182,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1363:2: ( ruleIntegerSymbol )
+ // InternalSolverLanguage.g:1313:2: ( ruleIntegerSymbol )
{
- // InternalSolverLanguage.g:1363:2: ( ruleIntegerSymbol )
- // InternalSolverLanguage.g:1364:3: ruleIntegerSymbol
+ // InternalSolverLanguage.g:1313:2: ( ruleIntegerSymbol )
+ // InternalSolverLanguage.g:1314:3: ruleIntegerSymbol
{
before(grammarAccess.getDataSymbolAccess().getIntegerSymbolParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -4365,10 +4201,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:1369:2: ( ruleRealSymbol )
+ // InternalSolverLanguage.g:1319:2: ( ruleRealSymbol )
{
- // InternalSolverLanguage.g:1369:2: ( ruleRealSymbol )
- // InternalSolverLanguage.g:1370:3: ruleRealSymbol
+ // InternalSolverLanguage.g:1319:2: ( ruleRealSymbol )
+ // InternalSolverLanguage.g:1320:3: ruleRealSymbol
{
before(grammarAccess.getDataSymbolAccess().getRealSymbolParserRuleCall_2());
pushFollow(FOLLOW_2);
@@ -4384,10 +4220,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 4 :
- // InternalSolverLanguage.g:1375:2: ( ruleStringSymbol )
+ // InternalSolverLanguage.g:1325:2: ( ruleStringSymbol )
{
- // InternalSolverLanguage.g:1375:2: ( ruleStringSymbol )
- // InternalSolverLanguage.g:1376:3: ruleStringSymbol
+ // InternalSolverLanguage.g:1325:2: ( ruleStringSymbol )
+ // InternalSolverLanguage.g:1326:3: ruleStringSymbol
{
before(grammarAccess.getDataSymbolAccess().getStringSymbolParserRuleCall_3());
pushFollow(FOLLOW_2);
@@ -4420,13 +4256,13 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ComplexObject__Alternatives"
- // InternalSolverLanguage.g:1385:1: rule__ComplexObject__Alternatives : ( ( ruleObject ) | ( ruleAllInstances ) | ( ruleAllObjects ) );
+ // InternalSolverLanguage.g:1335:1: rule__ComplexObject__Alternatives : ( ( ruleObject ) | ( ruleAllInstances ) | ( ruleAllObjects ) );
public final void rule__ComplexObject__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1389:1: ( ( ruleObject ) | ( ruleAllInstances ) | ( ruleAllObjects ) )
+ // InternalSolverLanguage.g:1339:1: ( ( ruleObject ) | ( ruleAllInstances ) | ( ruleAllObjects ) )
int alt9=3;
switch ( input.LA(1) ) {
case RULE_INT:
@@ -4435,17 +4271,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
case 11:
case 12:
case 13:
- case 26:
+ case 27:
{
alt9=1;
}
break;
- case 19:
+ case 17:
{
alt9=2;
}
break;
- case 30:
+ case 31:
{
alt9=3;
}
@@ -4459,10 +4295,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
switch (alt9) {
case 1 :
- // InternalSolverLanguage.g:1390:2: ( ruleObject )
+ // InternalSolverLanguage.g:1340:2: ( ruleObject )
{
- // InternalSolverLanguage.g:1390:2: ( ruleObject )
- // InternalSolverLanguage.g:1391:3: ruleObject
+ // InternalSolverLanguage.g:1340:2: ( ruleObject )
+ // InternalSolverLanguage.g:1341:3: ruleObject
{
before(grammarAccess.getComplexObjectAccess().getObjectParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -4478,10 +4314,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1396:2: ( ruleAllInstances )
+ // InternalSolverLanguage.g:1346:2: ( ruleAllInstances )
{
- // InternalSolverLanguage.g:1396:2: ( ruleAllInstances )
- // InternalSolverLanguage.g:1397:3: ruleAllInstances
+ // InternalSolverLanguage.g:1346:2: ( ruleAllInstances )
+ // InternalSolverLanguage.g:1347:3: ruleAllInstances
{
before(grammarAccess.getComplexObjectAccess().getAllInstancesParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -4497,10 +4333,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:1402:2: ( ruleAllObjects )
+ // InternalSolverLanguage.g:1352:2: ( ruleAllObjects )
{
- // InternalSolverLanguage.g:1402:2: ( ruleAllObjects )
- // InternalSolverLanguage.g:1403:3: ruleAllObjects
+ // InternalSolverLanguage.g:1352:2: ( ruleAllObjects )
+ // InternalSolverLanguage.g:1353:3: ruleAllObjects
{
before(grammarAccess.getComplexObjectAccess().getAllObjectsParserRuleCall_2());
pushFollow(FOLLOW_2);
@@ -4533,16 +4369,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Object__Alternatives"
- // InternalSolverLanguage.g:1412:1: rule__Object__Alternatives : ( ( ruleNamedObject ) | ( ruleUnnamedObject ) | ( ruleDataObject ) );
+ // InternalSolverLanguage.g:1362:1: rule__Object__Alternatives : ( ( ruleNamedObject ) | ( ruleUnnamedObject ) | ( ruleDataObject ) );
public final void rule__Object__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1416:1: ( ( ruleNamedObject ) | ( ruleUnnamedObject ) | ( ruleDataObject ) )
+ // InternalSolverLanguage.g:1366:1: ( ( ruleNamedObject ) | ( ruleUnnamedObject ) | ( ruleDataObject ) )
int alt10=3;
switch ( input.LA(1) ) {
- case 26:
+ case 27:
{
alt10=1;
}
@@ -4570,10 +4406,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
switch (alt10) {
case 1 :
- // InternalSolverLanguage.g:1417:2: ( ruleNamedObject )
+ // InternalSolverLanguage.g:1367:2: ( ruleNamedObject )
{
- // InternalSolverLanguage.g:1417:2: ( ruleNamedObject )
- // InternalSolverLanguage.g:1418:3: ruleNamedObject
+ // InternalSolverLanguage.g:1367:2: ( ruleNamedObject )
+ // InternalSolverLanguage.g:1368:3: ruleNamedObject
{
before(grammarAccess.getObjectAccess().getNamedObjectParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -4589,10 +4425,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1423:2: ( ruleUnnamedObject )
+ // InternalSolverLanguage.g:1373:2: ( ruleUnnamedObject )
{
- // InternalSolverLanguage.g:1423:2: ( ruleUnnamedObject )
- // InternalSolverLanguage.g:1424:3: ruleUnnamedObject
+ // InternalSolverLanguage.g:1373:2: ( ruleUnnamedObject )
+ // InternalSolverLanguage.g:1374:3: ruleUnnamedObject
{
before(grammarAccess.getObjectAccess().getUnnamedObjectParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -4608,10 +4444,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:1429:2: ( ruleDataObject )
+ // InternalSolverLanguage.g:1379:2: ( ruleDataObject )
{
- // InternalSolverLanguage.g:1429:2: ( ruleDataObject )
- // InternalSolverLanguage.g:1430:3: ruleDataObject
+ // InternalSolverLanguage.g:1379:2: ( ruleDataObject )
+ // InternalSolverLanguage.g:1380:3: ruleDataObject
{
before(grammarAccess.getObjectAccess().getDataObjectParserRuleCall_2());
pushFollow(FOLLOW_2);
@@ -4644,13 +4480,13 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DataObject__Alternatives"
- // InternalSolverLanguage.g:1439:1: rule__DataObject__Alternatives : ( ( ruleBooleanObject ) | ( ruleIntObject ) | ( ruleRealObject ) | ( ruleStringObject ) );
+ // InternalSolverLanguage.g:1389:1: rule__DataObject__Alternatives : ( ( ruleBooleanObject ) | ( ruleIntObject ) | ( ruleRealObject ) | ( ruleStringObject ) );
public final void rule__DataObject__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1443:1: ( ( ruleBooleanObject ) | ( ruleIntObject ) | ( ruleRealObject ) | ( ruleStringObject ) )
+ // InternalSolverLanguage.g:1393:1: ( ( ruleBooleanObject ) | ( ruleIntObject ) | ( ruleRealObject ) | ( ruleStringObject ) )
int alt11=4;
switch ( input.LA(1) ) {
case 11:
@@ -4666,12 +4502,12 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
if ( (LA11_2==RULE_INT) ) {
int LA11_3 = input.LA(3);
- if ( (LA11_3==14) ) {
- alt11=3;
- }
- else if ( (LA11_3==EOF||(LA11_3>=RULE_INT && LA11_3<=RULE_STRING)||(LA11_3>=11 && LA11_3<=13)||(LA11_3>=18 && LA11_3<=19)||LA11_3==26||LA11_3==30) ) {
+ if ( (LA11_3==EOF||(LA11_3>=19 && LA11_3<=20)) ) {
alt11=2;
}
+ else if ( (LA11_3==14) ) {
+ alt11=3;
+ }
else {
NoViableAltException nvae =
new NoViableAltException("", 11, 3, input);
@@ -4691,12 +4527,12 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
{
int LA11_3 = input.LA(2);
- if ( (LA11_3==14) ) {
- alt11=3;
- }
- else if ( (LA11_3==EOF||(LA11_3>=RULE_INT && LA11_3<=RULE_STRING)||(LA11_3>=11 && LA11_3<=13)||(LA11_3>=18 && LA11_3<=19)||LA11_3==26||LA11_3==30) ) {
+ if ( (LA11_3==EOF||(LA11_3>=19 && LA11_3<=20)) ) {
alt11=2;
}
+ else if ( (LA11_3==14) ) {
+ alt11=3;
+ }
else {
NoViableAltException nvae =
new NoViableAltException("", 11, 3, input);
@@ -4719,10 +4555,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
switch (alt11) {
case 1 :
- // InternalSolverLanguage.g:1444:2: ( ruleBooleanObject )
+ // InternalSolverLanguage.g:1394:2: ( ruleBooleanObject )
{
- // InternalSolverLanguage.g:1444:2: ( ruleBooleanObject )
- // InternalSolverLanguage.g:1445:3: ruleBooleanObject
+ // InternalSolverLanguage.g:1394:2: ( ruleBooleanObject )
+ // InternalSolverLanguage.g:1395:3: ruleBooleanObject
{
before(grammarAccess.getDataObjectAccess().getBooleanObjectParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -4738,10 +4574,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1450:2: ( ruleIntObject )
+ // InternalSolverLanguage.g:1400:2: ( ruleIntObject )
{
- // InternalSolverLanguage.g:1450:2: ( ruleIntObject )
- // InternalSolverLanguage.g:1451:3: ruleIntObject
+ // InternalSolverLanguage.g:1400:2: ( ruleIntObject )
+ // InternalSolverLanguage.g:1401:3: ruleIntObject
{
before(grammarAccess.getDataObjectAccess().getIntObjectParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -4757,10 +4593,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:1456:2: ( ruleRealObject )
+ // InternalSolverLanguage.g:1406:2: ( ruleRealObject )
{
- // InternalSolverLanguage.g:1456:2: ( ruleRealObject )
- // InternalSolverLanguage.g:1457:3: ruleRealObject
+ // InternalSolverLanguage.g:1406:2: ( ruleRealObject )
+ // InternalSolverLanguage.g:1407:3: ruleRealObject
{
before(grammarAccess.getDataObjectAccess().getRealObjectParserRuleCall_2());
pushFollow(FOLLOW_2);
@@ -4776,10 +4612,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 4 :
- // InternalSolverLanguage.g:1462:2: ( ruleStringObject )
+ // InternalSolverLanguage.g:1412:2: ( ruleStringObject )
{
- // InternalSolverLanguage.g:1462:2: ( ruleStringObject )
- // InternalSolverLanguage.g:1463:3: ruleStringObject
+ // InternalSolverLanguage.g:1412:2: ( ruleStringObject )
+ // InternalSolverLanguage.g:1413:3: ruleStringObject
{
before(grammarAccess.getDataObjectAccess().getStringObjectParserRuleCall_3());
pushFollow(FOLLOW_2);
@@ -4811,21 +4647,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR end "rule__DataObject__Alternatives"
- // $ANTLR start "rule__Predicate__Alternatives"
- // InternalSolverLanguage.g:1472:1: rule__Predicate__Alternatives : ( ( rulePredicateSymbol ) | ( ruleErrorPredicate ) );
- public final void rule__Predicate__Alternatives() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Alternatives_4"
+ // InternalSolverLanguage.g:1422:1: rule__Predicate__Alternatives_4 : ( ( 'false' ) | ( ( rule__Predicate__Group_4_1__0 ) ) );
+ public final void rule__Predicate__Alternatives_4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1476:1: ( ( rulePredicateSymbol ) | ( ruleErrorPredicate ) )
+ // InternalSolverLanguage.g:1426:1: ( ( 'false' ) | ( ( rule__Predicate__Group_4_1__0 ) ) )
int alt12=2;
int LA12_0 = input.LA(1);
- if ( (LA12_0==27) ) {
+ if ( (LA12_0==11) ) {
alt12=1;
}
- else if ( (LA12_0==16) ) {
+ else if ( (LA12_0==EOF||LA12_0==RULE_ID||(LA12_0>=12 && LA12_0<=14)||(LA12_0>=29 && LA12_0<=31)) ) {
alt12=2;
}
else {
@@ -4836,18 +4672,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt12) {
case 1 :
- // InternalSolverLanguage.g:1477:2: ( rulePredicateSymbol )
+ // InternalSolverLanguage.g:1427:2: ( 'false' )
{
- // InternalSolverLanguage.g:1477:2: ( rulePredicateSymbol )
- // InternalSolverLanguage.g:1478:3: rulePredicateSymbol
+ // InternalSolverLanguage.g:1427:2: ( 'false' )
+ // InternalSolverLanguage.g:1428:3: 'false'
{
- before(grammarAccess.getPredicateAccess().getPredicateSymbolParserRuleCall_0());
- pushFollow(FOLLOW_2);
- rulePredicateSymbol();
-
- state._fsp--;
-
- after(grammarAccess.getPredicateAccess().getPredicateSymbolParserRuleCall_0());
+ before(grammarAccess.getPredicateAccess().getFalseKeyword_4_0());
+ match(input,11,FOLLOW_2);
+ after(grammarAccess.getPredicateAccess().getFalseKeyword_4_0());
}
@@ -4855,18 +4687,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1483:2: ( ruleErrorPredicate )
+ // InternalSolverLanguage.g:1433:2: ( ( rule__Predicate__Group_4_1__0 ) )
{
- // InternalSolverLanguage.g:1483:2: ( ruleErrorPredicate )
- // InternalSolverLanguage.g:1484:3: ruleErrorPredicate
+ // InternalSolverLanguage.g:1433:2: ( ( rule__Predicate__Group_4_1__0 ) )
+ // InternalSolverLanguage.g:1434:3: ( rule__Predicate__Group_4_1__0 )
+ {
+ before(grammarAccess.getPredicateAccess().getGroup_4_1());
+ // InternalSolverLanguage.g:1435:3: ( rule__Predicate__Group_4_1__0 )
+ // InternalSolverLanguage.g:1435:4: rule__Predicate__Group_4_1__0
{
- before(grammarAccess.getPredicateAccess().getErrorPredicateParserRuleCall_1());
pushFollow(FOLLOW_2);
- ruleErrorPredicate();
+ rule__Predicate__Group_4_1__0();
state._fsp--;
- after(grammarAccess.getPredicateAccess().getErrorPredicateParserRuleCall_1());
+
+ }
+
+ after(grammarAccess.getPredicateAccess().getGroup_4_1());
}
@@ -4887,42 +4725,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Predicate__Alternatives"
+ // $ANTLR end "rule__Predicate__Alternatives_4"
- // $ANTLR start "rule__PredicateSymbol__Alternatives_6"
- // InternalSolverLanguage.g:1493:1: rule__PredicateSymbol__Alternatives_6 : ( ( 'false' ) | ( ( rule__PredicateSymbol__Group_6_1__0 ) ) );
- public final void rule__PredicateSymbol__Alternatives_6() throws RecognitionException {
+ // $ANTLR start "rule__PatternBody__Alternatives_1"
+ // InternalSolverLanguage.g:1443:1: rule__PatternBody__Alternatives_1 : ( ( 'true' ) | ( ( rule__PatternBody__ConstraintsAssignment_1_1 )* ) );
+ public final void rule__PatternBody__Alternatives_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1497:1: ( ( 'false' ) | ( ( rule__PredicateSymbol__Group_6_1__0 ) ) )
- int alt13=2;
- int LA13_0 = input.LA(1);
+ // InternalSolverLanguage.g:1447:1: ( ( 'true' ) | ( ( rule__PatternBody__ConstraintsAssignment_1_1 )* ) )
+ int alt14=2;
+ int LA14_0 = input.LA(1);
- if ( (LA13_0==11) ) {
- alt13=1;
+ if ( (LA14_0==12) ) {
+ alt14=1;
}
- else if ( (LA13_0==EOF||LA13_0==RULE_ID||(LA13_0>=12 && LA13_0<=14)||(LA13_0>=28 && LA13_0<=29)) ) {
- alt13=2;
+ else if ( (LA14_0==EOF||LA14_0==RULE_ID||(LA14_0>=13 && LA14_0<=14)||(LA14_0>=29 && LA14_0<=31)) ) {
+ alt14=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 13, 0, input);
+ new NoViableAltException("", 14, 0, input);
throw nvae;
}
- switch (alt13) {
+ switch (alt14) {
case 1 :
- // InternalSolverLanguage.g:1498:2: ( 'false' )
+ // InternalSolverLanguage.g:1448:2: ( 'true' )
{
- // InternalSolverLanguage.g:1498:2: ( 'false' )
- // InternalSolverLanguage.g:1499:3: 'false'
+ // InternalSolverLanguage.g:1448:2: ( 'true' )
+ // InternalSolverLanguage.g:1449:3: 'true'
{
- before(grammarAccess.getPredicateSymbolAccess().getFalseKeyword_6_0());
- match(input,11,FOLLOW_2);
- after(grammarAccess.getPredicateSymbolAccess().getFalseKeyword_6_0());
+ before(grammarAccess.getPatternBodyAccess().getTrueKeyword_1_0());
+ match(input,12,FOLLOW_2);
+ after(grammarAccess.getPatternBodyAccess().getTrueKeyword_1_0());
}
@@ -4930,24 +4768,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1504:2: ( ( rule__PredicateSymbol__Group_6_1__0 ) )
+ // InternalSolverLanguage.g:1454:2: ( ( rule__PatternBody__ConstraintsAssignment_1_1 )* )
{
- // InternalSolverLanguage.g:1504:2: ( ( rule__PredicateSymbol__Group_6_1__0 ) )
- // InternalSolverLanguage.g:1505:3: ( rule__PredicateSymbol__Group_6_1__0 )
+ // InternalSolverLanguage.g:1454:2: ( ( rule__PatternBody__ConstraintsAssignment_1_1 )* )
+ // InternalSolverLanguage.g:1455:3: ( rule__PatternBody__ConstraintsAssignment_1_1 )*
{
- before(grammarAccess.getPredicateSymbolAccess().getGroup_6_1());
- // InternalSolverLanguage.g:1506:3: ( rule__PredicateSymbol__Group_6_1__0 )
- // InternalSolverLanguage.g:1506:4: rule__PredicateSymbol__Group_6_1__0
- {
- pushFollow(FOLLOW_2);
- rule__PredicateSymbol__Group_6_1__0();
+ before(grammarAccess.getPatternBodyAccess().getConstraintsAssignment_1_1());
+ // InternalSolverLanguage.g:1456:3: ( rule__PatternBody__ConstraintsAssignment_1_1 )*
+ loop13:
+ do {
+ int alt13=2;
+ int LA13_0 = input.LA(1);
- state._fsp--;
+ if ( (LA13_0==RULE_ID||LA13_0==13||(LA13_0>=30 && LA13_0<=31)) ) {
+ alt13=1;
+ }
- }
+ switch (alt13) {
+ case 1 :
+ // InternalSolverLanguage.g:1456:4: rule__PatternBody__ConstraintsAssignment_1_1
+ {
+ pushFollow(FOLLOW_4);
+ rule__PatternBody__ConstraintsAssignment_1_1();
+
+ state._fsp--;
+
+
+ }
+ break;
+
+ default :
+ break loop13;
+ }
+ } while (true);
- after(grammarAccess.getPredicateSymbolAccess().getGroup_6_1());
+ after(grammarAccess.getPatternBodyAccess().getConstraintsAssignment_1_1());
}
@@ -4968,42 +4824,52 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Alternatives_6"
+ // $ANTLR end "rule__PatternBody__Alternatives_1"
- // $ANTLR start "rule__ErrorPredicate__Alternatives_5"
- // InternalSolverLanguage.g:1514:1: rule__ErrorPredicate__Alternatives_5 : ( ( 'false' ) | ( ( rule__ErrorPredicate__Group_5_1__0 ) ) );
- public final void rule__ErrorPredicate__Alternatives_5() throws RecognitionException {
+ // $ANTLR start "rule__Polarity__Alternatives"
+ // InternalSolverLanguage.g:1464:1: rule__Polarity__Alternatives : ( ( ( rule__Polarity__Group_0__0 ) ) | ( ( rule__Polarity__Group_1__0 ) ) );
+ public final void rule__Polarity__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1518:1: ( ( 'false' ) | ( ( rule__ErrorPredicate__Group_5_1__0 ) ) )
- int alt14=2;
- int LA14_0 = input.LA(1);
+ // InternalSolverLanguage.g:1468:1: ( ( ( rule__Polarity__Group_0__0 ) ) | ( ( rule__Polarity__Group_1__0 ) ) )
+ int alt15=2;
+ int LA15_0 = input.LA(1);
- if ( (LA14_0==11) ) {
- alt14=1;
+ if ( (LA15_0==30) ) {
+ alt15=1;
}
- else if ( (LA14_0==EOF||LA14_0==RULE_ID||(LA14_0>=12 && LA14_0<=14)||(LA14_0>=28 && LA14_0<=29)) ) {
- alt14=2;
+ else if ( (LA15_0==13) ) {
+ alt15=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 14, 0, input);
+ new NoViableAltException("", 15, 0, input);
throw nvae;
}
- switch (alt14) {
+ switch (alt15) {
case 1 :
- // InternalSolverLanguage.g:1519:2: ( 'false' )
+ // InternalSolverLanguage.g:1469:2: ( ( rule__Polarity__Group_0__0 ) )
{
- // InternalSolverLanguage.g:1519:2: ( 'false' )
- // InternalSolverLanguage.g:1520:3: 'false'
+ // InternalSolverLanguage.g:1469:2: ( ( rule__Polarity__Group_0__0 ) )
+ // InternalSolverLanguage.g:1470:3: ( rule__Polarity__Group_0__0 )
{
- before(grammarAccess.getErrorPredicateAccess().getFalseKeyword_5_0());
- match(input,11,FOLLOW_2);
- after(grammarAccess.getErrorPredicateAccess().getFalseKeyword_5_0());
+ before(grammarAccess.getPolarityAccess().getGroup_0());
+ // InternalSolverLanguage.g:1471:3: ( rule__Polarity__Group_0__0 )
+ // InternalSolverLanguage.g:1471:4: rule__Polarity__Group_0__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Polarity__Group_0__0();
+
+ state._fsp--;
+
+
+ }
+
+ after(grammarAccess.getPolarityAccess().getGroup_0());
}
@@ -5011,24 +4877,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1525:2: ( ( rule__ErrorPredicate__Group_5_1__0 ) )
+ // InternalSolverLanguage.g:1475:2: ( ( rule__Polarity__Group_1__0 ) )
{
- // InternalSolverLanguage.g:1525:2: ( ( rule__ErrorPredicate__Group_5_1__0 ) )
- // InternalSolverLanguage.g:1526:3: ( rule__ErrorPredicate__Group_5_1__0 )
+ // InternalSolverLanguage.g:1475:2: ( ( rule__Polarity__Group_1__0 ) )
+ // InternalSolverLanguage.g:1476:3: ( rule__Polarity__Group_1__0 )
{
- before(grammarAccess.getErrorPredicateAccess().getGroup_5_1());
- // InternalSolverLanguage.g:1527:3: ( rule__ErrorPredicate__Group_5_1__0 )
- // InternalSolverLanguage.g:1527:4: rule__ErrorPredicate__Group_5_1__0
+ before(grammarAccess.getPolarityAccess().getGroup_1());
+ // InternalSolverLanguage.g:1477:3: ( rule__Polarity__Group_1__0 )
+ // InternalSolverLanguage.g:1477:4: rule__Polarity__Group_1__0
{
pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Group_5_1__0();
+ rule__Polarity__Group_1__0();
state._fsp--;
}
- after(grammarAccess.getErrorPredicateAccess().getGroup_5_1());
+ after(grammarAccess.getPolarityAccess().getGroup_1());
}
@@ -5049,42 +4915,75 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Alternatives_5"
+ // $ANTLR end "rule__Polarity__Alternatives"
- // $ANTLR start "rule__PatternBody__Alternatives_1"
- // InternalSolverLanguage.g:1535:1: rule__PatternBody__Alternatives_1 : ( ( 'true' ) | ( ( rule__PatternBody__ConstraintsAssignment_1_1 )* ) );
- public final void rule__PatternBody__Alternatives_1() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Alternatives"
+ // InternalSolverLanguage.g:1485:1: rule__Constraint__Alternatives : ( ( ( rule__Constraint__Group_0__0 ) ) | ( ( rule__Constraint__Group_1__0 ) ) );
+ public final void rule__Constraint__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1539:1: ( ( 'true' ) | ( ( rule__PatternBody__ConstraintsAssignment_1_1 )* ) )
+ // InternalSolverLanguage.g:1489:1: ( ( ( rule__Constraint__Group_0__0 ) ) | ( ( rule__Constraint__Group_1__0 ) ) )
int alt16=2;
- int LA16_0 = input.LA(1);
+ switch ( input.LA(1) ) {
+ case 30:
+ {
+ int LA16_1 = input.LA(2);
- if ( (LA16_0==12) ) {
+ if ( (LA16_1==RULE_ID) ) {
+ alt16=1;
+ }
+ else if ( (LA16_1==18) ) {
+ alt16=2;
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 16, 1, input);
+
+ throw nvae;
+ }
+ }
+ break;
+ case RULE_ID:
+ case 13:
+ {
alt16=1;
- }
- else if ( (LA16_0==EOF||LA16_0==RULE_ID||(LA16_0>=13 && LA16_0<=14)||(LA16_0>=28 && LA16_0<=29)) ) {
+ }
+ break;
+ case 31:
+ {
alt16=2;
- }
- else {
+ }
+ break;
+ default:
NoViableAltException nvae =
new NoViableAltException("", 16, 0, input);
throw nvae;
}
+
switch (alt16) {
case 1 :
- // InternalSolverLanguage.g:1540:2: ( 'true' )
+ // InternalSolverLanguage.g:1490:2: ( ( rule__Constraint__Group_0__0 ) )
{
- // InternalSolverLanguage.g:1540:2: ( 'true' )
- // InternalSolverLanguage.g:1541:3: 'true'
+ // InternalSolverLanguage.g:1490:2: ( ( rule__Constraint__Group_0__0 ) )
+ // InternalSolverLanguage.g:1491:3: ( rule__Constraint__Group_0__0 )
{
- before(grammarAccess.getPatternBodyAccess().getTrueKeyword_1_0());
- match(input,12,FOLLOW_2);
- after(grammarAccess.getPatternBodyAccess().getTrueKeyword_1_0());
+ before(grammarAccess.getConstraintAccess().getGroup_0());
+ // InternalSolverLanguage.g:1492:3: ( rule__Constraint__Group_0__0 )
+ // InternalSolverLanguage.g:1492:4: rule__Constraint__Group_0__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Constraint__Group_0__0();
+
+ state._fsp--;
+
+
+ }
+
+ after(grammarAccess.getConstraintAccess().getGroup_0());
}
@@ -5092,42 +4991,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1546:2: ( ( rule__PatternBody__ConstraintsAssignment_1_1 )* )
+ // InternalSolverLanguage.g:1496:2: ( ( rule__Constraint__Group_1__0 ) )
{
- // InternalSolverLanguage.g:1546:2: ( ( rule__PatternBody__ConstraintsAssignment_1_1 )* )
- // InternalSolverLanguage.g:1547:3: ( rule__PatternBody__ConstraintsAssignment_1_1 )*
+ // InternalSolverLanguage.g:1496:2: ( ( rule__Constraint__Group_1__0 ) )
+ // InternalSolverLanguage.g:1497:3: ( rule__Constraint__Group_1__0 )
{
- before(grammarAccess.getPatternBodyAccess().getConstraintsAssignment_1_1());
- // InternalSolverLanguage.g:1548:3: ( rule__PatternBody__ConstraintsAssignment_1_1 )*
- loop15:
- do {
- int alt15=2;
- int LA15_0 = input.LA(1);
+ before(grammarAccess.getConstraintAccess().getGroup_1());
+ // InternalSolverLanguage.g:1498:3: ( rule__Constraint__Group_1__0 )
+ // InternalSolverLanguage.g:1498:4: rule__Constraint__Group_1__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Constraint__Group_1__0();
- if ( (LA15_0==RULE_ID||LA15_0==13||LA15_0==29) ) {
- alt15=1;
- }
+ state._fsp--;
- switch (alt15) {
- case 1 :
- // InternalSolverLanguage.g:1548:4: rule__PatternBody__ConstraintsAssignment_1_1
- {
- pushFollow(FOLLOW_4);
- rule__PatternBody__ConstraintsAssignment_1_1();
-
- state._fsp--;
-
-
- }
- break;
-
- default :
- break loop15;
- }
- } while (true);
+ }
- after(grammarAccess.getPatternBodyAccess().getConstraintsAssignment_1_1());
+ after(grammarAccess.getConstraintAccess().getGroup_1());
}
@@ -5148,24 +5029,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PatternBody__Alternatives_1"
+ // $ANTLR end "rule__Constraint__Alternatives"
- // $ANTLR start "rule__Polarity__Alternatives"
- // InternalSolverLanguage.g:1556:1: rule__Polarity__Alternatives : ( ( ( rule__Polarity__Group_0__0 ) ) | ( ( rule__Polarity__Group_1__0 ) ) );
- public final void rule__Polarity__Alternatives() throws RecognitionException {
+ // $ANTLR start "rule__ClosureType__Alternatives"
+ // InternalSolverLanguage.g:1506:1: rule__ClosureType__Alternatives : ( ( ( rule__ClosureType__Group_0__0 ) ) | ( ( rule__ClosureType__Group_1__0 ) ) );
+ public final void rule__ClosureType__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1560:1: ( ( ( rule__Polarity__Group_0__0 ) ) | ( ( rule__Polarity__Group_1__0 ) ) )
+ // InternalSolverLanguage.g:1510:1: ( ( ( rule__ClosureType__Group_0__0 ) ) | ( ( rule__ClosureType__Group_1__0 ) ) )
int alt17=2;
int LA17_0 = input.LA(1);
- if ( (LA17_0==29) ) {
+ if ( (LA17_0==31) ) {
alt17=1;
}
- else if ( (LA17_0==13) ) {
+ else if ( (LA17_0==30) ) {
alt17=2;
}
else {
@@ -5176,24 +5057,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt17) {
case 1 :
- // InternalSolverLanguage.g:1561:2: ( ( rule__Polarity__Group_0__0 ) )
+ // InternalSolverLanguage.g:1511:2: ( ( rule__ClosureType__Group_0__0 ) )
{
- // InternalSolverLanguage.g:1561:2: ( ( rule__Polarity__Group_0__0 ) )
- // InternalSolverLanguage.g:1562:3: ( rule__Polarity__Group_0__0 )
+ // InternalSolverLanguage.g:1511:2: ( ( rule__ClosureType__Group_0__0 ) )
+ // InternalSolverLanguage.g:1512:3: ( rule__ClosureType__Group_0__0 )
{
- before(grammarAccess.getPolarityAccess().getGroup_0());
- // InternalSolverLanguage.g:1563:3: ( rule__Polarity__Group_0__0 )
- // InternalSolverLanguage.g:1563:4: rule__Polarity__Group_0__0
+ before(grammarAccess.getClosureTypeAccess().getGroup_0());
+ // InternalSolverLanguage.g:1513:3: ( rule__ClosureType__Group_0__0 )
+ // InternalSolverLanguage.g:1513:4: rule__ClosureType__Group_0__0
{
pushFollow(FOLLOW_2);
- rule__Polarity__Group_0__0();
+ rule__ClosureType__Group_0__0();
state._fsp--;
}
- after(grammarAccess.getPolarityAccess().getGroup_0());
+ after(grammarAccess.getClosureTypeAccess().getGroup_0());
}
@@ -5201,24 +5082,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1567:2: ( ( rule__Polarity__Group_1__0 ) )
+ // InternalSolverLanguage.g:1517:2: ( ( rule__ClosureType__Group_1__0 ) )
{
- // InternalSolverLanguage.g:1567:2: ( ( rule__Polarity__Group_1__0 ) )
- // InternalSolverLanguage.g:1568:3: ( rule__Polarity__Group_1__0 )
+ // InternalSolverLanguage.g:1517:2: ( ( rule__ClosureType__Group_1__0 ) )
+ // InternalSolverLanguage.g:1518:3: ( rule__ClosureType__Group_1__0 )
{
- before(grammarAccess.getPolarityAccess().getGroup_1());
- // InternalSolverLanguage.g:1569:3: ( rule__Polarity__Group_1__0 )
- // InternalSolverLanguage.g:1569:4: rule__Polarity__Group_1__0
+ before(grammarAccess.getClosureTypeAccess().getGroup_1());
+ // InternalSolverLanguage.g:1519:3: ( rule__ClosureType__Group_1__0 )
+ // InternalSolverLanguage.g:1519:4: rule__ClosureType__Group_1__0
{
pushFollow(FOLLOW_2);
- rule__Polarity__Group_1__0();
+ rule__ClosureType__Group_1__0();
state._fsp--;
}
- after(grammarAccess.getPolarityAccess().getGroup_1());
+ after(grammarAccess.getClosureTypeAccess().getGroup_1());
}
@@ -5239,143 +5120,59 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Polarity__Alternatives"
+ // $ANTLR end "rule__ClosureType__Alternatives"
- // $ANTLR start "rule__Constraint__Alternatives_2"
- // InternalSolverLanguage.g:1577:1: rule__Constraint__Alternatives_2 : ( ( ( rule__Constraint__Group_2_0__0 ) ) | ( ( rule__Constraint__Group_2_1__0 ) ) );
- public final void rule__Constraint__Alternatives_2() throws RecognitionException {
+ // $ANTLR start "rule__Literal__Alternatives"
+ // InternalSolverLanguage.g:1527:1: rule__Literal__Alternatives : ( ( ruleVariable ) | ( ruleDataObject ) | ( ruleNamedObject ) );
+ public final void rule__Literal__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1581:1: ( ( ( rule__Constraint__Group_2_0__0 ) ) | ( ( rule__Constraint__Group_2_1__0 ) ) )
- int alt18=2;
- int LA18_0 = input.LA(1);
-
- if ( (LA18_0==17) ) {
+ // InternalSolverLanguage.g:1531:1: ( ( ruleVariable ) | ( ruleDataObject ) | ( ruleNamedObject ) )
+ int alt18=3;
+ switch ( input.LA(1) ) {
+ case RULE_ID:
+ {
alt18=1;
- }
- else if ( ((LA18_0>=29 && LA18_0<=30)) ) {
+ }
+ break;
+ case RULE_INT:
+ case RULE_STRING:
+ case 11:
+ case 12:
+ case 13:
+ {
alt18=2;
- }
- else {
+ }
+ break;
+ case 27:
+ {
+ alt18=3;
+ }
+ break;
+ default:
NoViableAltException nvae =
new NoViableAltException("", 18, 0, input);
throw nvae;
}
- switch (alt18) {
- case 1 :
- // InternalSolverLanguage.g:1582:2: ( ( rule__Constraint__Group_2_0__0 ) )
- {
- // InternalSolverLanguage.g:1582:2: ( ( rule__Constraint__Group_2_0__0 ) )
- // InternalSolverLanguage.g:1583:3: ( rule__Constraint__Group_2_0__0 )
- {
- before(grammarAccess.getConstraintAccess().getGroup_2_0());
- // InternalSolverLanguage.g:1584:3: ( rule__Constraint__Group_2_0__0 )
- // InternalSolverLanguage.g:1584:4: rule__Constraint__Group_2_0__0
- {
- pushFollow(FOLLOW_2);
- rule__Constraint__Group_2_0__0();
-
- state._fsp--;
-
-
- }
-
- after(grammarAccess.getConstraintAccess().getGroup_2_0());
-
- }
-
-
- }
- break;
- case 2 :
- // InternalSolverLanguage.g:1588:2: ( ( rule__Constraint__Group_2_1__0 ) )
- {
- // InternalSolverLanguage.g:1588:2: ( ( rule__Constraint__Group_2_1__0 ) )
- // InternalSolverLanguage.g:1589:3: ( rule__Constraint__Group_2_1__0 )
- {
- before(grammarAccess.getConstraintAccess().getGroup_2_1());
- // InternalSolverLanguage.g:1590:3: ( rule__Constraint__Group_2_1__0 )
- // InternalSolverLanguage.g:1590:4: rule__Constraint__Group_2_1__0
- {
- pushFollow(FOLLOW_2);
- rule__Constraint__Group_2_1__0();
-
- state._fsp--;
-
-
- }
-
- after(grammarAccess.getConstraintAccess().getGroup_2_1());
-
- }
-
-
- }
- break;
-
- }
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__Constraint__Alternatives_2"
-
-
- // $ANTLR start "rule__ClosureType__Alternatives"
- // InternalSolverLanguage.g:1598:1: rule__ClosureType__Alternatives : ( ( ( rule__ClosureType__Group_0__0 ) ) | ( ( rule__ClosureType__Group_1__0 ) ) );
- public final void rule__ClosureType__Alternatives() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:1602:1: ( ( ( rule__ClosureType__Group_0__0 ) ) | ( ( rule__ClosureType__Group_1__0 ) ) )
- int alt19=2;
- int LA19_0 = input.LA(1);
-
- if ( (LA19_0==30) ) {
- alt19=1;
- }
- else if ( (LA19_0==29) ) {
- alt19=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 19, 0, input);
- throw nvae;
- }
- switch (alt19) {
+ switch (alt18) {
case 1 :
- // InternalSolverLanguage.g:1603:2: ( ( rule__ClosureType__Group_0__0 ) )
- {
- // InternalSolverLanguage.g:1603:2: ( ( rule__ClosureType__Group_0__0 ) )
- // InternalSolverLanguage.g:1604:3: ( rule__ClosureType__Group_0__0 )
+ // InternalSolverLanguage.g:1532:2: ( ruleVariable )
{
- before(grammarAccess.getClosureTypeAccess().getGroup_0());
- // InternalSolverLanguage.g:1605:3: ( rule__ClosureType__Group_0__0 )
- // InternalSolverLanguage.g:1605:4: rule__ClosureType__Group_0__0
+ // InternalSolverLanguage.g:1532:2: ( ruleVariable )
+ // InternalSolverLanguage.g:1533:3: ruleVariable
{
+ before(grammarAccess.getLiteralAccess().getVariableParserRuleCall_0());
pushFollow(FOLLOW_2);
- rule__ClosureType__Group_0__0();
+ ruleVariable();
state._fsp--;
-
- }
-
- after(grammarAccess.getClosureTypeAccess().getGroup_0());
+ after(grammarAccess.getLiteralAccess().getVariableParserRuleCall_0());
}
@@ -5383,103 +5180,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1609:2: ( ( rule__ClosureType__Group_1__0 ) )
- {
- // InternalSolverLanguage.g:1609:2: ( ( rule__ClosureType__Group_1__0 ) )
- // InternalSolverLanguage.g:1610:3: ( rule__ClosureType__Group_1__0 )
- {
- before(grammarAccess.getClosureTypeAccess().getGroup_1());
- // InternalSolverLanguage.g:1611:3: ( rule__ClosureType__Group_1__0 )
- // InternalSolverLanguage.g:1611:4: rule__ClosureType__Group_1__0
- {
- pushFollow(FOLLOW_2);
- rule__ClosureType__Group_1__0();
-
- state._fsp--;
-
-
- }
-
- after(grammarAccess.getClosureTypeAccess().getGroup_1());
-
- }
-
-
- }
- break;
-
- }
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__ClosureType__Alternatives"
-
-
- // $ANTLR start "rule__Literal__Alternatives"
- // InternalSolverLanguage.g:1619:1: rule__Literal__Alternatives : ( ( ruleVariable ) | ( ruleDataObject ) );
- public final void rule__Literal__Alternatives() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:1623:1: ( ( ruleVariable ) | ( ruleDataObject ) )
- int alt20=2;
- int LA20_0 = input.LA(1);
-
- if ( (LA20_0==RULE_ID) ) {
- alt20=1;
- }
- else if ( (LA20_0==RULE_INT||LA20_0==RULE_STRING||(LA20_0>=11 && LA20_0<=13)) ) {
- alt20=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 20, 0, input);
-
- throw nvae;
- }
- switch (alt20) {
- case 1 :
- // InternalSolverLanguage.g:1624:2: ( ruleVariable )
+ // InternalSolverLanguage.g:1538:2: ( ruleDataObject )
{
- // InternalSolverLanguage.g:1624:2: ( ruleVariable )
- // InternalSolverLanguage.g:1625:3: ruleVariable
+ // InternalSolverLanguage.g:1538:2: ( ruleDataObject )
+ // InternalSolverLanguage.g:1539:3: ruleDataObject
{
- before(grammarAccess.getLiteralAccess().getVariableParserRuleCall_0());
+ before(grammarAccess.getLiteralAccess().getDataObjectParserRuleCall_1());
pushFollow(FOLLOW_2);
- ruleVariable();
+ ruleDataObject();
state._fsp--;
- after(grammarAccess.getLiteralAccess().getVariableParserRuleCall_0());
+ after(grammarAccess.getLiteralAccess().getDataObjectParserRuleCall_1());
}
}
break;
- case 2 :
- // InternalSolverLanguage.g:1630:2: ( ruleDataObject )
+ case 3 :
+ // InternalSolverLanguage.g:1544:2: ( ruleNamedObject )
{
- // InternalSolverLanguage.g:1630:2: ( ruleDataObject )
- // InternalSolverLanguage.g:1631:3: ruleDataObject
+ // InternalSolverLanguage.g:1544:2: ( ruleNamedObject )
+ // InternalSolverLanguage.g:1545:3: ruleNamedObject
{
- before(grammarAccess.getLiteralAccess().getDataObjectParserRuleCall_1());
+ before(grammarAccess.getLiteralAccess().getNamedObjectParserRuleCall_2());
pushFollow(FOLLOW_2);
- ruleDataObject();
+ ruleNamedObject();
state._fsp--;
- after(grammarAccess.getLiteralAccess().getDataObjectParserRuleCall_1());
+ after(grammarAccess.getLiteralAccess().getNamedObjectParserRuleCall_2());
}
@@ -5504,43 +5235,45 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__CDInterpretation__Alternatives"
- // InternalSolverLanguage.g:1640:1: rule__CDInterpretation__Alternatives : ( ( ruleClassInterpretation ) | ( ruleEnumInterpretation ) | ( ruleGlobalRelationInterpretation ) );
+ // InternalSolverLanguage.g:1554:1: rule__CDInterpretation__Alternatives : ( ( ruleClassInterpretation ) | ( ruleEnumInterpretation ) | ( ruleGlobalRelationInterpretation ) );
public final void rule__CDInterpretation__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1644:1: ( ( ruleClassInterpretation ) | ( ruleEnumInterpretation ) | ( ruleGlobalRelationInterpretation ) )
- int alt21=3;
+ // InternalSolverLanguage.g:1558:1: ( ( ruleClassInterpretation ) | ( ruleEnumInterpretation ) | ( ruleGlobalRelationInterpretation ) )
+ int alt19=3;
switch ( input.LA(1) ) {
- case 39:
+ case 33:
+ case 40:
{
- alt21=1;
+ alt19=1;
}
break;
- case 36:
+ case 37:
{
- alt21=2;
+ alt19=2;
}
break;
- case 40:
+ case 38:
+ case 41:
{
- alt21=3;
+ alt19=3;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 21, 0, input);
+ new NoViableAltException("", 19, 0, input);
throw nvae;
}
- switch (alt21) {
+ switch (alt19) {
case 1 :
- // InternalSolverLanguage.g:1645:2: ( ruleClassInterpretation )
+ // InternalSolverLanguage.g:1559:2: ( ruleClassInterpretation )
{
- // InternalSolverLanguage.g:1645:2: ( ruleClassInterpretation )
- // InternalSolverLanguage.g:1646:3: ruleClassInterpretation
+ // InternalSolverLanguage.g:1559:2: ( ruleClassInterpretation )
+ // InternalSolverLanguage.g:1560:3: ruleClassInterpretation
{
before(grammarAccess.getCDInterpretationAccess().getClassInterpretationParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -5556,10 +5289,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1651:2: ( ruleEnumInterpretation )
+ // InternalSolverLanguage.g:1565:2: ( ruleEnumInterpretation )
{
- // InternalSolverLanguage.g:1651:2: ( ruleEnumInterpretation )
- // InternalSolverLanguage.g:1652:3: ruleEnumInterpretation
+ // InternalSolverLanguage.g:1565:2: ( ruleEnumInterpretation )
+ // InternalSolverLanguage.g:1566:3: ruleEnumInterpretation
{
before(grammarAccess.getCDInterpretationAccess().getEnumInterpretationParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -5575,10 +5308,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:1657:2: ( ruleGlobalRelationInterpretation )
+ // InternalSolverLanguage.g:1571:2: ( ruleGlobalRelationInterpretation )
{
- // InternalSolverLanguage.g:1657:2: ( ruleGlobalRelationInterpretation )
- // InternalSolverLanguage.g:1658:3: ruleGlobalRelationInterpretation
+ // InternalSolverLanguage.g:1571:2: ( ruleGlobalRelationInterpretation )
+ // InternalSolverLanguage.g:1572:3: ruleGlobalRelationInterpretation
{
before(grammarAccess.getCDInterpretationAccess().getGlobalRelationInterpretationParserRuleCall_2());
pushFollow(FOLLOW_2);
@@ -5611,38 +5344,38 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicityDefinition__Alternatives_2"
- // InternalSolverLanguage.g:1667:1: rule__MultiplicityDefinition__Alternatives_2 : ( ( ( rule__MultiplicityDefinition__UpperAssignment_2_0 ) ) | ( ( rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 ) ) );
+ // InternalSolverLanguage.g:1581:1: rule__MultiplicityDefinition__Alternatives_2 : ( ( ( rule__MultiplicityDefinition__UpperAssignment_2_0 ) ) | ( ( rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 ) ) );
public final void rule__MultiplicityDefinition__Alternatives_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1671:1: ( ( ( rule__MultiplicityDefinition__UpperAssignment_2_0 ) ) | ( ( rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 ) ) )
- int alt22=2;
- int LA22_0 = input.LA(1);
+ // InternalSolverLanguage.g:1585:1: ( ( ( rule__MultiplicityDefinition__UpperAssignment_2_0 ) ) | ( ( rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 ) ) )
+ int alt20=2;
+ int LA20_0 = input.LA(1);
- if ( (LA22_0==RULE_INT) ) {
- alt22=1;
+ if ( (LA20_0==RULE_INT) ) {
+ alt20=1;
}
- else if ( (LA22_0==30) ) {
- alt22=2;
+ else if ( (LA20_0==31) ) {
+ alt20=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 0, input);
+ new NoViableAltException("", 20, 0, input);
throw nvae;
}
- switch (alt22) {
+ switch (alt20) {
case 1 :
- // InternalSolverLanguage.g:1672:2: ( ( rule__MultiplicityDefinition__UpperAssignment_2_0 ) )
+ // InternalSolverLanguage.g:1586:2: ( ( rule__MultiplicityDefinition__UpperAssignment_2_0 ) )
{
- // InternalSolverLanguage.g:1672:2: ( ( rule__MultiplicityDefinition__UpperAssignment_2_0 ) )
- // InternalSolverLanguage.g:1673:3: ( rule__MultiplicityDefinition__UpperAssignment_2_0 )
+ // InternalSolverLanguage.g:1586:2: ( ( rule__MultiplicityDefinition__UpperAssignment_2_0 ) )
+ // InternalSolverLanguage.g:1587:3: ( rule__MultiplicityDefinition__UpperAssignment_2_0 )
{
before(grammarAccess.getMultiplicityDefinitionAccess().getUpperAssignment_2_0());
- // InternalSolverLanguage.g:1674:3: ( rule__MultiplicityDefinition__UpperAssignment_2_0 )
- // InternalSolverLanguage.g:1674:4: rule__MultiplicityDefinition__UpperAssignment_2_0
+ // InternalSolverLanguage.g:1588:3: ( rule__MultiplicityDefinition__UpperAssignment_2_0 )
+ // InternalSolverLanguage.g:1588:4: rule__MultiplicityDefinition__UpperAssignment_2_0
{
pushFollow(FOLLOW_2);
rule__MultiplicityDefinition__UpperAssignment_2_0();
@@ -5660,14 +5393,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1678:2: ( ( rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 ) )
+ // InternalSolverLanguage.g:1592:2: ( ( rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 ) )
{
- // InternalSolverLanguage.g:1678:2: ( ( rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 ) )
- // InternalSolverLanguage.g:1679:3: ( rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 )
+ // InternalSolverLanguage.g:1592:2: ( ( rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 ) )
+ // InternalSolverLanguage.g:1593:3: ( rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 )
{
before(grammarAccess.getMultiplicityDefinitionAccess().getUnlimitedUpperAssignment_2_1());
- // InternalSolverLanguage.g:1680:3: ( rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 )
- // InternalSolverLanguage.g:1680:4: rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1
+ // InternalSolverLanguage.g:1594:3: ( rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 )
+ // InternalSolverLanguage.g:1594:4: rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1
{
pushFollow(FOLLOW_2);
rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1();
@@ -5702,14 +5435,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__REALLiteral__Group__0"
- // InternalSolverLanguage.g:1688:1: rule__REALLiteral__Group__0 : rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 ;
+ // InternalSolverLanguage.g:1602:1: rule__REALLiteral__Group__0 : rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 ;
public final void rule__REALLiteral__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1692:1: ( rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 )
- // InternalSolverLanguage.g:1693:2: rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1
+ // InternalSolverLanguage.g:1606:1: ( rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 )
+ // InternalSolverLanguage.g:1607:2: rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1
{
pushFollow(FOLLOW_5);
rule__REALLiteral__Group__0__Impl();
@@ -5740,29 +5473,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__REALLiteral__Group__0__Impl"
- // InternalSolverLanguage.g:1700:1: rule__REALLiteral__Group__0__Impl : ( ( '-' )? ) ;
+ // InternalSolverLanguage.g:1614:1: rule__REALLiteral__Group__0__Impl : ( ( '-' )? ) ;
public final void rule__REALLiteral__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1704:1: ( ( ( '-' )? ) )
- // InternalSolverLanguage.g:1705:1: ( ( '-' )? )
+ // InternalSolverLanguage.g:1618:1: ( ( ( '-' )? ) )
+ // InternalSolverLanguage.g:1619:1: ( ( '-' )? )
{
- // InternalSolverLanguage.g:1705:1: ( ( '-' )? )
- // InternalSolverLanguage.g:1706:2: ( '-' )?
+ // InternalSolverLanguage.g:1619:1: ( ( '-' )? )
+ // InternalSolverLanguage.g:1620:2: ( '-' )?
{
before(grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0());
- // InternalSolverLanguage.g:1707:2: ( '-' )?
- int alt23=2;
- int LA23_0 = input.LA(1);
+ // InternalSolverLanguage.g:1621:2: ( '-' )?
+ int alt21=2;
+ int LA21_0 = input.LA(1);
- if ( (LA23_0==13) ) {
- alt23=1;
+ if ( (LA21_0==13) ) {
+ alt21=1;
}
- switch (alt23) {
+ switch (alt21) {
case 1 :
- // InternalSolverLanguage.g:1707:3: '-'
+ // InternalSolverLanguage.g:1621:3: '-'
{
match(input,13,FOLLOW_2);
@@ -5794,14 +5527,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__REALLiteral__Group__1"
- // InternalSolverLanguage.g:1715:1: rule__REALLiteral__Group__1 : rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 ;
+ // InternalSolverLanguage.g:1629:1: rule__REALLiteral__Group__1 : rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 ;
public final void rule__REALLiteral__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1719:1: ( rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 )
- // InternalSolverLanguage.g:1720:2: rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2
+ // InternalSolverLanguage.g:1633:1: ( rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 )
+ // InternalSolverLanguage.g:1634:2: rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2
{
pushFollow(FOLLOW_6);
rule__REALLiteral__Group__1__Impl();
@@ -5832,17 +5565,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__REALLiteral__Group__1__Impl"
- // InternalSolverLanguage.g:1727:1: rule__REALLiteral__Group__1__Impl : ( RULE_INT ) ;
+ // InternalSolverLanguage.g:1641:1: rule__REALLiteral__Group__1__Impl : ( RULE_INT ) ;
public final void rule__REALLiteral__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1731:1: ( ( RULE_INT ) )
- // InternalSolverLanguage.g:1732:1: ( RULE_INT )
+ // InternalSolverLanguage.g:1645:1: ( ( RULE_INT ) )
+ // InternalSolverLanguage.g:1646:1: ( RULE_INT )
{
- // InternalSolverLanguage.g:1732:1: ( RULE_INT )
- // InternalSolverLanguage.g:1733:2: RULE_INT
+ // InternalSolverLanguage.g:1646:1: ( RULE_INT )
+ // InternalSolverLanguage.g:1647:2: RULE_INT
{
before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1());
match(input,RULE_INT,FOLLOW_2);
@@ -5869,14 +5602,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__REALLiteral__Group__2"
- // InternalSolverLanguage.g:1742:1: rule__REALLiteral__Group__2 : rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 ;
+ // InternalSolverLanguage.g:1656:1: rule__REALLiteral__Group__2 : rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 ;
public final void rule__REALLiteral__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1746:1: ( rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 )
- // InternalSolverLanguage.g:1747:2: rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3
+ // InternalSolverLanguage.g:1660:1: ( rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 )
+ // InternalSolverLanguage.g:1661:2: rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3
{
pushFollow(FOLLOW_5);
rule__REALLiteral__Group__2__Impl();
@@ -5907,17 +5640,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__REALLiteral__Group__2__Impl"
- // InternalSolverLanguage.g:1754:1: rule__REALLiteral__Group__2__Impl : ( '.' ) ;
+ // InternalSolverLanguage.g:1668:1: rule__REALLiteral__Group__2__Impl : ( '.' ) ;
public final void rule__REALLiteral__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1758:1: ( ( '.' ) )
- // InternalSolverLanguage.g:1759:1: ( '.' )
+ // InternalSolverLanguage.g:1672:1: ( ( '.' ) )
+ // InternalSolverLanguage.g:1673:1: ( '.' )
{
- // InternalSolverLanguage.g:1759:1: ( '.' )
- // InternalSolverLanguage.g:1760:2: '.'
+ // InternalSolverLanguage.g:1673:1: ( '.' )
+ // InternalSolverLanguage.g:1674:2: '.'
{
before(grammarAccess.getREALLiteralAccess().getFullStopKeyword_2());
match(input,14,FOLLOW_2);
@@ -5944,14 +5677,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__REALLiteral__Group__3"
- // InternalSolverLanguage.g:1769:1: rule__REALLiteral__Group__3 : rule__REALLiteral__Group__3__Impl ;
+ // InternalSolverLanguage.g:1683:1: rule__REALLiteral__Group__3 : rule__REALLiteral__Group__3__Impl ;
public final void rule__REALLiteral__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1773:1: ( rule__REALLiteral__Group__3__Impl )
- // InternalSolverLanguage.g:1774:2: rule__REALLiteral__Group__3__Impl
+ // InternalSolverLanguage.g:1687:1: ( rule__REALLiteral__Group__3__Impl )
+ // InternalSolverLanguage.g:1688:2: rule__REALLiteral__Group__3__Impl
{
pushFollow(FOLLOW_2);
rule__REALLiteral__Group__3__Impl();
@@ -5977,17 +5710,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__REALLiteral__Group__3__Impl"
- // InternalSolverLanguage.g:1780:1: rule__REALLiteral__Group__3__Impl : ( RULE_INT ) ;
+ // InternalSolverLanguage.g:1694:1: rule__REALLiteral__Group__3__Impl : ( RULE_INT ) ;
public final void rule__REALLiteral__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1784:1: ( ( RULE_INT ) )
- // InternalSolverLanguage.g:1785:1: ( RULE_INT )
+ // InternalSolverLanguage.g:1698:1: ( ( RULE_INT ) )
+ // InternalSolverLanguage.g:1699:1: ( RULE_INT )
{
- // InternalSolverLanguage.g:1785:1: ( RULE_INT )
- // InternalSolverLanguage.g:1786:2: RULE_INT
+ // InternalSolverLanguage.g:1699:1: ( RULE_INT )
+ // InternalSolverLanguage.g:1700:2: RULE_INT
{
before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3());
match(input,RULE_INT,FOLLOW_2);
@@ -6014,14 +5747,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__INTLiteral__Group__0"
- // InternalSolverLanguage.g:1796:1: rule__INTLiteral__Group__0 : rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 ;
+ // InternalSolverLanguage.g:1710:1: rule__INTLiteral__Group__0 : rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 ;
public final void rule__INTLiteral__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1800:1: ( rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 )
- // InternalSolverLanguage.g:1801:2: rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1
+ // InternalSolverLanguage.g:1714:1: ( rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 )
+ // InternalSolverLanguage.g:1715:2: rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1
{
pushFollow(FOLLOW_5);
rule__INTLiteral__Group__0__Impl();
@@ -6052,29 +5785,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__INTLiteral__Group__0__Impl"
- // InternalSolverLanguage.g:1808:1: rule__INTLiteral__Group__0__Impl : ( ( '-' )? ) ;
+ // InternalSolverLanguage.g:1722:1: rule__INTLiteral__Group__0__Impl : ( ( '-' )? ) ;
public final void rule__INTLiteral__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1812:1: ( ( ( '-' )? ) )
- // InternalSolverLanguage.g:1813:1: ( ( '-' )? )
+ // InternalSolverLanguage.g:1726:1: ( ( ( '-' )? ) )
+ // InternalSolverLanguage.g:1727:1: ( ( '-' )? )
{
- // InternalSolverLanguage.g:1813:1: ( ( '-' )? )
- // InternalSolverLanguage.g:1814:2: ( '-' )?
+ // InternalSolverLanguage.g:1727:1: ( ( '-' )? )
+ // InternalSolverLanguage.g:1728:2: ( '-' )?
{
before(grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0());
- // InternalSolverLanguage.g:1815:2: ( '-' )?
- int alt24=2;
- int LA24_0 = input.LA(1);
+ // InternalSolverLanguage.g:1729:2: ( '-' )?
+ int alt22=2;
+ int LA22_0 = input.LA(1);
- if ( (LA24_0==13) ) {
- alt24=1;
+ if ( (LA22_0==13) ) {
+ alt22=1;
}
- switch (alt24) {
+ switch (alt22) {
case 1 :
- // InternalSolverLanguage.g:1815:3: '-'
+ // InternalSolverLanguage.g:1729:3: '-'
{
match(input,13,FOLLOW_2);
@@ -6106,14 +5839,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__INTLiteral__Group__1"
- // InternalSolverLanguage.g:1823:1: rule__INTLiteral__Group__1 : rule__INTLiteral__Group__1__Impl ;
+ // InternalSolverLanguage.g:1737:1: rule__INTLiteral__Group__1 : rule__INTLiteral__Group__1__Impl ;
public final void rule__INTLiteral__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1827:1: ( rule__INTLiteral__Group__1__Impl )
- // InternalSolverLanguage.g:1828:2: rule__INTLiteral__Group__1__Impl
+ // InternalSolverLanguage.g:1741:1: ( rule__INTLiteral__Group__1__Impl )
+ // InternalSolverLanguage.g:1742:2: rule__INTLiteral__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__INTLiteral__Group__1__Impl();
@@ -6139,17 +5872,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__INTLiteral__Group__1__Impl"
- // InternalSolverLanguage.g:1834:1: rule__INTLiteral__Group__1__Impl : ( RULE_INT ) ;
+ // InternalSolverLanguage.g:1748:1: rule__INTLiteral__Group__1__Impl : ( RULE_INT ) ;
public final void rule__INTLiteral__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1838:1: ( ( RULE_INT ) )
- // InternalSolverLanguage.g:1839:1: ( RULE_INT )
+ // InternalSolverLanguage.g:1752:1: ( ( RULE_INT ) )
+ // InternalSolverLanguage.g:1753:1: ( RULE_INT )
{
- // InternalSolverLanguage.g:1839:1: ( RULE_INT )
- // InternalSolverLanguage.g:1840:2: RULE_INT
+ // InternalSolverLanguage.g:1753:1: ( RULE_INT )
+ // InternalSolverLanguage.g:1754:2: RULE_INT
{
before(grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1());
match(input,RULE_INT,FOLLOW_2);
@@ -6176,14 +5909,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BooleanValue__Group_0__0"
- // InternalSolverLanguage.g:1850:1: rule__BooleanValue__Group_0__0 : rule__BooleanValue__Group_0__0__Impl rule__BooleanValue__Group_0__1 ;
+ // InternalSolverLanguage.g:1764:1: rule__BooleanValue__Group_0__0 : rule__BooleanValue__Group_0__0__Impl rule__BooleanValue__Group_0__1 ;
public final void rule__BooleanValue__Group_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1854:1: ( rule__BooleanValue__Group_0__0__Impl rule__BooleanValue__Group_0__1 )
- // InternalSolverLanguage.g:1855:2: rule__BooleanValue__Group_0__0__Impl rule__BooleanValue__Group_0__1
+ // InternalSolverLanguage.g:1768:1: ( rule__BooleanValue__Group_0__0__Impl rule__BooleanValue__Group_0__1 )
+ // InternalSolverLanguage.g:1769:2: rule__BooleanValue__Group_0__0__Impl rule__BooleanValue__Group_0__1
{
pushFollow(FOLLOW_7);
rule__BooleanValue__Group_0__0__Impl();
@@ -6214,21 +5947,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BooleanValue__Group_0__0__Impl"
- // InternalSolverLanguage.g:1862:1: rule__BooleanValue__Group_0__0__Impl : ( () ) ;
+ // InternalSolverLanguage.g:1776:1: rule__BooleanValue__Group_0__0__Impl : ( () ) ;
public final void rule__BooleanValue__Group_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1866:1: ( ( () ) )
- // InternalSolverLanguage.g:1867:1: ( () )
+ // InternalSolverLanguage.g:1780:1: ( ( () ) )
+ // InternalSolverLanguage.g:1781:1: ( () )
{
- // InternalSolverLanguage.g:1867:1: ( () )
- // InternalSolverLanguage.g:1868:2: ()
+ // InternalSolverLanguage.g:1781:1: ( () )
+ // InternalSolverLanguage.g:1782:2: ()
{
before(grammarAccess.getBooleanValueAccess().getBooleanTrueAction_0_0());
- // InternalSolverLanguage.g:1869:2: ()
- // InternalSolverLanguage.g:1869:3:
+ // InternalSolverLanguage.g:1783:2: ()
+ // InternalSolverLanguage.g:1783:3:
{
}
@@ -6251,14 +5984,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BooleanValue__Group_0__1"
- // InternalSolverLanguage.g:1877:1: rule__BooleanValue__Group_0__1 : rule__BooleanValue__Group_0__1__Impl ;
+ // InternalSolverLanguage.g:1791:1: rule__BooleanValue__Group_0__1 : rule__BooleanValue__Group_0__1__Impl ;
public final void rule__BooleanValue__Group_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1881:1: ( rule__BooleanValue__Group_0__1__Impl )
- // InternalSolverLanguage.g:1882:2: rule__BooleanValue__Group_0__1__Impl
+ // InternalSolverLanguage.g:1795:1: ( rule__BooleanValue__Group_0__1__Impl )
+ // InternalSolverLanguage.g:1796:2: rule__BooleanValue__Group_0__1__Impl
{
pushFollow(FOLLOW_2);
rule__BooleanValue__Group_0__1__Impl();
@@ -6284,17 +6017,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BooleanValue__Group_0__1__Impl"
- // InternalSolverLanguage.g:1888:1: rule__BooleanValue__Group_0__1__Impl : ( 'true' ) ;
+ // InternalSolverLanguage.g:1802:1: rule__BooleanValue__Group_0__1__Impl : ( 'true' ) ;
public final void rule__BooleanValue__Group_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1892:1: ( ( 'true' ) )
- // InternalSolverLanguage.g:1893:1: ( 'true' )
+ // InternalSolverLanguage.g:1806:1: ( ( 'true' ) )
+ // InternalSolverLanguage.g:1807:1: ( 'true' )
{
- // InternalSolverLanguage.g:1893:1: ( 'true' )
- // InternalSolverLanguage.g:1894:2: 'true'
+ // InternalSolverLanguage.g:1807:1: ( 'true' )
+ // InternalSolverLanguage.g:1808:2: 'true'
{
before(grammarAccess.getBooleanValueAccess().getTrueKeyword_0_1());
match(input,12,FOLLOW_2);
@@ -6321,14 +6054,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BooleanValue__Group_1__0"
- // InternalSolverLanguage.g:1904:1: rule__BooleanValue__Group_1__0 : rule__BooleanValue__Group_1__0__Impl rule__BooleanValue__Group_1__1 ;
+ // InternalSolverLanguage.g:1818:1: rule__BooleanValue__Group_1__0 : rule__BooleanValue__Group_1__0__Impl rule__BooleanValue__Group_1__1 ;
public final void rule__BooleanValue__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1908:1: ( rule__BooleanValue__Group_1__0__Impl rule__BooleanValue__Group_1__1 )
- // InternalSolverLanguage.g:1909:2: rule__BooleanValue__Group_1__0__Impl rule__BooleanValue__Group_1__1
+ // InternalSolverLanguage.g:1822:1: ( rule__BooleanValue__Group_1__0__Impl rule__BooleanValue__Group_1__1 )
+ // InternalSolverLanguage.g:1823:2: rule__BooleanValue__Group_1__0__Impl rule__BooleanValue__Group_1__1
{
pushFollow(FOLLOW_1);
rule__BooleanValue__Group_1__0__Impl();
@@ -6359,17 +6092,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BooleanValue__Group_1__0__Impl"
- // InternalSolverLanguage.g:1916:1: rule__BooleanValue__Group_1__0__Impl : ( 'false' ) ;
+ // InternalSolverLanguage.g:1830:1: rule__BooleanValue__Group_1__0__Impl : ( 'false' ) ;
public final void rule__BooleanValue__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1920:1: ( ( 'false' ) )
- // InternalSolverLanguage.g:1921:1: ( 'false' )
+ // InternalSolverLanguage.g:1834:1: ( ( 'false' ) )
+ // InternalSolverLanguage.g:1835:1: ( 'false' )
{
- // InternalSolverLanguage.g:1921:1: ( 'false' )
- // InternalSolverLanguage.g:1922:2: 'false'
+ // InternalSolverLanguage.g:1835:1: ( 'false' )
+ // InternalSolverLanguage.g:1836:2: 'false'
{
before(grammarAccess.getBooleanValueAccess().getFalseKeyword_1_0());
match(input,11,FOLLOW_2);
@@ -6396,14 +6129,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BooleanValue__Group_1__1"
- // InternalSolverLanguage.g:1931:1: rule__BooleanValue__Group_1__1 : rule__BooleanValue__Group_1__1__Impl ;
+ // InternalSolverLanguage.g:1845:1: rule__BooleanValue__Group_1__1 : rule__BooleanValue__Group_1__1__Impl ;
public final void rule__BooleanValue__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1935:1: ( rule__BooleanValue__Group_1__1__Impl )
- // InternalSolverLanguage.g:1936:2: rule__BooleanValue__Group_1__1__Impl
+ // InternalSolverLanguage.g:1849:1: ( rule__BooleanValue__Group_1__1__Impl )
+ // InternalSolverLanguage.g:1850:2: rule__BooleanValue__Group_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__BooleanValue__Group_1__1__Impl();
@@ -6429,21 +6162,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BooleanValue__Group_1__1__Impl"
- // InternalSolverLanguage.g:1942:1: rule__BooleanValue__Group_1__1__Impl : ( () ) ;
+ // InternalSolverLanguage.g:1856:1: rule__BooleanValue__Group_1__1__Impl : ( () ) ;
public final void rule__BooleanValue__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1946:1: ( ( () ) )
- // InternalSolverLanguage.g:1947:1: ( () )
+ // InternalSolverLanguage.g:1860:1: ( ( () ) )
+ // InternalSolverLanguage.g:1861:1: ( () )
{
- // InternalSolverLanguage.g:1947:1: ( () )
- // InternalSolverLanguage.g:1948:2: ()
+ // InternalSolverLanguage.g:1861:1: ( () )
+ // InternalSolverLanguage.g:1862:2: ()
{
before(grammarAccess.getBooleanValueAccess().getBooleanFalseAction_1_1());
- // InternalSolverLanguage.g:1949:2: ()
- // InternalSolverLanguage.g:1949:3:
+ // InternalSolverLanguage.g:1863:2: ()
+ // InternalSolverLanguage.g:1863:3:
{
}
@@ -6466,14 +6199,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TruthValue__Group_0__0"
- // InternalSolverLanguage.g:1958:1: rule__TruthValue__Group_0__0 : rule__TruthValue__Group_0__0__Impl rule__TruthValue__Group_0__1 ;
+ // InternalSolverLanguage.g:1872:1: rule__TruthValue__Group_0__0 : rule__TruthValue__Group_0__0__Impl rule__TruthValue__Group_0__1 ;
public final void rule__TruthValue__Group_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1962:1: ( rule__TruthValue__Group_0__0__Impl rule__TruthValue__Group_0__1 )
- // InternalSolverLanguage.g:1963:2: rule__TruthValue__Group_0__0__Impl rule__TruthValue__Group_0__1
+ // InternalSolverLanguage.g:1876:1: ( rule__TruthValue__Group_0__0__Impl rule__TruthValue__Group_0__1 )
+ // InternalSolverLanguage.g:1877:2: rule__TruthValue__Group_0__0__Impl rule__TruthValue__Group_0__1
{
pushFollow(FOLLOW_7);
rule__TruthValue__Group_0__0__Impl();
@@ -6504,21 +6237,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TruthValue__Group_0__0__Impl"
- // InternalSolverLanguage.g:1970:1: rule__TruthValue__Group_0__0__Impl : ( () ) ;
+ // InternalSolverLanguage.g:1884:1: rule__TruthValue__Group_0__0__Impl : ( () ) ;
public final void rule__TruthValue__Group_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1974:1: ( ( () ) )
- // InternalSolverLanguage.g:1975:1: ( () )
+ // InternalSolverLanguage.g:1888:1: ( ( () ) )
+ // InternalSolverLanguage.g:1889:1: ( () )
{
- // InternalSolverLanguage.g:1975:1: ( () )
- // InternalSolverLanguage.g:1976:2: ()
+ // InternalSolverLanguage.g:1889:1: ( () )
+ // InternalSolverLanguage.g:1890:2: ()
{
before(grammarAccess.getTruthValueAccess().getTrueAction_0_0());
- // InternalSolverLanguage.g:1977:2: ()
- // InternalSolverLanguage.g:1977:3:
+ // InternalSolverLanguage.g:1891:2: ()
+ // InternalSolverLanguage.g:1891:3:
{
}
@@ -6541,14 +6274,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TruthValue__Group_0__1"
- // InternalSolverLanguage.g:1985:1: rule__TruthValue__Group_0__1 : rule__TruthValue__Group_0__1__Impl ;
+ // InternalSolverLanguage.g:1899:1: rule__TruthValue__Group_0__1 : rule__TruthValue__Group_0__1__Impl ;
public final void rule__TruthValue__Group_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1989:1: ( rule__TruthValue__Group_0__1__Impl )
- // InternalSolverLanguage.g:1990:2: rule__TruthValue__Group_0__1__Impl
+ // InternalSolverLanguage.g:1903:1: ( rule__TruthValue__Group_0__1__Impl )
+ // InternalSolverLanguage.g:1904:2: rule__TruthValue__Group_0__1__Impl
{
pushFollow(FOLLOW_2);
rule__TruthValue__Group_0__1__Impl();
@@ -6574,17 +6307,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TruthValue__Group_0__1__Impl"
- // InternalSolverLanguage.g:1996:1: rule__TruthValue__Group_0__1__Impl : ( 'true' ) ;
+ // InternalSolverLanguage.g:1910:1: rule__TruthValue__Group_0__1__Impl : ( 'true' ) ;
public final void rule__TruthValue__Group_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2000:1: ( ( 'true' ) )
- // InternalSolverLanguage.g:2001:1: ( 'true' )
+ // InternalSolverLanguage.g:1914:1: ( ( 'true' ) )
+ // InternalSolverLanguage.g:1915:1: ( 'true' )
{
- // InternalSolverLanguage.g:2001:1: ( 'true' )
- // InternalSolverLanguage.g:2002:2: 'true'
+ // InternalSolverLanguage.g:1915:1: ( 'true' )
+ // InternalSolverLanguage.g:1916:2: 'true'
{
before(grammarAccess.getTruthValueAccess().getTrueKeyword_0_1());
match(input,12,FOLLOW_2);
@@ -6611,14 +6344,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TruthValue__Group_1__0"
- // InternalSolverLanguage.g:2012:1: rule__TruthValue__Group_1__0 : rule__TruthValue__Group_1__0__Impl rule__TruthValue__Group_1__1 ;
+ // InternalSolverLanguage.g:1926:1: rule__TruthValue__Group_1__0 : rule__TruthValue__Group_1__0__Impl rule__TruthValue__Group_1__1 ;
public final void rule__TruthValue__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2016:1: ( rule__TruthValue__Group_1__0__Impl rule__TruthValue__Group_1__1 )
- // InternalSolverLanguage.g:2017:2: rule__TruthValue__Group_1__0__Impl rule__TruthValue__Group_1__1
+ // InternalSolverLanguage.g:1930:1: ( rule__TruthValue__Group_1__0__Impl rule__TruthValue__Group_1__1 )
+ // InternalSolverLanguage.g:1931:2: rule__TruthValue__Group_1__0__Impl rule__TruthValue__Group_1__1
{
pushFollow(FOLLOW_8);
rule__TruthValue__Group_1__0__Impl();
@@ -6649,21 +6382,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TruthValue__Group_1__0__Impl"
- // InternalSolverLanguage.g:2024:1: rule__TruthValue__Group_1__0__Impl : ( () ) ;
+ // InternalSolverLanguage.g:1938:1: rule__TruthValue__Group_1__0__Impl : ( () ) ;
public final void rule__TruthValue__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2028:1: ( ( () ) )
- // InternalSolverLanguage.g:2029:1: ( () )
+ // InternalSolverLanguage.g:1942:1: ( ( () ) )
+ // InternalSolverLanguage.g:1943:1: ( () )
{
- // InternalSolverLanguage.g:2029:1: ( () )
- // InternalSolverLanguage.g:2030:2: ()
+ // InternalSolverLanguage.g:1943:1: ( () )
+ // InternalSolverLanguage.g:1944:2: ()
{
before(grammarAccess.getTruthValueAccess().getFalseAction_1_0());
- // InternalSolverLanguage.g:2031:2: ()
- // InternalSolverLanguage.g:2031:3:
+ // InternalSolverLanguage.g:1945:2: ()
+ // InternalSolverLanguage.g:1945:3:
{
}
@@ -6686,14 +6419,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TruthValue__Group_1__1"
- // InternalSolverLanguage.g:2039:1: rule__TruthValue__Group_1__1 : rule__TruthValue__Group_1__1__Impl ;
+ // InternalSolverLanguage.g:1953:1: rule__TruthValue__Group_1__1 : rule__TruthValue__Group_1__1__Impl ;
public final void rule__TruthValue__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2043:1: ( rule__TruthValue__Group_1__1__Impl )
- // InternalSolverLanguage.g:2044:2: rule__TruthValue__Group_1__1__Impl
+ // InternalSolverLanguage.g:1957:1: ( rule__TruthValue__Group_1__1__Impl )
+ // InternalSolverLanguage.g:1958:2: rule__TruthValue__Group_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__TruthValue__Group_1__1__Impl();
@@ -6719,17 +6452,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TruthValue__Group_1__1__Impl"
- // InternalSolverLanguage.g:2050:1: rule__TruthValue__Group_1__1__Impl : ( 'false' ) ;
+ // InternalSolverLanguage.g:1964:1: rule__TruthValue__Group_1__1__Impl : ( 'false' ) ;
public final void rule__TruthValue__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2054:1: ( ( 'false' ) )
- // InternalSolverLanguage.g:2055:1: ( 'false' )
+ // InternalSolverLanguage.g:1968:1: ( ( 'false' ) )
+ // InternalSolverLanguage.g:1969:1: ( 'false' )
{
- // InternalSolverLanguage.g:2055:1: ( 'false' )
- // InternalSolverLanguage.g:2056:2: 'false'
+ // InternalSolverLanguage.g:1969:1: ( 'false' )
+ // InternalSolverLanguage.g:1970:2: 'false'
{
before(grammarAccess.getTruthValueAccess().getFalseKeyword_1_1());
match(input,11,FOLLOW_2);
@@ -6756,14 +6489,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TruthValue__Group_2__0"
- // InternalSolverLanguage.g:2066:1: rule__TruthValue__Group_2__0 : rule__TruthValue__Group_2__0__Impl rule__TruthValue__Group_2__1 ;
+ // InternalSolverLanguage.g:1980:1: rule__TruthValue__Group_2__0 : rule__TruthValue__Group_2__0__Impl rule__TruthValue__Group_2__1 ;
public final void rule__TruthValue__Group_2__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2070:1: ( rule__TruthValue__Group_2__0__Impl rule__TruthValue__Group_2__1 )
- // InternalSolverLanguage.g:2071:2: rule__TruthValue__Group_2__0__Impl rule__TruthValue__Group_2__1
+ // InternalSolverLanguage.g:1984:1: ( rule__TruthValue__Group_2__0__Impl rule__TruthValue__Group_2__1 )
+ // InternalSolverLanguage.g:1985:2: rule__TruthValue__Group_2__0__Impl rule__TruthValue__Group_2__1
{
pushFollow(FOLLOW_9);
rule__TruthValue__Group_2__0__Impl();
@@ -6794,21 +6527,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TruthValue__Group_2__0__Impl"
- // InternalSolverLanguage.g:2078:1: rule__TruthValue__Group_2__0__Impl : ( () ) ;
+ // InternalSolverLanguage.g:1992:1: rule__TruthValue__Group_2__0__Impl : ( () ) ;
public final void rule__TruthValue__Group_2__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2082:1: ( ( () ) )
- // InternalSolverLanguage.g:2083:1: ( () )
+ // InternalSolverLanguage.g:1996:1: ( ( () ) )
+ // InternalSolverLanguage.g:1997:1: ( () )
{
- // InternalSolverLanguage.g:2083:1: ( () )
- // InternalSolverLanguage.g:2084:2: ()
+ // InternalSolverLanguage.g:1997:1: ( () )
+ // InternalSolverLanguage.g:1998:2: ()
{
before(grammarAccess.getTruthValueAccess().getUnknownAction_2_0());
- // InternalSolverLanguage.g:2085:2: ()
- // InternalSolverLanguage.g:2085:3:
+ // InternalSolverLanguage.g:1999:2: ()
+ // InternalSolverLanguage.g:1999:3:
{
}
@@ -6831,14 +6564,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TruthValue__Group_2__1"
- // InternalSolverLanguage.g:2093:1: rule__TruthValue__Group_2__1 : rule__TruthValue__Group_2__1__Impl ;
+ // InternalSolverLanguage.g:2007:1: rule__TruthValue__Group_2__1 : rule__TruthValue__Group_2__1__Impl ;
public final void rule__TruthValue__Group_2__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2097:1: ( rule__TruthValue__Group_2__1__Impl )
- // InternalSolverLanguage.g:2098:2: rule__TruthValue__Group_2__1__Impl
+ // InternalSolverLanguage.g:2011:1: ( rule__TruthValue__Group_2__1__Impl )
+ // InternalSolverLanguage.g:2012:2: rule__TruthValue__Group_2__1__Impl
{
pushFollow(FOLLOW_2);
rule__TruthValue__Group_2__1__Impl();
@@ -6864,17 +6597,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TruthValue__Group_2__1__Impl"
- // InternalSolverLanguage.g:2104:1: rule__TruthValue__Group_2__1__Impl : ( 'unknown' ) ;
+ // InternalSolverLanguage.g:2018:1: rule__TruthValue__Group_2__1__Impl : ( 'unknown' ) ;
public final void rule__TruthValue__Group_2__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2108:1: ( ( 'unknown' ) )
- // InternalSolverLanguage.g:2109:1: ( 'unknown' )
+ // InternalSolverLanguage.g:2022:1: ( ( 'unknown' ) )
+ // InternalSolverLanguage.g:2023:1: ( 'unknown' )
{
- // InternalSolverLanguage.g:2109:1: ( 'unknown' )
- // InternalSolverLanguage.g:2110:2: 'unknown'
+ // InternalSolverLanguage.g:2023:1: ( 'unknown' )
+ // InternalSolverLanguage.g:2024:2: 'unknown'
{
before(grammarAccess.getTruthValueAccess().getUnknownKeyword_2_1());
match(input,15,FOLLOW_2);
@@ -6901,14 +6634,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TruthValue__Group_3__0"
- // InternalSolverLanguage.g:2120:1: rule__TruthValue__Group_3__0 : rule__TruthValue__Group_3__0__Impl rule__TruthValue__Group_3__1 ;
+ // InternalSolverLanguage.g:2034:1: rule__TruthValue__Group_3__0 : rule__TruthValue__Group_3__0__Impl rule__TruthValue__Group_3__1 ;
public final void rule__TruthValue__Group_3__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2124:1: ( rule__TruthValue__Group_3__0__Impl rule__TruthValue__Group_3__1 )
- // InternalSolverLanguage.g:2125:2: rule__TruthValue__Group_3__0__Impl rule__TruthValue__Group_3__1
+ // InternalSolverLanguage.g:2038:1: ( rule__TruthValue__Group_3__0__Impl rule__TruthValue__Group_3__1 )
+ // InternalSolverLanguage.g:2039:2: rule__TruthValue__Group_3__0__Impl rule__TruthValue__Group_3__1
{
pushFollow(FOLLOW_10);
rule__TruthValue__Group_3__0__Impl();
@@ -6939,21 +6672,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TruthValue__Group_3__0__Impl"
- // InternalSolverLanguage.g:2132:1: rule__TruthValue__Group_3__0__Impl : ( () ) ;
+ // InternalSolverLanguage.g:2046:1: rule__TruthValue__Group_3__0__Impl : ( () ) ;
public final void rule__TruthValue__Group_3__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2136:1: ( ( () ) )
- // InternalSolverLanguage.g:2137:1: ( () )
+ // InternalSolverLanguage.g:2050:1: ( ( () ) )
+ // InternalSolverLanguage.g:2051:1: ( () )
{
- // InternalSolverLanguage.g:2137:1: ( () )
- // InternalSolverLanguage.g:2138:2: ()
+ // InternalSolverLanguage.g:2051:1: ( () )
+ // InternalSolverLanguage.g:2052:2: ()
{
before(grammarAccess.getTruthValueAccess().getErrorAction_3_0());
- // InternalSolverLanguage.g:2139:2: ()
- // InternalSolverLanguage.g:2139:3:
+ // InternalSolverLanguage.g:2053:2: ()
+ // InternalSolverLanguage.g:2053:3:
{
}
@@ -6976,14 +6709,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TruthValue__Group_3__1"
- // InternalSolverLanguage.g:2147:1: rule__TruthValue__Group_3__1 : rule__TruthValue__Group_3__1__Impl ;
+ // InternalSolverLanguage.g:2061:1: rule__TruthValue__Group_3__1 : rule__TruthValue__Group_3__1__Impl ;
public final void rule__TruthValue__Group_3__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2151:1: ( rule__TruthValue__Group_3__1__Impl )
- // InternalSolverLanguage.g:2152:2: rule__TruthValue__Group_3__1__Impl
+ // InternalSolverLanguage.g:2065:1: ( rule__TruthValue__Group_3__1__Impl )
+ // InternalSolverLanguage.g:2066:2: rule__TruthValue__Group_3__1__Impl
{
pushFollow(FOLLOW_2);
rule__TruthValue__Group_3__1__Impl();
@@ -7009,17 +6742,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TruthValue__Group_3__1__Impl"
- // InternalSolverLanguage.g:2158:1: rule__TruthValue__Group_3__1__Impl : ( 'error' ) ;
+ // InternalSolverLanguage.g:2072:1: rule__TruthValue__Group_3__1__Impl : ( 'error' ) ;
public final void rule__TruthValue__Group_3__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2162:1: ( ( 'error' ) )
- // InternalSolverLanguage.g:2163:1: ( 'error' )
+ // InternalSolverLanguage.g:2076:1: ( ( 'error' ) )
+ // InternalSolverLanguage.g:2077:1: ( 'error' )
{
- // InternalSolverLanguage.g:2163:1: ( 'error' )
- // InternalSolverLanguage.g:2164:2: 'error'
+ // InternalSolverLanguage.g:2077:1: ( 'error' )
+ // InternalSolverLanguage.g:2078:2: 'error'
{
before(grammarAccess.getTruthValueAccess().getErrorKeyword_3_1());
match(input,16,FOLLOW_2);
@@ -7046,14 +6779,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BasicInterpretation__Group__0"
- // InternalSolverLanguage.g:2174:1: rule__BasicInterpretation__Group__0 : rule__BasicInterpretation__Group__0__Impl rule__BasicInterpretation__Group__1 ;
+ // InternalSolverLanguage.g:2088:1: rule__BasicInterpretation__Group__0 : rule__BasicInterpretation__Group__0__Impl rule__BasicInterpretation__Group__1 ;
public final void rule__BasicInterpretation__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2178:1: ( rule__BasicInterpretation__Group__0__Impl rule__BasicInterpretation__Group__1 )
- // InternalSolverLanguage.g:2179:2: rule__BasicInterpretation__Group__0__Impl rule__BasicInterpretation__Group__1
+ // InternalSolverLanguage.g:2092:1: ( rule__BasicInterpretation__Group__0__Impl rule__BasicInterpretation__Group__1 )
+ // InternalSolverLanguage.g:2093:2: rule__BasicInterpretation__Group__0__Impl rule__BasicInterpretation__Group__1
{
pushFollow(FOLLOW_11);
rule__BasicInterpretation__Group__0__Impl();
@@ -7084,21 +6817,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BasicInterpretation__Group__0__Impl"
- // InternalSolverLanguage.g:2186:1: rule__BasicInterpretation__Group__0__Impl : ( ( rule__BasicInterpretation__SymbolAssignment_0 ) ) ;
+ // InternalSolverLanguage.g:2100:1: rule__BasicInterpretation__Group__0__Impl : ( ( rule__BasicInterpretation__SymbolAssignment_0 ) ) ;
public final void rule__BasicInterpretation__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2190:1: ( ( ( rule__BasicInterpretation__SymbolAssignment_0 ) ) )
- // InternalSolverLanguage.g:2191:1: ( ( rule__BasicInterpretation__SymbolAssignment_0 ) )
+ // InternalSolverLanguage.g:2104:1: ( ( ( rule__BasicInterpretation__SymbolAssignment_0 ) ) )
+ // InternalSolverLanguage.g:2105:1: ( ( rule__BasicInterpretation__SymbolAssignment_0 ) )
{
- // InternalSolverLanguage.g:2191:1: ( ( rule__BasicInterpretation__SymbolAssignment_0 ) )
- // InternalSolverLanguage.g:2192:2: ( rule__BasicInterpretation__SymbolAssignment_0 )
+ // InternalSolverLanguage.g:2105:1: ( ( rule__BasicInterpretation__SymbolAssignment_0 ) )
+ // InternalSolverLanguage.g:2106:2: ( rule__BasicInterpretation__SymbolAssignment_0 )
{
before(grammarAccess.getBasicInterpretationAccess().getSymbolAssignment_0());
- // InternalSolverLanguage.g:2193:2: ( rule__BasicInterpretation__SymbolAssignment_0 )
- // InternalSolverLanguage.g:2193:3: rule__BasicInterpretation__SymbolAssignment_0
+ // InternalSolverLanguage.g:2107:2: ( rule__BasicInterpretation__SymbolAssignment_0 )
+ // InternalSolverLanguage.g:2107:3: rule__BasicInterpretation__SymbolAssignment_0
{
pushFollow(FOLLOW_2);
rule__BasicInterpretation__SymbolAssignment_0();
@@ -7131,16 +6864,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BasicInterpretation__Group__1"
- // InternalSolverLanguage.g:2201:1: rule__BasicInterpretation__Group__1 : rule__BasicInterpretation__Group__1__Impl rule__BasicInterpretation__Group__2 ;
+ // InternalSolverLanguage.g:2115:1: rule__BasicInterpretation__Group__1 : rule__BasicInterpretation__Group__1__Impl rule__BasicInterpretation__Group__2 ;
public final void rule__BasicInterpretation__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2205:1: ( rule__BasicInterpretation__Group__1__Impl rule__BasicInterpretation__Group__2 )
- // InternalSolverLanguage.g:2206:2: rule__BasicInterpretation__Group__1__Impl rule__BasicInterpretation__Group__2
+ // InternalSolverLanguage.g:2119:1: ( rule__BasicInterpretation__Group__1__Impl rule__BasicInterpretation__Group__2 )
+ // InternalSolverLanguage.g:2120:2: rule__BasicInterpretation__Group__1__Impl rule__BasicInterpretation__Group__2
{
- pushFollow(FOLLOW_12);
+ pushFollow(FOLLOW_11);
rule__BasicInterpretation__Group__1__Impl();
state._fsp--;
@@ -7169,30 +6902,51 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BasicInterpretation__Group__1__Impl"
- // InternalSolverLanguage.g:2213:1: rule__BasicInterpretation__Group__1__Impl : ( '(' ) ;
+ // InternalSolverLanguage.g:2127:1: rule__BasicInterpretation__Group__1__Impl : ( ( rule__BasicInterpretation__Group_1__0 )? ) ;
public final void rule__BasicInterpretation__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2217:1: ( ( '(' ) )
- // InternalSolverLanguage.g:2218:1: ( '(' )
+ // InternalSolverLanguage.g:2131:1: ( ( ( rule__BasicInterpretation__Group_1__0 )? ) )
+ // InternalSolverLanguage.g:2132:1: ( ( rule__BasicInterpretation__Group_1__0 )? )
{
- // InternalSolverLanguage.g:2218:1: ( '(' )
- // InternalSolverLanguage.g:2219:2: '('
+ // InternalSolverLanguage.g:2132:1: ( ( rule__BasicInterpretation__Group_1__0 )? )
+ // InternalSolverLanguage.g:2133:2: ( rule__BasicInterpretation__Group_1__0 )?
{
- before(grammarAccess.getBasicInterpretationAccess().getLeftParenthesisKeyword_1());
- match(input,17,FOLLOW_2);
- after(grammarAccess.getBasicInterpretationAccess().getLeftParenthesisKeyword_1());
+ before(grammarAccess.getBasicInterpretationAccess().getGroup_1());
+ // InternalSolverLanguage.g:2134:2: ( rule__BasicInterpretation__Group_1__0 )?
+ int alt23=2;
+ int LA23_0 = input.LA(1);
+ if ( (LA23_0==18) ) {
+ alt23=1;
}
+ switch (alt23) {
+ case 1 :
+ // InternalSolverLanguage.g:2134:3: rule__BasicInterpretation__Group_1__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__BasicInterpretation__Group_1__0();
+ state._fsp--;
+
+
+ }
+ break;
}
- }
- catch (RecognitionException re) {
- reportError(re);
+ after(grammarAccess.getBasicInterpretationAccess().getGroup_1());
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
recover(input,re);
}
finally {
@@ -7206,14 +6960,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BasicInterpretation__Group__2"
- // InternalSolverLanguage.g:2228:1: rule__BasicInterpretation__Group__2 : rule__BasicInterpretation__Group__2__Impl rule__BasicInterpretation__Group__3 ;
+ // InternalSolverLanguage.g:2142:1: rule__BasicInterpretation__Group__2 : rule__BasicInterpretation__Group__2__Impl rule__BasicInterpretation__Group__3 ;
public final void rule__BasicInterpretation__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2232:1: ( rule__BasicInterpretation__Group__2__Impl rule__BasicInterpretation__Group__3 )
- // InternalSolverLanguage.g:2233:2: rule__BasicInterpretation__Group__2__Impl rule__BasicInterpretation__Group__3
+ // InternalSolverLanguage.g:2146:1: ( rule__BasicInterpretation__Group__2__Impl rule__BasicInterpretation__Group__3 )
+ // InternalSolverLanguage.g:2147:2: rule__BasicInterpretation__Group__2__Impl rule__BasicInterpretation__Group__3
{
pushFollow(FOLLOW_12);
rule__BasicInterpretation__Group__2__Impl();
@@ -7244,49 +6998,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BasicInterpretation__Group__2__Impl"
- // InternalSolverLanguage.g:2240:1: rule__BasicInterpretation__Group__2__Impl : ( ( rule__BasicInterpretation__ObjectsAssignment_2 )* ) ;
+ // InternalSolverLanguage.g:2154:1: rule__BasicInterpretation__Group__2__Impl : ( ':' ) ;
public final void rule__BasicInterpretation__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2244:1: ( ( ( rule__BasicInterpretation__ObjectsAssignment_2 )* ) )
- // InternalSolverLanguage.g:2245:1: ( ( rule__BasicInterpretation__ObjectsAssignment_2 )* )
+ // InternalSolverLanguage.g:2158:1: ( ( ':' ) )
+ // InternalSolverLanguage.g:2159:1: ( ':' )
{
- // InternalSolverLanguage.g:2245:1: ( ( rule__BasicInterpretation__ObjectsAssignment_2 )* )
- // InternalSolverLanguage.g:2246:2: ( rule__BasicInterpretation__ObjectsAssignment_2 )*
+ // InternalSolverLanguage.g:2159:1: ( ':' )
+ // InternalSolverLanguage.g:2160:2: ':'
{
- before(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_2());
- // InternalSolverLanguage.g:2247:2: ( rule__BasicInterpretation__ObjectsAssignment_2 )*
- loop25:
- do {
- int alt25=2;
- int LA25_0 = input.LA(1);
-
- if ( ((LA25_0>=RULE_INT && LA25_0<=RULE_STRING)||(LA25_0>=11 && LA25_0<=13)||LA25_0==19||LA25_0==26||LA25_0==30) ) {
- alt25=1;
- }
-
-
- switch (alt25) {
- case 1 :
- // InternalSolverLanguage.g:2247:3: rule__BasicInterpretation__ObjectsAssignment_2
- {
- pushFollow(FOLLOW_13);
- rule__BasicInterpretation__ObjectsAssignment_2();
-
- state._fsp--;
-
-
- }
- break;
-
- default :
- break loop25;
- }
- } while (true);
-
- after(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_2());
+ before(grammarAccess.getBasicInterpretationAccess().getColonKeyword_2());
+ match(input,17,FOLLOW_2);
+ after(grammarAccess.getBasicInterpretationAccess().getColonKeyword_2());
}
@@ -7309,22 +7035,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BasicInterpretation__Group__3"
- // InternalSolverLanguage.g:2255:1: rule__BasicInterpretation__Group__3 : rule__BasicInterpretation__Group__3__Impl rule__BasicInterpretation__Group__4 ;
+ // InternalSolverLanguage.g:2169:1: rule__BasicInterpretation__Group__3 : rule__BasicInterpretation__Group__3__Impl ;
public final void rule__BasicInterpretation__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2259:1: ( rule__BasicInterpretation__Group__3__Impl rule__BasicInterpretation__Group__4 )
- // InternalSolverLanguage.g:2260:2: rule__BasicInterpretation__Group__3__Impl rule__BasicInterpretation__Group__4
+ // InternalSolverLanguage.g:2173:1: ( rule__BasicInterpretation__Group__3__Impl )
+ // InternalSolverLanguage.g:2174:2: rule__BasicInterpretation__Group__3__Impl
{
- pushFollow(FOLLOW_14);
- rule__BasicInterpretation__Group__3__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__BasicInterpretation__Group__4();
+ rule__BasicInterpretation__Group__3__Impl();
state._fsp--;
@@ -7347,21 +7068,31 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BasicInterpretation__Group__3__Impl"
- // InternalSolverLanguage.g:2267:1: rule__BasicInterpretation__Group__3__Impl : ( ')' ) ;
+ // InternalSolverLanguage.g:2180:1: rule__BasicInterpretation__Group__3__Impl : ( ( rule__BasicInterpretation__ValueAssignment_3 ) ) ;
public final void rule__BasicInterpretation__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2271:1: ( ( ')' ) )
- // InternalSolverLanguage.g:2272:1: ( ')' )
+ // InternalSolverLanguage.g:2184:1: ( ( ( rule__BasicInterpretation__ValueAssignment_3 ) ) )
+ // InternalSolverLanguage.g:2185:1: ( ( rule__BasicInterpretation__ValueAssignment_3 ) )
{
- // InternalSolverLanguage.g:2272:1: ( ')' )
- // InternalSolverLanguage.g:2273:2: ')'
+ // InternalSolverLanguage.g:2185:1: ( ( rule__BasicInterpretation__ValueAssignment_3 ) )
+ // InternalSolverLanguage.g:2186:2: ( rule__BasicInterpretation__ValueAssignment_3 )
{
- before(grammarAccess.getBasicInterpretationAccess().getRightParenthesisKeyword_3());
- match(input,18,FOLLOW_2);
- after(grammarAccess.getBasicInterpretationAccess().getRightParenthesisKeyword_3());
+ before(grammarAccess.getBasicInterpretationAccess().getValueAssignment_3());
+ // InternalSolverLanguage.g:2187:2: ( rule__BasicInterpretation__ValueAssignment_3 )
+ // InternalSolverLanguage.g:2187:3: rule__BasicInterpretation__ValueAssignment_3
+ {
+ pushFollow(FOLLOW_2);
+ rule__BasicInterpretation__ValueAssignment_3();
+
+ state._fsp--;
+
+
+ }
+
+ after(grammarAccess.getBasicInterpretationAccess().getValueAssignment_3());
}
@@ -7383,23 +7114,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR end "rule__BasicInterpretation__Group__3__Impl"
- // $ANTLR start "rule__BasicInterpretation__Group__4"
- // InternalSolverLanguage.g:2282:1: rule__BasicInterpretation__Group__4 : rule__BasicInterpretation__Group__4__Impl rule__BasicInterpretation__Group__5 ;
- public final void rule__BasicInterpretation__Group__4() throws RecognitionException {
+ // $ANTLR start "rule__BasicInterpretation__Group_1__0"
+ // InternalSolverLanguage.g:2196:1: rule__BasicInterpretation__Group_1__0 : rule__BasicInterpretation__Group_1__0__Impl rule__BasicInterpretation__Group_1__1 ;
+ public final void rule__BasicInterpretation__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2286:1: ( rule__BasicInterpretation__Group__4__Impl rule__BasicInterpretation__Group__5 )
- // InternalSolverLanguage.g:2287:2: rule__BasicInterpretation__Group__4__Impl rule__BasicInterpretation__Group__5
+ // InternalSolverLanguage.g:2200:1: ( rule__BasicInterpretation__Group_1__0__Impl rule__BasicInterpretation__Group_1__1 )
+ // InternalSolverLanguage.g:2201:2: rule__BasicInterpretation__Group_1__0__Impl rule__BasicInterpretation__Group_1__1
{
- pushFollow(FOLLOW_15);
- rule__BasicInterpretation__Group__4__Impl();
+ pushFollow(FOLLOW_13);
+ rule__BasicInterpretation__Group_1__0__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__BasicInterpretation__Group__5();
+ rule__BasicInterpretation__Group_1__1();
state._fsp--;
@@ -7418,25 +7149,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__BasicInterpretation__Group__4"
+ // $ANTLR end "rule__BasicInterpretation__Group_1__0"
- // $ANTLR start "rule__BasicInterpretation__Group__4__Impl"
- // InternalSolverLanguage.g:2294:1: rule__BasicInterpretation__Group__4__Impl : ( ':' ) ;
- public final void rule__BasicInterpretation__Group__4__Impl() throws RecognitionException {
+ // $ANTLR start "rule__BasicInterpretation__Group_1__0__Impl"
+ // InternalSolverLanguage.g:2208:1: rule__BasicInterpretation__Group_1__0__Impl : ( '(' ) ;
+ public final void rule__BasicInterpretation__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2298:1: ( ( ':' ) )
- // InternalSolverLanguage.g:2299:1: ( ':' )
+ // InternalSolverLanguage.g:2212:1: ( ( '(' ) )
+ // InternalSolverLanguage.g:2213:1: ( '(' )
{
- // InternalSolverLanguage.g:2299:1: ( ':' )
- // InternalSolverLanguage.g:2300:2: ':'
+ // InternalSolverLanguage.g:2213:1: ( '(' )
+ // InternalSolverLanguage.g:2214:2: '('
{
- before(grammarAccess.getBasicInterpretationAccess().getColonKeyword_4());
- match(input,19,FOLLOW_2);
- after(grammarAccess.getBasicInterpretationAccess().getColonKeyword_4());
+ before(grammarAccess.getBasicInterpretationAccess().getLeftParenthesisKeyword_1_0());
+ match(input,18,FOLLOW_2);
+ after(grammarAccess.getBasicInterpretationAccess().getLeftParenthesisKeyword_1_0());
}
@@ -7455,21 +7186,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__BasicInterpretation__Group__4__Impl"
+ // $ANTLR end "rule__BasicInterpretation__Group_1__0__Impl"
- // $ANTLR start "rule__BasicInterpretation__Group__5"
- // InternalSolverLanguage.g:2309:1: rule__BasicInterpretation__Group__5 : rule__BasicInterpretation__Group__5__Impl ;
- public final void rule__BasicInterpretation__Group__5() throws RecognitionException {
+ // $ANTLR start "rule__BasicInterpretation__Group_1__1"
+ // InternalSolverLanguage.g:2223:1: rule__BasicInterpretation__Group_1__1 : rule__BasicInterpretation__Group_1__1__Impl rule__BasicInterpretation__Group_1__2 ;
+ public final void rule__BasicInterpretation__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2313:1: ( rule__BasicInterpretation__Group__5__Impl )
- // InternalSolverLanguage.g:2314:2: rule__BasicInterpretation__Group__5__Impl
+ // InternalSolverLanguage.g:2227:1: ( rule__BasicInterpretation__Group_1__1__Impl rule__BasicInterpretation__Group_1__2 )
+ // InternalSolverLanguage.g:2228:2: rule__BasicInterpretation__Group_1__1__Impl rule__BasicInterpretation__Group_1__2
{
+ pushFollow(FOLLOW_13);
+ rule__BasicInterpretation__Group_1__1__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__BasicInterpretation__Group__5__Impl();
+ rule__BasicInterpretation__Group_1__2();
state._fsp--;
@@ -7488,35 +7224,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__BasicInterpretation__Group__5"
+ // $ANTLR end "rule__BasicInterpretation__Group_1__1"
- // $ANTLR start "rule__BasicInterpretation__Group__5__Impl"
- // InternalSolverLanguage.g:2320:1: rule__BasicInterpretation__Group__5__Impl : ( ( rule__BasicInterpretation__ValueAssignment_5 ) ) ;
- public final void rule__BasicInterpretation__Group__5__Impl() throws RecognitionException {
+ // $ANTLR start "rule__BasicInterpretation__Group_1__1__Impl"
+ // InternalSolverLanguage.g:2235:1: rule__BasicInterpretation__Group_1__1__Impl : ( ( rule__BasicInterpretation__Group_1_1__0 )? ) ;
+ public final void rule__BasicInterpretation__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2324:1: ( ( ( rule__BasicInterpretation__ValueAssignment_5 ) ) )
- // InternalSolverLanguage.g:2325:1: ( ( rule__BasicInterpretation__ValueAssignment_5 ) )
+ // InternalSolverLanguage.g:2239:1: ( ( ( rule__BasicInterpretation__Group_1_1__0 )? ) )
+ // InternalSolverLanguage.g:2240:1: ( ( rule__BasicInterpretation__Group_1_1__0 )? )
{
- // InternalSolverLanguage.g:2325:1: ( ( rule__BasicInterpretation__ValueAssignment_5 ) )
- // InternalSolverLanguage.g:2326:2: ( rule__BasicInterpretation__ValueAssignment_5 )
+ // InternalSolverLanguage.g:2240:1: ( ( rule__BasicInterpretation__Group_1_1__0 )? )
+ // InternalSolverLanguage.g:2241:2: ( rule__BasicInterpretation__Group_1_1__0 )?
{
- before(grammarAccess.getBasicInterpretationAccess().getValueAssignment_5());
- // InternalSolverLanguage.g:2327:2: ( rule__BasicInterpretation__ValueAssignment_5 )
- // InternalSolverLanguage.g:2327:3: rule__BasicInterpretation__ValueAssignment_5
- {
- pushFollow(FOLLOW_2);
- rule__BasicInterpretation__ValueAssignment_5();
+ before(grammarAccess.getBasicInterpretationAccess().getGroup_1_1());
+ // InternalSolverLanguage.g:2242:2: ( rule__BasicInterpretation__Group_1_1__0 )?
+ int alt24=2;
+ int LA24_0 = input.LA(1);
+
+ if ( ((LA24_0>=RULE_INT && LA24_0<=RULE_STRING)||(LA24_0>=11 && LA24_0<=13)||LA24_0==17||LA24_0==27||LA24_0==31) ) {
+ alt24=1;
+ }
+ switch (alt24) {
+ case 1 :
+ // InternalSolverLanguage.g:2242:3: rule__BasicInterpretation__Group_1_1__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__BasicInterpretation__Group_1_1__0();
+
+ state._fsp--;
- state._fsp--;
+ }
+ break;
}
- after(grammarAccess.getBasicInterpretationAccess().getValueAssignment_5());
+ after(grammarAccess.getBasicInterpretationAccess().getGroup_1_1());
}
@@ -7535,26 +7282,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__BasicInterpretation__Group__5__Impl"
+ // $ANTLR end "rule__BasicInterpretation__Group_1__1__Impl"
- // $ANTLR start "rule__ExistSymbol__Group__0"
- // InternalSolverLanguage.g:2336:1: rule__ExistSymbol__Group__0 : rule__ExistSymbol__Group__0__Impl rule__ExistSymbol__Group__1 ;
- public final void rule__ExistSymbol__Group__0() throws RecognitionException {
+ // $ANTLR start "rule__BasicInterpretation__Group_1__2"
+ // InternalSolverLanguage.g:2250:1: rule__BasicInterpretation__Group_1__2 : rule__BasicInterpretation__Group_1__2__Impl ;
+ public final void rule__BasicInterpretation__Group_1__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2340:1: ( rule__ExistSymbol__Group__0__Impl rule__ExistSymbol__Group__1 )
- // InternalSolverLanguage.g:2341:2: rule__ExistSymbol__Group__0__Impl rule__ExistSymbol__Group__1
+ // InternalSolverLanguage.g:2254:1: ( rule__BasicInterpretation__Group_1__2__Impl )
+ // InternalSolverLanguage.g:2255:2: rule__BasicInterpretation__Group_1__2__Impl
{
- pushFollow(FOLLOW_1);
- rule__ExistSymbol__Group__0__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__ExistSymbol__Group__1();
+ rule__BasicInterpretation__Group_1__2__Impl();
state._fsp--;
@@ -7573,25 +7315,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ExistSymbol__Group__0"
+ // $ANTLR end "rule__BasicInterpretation__Group_1__2"
- // $ANTLR start "rule__ExistSymbol__Group__0__Impl"
- // InternalSolverLanguage.g:2348:1: rule__ExistSymbol__Group__0__Impl : ( 'exists' ) ;
- public final void rule__ExistSymbol__Group__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__BasicInterpretation__Group_1__2__Impl"
+ // InternalSolverLanguage.g:2261:1: rule__BasicInterpretation__Group_1__2__Impl : ( ')' ) ;
+ public final void rule__BasicInterpretation__Group_1__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2352:1: ( ( 'exists' ) )
- // InternalSolverLanguage.g:2353:1: ( 'exists' )
+ // InternalSolverLanguage.g:2265:1: ( ( ')' ) )
+ // InternalSolverLanguage.g:2266:1: ( ')' )
{
- // InternalSolverLanguage.g:2353:1: ( 'exists' )
- // InternalSolverLanguage.g:2354:2: 'exists'
+ // InternalSolverLanguage.g:2266:1: ( ')' )
+ // InternalSolverLanguage.g:2267:2: ')'
{
- before(grammarAccess.getExistSymbolAccess().getExistsKeyword_0());
- match(input,20,FOLLOW_2);
- after(grammarAccess.getExistSymbolAccess().getExistsKeyword_0());
+ before(grammarAccess.getBasicInterpretationAccess().getRightParenthesisKeyword_1_2());
+ match(input,19,FOLLOW_2);
+ after(grammarAccess.getBasicInterpretationAccess().getRightParenthesisKeyword_1_2());
}
@@ -7610,21 +7352,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ExistSymbol__Group__0__Impl"
+ // $ANTLR end "rule__BasicInterpretation__Group_1__2__Impl"
- // $ANTLR start "rule__ExistSymbol__Group__1"
- // InternalSolverLanguage.g:2363:1: rule__ExistSymbol__Group__1 : rule__ExistSymbol__Group__1__Impl ;
- public final void rule__ExistSymbol__Group__1() throws RecognitionException {
+ // $ANTLR start "rule__BasicInterpretation__Group_1_1__0"
+ // InternalSolverLanguage.g:2277:1: rule__BasicInterpretation__Group_1_1__0 : rule__BasicInterpretation__Group_1_1__0__Impl rule__BasicInterpretation__Group_1_1__1 ;
+ public final void rule__BasicInterpretation__Group_1_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2367:1: ( rule__ExistSymbol__Group__1__Impl )
- // InternalSolverLanguage.g:2368:2: rule__ExistSymbol__Group__1__Impl
+ // InternalSolverLanguage.g:2281:1: ( rule__BasicInterpretation__Group_1_1__0__Impl rule__BasicInterpretation__Group_1_1__1 )
+ // InternalSolverLanguage.g:2282:2: rule__BasicInterpretation__Group_1_1__0__Impl rule__BasicInterpretation__Group_1_1__1
{
+ pushFollow(FOLLOW_14);
+ rule__BasicInterpretation__Group_1_1__0__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__ExistSymbol__Group__1__Impl();
+ rule__BasicInterpretation__Group_1_1__1();
state._fsp--;
@@ -7643,29 +7390,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ExistSymbol__Group__1"
+ // $ANTLR end "rule__BasicInterpretation__Group_1_1__0"
- // $ANTLR start "rule__ExistSymbol__Group__1__Impl"
- // InternalSolverLanguage.g:2374:1: rule__ExistSymbol__Group__1__Impl : ( () ) ;
- public final void rule__ExistSymbol__Group__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__BasicInterpretation__Group_1_1__0__Impl"
+ // InternalSolverLanguage.g:2289:1: rule__BasicInterpretation__Group_1_1__0__Impl : ( ( rule__BasicInterpretation__ObjectsAssignment_1_1_0 ) ) ;
+ public final void rule__BasicInterpretation__Group_1_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2378:1: ( ( () ) )
- // InternalSolverLanguage.g:2379:1: ( () )
+ // InternalSolverLanguage.g:2293:1: ( ( ( rule__BasicInterpretation__ObjectsAssignment_1_1_0 ) ) )
+ // InternalSolverLanguage.g:2294:1: ( ( rule__BasicInterpretation__ObjectsAssignment_1_1_0 ) )
{
- // InternalSolverLanguage.g:2379:1: ( () )
- // InternalSolverLanguage.g:2380:2: ()
+ // InternalSolverLanguage.g:2294:1: ( ( rule__BasicInterpretation__ObjectsAssignment_1_1_0 ) )
+ // InternalSolverLanguage.g:2295:2: ( rule__BasicInterpretation__ObjectsAssignment_1_1_0 )
{
- before(grammarAccess.getExistSymbolAccess().getExistSymbolAction_1());
- // InternalSolverLanguage.g:2381:2: ()
- // InternalSolverLanguage.g:2381:3:
+ before(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_1_1_0());
+ // InternalSolverLanguage.g:2296:2: ( rule__BasicInterpretation__ObjectsAssignment_1_1_0 )
+ // InternalSolverLanguage.g:2296:3: rule__BasicInterpretation__ObjectsAssignment_1_1_0
{
+ pushFollow(FOLLOW_2);
+ rule__BasicInterpretation__ObjectsAssignment_1_1_0();
+
+ state._fsp--;
+
+
}
- after(grammarAccess.getExistSymbolAccess().getExistSymbolAction_1());
+ after(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_1_1_0());
}
@@ -7673,6 +7426,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
}
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
finally {
restoreStackSize(stackSize);
@@ -7680,26 +7437,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ExistSymbol__Group__1__Impl"
+ // $ANTLR end "rule__BasicInterpretation__Group_1_1__0__Impl"
- // $ANTLR start "rule__EqualsSymbol__Group__0"
- // InternalSolverLanguage.g:2390:1: rule__EqualsSymbol__Group__0 : rule__EqualsSymbol__Group__0__Impl rule__EqualsSymbol__Group__1 ;
- public final void rule__EqualsSymbol__Group__0() throws RecognitionException {
+ // $ANTLR start "rule__BasicInterpretation__Group_1_1__1"
+ // InternalSolverLanguage.g:2304:1: rule__BasicInterpretation__Group_1_1__1 : rule__BasicInterpretation__Group_1_1__1__Impl ;
+ public final void rule__BasicInterpretation__Group_1_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2394:1: ( rule__EqualsSymbol__Group__0__Impl rule__EqualsSymbol__Group__1 )
- // InternalSolverLanguage.g:2395:2: rule__EqualsSymbol__Group__0__Impl rule__EqualsSymbol__Group__1
+ // InternalSolverLanguage.g:2308:1: ( rule__BasicInterpretation__Group_1_1__1__Impl )
+ // InternalSolverLanguage.g:2309:2: rule__BasicInterpretation__Group_1_1__1__Impl
{
- pushFollow(FOLLOW_1);
- rule__EqualsSymbol__Group__0__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__EqualsSymbol__Group__1();
+ rule__BasicInterpretation__Group_1_1__1__Impl();
state._fsp--;
@@ -7718,25 +7470,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__EqualsSymbol__Group__0"
+ // $ANTLR end "rule__BasicInterpretation__Group_1_1__1"
- // $ANTLR start "rule__EqualsSymbol__Group__0__Impl"
- // InternalSolverLanguage.g:2402:1: rule__EqualsSymbol__Group__0__Impl : ( 'equals' ) ;
- public final void rule__EqualsSymbol__Group__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__BasicInterpretation__Group_1_1__1__Impl"
+ // InternalSolverLanguage.g:2315:1: rule__BasicInterpretation__Group_1_1__1__Impl : ( ( rule__BasicInterpretation__Group_1_1_1__0 )* ) ;
+ public final void rule__BasicInterpretation__Group_1_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2406:1: ( ( 'equals' ) )
- // InternalSolverLanguage.g:2407:1: ( 'equals' )
+ // InternalSolverLanguage.g:2319:1: ( ( ( rule__BasicInterpretation__Group_1_1_1__0 )* ) )
+ // InternalSolverLanguage.g:2320:1: ( ( rule__BasicInterpretation__Group_1_1_1__0 )* )
{
- // InternalSolverLanguage.g:2407:1: ( 'equals' )
- // InternalSolverLanguage.g:2408:2: 'equals'
+ // InternalSolverLanguage.g:2320:1: ( ( rule__BasicInterpretation__Group_1_1_1__0 )* )
+ // InternalSolverLanguage.g:2321:2: ( rule__BasicInterpretation__Group_1_1_1__0 )*
{
- before(grammarAccess.getEqualsSymbolAccess().getEqualsKeyword_0());
- match(input,21,FOLLOW_2);
- after(grammarAccess.getEqualsSymbolAccess().getEqualsKeyword_0());
+ before(grammarAccess.getBasicInterpretationAccess().getGroup_1_1_1());
+ // InternalSolverLanguage.g:2322:2: ( rule__BasicInterpretation__Group_1_1_1__0 )*
+ loop25:
+ do {
+ int alt25=2;
+ int LA25_0 = input.LA(1);
+
+ if ( (LA25_0==20) ) {
+ alt25=1;
+ }
+
+
+ switch (alt25) {
+ case 1 :
+ // InternalSolverLanguage.g:2322:3: rule__BasicInterpretation__Group_1_1_1__0
+ {
+ pushFollow(FOLLOW_15);
+ rule__BasicInterpretation__Group_1_1_1__0();
+
+ state._fsp--;
+
+
+ }
+ break;
+
+ default :
+ break loop25;
+ }
+ } while (true);
+
+ after(grammarAccess.getBasicInterpretationAccess().getGroup_1_1_1());
}
@@ -7755,21 +7535,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__EqualsSymbol__Group__0__Impl"
+ // $ANTLR end "rule__BasicInterpretation__Group_1_1__1__Impl"
- // $ANTLR start "rule__EqualsSymbol__Group__1"
- // InternalSolverLanguage.g:2417:1: rule__EqualsSymbol__Group__1 : rule__EqualsSymbol__Group__1__Impl ;
- public final void rule__EqualsSymbol__Group__1() throws RecognitionException {
+ // $ANTLR start "rule__BasicInterpretation__Group_1_1_1__0"
+ // InternalSolverLanguage.g:2331:1: rule__BasicInterpretation__Group_1_1_1__0 : rule__BasicInterpretation__Group_1_1_1__0__Impl rule__BasicInterpretation__Group_1_1_1__1 ;
+ public final void rule__BasicInterpretation__Group_1_1_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2421:1: ( rule__EqualsSymbol__Group__1__Impl )
- // InternalSolverLanguage.g:2422:2: rule__EqualsSymbol__Group__1__Impl
+ // InternalSolverLanguage.g:2335:1: ( rule__BasicInterpretation__Group_1_1_1__0__Impl rule__BasicInterpretation__Group_1_1_1__1 )
+ // InternalSolverLanguage.g:2336:2: rule__BasicInterpretation__Group_1_1_1__0__Impl rule__BasicInterpretation__Group_1_1_1__1
{
+ pushFollow(FOLLOW_16);
+ rule__BasicInterpretation__Group_1_1_1__0__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__EqualsSymbol__Group__1__Impl();
+ rule__BasicInterpretation__Group_1_1_1__1();
state._fsp--;
@@ -7788,29 +7573,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__EqualsSymbol__Group__1"
+ // $ANTLR end "rule__BasicInterpretation__Group_1_1_1__0"
- // $ANTLR start "rule__EqualsSymbol__Group__1__Impl"
- // InternalSolverLanguage.g:2428:1: rule__EqualsSymbol__Group__1__Impl : ( () ) ;
- public final void rule__EqualsSymbol__Group__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__BasicInterpretation__Group_1_1_1__0__Impl"
+ // InternalSolverLanguage.g:2343:1: rule__BasicInterpretation__Group_1_1_1__0__Impl : ( ',' ) ;
+ public final void rule__BasicInterpretation__Group_1_1_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2432:1: ( ( () ) )
- // InternalSolverLanguage.g:2433:1: ( () )
- {
- // InternalSolverLanguage.g:2433:1: ( () )
- // InternalSolverLanguage.g:2434:2: ()
+ // InternalSolverLanguage.g:2347:1: ( ( ',' ) )
+ // InternalSolverLanguage.g:2348:1: ( ',' )
{
- before(grammarAccess.getEqualsSymbolAccess().getEqualsSymbolAction_1());
- // InternalSolverLanguage.g:2435:2: ()
- // InternalSolverLanguage.g:2435:3:
+ // InternalSolverLanguage.g:2348:1: ( ',' )
+ // InternalSolverLanguage.g:2349:2: ','
{
- }
-
- after(grammarAccess.getEqualsSymbolAccess().getEqualsSymbolAction_1());
+ before(grammarAccess.getBasicInterpretationAccess().getCommaKeyword_1_1_1_0());
+ match(input,20,FOLLOW_2);
+ after(grammarAccess.getBasicInterpretationAccess().getCommaKeyword_1_1_1_0());
}
@@ -7818,6 +7599,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
}
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
finally {
restoreStackSize(stackSize);
@@ -7825,26 +7610,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__EqualsSymbol__Group__1__Impl"
+ // $ANTLR end "rule__BasicInterpretation__Group_1_1_1__0__Impl"
- // $ANTLR start "rule__BooleanSymbol__Group__0"
- // InternalSolverLanguage.g:2444:1: rule__BooleanSymbol__Group__0 : rule__BooleanSymbol__Group__0__Impl rule__BooleanSymbol__Group__1 ;
- public final void rule__BooleanSymbol__Group__0() throws RecognitionException {
+ // $ANTLR start "rule__BasicInterpretation__Group_1_1_1__1"
+ // InternalSolverLanguage.g:2358:1: rule__BasicInterpretation__Group_1_1_1__1 : rule__BasicInterpretation__Group_1_1_1__1__Impl ;
+ public final void rule__BasicInterpretation__Group_1_1_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2448:1: ( rule__BooleanSymbol__Group__0__Impl rule__BooleanSymbol__Group__1 )
- // InternalSolverLanguage.g:2449:2: rule__BooleanSymbol__Group__0__Impl rule__BooleanSymbol__Group__1
+ // InternalSolverLanguage.g:2362:1: ( rule__BasicInterpretation__Group_1_1_1__1__Impl )
+ // InternalSolverLanguage.g:2363:2: rule__BasicInterpretation__Group_1_1_1__1__Impl
{
- pushFollow(FOLLOW_1);
- rule__BooleanSymbol__Group__0__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__BooleanSymbol__Group__1();
+ rule__BasicInterpretation__Group_1_1_1__1__Impl();
state._fsp--;
@@ -7863,25 +7643,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__BooleanSymbol__Group__0"
+ // $ANTLR end "rule__BasicInterpretation__Group_1_1_1__1"
- // $ANTLR start "rule__BooleanSymbol__Group__0__Impl"
- // InternalSolverLanguage.g:2456:1: rule__BooleanSymbol__Group__0__Impl : ( 'bool' ) ;
- public final void rule__BooleanSymbol__Group__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__BasicInterpretation__Group_1_1_1__1__Impl"
+ // InternalSolverLanguage.g:2369:1: rule__BasicInterpretation__Group_1_1_1__1__Impl : ( ( rule__BasicInterpretation__ObjectsAssignment_1_1_1_1 ) ) ;
+ public final void rule__BasicInterpretation__Group_1_1_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2460:1: ( ( 'bool' ) )
- // InternalSolverLanguage.g:2461:1: ( 'bool' )
+ // InternalSolverLanguage.g:2373:1: ( ( ( rule__BasicInterpretation__ObjectsAssignment_1_1_1_1 ) ) )
+ // InternalSolverLanguage.g:2374:1: ( ( rule__BasicInterpretation__ObjectsAssignment_1_1_1_1 ) )
{
- // InternalSolverLanguage.g:2461:1: ( 'bool' )
- // InternalSolverLanguage.g:2462:2: 'bool'
+ // InternalSolverLanguage.g:2374:1: ( ( rule__BasicInterpretation__ObjectsAssignment_1_1_1_1 ) )
+ // InternalSolverLanguage.g:2375:2: ( rule__BasicInterpretation__ObjectsAssignment_1_1_1_1 )
{
- before(grammarAccess.getBooleanSymbolAccess().getBoolKeyword_0());
- match(input,22,FOLLOW_2);
- after(grammarAccess.getBooleanSymbolAccess().getBoolKeyword_0());
+ before(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_1_1_1_1());
+ // InternalSolverLanguage.g:2376:2: ( rule__BasicInterpretation__ObjectsAssignment_1_1_1_1 )
+ // InternalSolverLanguage.g:2376:3: rule__BasicInterpretation__ObjectsAssignment_1_1_1_1
+ {
+ pushFollow(FOLLOW_2);
+ rule__BasicInterpretation__ObjectsAssignment_1_1_1_1();
+
+ state._fsp--;
+
+
+ }
+
+ after(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_1_1_1_1());
}
@@ -7900,21 +7690,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__BooleanSymbol__Group__0__Impl"
+ // $ANTLR end "rule__BasicInterpretation__Group_1_1_1__1__Impl"
- // $ANTLR start "rule__BooleanSymbol__Group__1"
- // InternalSolverLanguage.g:2471:1: rule__BooleanSymbol__Group__1 : rule__BooleanSymbol__Group__1__Impl ;
- public final void rule__BooleanSymbol__Group__1() throws RecognitionException {
+ // $ANTLR start "rule__ExistSymbol__Group__0"
+ // InternalSolverLanguage.g:2385:1: rule__ExistSymbol__Group__0 : rule__ExistSymbol__Group__0__Impl rule__ExistSymbol__Group__1 ;
+ public final void rule__ExistSymbol__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2475:1: ( rule__BooleanSymbol__Group__1__Impl )
- // InternalSolverLanguage.g:2476:2: rule__BooleanSymbol__Group__1__Impl
+ // InternalSolverLanguage.g:2389:1: ( rule__ExistSymbol__Group__0__Impl rule__ExistSymbol__Group__1 )
+ // InternalSolverLanguage.g:2390:2: rule__ExistSymbol__Group__0__Impl rule__ExistSymbol__Group__1
{
+ pushFollow(FOLLOW_1);
+ rule__ExistSymbol__Group__0__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__BooleanSymbol__Group__1__Impl();
+ rule__ExistSymbol__Group__1();
state._fsp--;
@@ -7933,29 +7728,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__BooleanSymbol__Group__1"
+ // $ANTLR end "rule__ExistSymbol__Group__0"
- // $ANTLR start "rule__BooleanSymbol__Group__1__Impl"
- // InternalSolverLanguage.g:2482:1: rule__BooleanSymbol__Group__1__Impl : ( () ) ;
- public final void rule__BooleanSymbol__Group__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__ExistSymbol__Group__0__Impl"
+ // InternalSolverLanguage.g:2397:1: rule__ExistSymbol__Group__0__Impl : ( 'exists' ) ;
+ public final void rule__ExistSymbol__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2486:1: ( ( () ) )
- // InternalSolverLanguage.g:2487:1: ( () )
+ // InternalSolverLanguage.g:2401:1: ( ( 'exists' ) )
+ // InternalSolverLanguage.g:2402:1: ( 'exists' )
{
- // InternalSolverLanguage.g:2487:1: ( () )
- // InternalSolverLanguage.g:2488:2: ()
+ // InternalSolverLanguage.g:2402:1: ( 'exists' )
+ // InternalSolverLanguage.g:2403:2: 'exists'
{
- before(grammarAccess.getBooleanSymbolAccess().getBooleanSymbolAction_1());
- // InternalSolverLanguage.g:2489:2: ()
- // InternalSolverLanguage.g:2489:3:
- {
- }
-
- after(grammarAccess.getBooleanSymbolAccess().getBooleanSymbolAction_1());
+ before(grammarAccess.getExistSymbolAccess().getExistsKeyword_0());
+ match(input,21,FOLLOW_2);
+ after(grammarAccess.getExistSymbolAccess().getExistsKeyword_0());
}
@@ -7963,6 +7754,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
}
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
finally {
restoreStackSize(stackSize);
@@ -7970,26 +7765,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__BooleanSymbol__Group__1__Impl"
+ // $ANTLR end "rule__ExistSymbol__Group__0__Impl"
- // $ANTLR start "rule__IntegerSymbol__Group__0"
- // InternalSolverLanguage.g:2498:1: rule__IntegerSymbol__Group__0 : rule__IntegerSymbol__Group__0__Impl rule__IntegerSymbol__Group__1 ;
- public final void rule__IntegerSymbol__Group__0() throws RecognitionException {
+ // $ANTLR start "rule__ExistSymbol__Group__1"
+ // InternalSolverLanguage.g:2412:1: rule__ExistSymbol__Group__1 : rule__ExistSymbol__Group__1__Impl ;
+ public final void rule__ExistSymbol__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2502:1: ( rule__IntegerSymbol__Group__0__Impl rule__IntegerSymbol__Group__1 )
- // InternalSolverLanguage.g:2503:2: rule__IntegerSymbol__Group__0__Impl rule__IntegerSymbol__Group__1
+ // InternalSolverLanguage.g:2416:1: ( rule__ExistSymbol__Group__1__Impl )
+ // InternalSolverLanguage.g:2417:2: rule__ExistSymbol__Group__1__Impl
{
- pushFollow(FOLLOW_1);
- rule__IntegerSymbol__Group__0__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__IntegerSymbol__Group__1();
+ rule__ExistSymbol__Group__1__Impl();
state._fsp--;
@@ -8008,25 +7798,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__IntegerSymbol__Group__0"
+ // $ANTLR end "rule__ExistSymbol__Group__1"
- // $ANTLR start "rule__IntegerSymbol__Group__0__Impl"
- // InternalSolverLanguage.g:2510:1: rule__IntegerSymbol__Group__0__Impl : ( 'int' ) ;
- public final void rule__IntegerSymbol__Group__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__ExistSymbol__Group__1__Impl"
+ // InternalSolverLanguage.g:2423:1: rule__ExistSymbol__Group__1__Impl : ( () ) ;
+ public final void rule__ExistSymbol__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2514:1: ( ( 'int' ) )
- // InternalSolverLanguage.g:2515:1: ( 'int' )
+ // InternalSolverLanguage.g:2427:1: ( ( () ) )
+ // InternalSolverLanguage.g:2428:1: ( () )
{
- // InternalSolverLanguage.g:2515:1: ( 'int' )
- // InternalSolverLanguage.g:2516:2: 'int'
+ // InternalSolverLanguage.g:2428:1: ( () )
+ // InternalSolverLanguage.g:2429:2: ()
{
- before(grammarAccess.getIntegerSymbolAccess().getIntKeyword_0());
- match(input,23,FOLLOW_2);
- after(grammarAccess.getIntegerSymbolAccess().getIntKeyword_0());
+ before(grammarAccess.getExistSymbolAccess().getExistSymbolAction_1());
+ // InternalSolverLanguage.g:2430:2: ()
+ // InternalSolverLanguage.g:2430:3:
+ {
+ }
+
+ after(grammarAccess.getExistSymbolAccess().getExistSymbolAction_1());
}
@@ -8034,10 +7828,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
}
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
finally {
restoreStackSize(stackSize);
@@ -8045,21 +7835,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__IntegerSymbol__Group__0__Impl"
-
+ // $ANTLR end "rule__ExistSymbol__Group__1__Impl"
- // $ANTLR start "rule__IntegerSymbol__Group__1"
- // InternalSolverLanguage.g:2525:1: rule__IntegerSymbol__Group__1 : rule__IntegerSymbol__Group__1__Impl ;
- public final void rule__IntegerSymbol__Group__1() throws RecognitionException {
+
+ // $ANTLR start "rule__EqualsSymbol__Group__0"
+ // InternalSolverLanguage.g:2439:1: rule__EqualsSymbol__Group__0 : rule__EqualsSymbol__Group__0__Impl rule__EqualsSymbol__Group__1 ;
+ public final void rule__EqualsSymbol__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2529:1: ( rule__IntegerSymbol__Group__1__Impl )
- // InternalSolverLanguage.g:2530:2: rule__IntegerSymbol__Group__1__Impl
+ // InternalSolverLanguage.g:2443:1: ( rule__EqualsSymbol__Group__0__Impl rule__EqualsSymbol__Group__1 )
+ // InternalSolverLanguage.g:2444:2: rule__EqualsSymbol__Group__0__Impl rule__EqualsSymbol__Group__1
{
+ pushFollow(FOLLOW_1);
+ rule__EqualsSymbol__Group__0__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__IntegerSymbol__Group__1__Impl();
+ rule__EqualsSymbol__Group__1();
state._fsp--;
@@ -8078,29 +7873,99 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__IntegerSymbol__Group__1"
+ // $ANTLR end "rule__EqualsSymbol__Group__0"
- // $ANTLR start "rule__IntegerSymbol__Group__1__Impl"
- // InternalSolverLanguage.g:2536:1: rule__IntegerSymbol__Group__1__Impl : ( () ) ;
- public final void rule__IntegerSymbol__Group__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__EqualsSymbol__Group__0__Impl"
+ // InternalSolverLanguage.g:2451:1: rule__EqualsSymbol__Group__0__Impl : ( 'equals' ) ;
+ public final void rule__EqualsSymbol__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2540:1: ( ( () ) )
- // InternalSolverLanguage.g:2541:1: ( () )
+ // InternalSolverLanguage.g:2455:1: ( ( 'equals' ) )
+ // InternalSolverLanguage.g:2456:1: ( 'equals' )
{
- // InternalSolverLanguage.g:2541:1: ( () )
- // InternalSolverLanguage.g:2542:2: ()
+ // InternalSolverLanguage.g:2456:1: ( 'equals' )
+ // InternalSolverLanguage.g:2457:2: 'equals'
{
- before(grammarAccess.getIntegerSymbolAccess().getIntegerSymbolAction_1());
- // InternalSolverLanguage.g:2543:2: ()
- // InternalSolverLanguage.g:2543:3:
+ before(grammarAccess.getEqualsSymbolAccess().getEqualsKeyword_0());
+ match(input,22,FOLLOW_2);
+ after(grammarAccess.getEqualsSymbolAccess().getEqualsKeyword_0());
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__EqualsSymbol__Group__0__Impl"
+
+
+ // $ANTLR start "rule__EqualsSymbol__Group__1"
+ // InternalSolverLanguage.g:2466:1: rule__EqualsSymbol__Group__1 : rule__EqualsSymbol__Group__1__Impl ;
+ public final void rule__EqualsSymbol__Group__1() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalSolverLanguage.g:2470:1: ( rule__EqualsSymbol__Group__1__Impl )
+ // InternalSolverLanguage.g:2471:2: rule__EqualsSymbol__Group__1__Impl
+ {
+ pushFollow(FOLLOW_2);
+ rule__EqualsSymbol__Group__1__Impl();
+
+ state._fsp--;
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__EqualsSymbol__Group__1"
+
+
+ // $ANTLR start "rule__EqualsSymbol__Group__1__Impl"
+ // InternalSolverLanguage.g:2477:1: rule__EqualsSymbol__Group__1__Impl : ( () ) ;
+ public final void rule__EqualsSymbol__Group__1__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalSolverLanguage.g:2481:1: ( ( () ) )
+ // InternalSolverLanguage.g:2482:1: ( () )
+ {
+ // InternalSolverLanguage.g:2482:1: ( () )
+ // InternalSolverLanguage.g:2483:2: ()
+ {
+ before(grammarAccess.getEqualsSymbolAccess().getEqualsSymbolAction_1());
+ // InternalSolverLanguage.g:2484:2: ()
+ // InternalSolverLanguage.g:2484:3:
{
}
- after(grammarAccess.getIntegerSymbolAccess().getIntegerSymbolAction_1());
+ after(grammarAccess.getEqualsSymbolAccess().getEqualsSymbolAction_1());
}
@@ -8115,26 +7980,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__IntegerSymbol__Group__1__Impl"
+ // $ANTLR end "rule__EqualsSymbol__Group__1__Impl"
- // $ANTLR start "rule__RealSymbol__Group__0"
- // InternalSolverLanguage.g:2552:1: rule__RealSymbol__Group__0 : rule__RealSymbol__Group__0__Impl rule__RealSymbol__Group__1 ;
- public final void rule__RealSymbol__Group__0() throws RecognitionException {
+ // $ANTLR start "rule__BooleanSymbol__Group__0"
+ // InternalSolverLanguage.g:2493:1: rule__BooleanSymbol__Group__0 : rule__BooleanSymbol__Group__0__Impl rule__BooleanSymbol__Group__1 ;
+ public final void rule__BooleanSymbol__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2556:1: ( rule__RealSymbol__Group__0__Impl rule__RealSymbol__Group__1 )
- // InternalSolverLanguage.g:2557:2: rule__RealSymbol__Group__0__Impl rule__RealSymbol__Group__1
+ // InternalSolverLanguage.g:2497:1: ( rule__BooleanSymbol__Group__0__Impl rule__BooleanSymbol__Group__1 )
+ // InternalSolverLanguage.g:2498:2: rule__BooleanSymbol__Group__0__Impl rule__BooleanSymbol__Group__1
{
pushFollow(FOLLOW_1);
- rule__RealSymbol__Group__0__Impl();
+ rule__BooleanSymbol__Group__0__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__RealSymbol__Group__1();
+ rule__BooleanSymbol__Group__1();
state._fsp--;
@@ -8153,25 +8018,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__RealSymbol__Group__0"
+ // $ANTLR end "rule__BooleanSymbol__Group__0"
- // $ANTLR start "rule__RealSymbol__Group__0__Impl"
- // InternalSolverLanguage.g:2564:1: rule__RealSymbol__Group__0__Impl : ( 'real' ) ;
- public final void rule__RealSymbol__Group__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__BooleanSymbol__Group__0__Impl"
+ // InternalSolverLanguage.g:2505:1: rule__BooleanSymbol__Group__0__Impl : ( 'bool' ) ;
+ public final void rule__BooleanSymbol__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2568:1: ( ( 'real' ) )
- // InternalSolverLanguage.g:2569:1: ( 'real' )
+ // InternalSolverLanguage.g:2509:1: ( ( 'bool' ) )
+ // InternalSolverLanguage.g:2510:1: ( 'bool' )
{
- // InternalSolverLanguage.g:2569:1: ( 'real' )
- // InternalSolverLanguage.g:2570:2: 'real'
+ // InternalSolverLanguage.g:2510:1: ( 'bool' )
+ // InternalSolverLanguage.g:2511:2: 'bool'
{
- before(grammarAccess.getRealSymbolAccess().getRealKeyword_0());
- match(input,24,FOLLOW_2);
- after(grammarAccess.getRealSymbolAccess().getRealKeyword_0());
+ before(grammarAccess.getBooleanSymbolAccess().getBoolKeyword_0());
+ match(input,23,FOLLOW_2);
+ after(grammarAccess.getBooleanSymbolAccess().getBoolKeyword_0());
}
@@ -8190,21 +8055,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__RealSymbol__Group__0__Impl"
+ // $ANTLR end "rule__BooleanSymbol__Group__0__Impl"
- // $ANTLR start "rule__RealSymbol__Group__1"
- // InternalSolverLanguage.g:2579:1: rule__RealSymbol__Group__1 : rule__RealSymbol__Group__1__Impl ;
- public final void rule__RealSymbol__Group__1() throws RecognitionException {
+ // $ANTLR start "rule__BooleanSymbol__Group__1"
+ // InternalSolverLanguage.g:2520:1: rule__BooleanSymbol__Group__1 : rule__BooleanSymbol__Group__1__Impl ;
+ public final void rule__BooleanSymbol__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2583:1: ( rule__RealSymbol__Group__1__Impl )
- // InternalSolverLanguage.g:2584:2: rule__RealSymbol__Group__1__Impl
+ // InternalSolverLanguage.g:2524:1: ( rule__BooleanSymbol__Group__1__Impl )
+ // InternalSolverLanguage.g:2525:2: rule__BooleanSymbol__Group__1__Impl
{
pushFollow(FOLLOW_2);
- rule__RealSymbol__Group__1__Impl();
+ rule__BooleanSymbol__Group__1__Impl();
state._fsp--;
@@ -8223,29 +8088,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__RealSymbol__Group__1"
+ // $ANTLR end "rule__BooleanSymbol__Group__1"
- // $ANTLR start "rule__RealSymbol__Group__1__Impl"
- // InternalSolverLanguage.g:2590:1: rule__RealSymbol__Group__1__Impl : ( () ) ;
- public final void rule__RealSymbol__Group__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__BooleanSymbol__Group__1__Impl"
+ // InternalSolverLanguage.g:2531:1: rule__BooleanSymbol__Group__1__Impl : ( () ) ;
+ public final void rule__BooleanSymbol__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2594:1: ( ( () ) )
- // InternalSolverLanguage.g:2595:1: ( () )
+ // InternalSolverLanguage.g:2535:1: ( ( () ) )
+ // InternalSolverLanguage.g:2536:1: ( () )
{
- // InternalSolverLanguage.g:2595:1: ( () )
- // InternalSolverLanguage.g:2596:2: ()
+ // InternalSolverLanguage.g:2536:1: ( () )
+ // InternalSolverLanguage.g:2537:2: ()
{
- before(grammarAccess.getRealSymbolAccess().getRealSymbolAction_1());
- // InternalSolverLanguage.g:2597:2: ()
- // InternalSolverLanguage.g:2597:3:
+ before(grammarAccess.getBooleanSymbolAccess().getBooleanSymbolAction_1());
+ // InternalSolverLanguage.g:2538:2: ()
+ // InternalSolverLanguage.g:2538:3:
{
}
- after(grammarAccess.getRealSymbolAccess().getRealSymbolAction_1());
+ after(grammarAccess.getBooleanSymbolAccess().getBooleanSymbolAction_1());
}
@@ -8260,26 +8125,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__RealSymbol__Group__1__Impl"
+ // $ANTLR end "rule__BooleanSymbol__Group__1__Impl"
- // $ANTLR start "rule__StringSymbol__Group__0"
- // InternalSolverLanguage.g:2606:1: rule__StringSymbol__Group__0 : rule__StringSymbol__Group__0__Impl rule__StringSymbol__Group__1 ;
- public final void rule__StringSymbol__Group__0() throws RecognitionException {
+ // $ANTLR start "rule__IntegerSymbol__Group__0"
+ // InternalSolverLanguage.g:2547:1: rule__IntegerSymbol__Group__0 : rule__IntegerSymbol__Group__0__Impl rule__IntegerSymbol__Group__1 ;
+ public final void rule__IntegerSymbol__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2610:1: ( rule__StringSymbol__Group__0__Impl rule__StringSymbol__Group__1 )
- // InternalSolverLanguage.g:2611:2: rule__StringSymbol__Group__0__Impl rule__StringSymbol__Group__1
+ // InternalSolverLanguage.g:2551:1: ( rule__IntegerSymbol__Group__0__Impl rule__IntegerSymbol__Group__1 )
+ // InternalSolverLanguage.g:2552:2: rule__IntegerSymbol__Group__0__Impl rule__IntegerSymbol__Group__1
{
pushFollow(FOLLOW_1);
- rule__StringSymbol__Group__0__Impl();
+ rule__IntegerSymbol__Group__0__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__StringSymbol__Group__1();
+ rule__IntegerSymbol__Group__1();
state._fsp--;
@@ -8298,25 +8163,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__StringSymbol__Group__0"
+ // $ANTLR end "rule__IntegerSymbol__Group__0"
- // $ANTLR start "rule__StringSymbol__Group__0__Impl"
- // InternalSolverLanguage.g:2618:1: rule__StringSymbol__Group__0__Impl : ( 'string' ) ;
- public final void rule__StringSymbol__Group__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__IntegerSymbol__Group__0__Impl"
+ // InternalSolverLanguage.g:2559:1: rule__IntegerSymbol__Group__0__Impl : ( 'int' ) ;
+ public final void rule__IntegerSymbol__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2622:1: ( ( 'string' ) )
- // InternalSolverLanguage.g:2623:1: ( 'string' )
+ // InternalSolverLanguage.g:2563:1: ( ( 'int' ) )
+ // InternalSolverLanguage.g:2564:1: ( 'int' )
{
- // InternalSolverLanguage.g:2623:1: ( 'string' )
- // InternalSolverLanguage.g:2624:2: 'string'
+ // InternalSolverLanguage.g:2564:1: ( 'int' )
+ // InternalSolverLanguage.g:2565:2: 'int'
{
- before(grammarAccess.getStringSymbolAccess().getStringKeyword_0());
- match(input,25,FOLLOW_2);
- after(grammarAccess.getStringSymbolAccess().getStringKeyword_0());
+ before(grammarAccess.getIntegerSymbolAccess().getIntKeyword_0());
+ match(input,24,FOLLOW_2);
+ after(grammarAccess.getIntegerSymbolAccess().getIntKeyword_0());
}
@@ -8335,21 +8200,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__StringSymbol__Group__0__Impl"
+ // $ANTLR end "rule__IntegerSymbol__Group__0__Impl"
- // $ANTLR start "rule__StringSymbol__Group__1"
- // InternalSolverLanguage.g:2633:1: rule__StringSymbol__Group__1 : rule__StringSymbol__Group__1__Impl ;
- public final void rule__StringSymbol__Group__1() throws RecognitionException {
+ // $ANTLR start "rule__IntegerSymbol__Group__1"
+ // InternalSolverLanguage.g:2574:1: rule__IntegerSymbol__Group__1 : rule__IntegerSymbol__Group__1__Impl ;
+ public final void rule__IntegerSymbol__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2637:1: ( rule__StringSymbol__Group__1__Impl )
- // InternalSolverLanguage.g:2638:2: rule__StringSymbol__Group__1__Impl
+ // InternalSolverLanguage.g:2578:1: ( rule__IntegerSymbol__Group__1__Impl )
+ // InternalSolverLanguage.g:2579:2: rule__IntegerSymbol__Group__1__Impl
{
pushFollow(FOLLOW_2);
- rule__StringSymbol__Group__1__Impl();
+ rule__IntegerSymbol__Group__1__Impl();
state._fsp--;
@@ -8368,29 +8233,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__StringSymbol__Group__1"
+ // $ANTLR end "rule__IntegerSymbol__Group__1"
- // $ANTLR start "rule__StringSymbol__Group__1__Impl"
- // InternalSolverLanguage.g:2644:1: rule__StringSymbol__Group__1__Impl : ( () ) ;
- public final void rule__StringSymbol__Group__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__IntegerSymbol__Group__1__Impl"
+ // InternalSolverLanguage.g:2585:1: rule__IntegerSymbol__Group__1__Impl : ( () ) ;
+ public final void rule__IntegerSymbol__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2648:1: ( ( () ) )
- // InternalSolverLanguage.g:2649:1: ( () )
+ // InternalSolverLanguage.g:2589:1: ( ( () ) )
+ // InternalSolverLanguage.g:2590:1: ( () )
{
- // InternalSolverLanguage.g:2649:1: ( () )
- // InternalSolverLanguage.g:2650:2: ()
+ // InternalSolverLanguage.g:2590:1: ( () )
+ // InternalSolverLanguage.g:2591:2: ()
{
- before(grammarAccess.getStringSymbolAccess().getStringSymbolAction_1());
- // InternalSolverLanguage.g:2651:2: ()
- // InternalSolverLanguage.g:2651:3:
+ before(grammarAccess.getIntegerSymbolAccess().getIntegerSymbolAction_1());
+ // InternalSolverLanguage.g:2592:2: ()
+ // InternalSolverLanguage.g:2592:3:
{
}
- after(grammarAccess.getStringSymbolAccess().getStringSymbolAction_1());
+ after(grammarAccess.getIntegerSymbolAccess().getIntegerSymbolAction_1());
}
@@ -8405,26 +8270,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__StringSymbol__Group__1__Impl"
+ // $ANTLR end "rule__IntegerSymbol__Group__1__Impl"
- // $ANTLR start "rule__NamedObject__Group__0"
- // InternalSolverLanguage.g:2660:1: rule__NamedObject__Group__0 : rule__NamedObject__Group__0__Impl rule__NamedObject__Group__1 ;
- public final void rule__NamedObject__Group__0() throws RecognitionException {
+ // $ANTLR start "rule__RealSymbol__Group__0"
+ // InternalSolverLanguage.g:2601:1: rule__RealSymbol__Group__0 : rule__RealSymbol__Group__0__Impl rule__RealSymbol__Group__1 ;
+ public final void rule__RealSymbol__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2664:1: ( rule__NamedObject__Group__0__Impl rule__NamedObject__Group__1 )
- // InternalSolverLanguage.g:2665:2: rule__NamedObject__Group__0__Impl rule__NamedObject__Group__1
+ // InternalSolverLanguage.g:2605:1: ( rule__RealSymbol__Group__0__Impl rule__RealSymbol__Group__1 )
+ // InternalSolverLanguage.g:2606:2: rule__RealSymbol__Group__0__Impl rule__RealSymbol__Group__1
{
- pushFollow(FOLLOW_16);
- rule__NamedObject__Group__0__Impl();
+ pushFollow(FOLLOW_1);
+ rule__RealSymbol__Group__0__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__NamedObject__Group__1();
+ rule__RealSymbol__Group__1();
state._fsp--;
@@ -8443,25 +8308,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__NamedObject__Group__0"
+ // $ANTLR end "rule__RealSymbol__Group__0"
- // $ANTLR start "rule__NamedObject__Group__0__Impl"
- // InternalSolverLanguage.g:2672:1: rule__NamedObject__Group__0__Impl : ( '\\'' ) ;
- public final void rule__NamedObject__Group__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__RealSymbol__Group__0__Impl"
+ // InternalSolverLanguage.g:2613:1: rule__RealSymbol__Group__0__Impl : ( 'real' ) ;
+ public final void rule__RealSymbol__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2676:1: ( ( '\\'' ) )
- // InternalSolverLanguage.g:2677:1: ( '\\'' )
+ // InternalSolverLanguage.g:2617:1: ( ( 'real' ) )
+ // InternalSolverLanguage.g:2618:1: ( 'real' )
{
- // InternalSolverLanguage.g:2677:1: ( '\\'' )
- // InternalSolverLanguage.g:2678:2: '\\''
+ // InternalSolverLanguage.g:2618:1: ( 'real' )
+ // InternalSolverLanguage.g:2619:2: 'real'
{
- before(grammarAccess.getNamedObjectAccess().getApostropheKeyword_0());
- match(input,26,FOLLOW_2);
- after(grammarAccess.getNamedObjectAccess().getApostropheKeyword_0());
+ before(grammarAccess.getRealSymbolAccess().getRealKeyword_0());
+ match(input,25,FOLLOW_2);
+ after(grammarAccess.getRealSymbolAccess().getRealKeyword_0());
}
@@ -8480,26 +8345,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__NamedObject__Group__0__Impl"
+ // $ANTLR end "rule__RealSymbol__Group__0__Impl"
- // $ANTLR start "rule__NamedObject__Group__1"
- // InternalSolverLanguage.g:2687:1: rule__NamedObject__Group__1 : rule__NamedObject__Group__1__Impl rule__NamedObject__Group__2 ;
- public final void rule__NamedObject__Group__1() throws RecognitionException {
+ // $ANTLR start "rule__RealSymbol__Group__1"
+ // InternalSolverLanguage.g:2628:1: rule__RealSymbol__Group__1 : rule__RealSymbol__Group__1__Impl ;
+ public final void rule__RealSymbol__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2691:1: ( rule__NamedObject__Group__1__Impl rule__NamedObject__Group__2 )
- // InternalSolverLanguage.g:2692:2: rule__NamedObject__Group__1__Impl rule__NamedObject__Group__2
+ // InternalSolverLanguage.g:2632:1: ( rule__RealSymbol__Group__1__Impl )
+ // InternalSolverLanguage.g:2633:2: rule__RealSymbol__Group__1__Impl
{
- pushFollow(FOLLOW_17);
- rule__NamedObject__Group__1__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__NamedObject__Group__2();
+ rule__RealSymbol__Group__1__Impl();
state._fsp--;
@@ -8518,35 +8378,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__NamedObject__Group__1"
+ // $ANTLR end "rule__RealSymbol__Group__1"
- // $ANTLR start "rule__NamedObject__Group__1__Impl"
- // InternalSolverLanguage.g:2699:1: rule__NamedObject__Group__1__Impl : ( ( rule__NamedObject__NameAssignment_1 ) ) ;
- public final void rule__NamedObject__Group__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__RealSymbol__Group__1__Impl"
+ // InternalSolverLanguage.g:2639:1: rule__RealSymbol__Group__1__Impl : ( () ) ;
+ public final void rule__RealSymbol__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2703:1: ( ( ( rule__NamedObject__NameAssignment_1 ) ) )
- // InternalSolverLanguage.g:2704:1: ( ( rule__NamedObject__NameAssignment_1 ) )
+ // InternalSolverLanguage.g:2643:1: ( ( () ) )
+ // InternalSolverLanguage.g:2644:1: ( () )
{
- // InternalSolverLanguage.g:2704:1: ( ( rule__NamedObject__NameAssignment_1 ) )
- // InternalSolverLanguage.g:2705:2: ( rule__NamedObject__NameAssignment_1 )
+ // InternalSolverLanguage.g:2644:1: ( () )
+ // InternalSolverLanguage.g:2645:2: ()
{
- before(grammarAccess.getNamedObjectAccess().getNameAssignment_1());
- // InternalSolverLanguage.g:2706:2: ( rule__NamedObject__NameAssignment_1 )
- // InternalSolverLanguage.g:2706:3: rule__NamedObject__NameAssignment_1
+ before(grammarAccess.getRealSymbolAccess().getRealSymbolAction_1());
+ // InternalSolverLanguage.g:2646:2: ()
+ // InternalSolverLanguage.g:2646:3:
{
- pushFollow(FOLLOW_2);
- rule__NamedObject__NameAssignment_1();
-
- state._fsp--;
-
-
}
- after(grammarAccess.getNamedObjectAccess().getNameAssignment_1());
+ after(grammarAccess.getRealSymbolAccess().getRealSymbolAction_1());
}
@@ -8554,10 +8408,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
}
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
finally {
restoreStackSize(stackSize);
@@ -8565,21 +8415,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__NamedObject__Group__1__Impl"
+ // $ANTLR end "rule__RealSymbol__Group__1__Impl"
- // $ANTLR start "rule__NamedObject__Group__2"
- // InternalSolverLanguage.g:2714:1: rule__NamedObject__Group__2 : rule__NamedObject__Group__2__Impl ;
- public final void rule__NamedObject__Group__2() throws RecognitionException {
+ // $ANTLR start "rule__StringSymbol__Group__0"
+ // InternalSolverLanguage.g:2655:1: rule__StringSymbol__Group__0 : rule__StringSymbol__Group__0__Impl rule__StringSymbol__Group__1 ;
+ public final void rule__StringSymbol__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2718:1: ( rule__NamedObject__Group__2__Impl )
- // InternalSolverLanguage.g:2719:2: rule__NamedObject__Group__2__Impl
+ // InternalSolverLanguage.g:2659:1: ( rule__StringSymbol__Group__0__Impl rule__StringSymbol__Group__1 )
+ // InternalSolverLanguage.g:2660:2: rule__StringSymbol__Group__0__Impl rule__StringSymbol__Group__1
{
+ pushFollow(FOLLOW_1);
+ rule__StringSymbol__Group__0__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__NamedObject__Group__2__Impl();
+ rule__StringSymbol__Group__1();
state._fsp--;
@@ -8598,25 +8453,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__NamedObject__Group__2"
+ // $ANTLR end "rule__StringSymbol__Group__0"
- // $ANTLR start "rule__NamedObject__Group__2__Impl"
- // InternalSolverLanguage.g:2725:1: rule__NamedObject__Group__2__Impl : ( '\\'' ) ;
- public final void rule__NamedObject__Group__2__Impl() throws RecognitionException {
+ // $ANTLR start "rule__StringSymbol__Group__0__Impl"
+ // InternalSolverLanguage.g:2667:1: rule__StringSymbol__Group__0__Impl : ( 'string' ) ;
+ public final void rule__StringSymbol__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2729:1: ( ( '\\'' ) )
- // InternalSolverLanguage.g:2730:1: ( '\\'' )
+ // InternalSolverLanguage.g:2671:1: ( ( 'string' ) )
+ // InternalSolverLanguage.g:2672:1: ( 'string' )
{
- // InternalSolverLanguage.g:2730:1: ( '\\'' )
- // InternalSolverLanguage.g:2731:2: '\\''
+ // InternalSolverLanguage.g:2672:1: ( 'string' )
+ // InternalSolverLanguage.g:2673:2: 'string'
{
- before(grammarAccess.getNamedObjectAccess().getApostropheKeyword_2());
+ before(grammarAccess.getStringSymbolAccess().getStringKeyword_0());
match(input,26,FOLLOW_2);
- after(grammarAccess.getNamedObjectAccess().getApostropheKeyword_2());
+ after(grammarAccess.getStringSymbolAccess().getStringKeyword_0());
}
@@ -8635,26 +8490,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__NamedObject__Group__2__Impl"
+ // $ANTLR end "rule__StringSymbol__Group__0__Impl"
- // $ANTLR start "rule__PredicateSymbol__Group__0"
- // InternalSolverLanguage.g:2741:1: rule__PredicateSymbol__Group__0 : rule__PredicateSymbol__Group__0__Impl rule__PredicateSymbol__Group__1 ;
- public final void rule__PredicateSymbol__Group__0() throws RecognitionException {
+ // $ANTLR start "rule__StringSymbol__Group__1"
+ // InternalSolverLanguage.g:2682:1: rule__StringSymbol__Group__1 : rule__StringSymbol__Group__1__Impl ;
+ public final void rule__StringSymbol__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2745:1: ( rule__PredicateSymbol__Group__0__Impl rule__PredicateSymbol__Group__1 )
- // InternalSolverLanguage.g:2746:2: rule__PredicateSymbol__Group__0__Impl rule__PredicateSymbol__Group__1
+ // InternalSolverLanguage.g:2686:1: ( rule__StringSymbol__Group__1__Impl )
+ // InternalSolverLanguage.g:2687:2: rule__StringSymbol__Group__1__Impl
{
- pushFollow(FOLLOW_16);
- rule__PredicateSymbol__Group__0__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__PredicateSymbol__Group__1();
+ rule__StringSymbol__Group__1__Impl();
state._fsp--;
@@ -8673,25 +8523,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group__0"
+ // $ANTLR end "rule__StringSymbol__Group__1"
- // $ANTLR start "rule__PredicateSymbol__Group__0__Impl"
- // InternalSolverLanguage.g:2753:1: rule__PredicateSymbol__Group__0__Impl : ( 'predicate' ) ;
- public final void rule__PredicateSymbol__Group__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__StringSymbol__Group__1__Impl"
+ // InternalSolverLanguage.g:2693:1: rule__StringSymbol__Group__1__Impl : ( () ) ;
+ public final void rule__StringSymbol__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2757:1: ( ( 'predicate' ) )
- // InternalSolverLanguage.g:2758:1: ( 'predicate' )
+ // InternalSolverLanguage.g:2697:1: ( ( () ) )
+ // InternalSolverLanguage.g:2698:1: ( () )
{
- // InternalSolverLanguage.g:2758:1: ( 'predicate' )
- // InternalSolverLanguage.g:2759:2: 'predicate'
+ // InternalSolverLanguage.g:2698:1: ( () )
+ // InternalSolverLanguage.g:2699:2: ()
{
- before(grammarAccess.getPredicateSymbolAccess().getPredicateKeyword_0());
- match(input,27,FOLLOW_2);
- after(grammarAccess.getPredicateSymbolAccess().getPredicateKeyword_0());
+ before(grammarAccess.getStringSymbolAccess().getStringSymbolAction_1());
+ // InternalSolverLanguage.g:2700:2: ()
+ // InternalSolverLanguage.g:2700:3:
+ {
+ }
+
+ after(grammarAccess.getStringSymbolAccess().getStringSymbolAction_1());
}
@@ -8699,10 +8553,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
}
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
finally {
restoreStackSize(stackSize);
@@ -8710,26 +8560,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group__0__Impl"
+ // $ANTLR end "rule__StringSymbol__Group__1__Impl"
- // $ANTLR start "rule__PredicateSymbol__Group__1"
- // InternalSolverLanguage.g:2768:1: rule__PredicateSymbol__Group__1 : rule__PredicateSymbol__Group__1__Impl rule__PredicateSymbol__Group__2 ;
- public final void rule__PredicateSymbol__Group__1() throws RecognitionException {
+ // $ANTLR start "rule__NamedObject__Group__0"
+ // InternalSolverLanguage.g:2709:1: rule__NamedObject__Group__0 : rule__NamedObject__Group__0__Impl rule__NamedObject__Group__1 ;
+ public final void rule__NamedObject__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2772:1: ( rule__PredicateSymbol__Group__1__Impl rule__PredicateSymbol__Group__2 )
- // InternalSolverLanguage.g:2773:2: rule__PredicateSymbol__Group__1__Impl rule__PredicateSymbol__Group__2
+ // InternalSolverLanguage.g:2713:1: ( rule__NamedObject__Group__0__Impl rule__NamedObject__Group__1 )
+ // InternalSolverLanguage.g:2714:2: rule__NamedObject__Group__0__Impl rule__NamedObject__Group__1
{
- pushFollow(FOLLOW_11);
- rule__PredicateSymbol__Group__1__Impl();
+ pushFollow(FOLLOW_17);
+ rule__NamedObject__Group__0__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__PredicateSymbol__Group__2();
+ rule__NamedObject__Group__1();
state._fsp--;
@@ -8748,35 +8598,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group__1"
+ // $ANTLR end "rule__NamedObject__Group__0"
- // $ANTLR start "rule__PredicateSymbol__Group__1__Impl"
- // InternalSolverLanguage.g:2780:1: rule__PredicateSymbol__Group__1__Impl : ( ( rule__PredicateSymbol__SymbolAssignment_1 ) ) ;
- public final void rule__PredicateSymbol__Group__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__NamedObject__Group__0__Impl"
+ // InternalSolverLanguage.g:2721:1: rule__NamedObject__Group__0__Impl : ( '\\'' ) ;
+ public final void rule__NamedObject__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2784:1: ( ( ( rule__PredicateSymbol__SymbolAssignment_1 ) ) )
- // InternalSolverLanguage.g:2785:1: ( ( rule__PredicateSymbol__SymbolAssignment_1 ) )
- {
- // InternalSolverLanguage.g:2785:1: ( ( rule__PredicateSymbol__SymbolAssignment_1 ) )
- // InternalSolverLanguage.g:2786:2: ( rule__PredicateSymbol__SymbolAssignment_1 )
+ // InternalSolverLanguage.g:2725:1: ( ( '\\'' ) )
+ // InternalSolverLanguage.g:2726:1: ( '\\'' )
{
- before(grammarAccess.getPredicateSymbolAccess().getSymbolAssignment_1());
- // InternalSolverLanguage.g:2787:2: ( rule__PredicateSymbol__SymbolAssignment_1 )
- // InternalSolverLanguage.g:2787:3: rule__PredicateSymbol__SymbolAssignment_1
+ // InternalSolverLanguage.g:2726:1: ( '\\'' )
+ // InternalSolverLanguage.g:2727:2: '\\''
{
- pushFollow(FOLLOW_2);
- rule__PredicateSymbol__SymbolAssignment_1();
-
- state._fsp--;
-
-
- }
-
- after(grammarAccess.getPredicateSymbolAccess().getSymbolAssignment_1());
+ before(grammarAccess.getNamedObjectAccess().getApostropheKeyword_0());
+ match(input,27,FOLLOW_2);
+ after(grammarAccess.getNamedObjectAccess().getApostropheKeyword_0());
}
@@ -8795,26 +8635,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group__1__Impl"
+ // $ANTLR end "rule__NamedObject__Group__0__Impl"
- // $ANTLR start "rule__PredicateSymbol__Group__2"
- // InternalSolverLanguage.g:2795:1: rule__PredicateSymbol__Group__2 : rule__PredicateSymbol__Group__2__Impl rule__PredicateSymbol__Group__3 ;
- public final void rule__PredicateSymbol__Group__2() throws RecognitionException {
+ // $ANTLR start "rule__NamedObject__Group__1"
+ // InternalSolverLanguage.g:2736:1: rule__NamedObject__Group__1 : rule__NamedObject__Group__1__Impl rule__NamedObject__Group__2 ;
+ public final void rule__NamedObject__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2799:1: ( rule__PredicateSymbol__Group__2__Impl rule__PredicateSymbol__Group__3 )
- // InternalSolverLanguage.g:2800:2: rule__PredicateSymbol__Group__2__Impl rule__PredicateSymbol__Group__3
+ // InternalSolverLanguage.g:2740:1: ( rule__NamedObject__Group__1__Impl rule__NamedObject__Group__2 )
+ // InternalSolverLanguage.g:2741:2: rule__NamedObject__Group__1__Impl rule__NamedObject__Group__2
{
pushFollow(FOLLOW_18);
- rule__PredicateSymbol__Group__2__Impl();
+ rule__NamedObject__Group__1__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__PredicateSymbol__Group__3();
+ rule__NamedObject__Group__2();
state._fsp--;
@@ -8833,25 +8673,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group__2"
+ // $ANTLR end "rule__NamedObject__Group__1"
- // $ANTLR start "rule__PredicateSymbol__Group__2__Impl"
- // InternalSolverLanguage.g:2807:1: rule__PredicateSymbol__Group__2__Impl : ( '(' ) ;
- public final void rule__PredicateSymbol__Group__2__Impl() throws RecognitionException {
+ // $ANTLR start "rule__NamedObject__Group__1__Impl"
+ // InternalSolverLanguage.g:2748:1: rule__NamedObject__Group__1__Impl : ( ( rule__NamedObject__NameAssignment_1 ) ) ;
+ public final void rule__NamedObject__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2811:1: ( ( '(' ) )
- // InternalSolverLanguage.g:2812:1: ( '(' )
+ // InternalSolverLanguage.g:2752:1: ( ( ( rule__NamedObject__NameAssignment_1 ) ) )
+ // InternalSolverLanguage.g:2753:1: ( ( rule__NamedObject__NameAssignment_1 ) )
{
- // InternalSolverLanguage.g:2812:1: ( '(' )
- // InternalSolverLanguage.g:2813:2: '('
+ // InternalSolverLanguage.g:2753:1: ( ( rule__NamedObject__NameAssignment_1 ) )
+ // InternalSolverLanguage.g:2754:2: ( rule__NamedObject__NameAssignment_1 )
{
- before(grammarAccess.getPredicateSymbolAccess().getLeftParenthesisKeyword_2());
- match(input,17,FOLLOW_2);
- after(grammarAccess.getPredicateSymbolAccess().getLeftParenthesisKeyword_2());
+ before(grammarAccess.getNamedObjectAccess().getNameAssignment_1());
+ // InternalSolverLanguage.g:2755:2: ( rule__NamedObject__NameAssignment_1 )
+ // InternalSolverLanguage.g:2755:3: rule__NamedObject__NameAssignment_1
+ {
+ pushFollow(FOLLOW_2);
+ rule__NamedObject__NameAssignment_1();
+
+ state._fsp--;
+
+
+ }
+
+ after(grammarAccess.getNamedObjectAccess().getNameAssignment_1());
}
@@ -8870,26 +8720,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group__2__Impl"
+ // $ANTLR end "rule__NamedObject__Group__1__Impl"
- // $ANTLR start "rule__PredicateSymbol__Group__3"
- // InternalSolverLanguage.g:2822:1: rule__PredicateSymbol__Group__3 : rule__PredicateSymbol__Group__3__Impl rule__PredicateSymbol__Group__4 ;
- public final void rule__PredicateSymbol__Group__3() throws RecognitionException {
+ // $ANTLR start "rule__NamedObject__Group__2"
+ // InternalSolverLanguage.g:2763:1: rule__NamedObject__Group__2 : rule__NamedObject__Group__2__Impl ;
+ public final void rule__NamedObject__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2826:1: ( rule__PredicateSymbol__Group__3__Impl rule__PredicateSymbol__Group__4 )
- // InternalSolverLanguage.g:2827:2: rule__PredicateSymbol__Group__3__Impl rule__PredicateSymbol__Group__4
+ // InternalSolverLanguage.g:2767:1: ( rule__NamedObject__Group__2__Impl )
+ // InternalSolverLanguage.g:2768:2: rule__NamedObject__Group__2__Impl
{
- pushFollow(FOLLOW_18);
- rule__PredicateSymbol__Group__3__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__PredicateSymbol__Group__4();
+ rule__NamedObject__Group__2__Impl();
state._fsp--;
@@ -8908,53 +8753,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group__3"
+ // $ANTLR end "rule__NamedObject__Group__2"
- // $ANTLR start "rule__PredicateSymbol__Group__3__Impl"
- // InternalSolverLanguage.g:2834:1: rule__PredicateSymbol__Group__3__Impl : ( ( rule__PredicateSymbol__ParametersAssignment_3 )* ) ;
- public final void rule__PredicateSymbol__Group__3__Impl() throws RecognitionException {
+ // $ANTLR start "rule__NamedObject__Group__2__Impl"
+ // InternalSolverLanguage.g:2774:1: rule__NamedObject__Group__2__Impl : ( '\\'' ) ;
+ public final void rule__NamedObject__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2838:1: ( ( ( rule__PredicateSymbol__ParametersAssignment_3 )* ) )
- // InternalSolverLanguage.g:2839:1: ( ( rule__PredicateSymbol__ParametersAssignment_3 )* )
+ // InternalSolverLanguage.g:2778:1: ( ( '\\'' ) )
+ // InternalSolverLanguage.g:2779:1: ( '\\'' )
{
- // InternalSolverLanguage.g:2839:1: ( ( rule__PredicateSymbol__ParametersAssignment_3 )* )
- // InternalSolverLanguage.g:2840:2: ( rule__PredicateSymbol__ParametersAssignment_3 )*
+ // InternalSolverLanguage.g:2779:1: ( '\\'' )
+ // InternalSolverLanguage.g:2780:2: '\\''
{
- before(grammarAccess.getPredicateSymbolAccess().getParametersAssignment_3());
- // InternalSolverLanguage.g:2841:2: ( rule__PredicateSymbol__ParametersAssignment_3 )*
- loop26:
- do {
- int alt26=2;
- int LA26_0 = input.LA(1);
-
- if ( (LA26_0==RULE_ID) ) {
- alt26=1;
- }
-
-
- switch (alt26) {
- case 1 :
- // InternalSolverLanguage.g:2841:3: rule__PredicateSymbol__ParametersAssignment_3
- {
- pushFollow(FOLLOW_19);
- rule__PredicateSymbol__ParametersAssignment_3();
-
- state._fsp--;
-
-
- }
- break;
-
- default :
- break loop26;
- }
- } while (true);
-
- after(grammarAccess.getPredicateSymbolAccess().getParametersAssignment_3());
+ before(grammarAccess.getNamedObjectAccess().getApostropheKeyword_2());
+ match(input,27,FOLLOW_2);
+ after(grammarAccess.getNamedObjectAccess().getApostropheKeyword_2());
}
@@ -8973,26 +8790,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group__3__Impl"
+ // $ANTLR end "rule__NamedObject__Group__2__Impl"
- // $ANTLR start "rule__PredicateSymbol__Group__4"
- // InternalSolverLanguage.g:2849:1: rule__PredicateSymbol__Group__4 : rule__PredicateSymbol__Group__4__Impl rule__PredicateSymbol__Group__5 ;
- public final void rule__PredicateSymbol__Group__4() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group__0"
+ // InternalSolverLanguage.g:2790:1: rule__Predicate__Group__0 : rule__Predicate__Group__0__Impl rule__Predicate__Group__1 ;
+ public final void rule__Predicate__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2853:1: ( rule__PredicateSymbol__Group__4__Impl rule__PredicateSymbol__Group__5 )
- // InternalSolverLanguage.g:2854:2: rule__PredicateSymbol__Group__4__Impl rule__PredicateSymbol__Group__5
+ // InternalSolverLanguage.g:2794:1: ( rule__Predicate__Group__0__Impl rule__Predicate__Group__1 )
+ // InternalSolverLanguage.g:2795:2: rule__Predicate__Group__0__Impl rule__Predicate__Group__1
{
- pushFollow(FOLLOW_14);
- rule__PredicateSymbol__Group__4__Impl();
+ pushFollow(FOLLOW_19);
+ rule__Predicate__Group__0__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__PredicateSymbol__Group__5();
+ rule__Predicate__Group__1();
state._fsp--;
@@ -9011,25 +8828,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group__4"
+ // $ANTLR end "rule__Predicate__Group__0"
- // $ANTLR start "rule__PredicateSymbol__Group__4__Impl"
- // InternalSolverLanguage.g:2861:1: rule__PredicateSymbol__Group__4__Impl : ( ')' ) ;
- public final void rule__PredicateSymbol__Group__4__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group__0__Impl"
+ // InternalSolverLanguage.g:2802:1: rule__Predicate__Group__0__Impl : ( ( rule__Predicate__IsErrorAssignment_0 )? ) ;
+ public final void rule__Predicate__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2865:1: ( ( ')' ) )
- // InternalSolverLanguage.g:2866:1: ( ')' )
+ // InternalSolverLanguage.g:2806:1: ( ( ( rule__Predicate__IsErrorAssignment_0 )? ) )
+ // InternalSolverLanguage.g:2807:1: ( ( rule__Predicate__IsErrorAssignment_0 )? )
{
- // InternalSolverLanguage.g:2866:1: ( ')' )
- // InternalSolverLanguage.g:2867:2: ')'
+ // InternalSolverLanguage.g:2807:1: ( ( rule__Predicate__IsErrorAssignment_0 )? )
+ // InternalSolverLanguage.g:2808:2: ( rule__Predicate__IsErrorAssignment_0 )?
{
- before(grammarAccess.getPredicateSymbolAccess().getRightParenthesisKeyword_4());
- match(input,18,FOLLOW_2);
- after(grammarAccess.getPredicateSymbolAccess().getRightParenthesisKeyword_4());
+ before(grammarAccess.getPredicateAccess().getIsErrorAssignment_0());
+ // InternalSolverLanguage.g:2809:2: ( rule__Predicate__IsErrorAssignment_0 )?
+ int alt26=2;
+ int LA26_0 = input.LA(1);
+
+ if ( (LA26_0==16) ) {
+ alt26=1;
+ }
+ switch (alt26) {
+ case 1 :
+ // InternalSolverLanguage.g:2809:3: rule__Predicate__IsErrorAssignment_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Predicate__IsErrorAssignment_0();
+
+ state._fsp--;
+
+
+ }
+ break;
+
+ }
+
+ after(grammarAccess.getPredicateAccess().getIsErrorAssignment_0());
}
@@ -9048,26 +8886,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group__4__Impl"
+ // $ANTLR end "rule__Predicate__Group__0__Impl"
- // $ANTLR start "rule__PredicateSymbol__Group__5"
- // InternalSolverLanguage.g:2876:1: rule__PredicateSymbol__Group__5 : rule__PredicateSymbol__Group__5__Impl rule__PredicateSymbol__Group__6 ;
- public final void rule__PredicateSymbol__Group__5() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group__1"
+ // InternalSolverLanguage.g:2817:1: rule__Predicate__Group__1 : rule__Predicate__Group__1__Impl rule__Predicate__Group__2 ;
+ public final void rule__Predicate__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2880:1: ( rule__PredicateSymbol__Group__5__Impl rule__PredicateSymbol__Group__6 )
- // InternalSolverLanguage.g:2881:2: rule__PredicateSymbol__Group__5__Impl rule__PredicateSymbol__Group__6
+ // InternalSolverLanguage.g:2821:1: ( rule__Predicate__Group__1__Impl rule__Predicate__Group__2 )
+ // InternalSolverLanguage.g:2822:2: rule__Predicate__Group__1__Impl rule__Predicate__Group__2
{
pushFollow(FOLLOW_20);
- rule__PredicateSymbol__Group__5__Impl();
+ rule__Predicate__Group__1__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__PredicateSymbol__Group__6();
+ rule__Predicate__Group__2();
state._fsp--;
@@ -9086,25 +8924,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group__5"
+ // $ANTLR end "rule__Predicate__Group__1"
- // $ANTLR start "rule__PredicateSymbol__Group__5__Impl"
- // InternalSolverLanguage.g:2888:1: rule__PredicateSymbol__Group__5__Impl : ( ':' ) ;
- public final void rule__PredicateSymbol__Group__5__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group__1__Impl"
+ // InternalSolverLanguage.g:2829:1: rule__Predicate__Group__1__Impl : ( ( rule__Predicate__SymbolAssignment_1 ) ) ;
+ public final void rule__Predicate__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2892:1: ( ( ':' ) )
- // InternalSolverLanguage.g:2893:1: ( ':' )
+ // InternalSolverLanguage.g:2833:1: ( ( ( rule__Predicate__SymbolAssignment_1 ) ) )
+ // InternalSolverLanguage.g:2834:1: ( ( rule__Predicate__SymbolAssignment_1 ) )
{
- // InternalSolverLanguage.g:2893:1: ( ':' )
- // InternalSolverLanguage.g:2894:2: ':'
+ // InternalSolverLanguage.g:2834:1: ( ( rule__Predicate__SymbolAssignment_1 ) )
+ // InternalSolverLanguage.g:2835:2: ( rule__Predicate__SymbolAssignment_1 )
{
- before(grammarAccess.getPredicateSymbolAccess().getColonKeyword_5());
- match(input,19,FOLLOW_2);
- after(grammarAccess.getPredicateSymbolAccess().getColonKeyword_5());
+ before(grammarAccess.getPredicateAccess().getSymbolAssignment_1());
+ // InternalSolverLanguage.g:2836:2: ( rule__Predicate__SymbolAssignment_1 )
+ // InternalSolverLanguage.g:2836:3: rule__Predicate__SymbolAssignment_1
+ {
+ pushFollow(FOLLOW_2);
+ rule__Predicate__SymbolAssignment_1();
+
+ state._fsp--;
+
+
+ }
+
+ after(grammarAccess.getPredicateAccess().getSymbolAssignment_1());
}
@@ -9123,26 +8971,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group__5__Impl"
+ // $ANTLR end "rule__Predicate__Group__1__Impl"
- // $ANTLR start "rule__PredicateSymbol__Group__6"
- // InternalSolverLanguage.g:2903:1: rule__PredicateSymbol__Group__6 : rule__PredicateSymbol__Group__6__Impl rule__PredicateSymbol__Group__7 ;
- public final void rule__PredicateSymbol__Group__6() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group__2"
+ // InternalSolverLanguage.g:2844:1: rule__Predicate__Group__2 : rule__Predicate__Group__2__Impl rule__Predicate__Group__3 ;
+ public final void rule__Predicate__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2907:1: ( rule__PredicateSymbol__Group__6__Impl rule__PredicateSymbol__Group__7 )
- // InternalSolverLanguage.g:2908:2: rule__PredicateSymbol__Group__6__Impl rule__PredicateSymbol__Group__7
+ // InternalSolverLanguage.g:2848:1: ( rule__Predicate__Group__2__Impl rule__Predicate__Group__3 )
+ // InternalSolverLanguage.g:2849:2: rule__Predicate__Group__2__Impl rule__Predicate__Group__3
{
- pushFollow(FOLLOW_6);
- rule__PredicateSymbol__Group__6__Impl();
+ pushFollow(FOLLOW_20);
+ rule__Predicate__Group__2__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__PredicateSymbol__Group__7();
+ rule__Predicate__Group__3();
state._fsp--;
@@ -9161,35 +9009,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group__6"
+ // $ANTLR end "rule__Predicate__Group__2"
- // $ANTLR start "rule__PredicateSymbol__Group__6__Impl"
- // InternalSolverLanguage.g:2915:1: rule__PredicateSymbol__Group__6__Impl : ( ( rule__PredicateSymbol__Alternatives_6 ) ) ;
- public final void rule__PredicateSymbol__Group__6__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group__2__Impl"
+ // InternalSolverLanguage.g:2856:1: rule__Predicate__Group__2__Impl : ( ( rule__Predicate__Group_2__0 )? ) ;
+ public final void rule__Predicate__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2919:1: ( ( ( rule__PredicateSymbol__Alternatives_6 ) ) )
- // InternalSolverLanguage.g:2920:1: ( ( rule__PredicateSymbol__Alternatives_6 ) )
- {
- // InternalSolverLanguage.g:2920:1: ( ( rule__PredicateSymbol__Alternatives_6 ) )
- // InternalSolverLanguage.g:2921:2: ( rule__PredicateSymbol__Alternatives_6 )
+ // InternalSolverLanguage.g:2860:1: ( ( ( rule__Predicate__Group_2__0 )? ) )
+ // InternalSolverLanguage.g:2861:1: ( ( rule__Predicate__Group_2__0 )? )
{
- before(grammarAccess.getPredicateSymbolAccess().getAlternatives_6());
- // InternalSolverLanguage.g:2922:2: ( rule__PredicateSymbol__Alternatives_6 )
- // InternalSolverLanguage.g:2922:3: rule__PredicateSymbol__Alternatives_6
+ // InternalSolverLanguage.g:2861:1: ( ( rule__Predicate__Group_2__0 )? )
+ // InternalSolverLanguage.g:2862:2: ( rule__Predicate__Group_2__0 )?
{
- pushFollow(FOLLOW_2);
- rule__PredicateSymbol__Alternatives_6();
+ before(grammarAccess.getPredicateAccess().getGroup_2());
+ // InternalSolverLanguage.g:2863:2: ( rule__Predicate__Group_2__0 )?
+ int alt27=2;
+ int LA27_0 = input.LA(1);
- state._fsp--;
+ if ( (LA27_0==18) ) {
+ alt27=1;
+ }
+ switch (alt27) {
+ case 1 :
+ // InternalSolverLanguage.g:2863:3: rule__Predicate__Group_2__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Predicate__Group_2__0();
+ state._fsp--;
+
+
+ }
+ break;
}
- after(grammarAccess.getPredicateSymbolAccess().getAlternatives_6());
+ after(grammarAccess.getPredicateAccess().getGroup_2());
}
@@ -9208,21 +9067,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group__6__Impl"
+ // $ANTLR end "rule__Predicate__Group__2__Impl"
- // $ANTLR start "rule__PredicateSymbol__Group__7"
- // InternalSolverLanguage.g:2930:1: rule__PredicateSymbol__Group__7 : rule__PredicateSymbol__Group__7__Impl ;
- public final void rule__PredicateSymbol__Group__7() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group__3"
+ // InternalSolverLanguage.g:2871:1: rule__Predicate__Group__3 : rule__Predicate__Group__3__Impl rule__Predicate__Group__4 ;
+ public final void rule__Predicate__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2934:1: ( rule__PredicateSymbol__Group__7__Impl )
- // InternalSolverLanguage.g:2935:2: rule__PredicateSymbol__Group__7__Impl
+ // InternalSolverLanguage.g:2875:1: ( rule__Predicate__Group__3__Impl rule__Predicate__Group__4 )
+ // InternalSolverLanguage.g:2876:2: rule__Predicate__Group__3__Impl rule__Predicate__Group__4
{
+ pushFollow(FOLLOW_21);
+ rule__Predicate__Group__3__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__PredicateSymbol__Group__7__Impl();
+ rule__Predicate__Group__4();
state._fsp--;
@@ -9241,25 +9105,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group__7"
+ // $ANTLR end "rule__Predicate__Group__3"
- // $ANTLR start "rule__PredicateSymbol__Group__7__Impl"
- // InternalSolverLanguage.g:2941:1: rule__PredicateSymbol__Group__7__Impl : ( '.' ) ;
- public final void rule__PredicateSymbol__Group__7__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group__3__Impl"
+ // InternalSolverLanguage.g:2883:1: rule__Predicate__Group__3__Impl : ( ':-' ) ;
+ public final void rule__Predicate__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2945:1: ( ( '.' ) )
- // InternalSolverLanguage.g:2946:1: ( '.' )
+ // InternalSolverLanguage.g:2887:1: ( ( ':-' ) )
+ // InternalSolverLanguage.g:2888:1: ( ':-' )
{
- // InternalSolverLanguage.g:2946:1: ( '.' )
- // InternalSolverLanguage.g:2947:2: '.'
+ // InternalSolverLanguage.g:2888:1: ( ':-' )
+ // InternalSolverLanguage.g:2889:2: ':-'
{
- before(grammarAccess.getPredicateSymbolAccess().getFullStopKeyword_7());
- match(input,14,FOLLOW_2);
- after(grammarAccess.getPredicateSymbolAccess().getFullStopKeyword_7());
+ before(grammarAccess.getPredicateAccess().getColonHyphenMinusKeyword_3());
+ match(input,28,FOLLOW_2);
+ after(grammarAccess.getPredicateAccess().getColonHyphenMinusKeyword_3());
}
@@ -9278,26 +9142,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group__7__Impl"
+ // $ANTLR end "rule__Predicate__Group__3__Impl"
- // $ANTLR start "rule__PredicateSymbol__Group_6_1__0"
- // InternalSolverLanguage.g:2957:1: rule__PredicateSymbol__Group_6_1__0 : rule__PredicateSymbol__Group_6_1__0__Impl rule__PredicateSymbol__Group_6_1__1 ;
- public final void rule__PredicateSymbol__Group_6_1__0() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group__4"
+ // InternalSolverLanguage.g:2898:1: rule__Predicate__Group__4 : rule__Predicate__Group__4__Impl rule__Predicate__Group__5 ;
+ public final void rule__Predicate__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2961:1: ( rule__PredicateSymbol__Group_6_1__0__Impl rule__PredicateSymbol__Group_6_1__1 )
- // InternalSolverLanguage.g:2962:2: rule__PredicateSymbol__Group_6_1__0__Impl rule__PredicateSymbol__Group_6_1__1
+ // InternalSolverLanguage.g:2902:1: ( rule__Predicate__Group__4__Impl rule__Predicate__Group__5 )
+ // InternalSolverLanguage.g:2903:2: rule__Predicate__Group__4__Impl rule__Predicate__Group__5
{
- pushFollow(FOLLOW_21);
- rule__PredicateSymbol__Group_6_1__0__Impl();
+ pushFollow(FOLLOW_6);
+ rule__Predicate__Group__4__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__PredicateSymbol__Group_6_1__1();
+ rule__Predicate__Group__5();
state._fsp--;
@@ -9316,35 +9180,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group_6_1__0"
+ // $ANTLR end "rule__Predicate__Group__4"
- // $ANTLR start "rule__PredicateSymbol__Group_6_1__0__Impl"
- // InternalSolverLanguage.g:2969:1: rule__PredicateSymbol__Group_6_1__0__Impl : ( ( rule__PredicateSymbol__BodiesAssignment_6_1_0 ) ) ;
- public final void rule__PredicateSymbol__Group_6_1__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group__4__Impl"
+ // InternalSolverLanguage.g:2910:1: rule__Predicate__Group__4__Impl : ( ( rule__Predicate__Alternatives_4 ) ) ;
+ public final void rule__Predicate__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2973:1: ( ( ( rule__PredicateSymbol__BodiesAssignment_6_1_0 ) ) )
- // InternalSolverLanguage.g:2974:1: ( ( rule__PredicateSymbol__BodiesAssignment_6_1_0 ) )
+ // InternalSolverLanguage.g:2914:1: ( ( ( rule__Predicate__Alternatives_4 ) ) )
+ // InternalSolverLanguage.g:2915:1: ( ( rule__Predicate__Alternatives_4 ) )
{
- // InternalSolverLanguage.g:2974:1: ( ( rule__PredicateSymbol__BodiesAssignment_6_1_0 ) )
- // InternalSolverLanguage.g:2975:2: ( rule__PredicateSymbol__BodiesAssignment_6_1_0 )
+ // InternalSolverLanguage.g:2915:1: ( ( rule__Predicate__Alternatives_4 ) )
+ // InternalSolverLanguage.g:2916:2: ( rule__Predicate__Alternatives_4 )
{
- before(grammarAccess.getPredicateSymbolAccess().getBodiesAssignment_6_1_0());
- // InternalSolverLanguage.g:2976:2: ( rule__PredicateSymbol__BodiesAssignment_6_1_0 )
- // InternalSolverLanguage.g:2976:3: rule__PredicateSymbol__BodiesAssignment_6_1_0
+ before(grammarAccess.getPredicateAccess().getAlternatives_4());
+ // InternalSolverLanguage.g:2917:2: ( rule__Predicate__Alternatives_4 )
+ // InternalSolverLanguage.g:2917:3: rule__Predicate__Alternatives_4
{
pushFollow(FOLLOW_2);
- rule__PredicateSymbol__BodiesAssignment_6_1_0();
+ rule__Predicate__Alternatives_4();
state._fsp--;
}
- after(grammarAccess.getPredicateSymbolAccess().getBodiesAssignment_6_1_0());
+ after(grammarAccess.getPredicateAccess().getAlternatives_4());
}
@@ -9363,21 +9227,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group_6_1__0__Impl"
+ // $ANTLR end "rule__Predicate__Group__4__Impl"
- // $ANTLR start "rule__PredicateSymbol__Group_6_1__1"
- // InternalSolverLanguage.g:2984:1: rule__PredicateSymbol__Group_6_1__1 : rule__PredicateSymbol__Group_6_1__1__Impl ;
- public final void rule__PredicateSymbol__Group_6_1__1() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group__5"
+ // InternalSolverLanguage.g:2925:1: rule__Predicate__Group__5 : rule__Predicate__Group__5__Impl ;
+ public final void rule__Predicate__Group__5() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2988:1: ( rule__PredicateSymbol__Group_6_1__1__Impl )
- // InternalSolverLanguage.g:2989:2: rule__PredicateSymbol__Group_6_1__1__Impl
+ // InternalSolverLanguage.g:2929:1: ( rule__Predicate__Group__5__Impl )
+ // InternalSolverLanguage.g:2930:2: rule__Predicate__Group__5__Impl
{
pushFollow(FOLLOW_2);
- rule__PredicateSymbol__Group_6_1__1__Impl();
+ rule__Predicate__Group__5__Impl();
state._fsp--;
@@ -9396,53 +9260,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group_6_1__1"
+ // $ANTLR end "rule__Predicate__Group__5"
- // $ANTLR start "rule__PredicateSymbol__Group_6_1__1__Impl"
- // InternalSolverLanguage.g:2995:1: rule__PredicateSymbol__Group_6_1__1__Impl : ( ( rule__PredicateSymbol__Group_6_1_1__0 )* ) ;
- public final void rule__PredicateSymbol__Group_6_1__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group__5__Impl"
+ // InternalSolverLanguage.g:2936:1: rule__Predicate__Group__5__Impl : ( '.' ) ;
+ public final void rule__Predicate__Group__5__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2999:1: ( ( ( rule__PredicateSymbol__Group_6_1_1__0 )* ) )
- // InternalSolverLanguage.g:3000:1: ( ( rule__PredicateSymbol__Group_6_1_1__0 )* )
+ // InternalSolverLanguage.g:2940:1: ( ( '.' ) )
+ // InternalSolverLanguage.g:2941:1: ( '.' )
{
- // InternalSolverLanguage.g:3000:1: ( ( rule__PredicateSymbol__Group_6_1_1__0 )* )
- // InternalSolverLanguage.g:3001:2: ( rule__PredicateSymbol__Group_6_1_1__0 )*
+ // InternalSolverLanguage.g:2941:1: ( '.' )
+ // InternalSolverLanguage.g:2942:2: '.'
{
- before(grammarAccess.getPredicateSymbolAccess().getGroup_6_1_1());
- // InternalSolverLanguage.g:3002:2: ( rule__PredicateSymbol__Group_6_1_1__0 )*
- loop27:
- do {
- int alt27=2;
- int LA27_0 = input.LA(1);
-
- if ( (LA27_0==28) ) {
- alt27=1;
- }
-
-
- switch (alt27) {
- case 1 :
- // InternalSolverLanguage.g:3002:3: rule__PredicateSymbol__Group_6_1_1__0
- {
- pushFollow(FOLLOW_22);
- rule__PredicateSymbol__Group_6_1_1__0();
-
- state._fsp--;
-
-
- }
- break;
-
- default :
- break loop27;
- }
- } while (true);
-
- after(grammarAccess.getPredicateSymbolAccess().getGroup_6_1_1());
+ before(grammarAccess.getPredicateAccess().getFullStopKeyword_5());
+ match(input,14,FOLLOW_2);
+ after(grammarAccess.getPredicateAccess().getFullStopKeyword_5());
}
@@ -9461,26 +9297,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group_6_1__1__Impl"
+ // $ANTLR end "rule__Predicate__Group__5__Impl"
- // $ANTLR start "rule__PredicateSymbol__Group_6_1_1__0"
- // InternalSolverLanguage.g:3011:1: rule__PredicateSymbol__Group_6_1_1__0 : rule__PredicateSymbol__Group_6_1_1__0__Impl rule__PredicateSymbol__Group_6_1_1__1 ;
- public final void rule__PredicateSymbol__Group_6_1_1__0() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_2__0"
+ // InternalSolverLanguage.g:2952:1: rule__Predicate__Group_2__0 : rule__Predicate__Group_2__0__Impl rule__Predicate__Group_2__1 ;
+ public final void rule__Predicate__Group_2__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3015:1: ( rule__PredicateSymbol__Group_6_1_1__0__Impl rule__PredicateSymbol__Group_6_1_1__1 )
- // InternalSolverLanguage.g:3016:2: rule__PredicateSymbol__Group_6_1_1__0__Impl rule__PredicateSymbol__Group_6_1_1__1
+ // InternalSolverLanguage.g:2956:1: ( rule__Predicate__Group_2__0__Impl rule__Predicate__Group_2__1 )
+ // InternalSolverLanguage.g:2957:2: rule__Predicate__Group_2__0__Impl rule__Predicate__Group_2__1
{
- pushFollow(FOLLOW_20);
- rule__PredicateSymbol__Group_6_1_1__0__Impl();
+ pushFollow(FOLLOW_22);
+ rule__Predicate__Group_2__0__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__PredicateSymbol__Group_6_1_1__1();
+ rule__Predicate__Group_2__1();
state._fsp--;
@@ -9499,25 +9335,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group_6_1_1__0"
+ // $ANTLR end "rule__Predicate__Group_2__0"
- // $ANTLR start "rule__PredicateSymbol__Group_6_1_1__0__Impl"
- // InternalSolverLanguage.g:3023:1: rule__PredicateSymbol__Group_6_1_1__0__Impl : ( '|' ) ;
- public final void rule__PredicateSymbol__Group_6_1_1__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_2__0__Impl"
+ // InternalSolverLanguage.g:2964:1: rule__Predicate__Group_2__0__Impl : ( '(' ) ;
+ public final void rule__Predicate__Group_2__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3027:1: ( ( '|' ) )
- // InternalSolverLanguage.g:3028:1: ( '|' )
+ // InternalSolverLanguage.g:2968:1: ( ( '(' ) )
+ // InternalSolverLanguage.g:2969:1: ( '(' )
{
- // InternalSolverLanguage.g:3028:1: ( '|' )
- // InternalSolverLanguage.g:3029:2: '|'
+ // InternalSolverLanguage.g:2969:1: ( '(' )
+ // InternalSolverLanguage.g:2970:2: '('
{
- before(grammarAccess.getPredicateSymbolAccess().getVerticalLineKeyword_6_1_1_0());
- match(input,28,FOLLOW_2);
- after(grammarAccess.getPredicateSymbolAccess().getVerticalLineKeyword_6_1_1_0());
+ before(grammarAccess.getPredicateAccess().getLeftParenthesisKeyword_2_0());
+ match(input,18,FOLLOW_2);
+ after(grammarAccess.getPredicateAccess().getLeftParenthesisKeyword_2_0());
}
@@ -9536,21 +9372,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group_6_1_1__0__Impl"
+ // $ANTLR end "rule__Predicate__Group_2__0__Impl"
- // $ANTLR start "rule__PredicateSymbol__Group_6_1_1__1"
- // InternalSolverLanguage.g:3038:1: rule__PredicateSymbol__Group_6_1_1__1 : rule__PredicateSymbol__Group_6_1_1__1__Impl ;
- public final void rule__PredicateSymbol__Group_6_1_1__1() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_2__1"
+ // InternalSolverLanguage.g:2979:1: rule__Predicate__Group_2__1 : rule__Predicate__Group_2__1__Impl rule__Predicate__Group_2__2 ;
+ public final void rule__Predicate__Group_2__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3042:1: ( rule__PredicateSymbol__Group_6_1_1__1__Impl )
- // InternalSolverLanguage.g:3043:2: rule__PredicateSymbol__Group_6_1_1__1__Impl
+ // InternalSolverLanguage.g:2983:1: ( rule__Predicate__Group_2__1__Impl rule__Predicate__Group_2__2 )
+ // InternalSolverLanguage.g:2984:2: rule__Predicate__Group_2__1__Impl rule__Predicate__Group_2__2
{
+ pushFollow(FOLLOW_22);
+ rule__Predicate__Group_2__1__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__PredicateSymbol__Group_6_1_1__1__Impl();
+ rule__Predicate__Group_2__2();
state._fsp--;
@@ -9569,35 +9410,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group_6_1_1__1"
+ // $ANTLR end "rule__Predicate__Group_2__1"
- // $ANTLR start "rule__PredicateSymbol__Group_6_1_1__1__Impl"
- // InternalSolverLanguage.g:3049:1: rule__PredicateSymbol__Group_6_1_1__1__Impl : ( ( rule__PredicateSymbol__BodiesAssignment_6_1_1_1 ) ) ;
- public final void rule__PredicateSymbol__Group_6_1_1__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_2__1__Impl"
+ // InternalSolverLanguage.g:2991:1: rule__Predicate__Group_2__1__Impl : ( ( rule__Predicate__Group_2_1__0 )? ) ;
+ public final void rule__Predicate__Group_2__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3053:1: ( ( ( rule__PredicateSymbol__BodiesAssignment_6_1_1_1 ) ) )
- // InternalSolverLanguage.g:3054:1: ( ( rule__PredicateSymbol__BodiesAssignment_6_1_1_1 ) )
+ // InternalSolverLanguage.g:2995:1: ( ( ( rule__Predicate__Group_2_1__0 )? ) )
+ // InternalSolverLanguage.g:2996:1: ( ( rule__Predicate__Group_2_1__0 )? )
{
- // InternalSolverLanguage.g:3054:1: ( ( rule__PredicateSymbol__BodiesAssignment_6_1_1_1 ) )
- // InternalSolverLanguage.g:3055:2: ( rule__PredicateSymbol__BodiesAssignment_6_1_1_1 )
+ // InternalSolverLanguage.g:2996:1: ( ( rule__Predicate__Group_2_1__0 )? )
+ // InternalSolverLanguage.g:2997:2: ( rule__Predicate__Group_2_1__0 )?
{
- before(grammarAccess.getPredicateSymbolAccess().getBodiesAssignment_6_1_1_1());
- // InternalSolverLanguage.g:3056:2: ( rule__PredicateSymbol__BodiesAssignment_6_1_1_1 )
- // InternalSolverLanguage.g:3056:3: rule__PredicateSymbol__BodiesAssignment_6_1_1_1
- {
- pushFollow(FOLLOW_2);
- rule__PredicateSymbol__BodiesAssignment_6_1_1_1();
+ before(grammarAccess.getPredicateAccess().getGroup_2_1());
+ // InternalSolverLanguage.g:2998:2: ( rule__Predicate__Group_2_1__0 )?
+ int alt28=2;
+ int LA28_0 = input.LA(1);
+
+ if ( (LA28_0==RULE_ID) ) {
+ alt28=1;
+ }
+ switch (alt28) {
+ case 1 :
+ // InternalSolverLanguage.g:2998:3: rule__Predicate__Group_2_1__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Predicate__Group_2_1__0();
+
+ state._fsp--;
- state._fsp--;
+ }
+ break;
}
- after(grammarAccess.getPredicateSymbolAccess().getBodiesAssignment_6_1_1_1());
+ after(grammarAccess.getPredicateAccess().getGroup_2_1());
}
@@ -9616,26 +9468,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__Group_6_1_1__1__Impl"
+ // $ANTLR end "rule__Predicate__Group_2__1__Impl"
- // $ANTLR start "rule__ErrorPredicate__Group__0"
- // InternalSolverLanguage.g:3065:1: rule__ErrorPredicate__Group__0 : rule__ErrorPredicate__Group__0__Impl rule__ErrorPredicate__Group__1 ;
- public final void rule__ErrorPredicate__Group__0() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_2__2"
+ // InternalSolverLanguage.g:3006:1: rule__Predicate__Group_2__2 : rule__Predicate__Group_2__2__Impl ;
+ public final void rule__Predicate__Group_2__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3069:1: ( rule__ErrorPredicate__Group__0__Impl rule__ErrorPredicate__Group__1 )
- // InternalSolverLanguage.g:3070:2: rule__ErrorPredicate__Group__0__Impl rule__ErrorPredicate__Group__1
+ // InternalSolverLanguage.g:3010:1: ( rule__Predicate__Group_2__2__Impl )
+ // InternalSolverLanguage.g:3011:2: rule__Predicate__Group_2__2__Impl
{
- pushFollow(FOLLOW_23);
- rule__ErrorPredicate__Group__0__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Group__1();
+ rule__Predicate__Group_2__2__Impl();
state._fsp--;
@@ -9654,29 +9501,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group__0"
+ // $ANTLR end "rule__Predicate__Group_2__2"
- // $ANTLR start "rule__ErrorPredicate__Group__0__Impl"
- // InternalSolverLanguage.g:3077:1: rule__ErrorPredicate__Group__0__Impl : ( () ) ;
- public final void rule__ErrorPredicate__Group__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_2__2__Impl"
+ // InternalSolverLanguage.g:3017:1: rule__Predicate__Group_2__2__Impl : ( ')' ) ;
+ public final void rule__Predicate__Group_2__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3081:1: ( ( () ) )
- // InternalSolverLanguage.g:3082:1: ( () )
+ // InternalSolverLanguage.g:3021:1: ( ( ')' ) )
+ // InternalSolverLanguage.g:3022:1: ( ')' )
{
- // InternalSolverLanguage.g:3082:1: ( () )
- // InternalSolverLanguage.g:3083:2: ()
+ // InternalSolverLanguage.g:3022:1: ( ')' )
+ // InternalSolverLanguage.g:3023:2: ')'
{
- before(grammarAccess.getErrorPredicateAccess().getErrorPredicateAction_0());
- // InternalSolverLanguage.g:3084:2: ()
- // InternalSolverLanguage.g:3084:3:
- {
- }
-
- after(grammarAccess.getErrorPredicateAccess().getErrorPredicateAction_0());
+ before(grammarAccess.getPredicateAccess().getRightParenthesisKeyword_2_2());
+ match(input,19,FOLLOW_2);
+ after(grammarAccess.getPredicateAccess().getRightParenthesisKeyword_2_2());
}
@@ -9684,6 +9527,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
}
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
finally {
restoreStackSize(stackSize);
@@ -9691,26 +9538,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group__0__Impl"
+ // $ANTLR end "rule__Predicate__Group_2__2__Impl"
- // $ANTLR start "rule__ErrorPredicate__Group__1"
- // InternalSolverLanguage.g:3092:1: rule__ErrorPredicate__Group__1 : rule__ErrorPredicate__Group__1__Impl rule__ErrorPredicate__Group__2 ;
- public final void rule__ErrorPredicate__Group__1() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_2_1__0"
+ // InternalSolverLanguage.g:3033:1: rule__Predicate__Group_2_1__0 : rule__Predicate__Group_2_1__0__Impl rule__Predicate__Group_2_1__1 ;
+ public final void rule__Predicate__Group_2_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3096:1: ( rule__ErrorPredicate__Group__1__Impl rule__ErrorPredicate__Group__2 )
- // InternalSolverLanguage.g:3097:2: rule__ErrorPredicate__Group__1__Impl rule__ErrorPredicate__Group__2
+ // InternalSolverLanguage.g:3037:1: ( rule__Predicate__Group_2_1__0__Impl rule__Predicate__Group_2_1__1 )
+ // InternalSolverLanguage.g:3038:2: rule__Predicate__Group_2_1__0__Impl rule__Predicate__Group_2_1__1
{
- pushFollow(FOLLOW_24);
- rule__ErrorPredicate__Group__1__Impl();
+ pushFollow(FOLLOW_14);
+ rule__Predicate__Group_2_1__0__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Group__2();
+ rule__Predicate__Group_2_1__1();
state._fsp--;
@@ -9729,25 +9576,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group__1"
+ // $ANTLR end "rule__Predicate__Group_2_1__0"
- // $ANTLR start "rule__ErrorPredicate__Group__1__Impl"
- // InternalSolverLanguage.g:3104:1: rule__ErrorPredicate__Group__1__Impl : ( 'error' ) ;
- public final void rule__ErrorPredicate__Group__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_2_1__0__Impl"
+ // InternalSolverLanguage.g:3045:1: rule__Predicate__Group_2_1__0__Impl : ( ( rule__Predicate__ParametersAssignment_2_1_0 ) ) ;
+ public final void rule__Predicate__Group_2_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3108:1: ( ( 'error' ) )
- // InternalSolverLanguage.g:3109:1: ( 'error' )
+ // InternalSolverLanguage.g:3049:1: ( ( ( rule__Predicate__ParametersAssignment_2_1_0 ) ) )
+ // InternalSolverLanguage.g:3050:1: ( ( rule__Predicate__ParametersAssignment_2_1_0 ) )
{
- // InternalSolverLanguage.g:3109:1: ( 'error' )
- // InternalSolverLanguage.g:3110:2: 'error'
+ // InternalSolverLanguage.g:3050:1: ( ( rule__Predicate__ParametersAssignment_2_1_0 ) )
+ // InternalSolverLanguage.g:3051:2: ( rule__Predicate__ParametersAssignment_2_1_0 )
{
- before(grammarAccess.getErrorPredicateAccess().getErrorKeyword_1());
- match(input,16,FOLLOW_2);
- after(grammarAccess.getErrorPredicateAccess().getErrorKeyword_1());
+ before(grammarAccess.getPredicateAccess().getParametersAssignment_2_1_0());
+ // InternalSolverLanguage.g:3052:2: ( rule__Predicate__ParametersAssignment_2_1_0 )
+ // InternalSolverLanguage.g:3052:3: rule__Predicate__ParametersAssignment_2_1_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Predicate__ParametersAssignment_2_1_0();
+
+ state._fsp--;
+
+
+ }
+
+ after(grammarAccess.getPredicateAccess().getParametersAssignment_2_1_0());
}
@@ -9766,26 +9623,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group__1__Impl"
+ // $ANTLR end "rule__Predicate__Group_2_1__0__Impl"
- // $ANTLR start "rule__ErrorPredicate__Group__2"
- // InternalSolverLanguage.g:3119:1: rule__ErrorPredicate__Group__2 : rule__ErrorPredicate__Group__2__Impl rule__ErrorPredicate__Group__3 ;
- public final void rule__ErrorPredicate__Group__2() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_2_1__1"
+ // InternalSolverLanguage.g:3060:1: rule__Predicate__Group_2_1__1 : rule__Predicate__Group_2_1__1__Impl ;
+ public final void rule__Predicate__Group_2_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3123:1: ( rule__ErrorPredicate__Group__2__Impl rule__ErrorPredicate__Group__3 )
- // InternalSolverLanguage.g:3124:2: rule__ErrorPredicate__Group__2__Impl rule__ErrorPredicate__Group__3
+ // InternalSolverLanguage.g:3064:1: ( rule__Predicate__Group_2_1__1__Impl )
+ // InternalSolverLanguage.g:3065:2: rule__Predicate__Group_2_1__1__Impl
{
- pushFollow(FOLLOW_24);
- rule__ErrorPredicate__Group__2__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Group__3();
+ rule__Predicate__Group_2_1__1__Impl();
state._fsp--;
@@ -9804,46 +9656,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group__2"
+ // $ANTLR end "rule__Predicate__Group_2_1__1"
- // $ANTLR start "rule__ErrorPredicate__Group__2__Impl"
- // InternalSolverLanguage.g:3131:1: rule__ErrorPredicate__Group__2__Impl : ( ( rule__ErrorPredicate__NameAssignment_2 )? ) ;
- public final void rule__ErrorPredicate__Group__2__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_2_1__1__Impl"
+ // InternalSolverLanguage.g:3071:1: rule__Predicate__Group_2_1__1__Impl : ( ( rule__Predicate__Group_2_1_1__0 )* ) ;
+ public final void rule__Predicate__Group_2_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3135:1: ( ( ( rule__ErrorPredicate__NameAssignment_2 )? ) )
- // InternalSolverLanguage.g:3136:1: ( ( rule__ErrorPredicate__NameAssignment_2 )? )
+ // InternalSolverLanguage.g:3075:1: ( ( ( rule__Predicate__Group_2_1_1__0 )* ) )
+ // InternalSolverLanguage.g:3076:1: ( ( rule__Predicate__Group_2_1_1__0 )* )
{
- // InternalSolverLanguage.g:3136:1: ( ( rule__ErrorPredicate__NameAssignment_2 )? )
- // InternalSolverLanguage.g:3137:2: ( rule__ErrorPredicate__NameAssignment_2 )?
+ // InternalSolverLanguage.g:3076:1: ( ( rule__Predicate__Group_2_1_1__0 )* )
+ // InternalSolverLanguage.g:3077:2: ( rule__Predicate__Group_2_1_1__0 )*
{
- before(grammarAccess.getErrorPredicateAccess().getNameAssignment_2());
- // InternalSolverLanguage.g:3138:2: ( rule__ErrorPredicate__NameAssignment_2 )?
- int alt28=2;
- int LA28_0 = input.LA(1);
+ before(grammarAccess.getPredicateAccess().getGroup_2_1_1());
+ // InternalSolverLanguage.g:3078:2: ( rule__Predicate__Group_2_1_1__0 )*
+ loop29:
+ do {
+ int alt29=2;
+ int LA29_0 = input.LA(1);
- if ( (LA28_0==RULE_ID) ) {
- alt28=1;
- }
- switch (alt28) {
- case 1 :
- // InternalSolverLanguage.g:3138:3: rule__ErrorPredicate__NameAssignment_2
- {
- pushFollow(FOLLOW_2);
- rule__ErrorPredicate__NameAssignment_2();
+ if ( (LA29_0==20) ) {
+ alt29=1;
+ }
- state._fsp--;
+ switch (alt29) {
+ case 1 :
+ // InternalSolverLanguage.g:3078:3: rule__Predicate__Group_2_1_1__0
+ {
+ pushFollow(FOLLOW_15);
+ rule__Predicate__Group_2_1_1__0();
+
+ state._fsp--;
- }
- break;
- }
+ }
+ break;
+
+ default :
+ break loop29;
+ }
+ } while (true);
- after(grammarAccess.getErrorPredicateAccess().getNameAssignment_2());
+ after(grammarAccess.getPredicateAccess().getGroup_2_1_1());
}
@@ -9862,26 +9721,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group__2__Impl"
+ // $ANTLR end "rule__Predicate__Group_2_1__1__Impl"
- // $ANTLR start "rule__ErrorPredicate__Group__3"
- // InternalSolverLanguage.g:3146:1: rule__ErrorPredicate__Group__3 : rule__ErrorPredicate__Group__3__Impl rule__ErrorPredicate__Group__4 ;
- public final void rule__ErrorPredicate__Group__3() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_2_1_1__0"
+ // InternalSolverLanguage.g:3087:1: rule__Predicate__Group_2_1_1__0 : rule__Predicate__Group_2_1_1__0__Impl rule__Predicate__Group_2_1_1__1 ;
+ public final void rule__Predicate__Group_2_1_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3150:1: ( rule__ErrorPredicate__Group__3__Impl rule__ErrorPredicate__Group__4 )
- // InternalSolverLanguage.g:3151:2: rule__ErrorPredicate__Group__3__Impl rule__ErrorPredicate__Group__4
+ // InternalSolverLanguage.g:3091:1: ( rule__Predicate__Group_2_1_1__0__Impl rule__Predicate__Group_2_1_1__1 )
+ // InternalSolverLanguage.g:3092:2: rule__Predicate__Group_2_1_1__0__Impl rule__Predicate__Group_2_1_1__1
{
- pushFollow(FOLLOW_14);
- rule__ErrorPredicate__Group__3__Impl();
+ pushFollow(FOLLOW_17);
+ rule__Predicate__Group_2_1_1__0__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Group__4();
+ rule__Predicate__Group_2_1_1__1();
state._fsp--;
@@ -9900,35 +9759,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group__3"
+ // $ANTLR end "rule__Predicate__Group_2_1_1__0"
- // $ANTLR start "rule__ErrorPredicate__Group__3__Impl"
- // InternalSolverLanguage.g:3158:1: rule__ErrorPredicate__Group__3__Impl : ( ( rule__ErrorPredicate__Group_3__0 ) ) ;
- public final void rule__ErrorPredicate__Group__3__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_2_1_1__0__Impl"
+ // InternalSolverLanguage.g:3099:1: rule__Predicate__Group_2_1_1__0__Impl : ( ',' ) ;
+ public final void rule__Predicate__Group_2_1_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3162:1: ( ( ( rule__ErrorPredicate__Group_3__0 ) ) )
- // InternalSolverLanguage.g:3163:1: ( ( rule__ErrorPredicate__Group_3__0 ) )
+ // InternalSolverLanguage.g:3103:1: ( ( ',' ) )
+ // InternalSolverLanguage.g:3104:1: ( ',' )
{
- // InternalSolverLanguage.g:3163:1: ( ( rule__ErrorPredicate__Group_3__0 ) )
- // InternalSolverLanguage.g:3164:2: ( rule__ErrorPredicate__Group_3__0 )
+ // InternalSolverLanguage.g:3104:1: ( ',' )
+ // InternalSolverLanguage.g:3105:2: ','
{
- before(grammarAccess.getErrorPredicateAccess().getGroup_3());
- // InternalSolverLanguage.g:3165:2: ( rule__ErrorPredicate__Group_3__0 )
- // InternalSolverLanguage.g:3165:3: rule__ErrorPredicate__Group_3__0
- {
- pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Group_3__0();
-
- state._fsp--;
-
-
- }
-
- after(grammarAccess.getErrorPredicateAccess().getGroup_3());
+ before(grammarAccess.getPredicateAccess().getCommaKeyword_2_1_1_0());
+ match(input,20,FOLLOW_2);
+ after(grammarAccess.getPredicateAccess().getCommaKeyword_2_1_1_0());
}
@@ -9947,26 +9796,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group__3__Impl"
+ // $ANTLR end "rule__Predicate__Group_2_1_1__0__Impl"
- // $ANTLR start "rule__ErrorPredicate__Group__4"
- // InternalSolverLanguage.g:3173:1: rule__ErrorPredicate__Group__4 : rule__ErrorPredicate__Group__4__Impl rule__ErrorPredicate__Group__5 ;
- public final void rule__ErrorPredicate__Group__4() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_2_1_1__1"
+ // InternalSolverLanguage.g:3114:1: rule__Predicate__Group_2_1_1__1 : rule__Predicate__Group_2_1_1__1__Impl ;
+ public final void rule__Predicate__Group_2_1_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3177:1: ( rule__ErrorPredicate__Group__4__Impl rule__ErrorPredicate__Group__5 )
- // InternalSolverLanguage.g:3178:2: rule__ErrorPredicate__Group__4__Impl rule__ErrorPredicate__Group__5
+ // InternalSolverLanguage.g:3118:1: ( rule__Predicate__Group_2_1_1__1__Impl )
+ // InternalSolverLanguage.g:3119:2: rule__Predicate__Group_2_1_1__1__Impl
{
- pushFollow(FOLLOW_20);
- rule__ErrorPredicate__Group__4__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Group__5();
+ rule__Predicate__Group_2_1_1__1__Impl();
state._fsp--;
@@ -9985,25 +9829,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group__4"
+ // $ANTLR end "rule__Predicate__Group_2_1_1__1"
- // $ANTLR start "rule__ErrorPredicate__Group__4__Impl"
- // InternalSolverLanguage.g:3185:1: rule__ErrorPredicate__Group__4__Impl : ( ':' ) ;
- public final void rule__ErrorPredicate__Group__4__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_2_1_1__1__Impl"
+ // InternalSolverLanguage.g:3125:1: rule__Predicate__Group_2_1_1__1__Impl : ( ( rule__Predicate__ParametersAssignment_2_1_1_1 ) ) ;
+ public final void rule__Predicate__Group_2_1_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3189:1: ( ( ':' ) )
- // InternalSolverLanguage.g:3190:1: ( ':' )
+ // InternalSolverLanguage.g:3129:1: ( ( ( rule__Predicate__ParametersAssignment_2_1_1_1 ) ) )
+ // InternalSolverLanguage.g:3130:1: ( ( rule__Predicate__ParametersAssignment_2_1_1_1 ) )
{
- // InternalSolverLanguage.g:3190:1: ( ':' )
- // InternalSolverLanguage.g:3191:2: ':'
+ // InternalSolverLanguage.g:3130:1: ( ( rule__Predicate__ParametersAssignment_2_1_1_1 ) )
+ // InternalSolverLanguage.g:3131:2: ( rule__Predicate__ParametersAssignment_2_1_1_1 )
{
- before(grammarAccess.getErrorPredicateAccess().getColonKeyword_4());
- match(input,19,FOLLOW_2);
- after(grammarAccess.getErrorPredicateAccess().getColonKeyword_4());
+ before(grammarAccess.getPredicateAccess().getParametersAssignment_2_1_1_1());
+ // InternalSolverLanguage.g:3132:2: ( rule__Predicate__ParametersAssignment_2_1_1_1 )
+ // InternalSolverLanguage.g:3132:3: rule__Predicate__ParametersAssignment_2_1_1_1
+ {
+ pushFollow(FOLLOW_2);
+ rule__Predicate__ParametersAssignment_2_1_1_1();
+
+ state._fsp--;
+
+
+ }
+
+ after(grammarAccess.getPredicateAccess().getParametersAssignment_2_1_1_1());
}
@@ -10022,26 +9876,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group__4__Impl"
+ // $ANTLR end "rule__Predicate__Group_2_1_1__1__Impl"
- // $ANTLR start "rule__ErrorPredicate__Group__5"
- // InternalSolverLanguage.g:3200:1: rule__ErrorPredicate__Group__5 : rule__ErrorPredicate__Group__5__Impl rule__ErrorPredicate__Group__6 ;
- public final void rule__ErrorPredicate__Group__5() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_4_1__0"
+ // InternalSolverLanguage.g:3141:1: rule__Predicate__Group_4_1__0 : rule__Predicate__Group_4_1__0__Impl rule__Predicate__Group_4_1__1 ;
+ public final void rule__Predicate__Group_4_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3204:1: ( rule__ErrorPredicate__Group__5__Impl rule__ErrorPredicate__Group__6 )
- // InternalSolverLanguage.g:3205:2: rule__ErrorPredicate__Group__5__Impl rule__ErrorPredicate__Group__6
+ // InternalSolverLanguage.g:3145:1: ( rule__Predicate__Group_4_1__0__Impl rule__Predicate__Group_4_1__1 )
+ // InternalSolverLanguage.g:3146:2: rule__Predicate__Group_4_1__0__Impl rule__Predicate__Group_4_1__1
{
- pushFollow(FOLLOW_6);
- rule__ErrorPredicate__Group__5__Impl();
+ pushFollow(FOLLOW_23);
+ rule__Predicate__Group_4_1__0__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Group__6();
+ rule__Predicate__Group_4_1__1();
state._fsp--;
@@ -10060,35 +9914,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group__5"
+ // $ANTLR end "rule__Predicate__Group_4_1__0"
- // $ANTLR start "rule__ErrorPredicate__Group__5__Impl"
- // InternalSolverLanguage.g:3212:1: rule__ErrorPredicate__Group__5__Impl : ( ( rule__ErrorPredicate__Alternatives_5 ) ) ;
- public final void rule__ErrorPredicate__Group__5__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_4_1__0__Impl"
+ // InternalSolverLanguage.g:3153:1: rule__Predicate__Group_4_1__0__Impl : ( ( rule__Predicate__BodiesAssignment_4_1_0 ) ) ;
+ public final void rule__Predicate__Group_4_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3216:1: ( ( ( rule__ErrorPredicate__Alternatives_5 ) ) )
- // InternalSolverLanguage.g:3217:1: ( ( rule__ErrorPredicate__Alternatives_5 ) )
+ // InternalSolverLanguage.g:3157:1: ( ( ( rule__Predicate__BodiesAssignment_4_1_0 ) ) )
+ // InternalSolverLanguage.g:3158:1: ( ( rule__Predicate__BodiesAssignment_4_1_0 ) )
{
- // InternalSolverLanguage.g:3217:1: ( ( rule__ErrorPredicate__Alternatives_5 ) )
- // InternalSolverLanguage.g:3218:2: ( rule__ErrorPredicate__Alternatives_5 )
+ // InternalSolverLanguage.g:3158:1: ( ( rule__Predicate__BodiesAssignment_4_1_0 ) )
+ // InternalSolverLanguage.g:3159:2: ( rule__Predicate__BodiesAssignment_4_1_0 )
{
- before(grammarAccess.getErrorPredicateAccess().getAlternatives_5());
- // InternalSolverLanguage.g:3219:2: ( rule__ErrorPredicate__Alternatives_5 )
- // InternalSolverLanguage.g:3219:3: rule__ErrorPredicate__Alternatives_5
+ before(grammarAccess.getPredicateAccess().getBodiesAssignment_4_1_0());
+ // InternalSolverLanguage.g:3160:2: ( rule__Predicate__BodiesAssignment_4_1_0 )
+ // InternalSolverLanguage.g:3160:3: rule__Predicate__BodiesAssignment_4_1_0
{
pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Alternatives_5();
+ rule__Predicate__BodiesAssignment_4_1_0();
state._fsp--;
}
- after(grammarAccess.getErrorPredicateAccess().getAlternatives_5());
+ after(grammarAccess.getPredicateAccess().getBodiesAssignment_4_1_0());
}
@@ -10107,21 +9961,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group__5__Impl"
+ // $ANTLR end "rule__Predicate__Group_4_1__0__Impl"
- // $ANTLR start "rule__ErrorPredicate__Group__6"
- // InternalSolverLanguage.g:3227:1: rule__ErrorPredicate__Group__6 : rule__ErrorPredicate__Group__6__Impl ;
- public final void rule__ErrorPredicate__Group__6() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_4_1__1"
+ // InternalSolverLanguage.g:3168:1: rule__Predicate__Group_4_1__1 : rule__Predicate__Group_4_1__1__Impl ;
+ public final void rule__Predicate__Group_4_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3231:1: ( rule__ErrorPredicate__Group__6__Impl )
- // InternalSolverLanguage.g:3232:2: rule__ErrorPredicate__Group__6__Impl
+ // InternalSolverLanguage.g:3172:1: ( rule__Predicate__Group_4_1__1__Impl )
+ // InternalSolverLanguage.g:3173:2: rule__Predicate__Group_4_1__1__Impl
{
pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Group__6__Impl();
+ rule__Predicate__Group_4_1__1__Impl();
state._fsp--;
@@ -10140,25 +9994,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group__6"
+ // $ANTLR end "rule__Predicate__Group_4_1__1"
- // $ANTLR start "rule__ErrorPredicate__Group__6__Impl"
- // InternalSolverLanguage.g:3238:1: rule__ErrorPredicate__Group__6__Impl : ( '.' ) ;
- public final void rule__ErrorPredicate__Group__6__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_4_1__1__Impl"
+ // InternalSolverLanguage.g:3179:1: rule__Predicate__Group_4_1__1__Impl : ( ( rule__Predicate__Group_4_1_1__0 )* ) ;
+ public final void rule__Predicate__Group_4_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3242:1: ( ( '.' ) )
- // InternalSolverLanguage.g:3243:1: ( '.' )
+ // InternalSolverLanguage.g:3183:1: ( ( ( rule__Predicate__Group_4_1_1__0 )* ) )
+ // InternalSolverLanguage.g:3184:1: ( ( rule__Predicate__Group_4_1_1__0 )* )
{
- // InternalSolverLanguage.g:3243:1: ( '.' )
- // InternalSolverLanguage.g:3244:2: '.'
+ // InternalSolverLanguage.g:3184:1: ( ( rule__Predicate__Group_4_1_1__0 )* )
+ // InternalSolverLanguage.g:3185:2: ( rule__Predicate__Group_4_1_1__0 )*
{
- before(grammarAccess.getErrorPredicateAccess().getFullStopKeyword_6());
- match(input,14,FOLLOW_2);
- after(grammarAccess.getErrorPredicateAccess().getFullStopKeyword_6());
+ before(grammarAccess.getPredicateAccess().getGroup_4_1_1());
+ // InternalSolverLanguage.g:3186:2: ( rule__Predicate__Group_4_1_1__0 )*
+ loop30:
+ do {
+ int alt30=2;
+ int LA30_0 = input.LA(1);
+
+ if ( (LA30_0==29) ) {
+ alt30=1;
+ }
+
+
+ switch (alt30) {
+ case 1 :
+ // InternalSolverLanguage.g:3186:3: rule__Predicate__Group_4_1_1__0
+ {
+ pushFollow(FOLLOW_24);
+ rule__Predicate__Group_4_1_1__0();
+
+ state._fsp--;
+
+
+ }
+ break;
+
+ default :
+ break loop30;
+ }
+ } while (true);
+
+ after(grammarAccess.getPredicateAccess().getGroup_4_1_1());
}
@@ -10177,26 +10059,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group__6__Impl"
+ // $ANTLR end "rule__Predicate__Group_4_1__1__Impl"
- // $ANTLR start "rule__ErrorPredicate__Group_3__0"
- // InternalSolverLanguage.g:3254:1: rule__ErrorPredicate__Group_3__0 : rule__ErrorPredicate__Group_3__0__Impl rule__ErrorPredicate__Group_3__1 ;
- public final void rule__ErrorPredicate__Group_3__0() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_4_1_1__0"
+ // InternalSolverLanguage.g:3195:1: rule__Predicate__Group_4_1_1__0 : rule__Predicate__Group_4_1_1__0__Impl rule__Predicate__Group_4_1_1__1 ;
+ public final void rule__Predicate__Group_4_1_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3258:1: ( rule__ErrorPredicate__Group_3__0__Impl rule__ErrorPredicate__Group_3__1 )
- // InternalSolverLanguage.g:3259:2: rule__ErrorPredicate__Group_3__0__Impl rule__ErrorPredicate__Group_3__1
+ // InternalSolverLanguage.g:3199:1: ( rule__Predicate__Group_4_1_1__0__Impl rule__Predicate__Group_4_1_1__1 )
+ // InternalSolverLanguage.g:3200:2: rule__Predicate__Group_4_1_1__0__Impl rule__Predicate__Group_4_1_1__1
{
- pushFollow(FOLLOW_18);
- rule__ErrorPredicate__Group_3__0__Impl();
+ pushFollow(FOLLOW_21);
+ rule__Predicate__Group_4_1_1__0__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Group_3__1();
+ rule__Predicate__Group_4_1_1__1();
state._fsp--;
@@ -10215,25 +10097,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group_3__0"
+ // $ANTLR end "rule__Predicate__Group_4_1_1__0"
- // $ANTLR start "rule__ErrorPredicate__Group_3__0__Impl"
- // InternalSolverLanguage.g:3266:1: rule__ErrorPredicate__Group_3__0__Impl : ( '(' ) ;
- public final void rule__ErrorPredicate__Group_3__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_4_1_1__0__Impl"
+ // InternalSolverLanguage.g:3207:1: rule__Predicate__Group_4_1_1__0__Impl : ( '|' ) ;
+ public final void rule__Predicate__Group_4_1_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3270:1: ( ( '(' ) )
- // InternalSolverLanguage.g:3271:1: ( '(' )
+ // InternalSolverLanguage.g:3211:1: ( ( '|' ) )
+ // InternalSolverLanguage.g:3212:1: ( '|' )
{
- // InternalSolverLanguage.g:3271:1: ( '(' )
- // InternalSolverLanguage.g:3272:2: '('
+ // InternalSolverLanguage.g:3212:1: ( '|' )
+ // InternalSolverLanguage.g:3213:2: '|'
{
- before(grammarAccess.getErrorPredicateAccess().getLeftParenthesisKeyword_3_0());
- match(input,17,FOLLOW_2);
- after(grammarAccess.getErrorPredicateAccess().getLeftParenthesisKeyword_3_0());
+ before(grammarAccess.getPredicateAccess().getVerticalLineKeyword_4_1_1_0());
+ match(input,29,FOLLOW_2);
+ after(grammarAccess.getPredicateAccess().getVerticalLineKeyword_4_1_1_0());
}
@@ -10252,26 +10134,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group_3__0__Impl"
+ // $ANTLR end "rule__Predicate__Group_4_1_1__0__Impl"
- // $ANTLR start "rule__ErrorPredicate__Group_3__1"
- // InternalSolverLanguage.g:3281:1: rule__ErrorPredicate__Group_3__1 : rule__ErrorPredicate__Group_3__1__Impl rule__ErrorPredicate__Group_3__2 ;
- public final void rule__ErrorPredicate__Group_3__1() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_4_1_1__1"
+ // InternalSolverLanguage.g:3222:1: rule__Predicate__Group_4_1_1__1 : rule__Predicate__Group_4_1_1__1__Impl ;
+ public final void rule__Predicate__Group_4_1_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3285:1: ( rule__ErrorPredicate__Group_3__1__Impl rule__ErrorPredicate__Group_3__2 )
- // InternalSolverLanguage.g:3286:2: rule__ErrorPredicate__Group_3__1__Impl rule__ErrorPredicate__Group_3__2
+ // InternalSolverLanguage.g:3226:1: ( rule__Predicate__Group_4_1_1__1__Impl )
+ // InternalSolverLanguage.g:3227:2: rule__Predicate__Group_4_1_1__1__Impl
{
- pushFollow(FOLLOW_18);
- rule__ErrorPredicate__Group_3__1__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Group_3__2();
+ rule__Predicate__Group_4_1_1__1__Impl();
state._fsp--;
@@ -10290,53 +10167,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group_3__1"
+ // $ANTLR end "rule__Predicate__Group_4_1_1__1"
- // $ANTLR start "rule__ErrorPredicate__Group_3__1__Impl"
- // InternalSolverLanguage.g:3293:1: rule__ErrorPredicate__Group_3__1__Impl : ( ( rule__ErrorPredicate__ParametersAssignment_3_1 )* ) ;
- public final void rule__ErrorPredicate__Group_3__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__Group_4_1_1__1__Impl"
+ // InternalSolverLanguage.g:3233:1: rule__Predicate__Group_4_1_1__1__Impl : ( ( rule__Predicate__BodiesAssignment_4_1_1_1 ) ) ;
+ public final void rule__Predicate__Group_4_1_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3297:1: ( ( ( rule__ErrorPredicate__ParametersAssignment_3_1 )* ) )
- // InternalSolverLanguage.g:3298:1: ( ( rule__ErrorPredicate__ParametersAssignment_3_1 )* )
+ // InternalSolverLanguage.g:3237:1: ( ( ( rule__Predicate__BodiesAssignment_4_1_1_1 ) ) )
+ // InternalSolverLanguage.g:3238:1: ( ( rule__Predicate__BodiesAssignment_4_1_1_1 ) )
{
- // InternalSolverLanguage.g:3298:1: ( ( rule__ErrorPredicate__ParametersAssignment_3_1 )* )
- // InternalSolverLanguage.g:3299:2: ( rule__ErrorPredicate__ParametersAssignment_3_1 )*
+ // InternalSolverLanguage.g:3238:1: ( ( rule__Predicate__BodiesAssignment_4_1_1_1 ) )
+ // InternalSolverLanguage.g:3239:2: ( rule__Predicate__BodiesAssignment_4_1_1_1 )
{
- before(grammarAccess.getErrorPredicateAccess().getParametersAssignment_3_1());
- // InternalSolverLanguage.g:3300:2: ( rule__ErrorPredicate__ParametersAssignment_3_1 )*
- loop29:
- do {
- int alt29=2;
- int LA29_0 = input.LA(1);
-
- if ( (LA29_0==RULE_ID) ) {
- alt29=1;
- }
-
-
- switch (alt29) {
- case 1 :
- // InternalSolverLanguage.g:3300:3: rule__ErrorPredicate__ParametersAssignment_3_1
- {
- pushFollow(FOLLOW_19);
- rule__ErrorPredicate__ParametersAssignment_3_1();
-
- state._fsp--;
+ before(grammarAccess.getPredicateAccess().getBodiesAssignment_4_1_1_1());
+ // InternalSolverLanguage.g:3240:2: ( rule__Predicate__BodiesAssignment_4_1_1_1 )
+ // InternalSolverLanguage.g:3240:3: rule__Predicate__BodiesAssignment_4_1_1_1
+ {
+ pushFollow(FOLLOW_2);
+ rule__Predicate__BodiesAssignment_4_1_1_1();
+ state._fsp--;
- }
- break;
- default :
- break loop29;
- }
- } while (true);
+ }
- after(grammarAccess.getErrorPredicateAccess().getParametersAssignment_3_1());
+ after(grammarAccess.getPredicateAccess().getBodiesAssignment_4_1_1_1());
}
@@ -10355,21 +10214,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group_3__1__Impl"
+ // $ANTLR end "rule__Predicate__Group_4_1_1__1__Impl"
- // $ANTLR start "rule__ErrorPredicate__Group_3__2"
- // InternalSolverLanguage.g:3308:1: rule__ErrorPredicate__Group_3__2 : rule__ErrorPredicate__Group_3__2__Impl ;
- public final void rule__ErrorPredicate__Group_3__2() throws RecognitionException {
+ // $ANTLR start "rule__Parameter__Group__0"
+ // InternalSolverLanguage.g:3249:1: rule__Parameter__Group__0 : rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ;
+ public final void rule__Parameter__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3312:1: ( rule__ErrorPredicate__Group_3__2__Impl )
- // InternalSolverLanguage.g:3313:2: rule__ErrorPredicate__Group_3__2__Impl
+ // InternalSolverLanguage.g:3253:1: ( rule__Parameter__Group__0__Impl rule__Parameter__Group__1 )
+ // InternalSolverLanguage.g:3254:2: rule__Parameter__Group__0__Impl rule__Parameter__Group__1
{
+ pushFollow(FOLLOW_25);
+ rule__Parameter__Group__0__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Group_3__2__Impl();
+ rule__Parameter__Group__1();
state._fsp--;
@@ -10388,25 +10252,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group_3__2"
+ // $ANTLR end "rule__Parameter__Group__0"
- // $ANTLR start "rule__ErrorPredicate__Group_3__2__Impl"
- // InternalSolverLanguage.g:3319:1: rule__ErrorPredicate__Group_3__2__Impl : ( ')' ) ;
- public final void rule__ErrorPredicate__Group_3__2__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Parameter__Group__0__Impl"
+ // InternalSolverLanguage.g:3261:1: rule__Parameter__Group__0__Impl : ( ( rule__Parameter__VariableAssignment_0 ) ) ;
+ public final void rule__Parameter__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3323:1: ( ( ')' ) )
- // InternalSolverLanguage.g:3324:1: ( ')' )
+ // InternalSolverLanguage.g:3265:1: ( ( ( rule__Parameter__VariableAssignment_0 ) ) )
+ // InternalSolverLanguage.g:3266:1: ( ( rule__Parameter__VariableAssignment_0 ) )
{
- // InternalSolverLanguage.g:3324:1: ( ')' )
- // InternalSolverLanguage.g:3325:2: ')'
+ // InternalSolverLanguage.g:3266:1: ( ( rule__Parameter__VariableAssignment_0 ) )
+ // InternalSolverLanguage.g:3267:2: ( rule__Parameter__VariableAssignment_0 )
{
- before(grammarAccess.getErrorPredicateAccess().getRightParenthesisKeyword_3_2());
- match(input,18,FOLLOW_2);
- after(grammarAccess.getErrorPredicateAccess().getRightParenthesisKeyword_3_2());
+ before(grammarAccess.getParameterAccess().getVariableAssignment_0());
+ // InternalSolverLanguage.g:3268:2: ( rule__Parameter__VariableAssignment_0 )
+ // InternalSolverLanguage.g:3268:3: rule__Parameter__VariableAssignment_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Parameter__VariableAssignment_0();
+
+ state._fsp--;
+
+
+ }
+
+ after(grammarAccess.getParameterAccess().getVariableAssignment_0());
}
@@ -10425,26 +10299,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group_3__2__Impl"
+ // $ANTLR end "rule__Parameter__Group__0__Impl"
- // $ANTLR start "rule__ErrorPredicate__Group_5_1__0"
- // InternalSolverLanguage.g:3335:1: rule__ErrorPredicate__Group_5_1__0 : rule__ErrorPredicate__Group_5_1__0__Impl rule__ErrorPredicate__Group_5_1__1 ;
- public final void rule__ErrorPredicate__Group_5_1__0() throws RecognitionException {
+ // $ANTLR start "rule__Parameter__Group__1"
+ // InternalSolverLanguage.g:3276:1: rule__Parameter__Group__1 : rule__Parameter__Group__1__Impl ;
+ public final void rule__Parameter__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3339:1: ( rule__ErrorPredicate__Group_5_1__0__Impl rule__ErrorPredicate__Group_5_1__1 )
- // InternalSolverLanguage.g:3340:2: rule__ErrorPredicate__Group_5_1__0__Impl rule__ErrorPredicate__Group_5_1__1
+ // InternalSolverLanguage.g:3280:1: ( rule__Parameter__Group__1__Impl )
+ // InternalSolverLanguage.g:3281:2: rule__Parameter__Group__1__Impl
{
- pushFollow(FOLLOW_21);
- rule__ErrorPredicate__Group_5_1__0__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Group_5_1__1();
+ rule__Parameter__Group__1__Impl();
state._fsp--;
@@ -10463,35 +10332,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group_5_1__0"
+ // $ANTLR end "rule__Parameter__Group__1"
- // $ANTLR start "rule__ErrorPredicate__Group_5_1__0__Impl"
- // InternalSolverLanguage.g:3347:1: rule__ErrorPredicate__Group_5_1__0__Impl : ( ( rule__ErrorPredicate__BodiesAssignment_5_1_0 ) ) ;
- public final void rule__ErrorPredicate__Group_5_1__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Parameter__Group__1__Impl"
+ // InternalSolverLanguage.g:3287:1: rule__Parameter__Group__1__Impl : ( ( rule__Parameter__Group_1__0 )? ) ;
+ public final void rule__Parameter__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3351:1: ( ( ( rule__ErrorPredicate__BodiesAssignment_5_1_0 ) ) )
- // InternalSolverLanguage.g:3352:1: ( ( rule__ErrorPredicate__BodiesAssignment_5_1_0 ) )
- {
- // InternalSolverLanguage.g:3352:1: ( ( rule__ErrorPredicate__BodiesAssignment_5_1_0 ) )
- // InternalSolverLanguage.g:3353:2: ( rule__ErrorPredicate__BodiesAssignment_5_1_0 )
+ // InternalSolverLanguage.g:3291:1: ( ( ( rule__Parameter__Group_1__0 )? ) )
+ // InternalSolverLanguage.g:3292:1: ( ( rule__Parameter__Group_1__0 )? )
{
- before(grammarAccess.getErrorPredicateAccess().getBodiesAssignment_5_1_0());
- // InternalSolverLanguage.g:3354:2: ( rule__ErrorPredicate__BodiesAssignment_5_1_0 )
- // InternalSolverLanguage.g:3354:3: rule__ErrorPredicate__BodiesAssignment_5_1_0
+ // InternalSolverLanguage.g:3292:1: ( ( rule__Parameter__Group_1__0 )? )
+ // InternalSolverLanguage.g:3293:2: ( rule__Parameter__Group_1__0 )?
{
- pushFollow(FOLLOW_2);
- rule__ErrorPredicate__BodiesAssignment_5_1_0();
+ before(grammarAccess.getParameterAccess().getGroup_1());
+ // InternalSolverLanguage.g:3294:2: ( rule__Parameter__Group_1__0 )?
+ int alt31=2;
+ int LA31_0 = input.LA(1);
- state._fsp--;
+ if ( (LA31_0==17) ) {
+ alt31=1;
+ }
+ switch (alt31) {
+ case 1 :
+ // InternalSolverLanguage.g:3294:3: rule__Parameter__Group_1__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Parameter__Group_1__0();
+ state._fsp--;
+
+
+ }
+ break;
}
- after(grammarAccess.getErrorPredicateAccess().getBodiesAssignment_5_1_0());
+ after(grammarAccess.getParameterAccess().getGroup_1());
}
@@ -10510,21 +10390,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group_5_1__0__Impl"
+ // $ANTLR end "rule__Parameter__Group__1__Impl"
- // $ANTLR start "rule__ErrorPredicate__Group_5_1__1"
- // InternalSolverLanguage.g:3362:1: rule__ErrorPredicate__Group_5_1__1 : rule__ErrorPredicate__Group_5_1__1__Impl ;
- public final void rule__ErrorPredicate__Group_5_1__1() throws RecognitionException {
+ // $ANTLR start "rule__Parameter__Group_1__0"
+ // InternalSolverLanguage.g:3303:1: rule__Parameter__Group_1__0 : rule__Parameter__Group_1__0__Impl rule__Parameter__Group_1__1 ;
+ public final void rule__Parameter__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3366:1: ( rule__ErrorPredicate__Group_5_1__1__Impl )
- // InternalSolverLanguage.g:3367:2: rule__ErrorPredicate__Group_5_1__1__Impl
+ // InternalSolverLanguage.g:3307:1: ( rule__Parameter__Group_1__0__Impl rule__Parameter__Group_1__1 )
+ // InternalSolverLanguage.g:3308:2: rule__Parameter__Group_1__0__Impl rule__Parameter__Group_1__1
{
+ pushFollow(FOLLOW_26);
+ rule__Parameter__Group_1__0__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Group_5_1__1__Impl();
+ rule__Parameter__Group_1__1();
state._fsp--;
@@ -10543,53 +10428,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group_5_1__1"
+ // $ANTLR end "rule__Parameter__Group_1__0"
- // $ANTLR start "rule__ErrorPredicate__Group_5_1__1__Impl"
- // InternalSolverLanguage.g:3373:1: rule__ErrorPredicate__Group_5_1__1__Impl : ( ( rule__ErrorPredicate__Group_5_1_1__0 )* ) ;
- public final void rule__ErrorPredicate__Group_5_1__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Parameter__Group_1__0__Impl"
+ // InternalSolverLanguage.g:3315:1: rule__Parameter__Group_1__0__Impl : ( ':' ) ;
+ public final void rule__Parameter__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3377:1: ( ( ( rule__ErrorPredicate__Group_5_1_1__0 )* ) )
- // InternalSolverLanguage.g:3378:1: ( ( rule__ErrorPredicate__Group_5_1_1__0 )* )
+ // InternalSolverLanguage.g:3319:1: ( ( ':' ) )
+ // InternalSolverLanguage.g:3320:1: ( ':' )
{
- // InternalSolverLanguage.g:3378:1: ( ( rule__ErrorPredicate__Group_5_1_1__0 )* )
- // InternalSolverLanguage.g:3379:2: ( rule__ErrorPredicate__Group_5_1_1__0 )*
+ // InternalSolverLanguage.g:3320:1: ( ':' )
+ // InternalSolverLanguage.g:3321:2: ':'
{
- before(grammarAccess.getErrorPredicateAccess().getGroup_5_1_1());
- // InternalSolverLanguage.g:3380:2: ( rule__ErrorPredicate__Group_5_1_1__0 )*
- loop30:
- do {
- int alt30=2;
- int LA30_0 = input.LA(1);
-
- if ( (LA30_0==28) ) {
- alt30=1;
- }
-
-
- switch (alt30) {
- case 1 :
- // InternalSolverLanguage.g:3380:3: rule__ErrorPredicate__Group_5_1_1__0
- {
- pushFollow(FOLLOW_22);
- rule__ErrorPredicate__Group_5_1_1__0();
-
- state._fsp--;
-
-
- }
- break;
-
- default :
- break loop30;
- }
- } while (true);
-
- after(grammarAccess.getErrorPredicateAccess().getGroup_5_1_1());
+ before(grammarAccess.getParameterAccess().getColonKeyword_1_0());
+ match(input,17,FOLLOW_2);
+ after(grammarAccess.getParameterAccess().getColonKeyword_1_0());
}
@@ -10608,26 +10465,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group_5_1__1__Impl"
+ // $ANTLR end "rule__Parameter__Group_1__0__Impl"
- // $ANTLR start "rule__ErrorPredicate__Group_5_1_1__0"
- // InternalSolverLanguage.g:3389:1: rule__ErrorPredicate__Group_5_1_1__0 : rule__ErrorPredicate__Group_5_1_1__0__Impl rule__ErrorPredicate__Group_5_1_1__1 ;
- public final void rule__ErrorPredicate__Group_5_1_1__0() throws RecognitionException {
+ // $ANTLR start "rule__Parameter__Group_1__1"
+ // InternalSolverLanguage.g:3330:1: rule__Parameter__Group_1__1 : rule__Parameter__Group_1__1__Impl ;
+ public final void rule__Parameter__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3393:1: ( rule__ErrorPredicate__Group_5_1_1__0__Impl rule__ErrorPredicate__Group_5_1_1__1 )
- // InternalSolverLanguage.g:3394:2: rule__ErrorPredicate__Group_5_1_1__0__Impl rule__ErrorPredicate__Group_5_1_1__1
+ // InternalSolverLanguage.g:3334:1: ( rule__Parameter__Group_1__1__Impl )
+ // InternalSolverLanguage.g:3335:2: rule__Parameter__Group_1__1__Impl
{
- pushFollow(FOLLOW_20);
- rule__ErrorPredicate__Group_5_1_1__0__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Group_5_1_1__1();
+ rule__Parameter__Group_1__1__Impl();
state._fsp--;
@@ -10646,25 +10498,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group_5_1_1__0"
+ // $ANTLR end "rule__Parameter__Group_1__1"
- // $ANTLR start "rule__ErrorPredicate__Group_5_1_1__0__Impl"
- // InternalSolverLanguage.g:3401:1: rule__ErrorPredicate__Group_5_1_1__0__Impl : ( '|' ) ;
- public final void rule__ErrorPredicate__Group_5_1_1__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Parameter__Group_1__1__Impl"
+ // InternalSolverLanguage.g:3341:1: rule__Parameter__Group_1__1__Impl : ( ( rule__Parameter__TypeAssignment_1_1 ) ) ;
+ public final void rule__Parameter__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3405:1: ( ( '|' ) )
- // InternalSolverLanguage.g:3406:1: ( '|' )
+ // InternalSolverLanguage.g:3345:1: ( ( ( rule__Parameter__TypeAssignment_1_1 ) ) )
+ // InternalSolverLanguage.g:3346:1: ( ( rule__Parameter__TypeAssignment_1_1 ) )
{
- // InternalSolverLanguage.g:3406:1: ( '|' )
- // InternalSolverLanguage.g:3407:2: '|'
+ // InternalSolverLanguage.g:3346:1: ( ( rule__Parameter__TypeAssignment_1_1 ) )
+ // InternalSolverLanguage.g:3347:2: ( rule__Parameter__TypeAssignment_1_1 )
{
- before(grammarAccess.getErrorPredicateAccess().getVerticalLineKeyword_5_1_1_0());
- match(input,28,FOLLOW_2);
- after(grammarAccess.getErrorPredicateAccess().getVerticalLineKeyword_5_1_1_0());
+ before(grammarAccess.getParameterAccess().getTypeAssignment_1_1());
+ // InternalSolverLanguage.g:3348:2: ( rule__Parameter__TypeAssignment_1_1 )
+ // InternalSolverLanguage.g:3348:3: rule__Parameter__TypeAssignment_1_1
+ {
+ pushFollow(FOLLOW_2);
+ rule__Parameter__TypeAssignment_1_1();
+
+ state._fsp--;
+
+
+ }
+
+ after(grammarAccess.getParameterAccess().getTypeAssignment_1_1());
}
@@ -10683,21 +10545,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group_5_1_1__0__Impl"
+ // $ANTLR end "rule__Parameter__Group_1__1__Impl"
- // $ANTLR start "rule__ErrorPredicate__Group_5_1_1__1"
- // InternalSolverLanguage.g:3416:1: rule__ErrorPredicate__Group_5_1_1__1 : rule__ErrorPredicate__Group_5_1_1__1__Impl ;
- public final void rule__ErrorPredicate__Group_5_1_1__1() throws RecognitionException {
+ // $ANTLR start "rule__PatternBody__Group__0"
+ // InternalSolverLanguage.g:3357:1: rule__PatternBody__Group__0 : rule__PatternBody__Group__0__Impl rule__PatternBody__Group__1 ;
+ public final void rule__PatternBody__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3420:1: ( rule__ErrorPredicate__Group_5_1_1__1__Impl )
- // InternalSolverLanguage.g:3421:2: rule__ErrorPredicate__Group_5_1_1__1__Impl
+ // InternalSolverLanguage.g:3361:1: ( rule__PatternBody__Group__0__Impl rule__PatternBody__Group__1 )
+ // InternalSolverLanguage.g:3362:2: rule__PatternBody__Group__0__Impl rule__PatternBody__Group__1
{
+ pushFollow(FOLLOW_21);
+ rule__PatternBody__Group__0__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__ErrorPredicate__Group_5_1_1__1__Impl();
+ rule__PatternBody__Group__1();
state._fsp--;
@@ -10716,35 +10583,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group_5_1_1__1"
+ // $ANTLR end "rule__PatternBody__Group__0"
- // $ANTLR start "rule__ErrorPredicate__Group_5_1_1__1__Impl"
- // InternalSolverLanguage.g:3427:1: rule__ErrorPredicate__Group_5_1_1__1__Impl : ( ( rule__ErrorPredicate__BodiesAssignment_5_1_1_1 ) ) ;
- public final void rule__ErrorPredicate__Group_5_1_1__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__PatternBody__Group__0__Impl"
+ // InternalSolverLanguage.g:3369:1: rule__PatternBody__Group__0__Impl : ( () ) ;
+ public final void rule__PatternBody__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3431:1: ( ( ( rule__ErrorPredicate__BodiesAssignment_5_1_1_1 ) ) )
- // InternalSolverLanguage.g:3432:1: ( ( rule__ErrorPredicate__BodiesAssignment_5_1_1_1 ) )
+ // InternalSolverLanguage.g:3373:1: ( ( () ) )
+ // InternalSolverLanguage.g:3374:1: ( () )
{
- // InternalSolverLanguage.g:3432:1: ( ( rule__ErrorPredicate__BodiesAssignment_5_1_1_1 ) )
- // InternalSolverLanguage.g:3433:2: ( rule__ErrorPredicate__BodiesAssignment_5_1_1_1 )
+ // InternalSolverLanguage.g:3374:1: ( () )
+ // InternalSolverLanguage.g:3375:2: ()
{
- before(grammarAccess.getErrorPredicateAccess().getBodiesAssignment_5_1_1_1());
- // InternalSolverLanguage.g:3434:2: ( rule__ErrorPredicate__BodiesAssignment_5_1_1_1 )
- // InternalSolverLanguage.g:3434:3: rule__ErrorPredicate__BodiesAssignment_5_1_1_1
+ before(grammarAccess.getPatternBodyAccess().getPatternBodyAction_0());
+ // InternalSolverLanguage.g:3376:2: ()
+ // InternalSolverLanguage.g:3376:3:
{
- pushFollow(FOLLOW_2);
- rule__ErrorPredicate__BodiesAssignment_5_1_1_1();
-
- state._fsp--;
-
-
}
- after(grammarAccess.getErrorPredicateAccess().getBodiesAssignment_5_1_1_1());
+ after(grammarAccess.getPatternBodyAccess().getPatternBodyAction_0());
}
@@ -10752,10 +10613,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
}
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
finally {
restoreStackSize(stackSize);
@@ -10763,26 +10620,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__Group_5_1_1__1__Impl"
+ // $ANTLR end "rule__PatternBody__Group__0__Impl"
- // $ANTLR start "rule__Parameter__Group__0"
- // InternalSolverLanguage.g:3443:1: rule__Parameter__Group__0 : rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ;
- public final void rule__Parameter__Group__0() throws RecognitionException {
+ // $ANTLR start "rule__PatternBody__Group__1"
+ // InternalSolverLanguage.g:3384:1: rule__PatternBody__Group__1 : rule__PatternBody__Group__1__Impl ;
+ public final void rule__PatternBody__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3447:1: ( rule__Parameter__Group__0__Impl rule__Parameter__Group__1 )
- // InternalSolverLanguage.g:3448:2: rule__Parameter__Group__0__Impl rule__Parameter__Group__1
+ // InternalSolverLanguage.g:3388:1: ( rule__PatternBody__Group__1__Impl )
+ // InternalSolverLanguage.g:3389:2: rule__PatternBody__Group__1__Impl
{
- pushFollow(FOLLOW_14);
- rule__Parameter__Group__0__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__Parameter__Group__1();
+ rule__PatternBody__Group__1__Impl();
state._fsp--;
@@ -10801,35 +10653,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Parameter__Group__0"
+ // $ANTLR end "rule__PatternBody__Group__1"
- // $ANTLR start "rule__Parameter__Group__0__Impl"
- // InternalSolverLanguage.g:3455:1: rule__Parameter__Group__0__Impl : ( ( rule__Parameter__VariableAssignment_0 ) ) ;
- public final void rule__Parameter__Group__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__PatternBody__Group__1__Impl"
+ // InternalSolverLanguage.g:3395:1: rule__PatternBody__Group__1__Impl : ( ( rule__PatternBody__Alternatives_1 ) ) ;
+ public final void rule__PatternBody__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3459:1: ( ( ( rule__Parameter__VariableAssignment_0 ) ) )
- // InternalSolverLanguage.g:3460:1: ( ( rule__Parameter__VariableAssignment_0 ) )
+ // InternalSolverLanguage.g:3399:1: ( ( ( rule__PatternBody__Alternatives_1 ) ) )
+ // InternalSolverLanguage.g:3400:1: ( ( rule__PatternBody__Alternatives_1 ) )
{
- // InternalSolverLanguage.g:3460:1: ( ( rule__Parameter__VariableAssignment_0 ) )
- // InternalSolverLanguage.g:3461:2: ( rule__Parameter__VariableAssignment_0 )
+ // InternalSolverLanguage.g:3400:1: ( ( rule__PatternBody__Alternatives_1 ) )
+ // InternalSolverLanguage.g:3401:2: ( rule__PatternBody__Alternatives_1 )
{
- before(grammarAccess.getParameterAccess().getVariableAssignment_0());
- // InternalSolverLanguage.g:3462:2: ( rule__Parameter__VariableAssignment_0 )
- // InternalSolverLanguage.g:3462:3: rule__Parameter__VariableAssignment_0
+ before(grammarAccess.getPatternBodyAccess().getAlternatives_1());
+ // InternalSolverLanguage.g:3402:2: ( rule__PatternBody__Alternatives_1 )
+ // InternalSolverLanguage.g:3402:3: rule__PatternBody__Alternatives_1
{
pushFollow(FOLLOW_2);
- rule__Parameter__VariableAssignment_0();
+ rule__PatternBody__Alternatives_1();
state._fsp--;
}
- after(grammarAccess.getParameterAccess().getVariableAssignment_0());
+ after(grammarAccess.getPatternBodyAccess().getAlternatives_1());
}
@@ -10848,21 +10700,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Parameter__Group__0__Impl"
+ // $ANTLR end "rule__PatternBody__Group__1__Impl"
- // $ANTLR start "rule__Parameter__Group__1"
- // InternalSolverLanguage.g:3470:1: rule__Parameter__Group__1 : rule__Parameter__Group__1__Impl ;
- public final void rule__Parameter__Group__1() throws RecognitionException {
+ // $ANTLR start "rule__Polarity__Group_0__0"
+ // InternalSolverLanguage.g:3411:1: rule__Polarity__Group_0__0 : rule__Polarity__Group_0__0__Impl rule__Polarity__Group_0__1 ;
+ public final void rule__Polarity__Group_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3474:1: ( rule__Parameter__Group__1__Impl )
- // InternalSolverLanguage.g:3475:2: rule__Parameter__Group__1__Impl
+ // InternalSolverLanguage.g:3415:1: ( rule__Polarity__Group_0__0__Impl rule__Polarity__Group_0__1 )
+ // InternalSolverLanguage.g:3416:2: rule__Polarity__Group_0__0__Impl rule__Polarity__Group_0__1
{
+ pushFollow(FOLLOW_27);
+ rule__Polarity__Group_0__0__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__Parameter__Group__1__Impl();
+ rule__Polarity__Group_0__1();
state._fsp--;
@@ -10881,46 +10738,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Parameter__Group__1"
+ // $ANTLR end "rule__Polarity__Group_0__0"
- // $ANTLR start "rule__Parameter__Group__1__Impl"
- // InternalSolverLanguage.g:3481:1: rule__Parameter__Group__1__Impl : ( ( rule__Parameter__Group_1__0 )? ) ;
- public final void rule__Parameter__Group__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Polarity__Group_0__0__Impl"
+ // InternalSolverLanguage.g:3423:1: rule__Polarity__Group_0__0__Impl : ( () ) ;
+ public final void rule__Polarity__Group_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3485:1: ( ( ( rule__Parameter__Group_1__0 )? ) )
- // InternalSolverLanguage.g:3486:1: ( ( rule__Parameter__Group_1__0 )? )
+ // InternalSolverLanguage.g:3427:1: ( ( () ) )
+ // InternalSolverLanguage.g:3428:1: ( () )
{
- // InternalSolverLanguage.g:3486:1: ( ( rule__Parameter__Group_1__0 )? )
- // InternalSolverLanguage.g:3487:2: ( rule__Parameter__Group_1__0 )?
+ // InternalSolverLanguage.g:3428:1: ( () )
+ // InternalSolverLanguage.g:3429:2: ()
+ {
+ before(grammarAccess.getPolarityAccess().getPositiveAction_0_0());
+ // InternalSolverLanguage.g:3430:2: ()
+ // InternalSolverLanguage.g:3430:3:
{
- before(grammarAccess.getParameterAccess().getGroup_1());
- // InternalSolverLanguage.g:3488:2: ( rule__Parameter__Group_1__0 )?
- int alt31=2;
- int LA31_0 = input.LA(1);
-
- if ( (LA31_0==19) ) {
- alt31=1;
- }
- switch (alt31) {
- case 1 :
- // InternalSolverLanguage.g:3488:3: rule__Parameter__Group_1__0
- {
- pushFollow(FOLLOW_2);
- rule__Parameter__Group_1__0();
-
- state._fsp--;
-
-
- }
- break;
-
}
- after(grammarAccess.getParameterAccess().getGroup_1());
+ after(grammarAccess.getPolarityAccess().getPositiveAction_0_0());
}
@@ -10928,10 +10768,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
}
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
finally {
restoreStackSize(stackSize);
@@ -10939,26 +10775,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Parameter__Group__1__Impl"
+ // $ANTLR end "rule__Polarity__Group_0__0__Impl"
- // $ANTLR start "rule__Parameter__Group_1__0"
- // InternalSolverLanguage.g:3497:1: rule__Parameter__Group_1__0 : rule__Parameter__Group_1__0__Impl rule__Parameter__Group_1__1 ;
- public final void rule__Parameter__Group_1__0() throws RecognitionException {
+ // $ANTLR start "rule__Polarity__Group_0__1"
+ // InternalSolverLanguage.g:3438:1: rule__Polarity__Group_0__1 : rule__Polarity__Group_0__1__Impl ;
+ public final void rule__Polarity__Group_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3501:1: ( rule__Parameter__Group_1__0__Impl rule__Parameter__Group_1__1 )
- // InternalSolverLanguage.g:3502:2: rule__Parameter__Group_1__0__Impl rule__Parameter__Group_1__1
+ // InternalSolverLanguage.g:3442:1: ( rule__Polarity__Group_0__1__Impl )
+ // InternalSolverLanguage.g:3443:2: rule__Polarity__Group_0__1__Impl
{
- pushFollow(FOLLOW_25);
- rule__Parameter__Group_1__0__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__Parameter__Group_1__1();
+ rule__Polarity__Group_0__1__Impl();
state._fsp--;
@@ -10977,25 +10808,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Parameter__Group_1__0"
+ // $ANTLR end "rule__Polarity__Group_0__1"
- // $ANTLR start "rule__Parameter__Group_1__0__Impl"
- // InternalSolverLanguage.g:3509:1: rule__Parameter__Group_1__0__Impl : ( ':' ) ;
- public final void rule__Parameter__Group_1__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Polarity__Group_0__1__Impl"
+ // InternalSolverLanguage.g:3449:1: rule__Polarity__Group_0__1__Impl : ( '+' ) ;
+ public final void rule__Polarity__Group_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3513:1: ( ( ':' ) )
- // InternalSolverLanguage.g:3514:1: ( ':' )
+ // InternalSolverLanguage.g:3453:1: ( ( '+' ) )
+ // InternalSolverLanguage.g:3454:1: ( '+' )
{
- // InternalSolverLanguage.g:3514:1: ( ':' )
- // InternalSolverLanguage.g:3515:2: ':'
+ // InternalSolverLanguage.g:3454:1: ( '+' )
+ // InternalSolverLanguage.g:3455:2: '+'
{
- before(grammarAccess.getParameterAccess().getColonKeyword_1_0());
- match(input,19,FOLLOW_2);
- after(grammarAccess.getParameterAccess().getColonKeyword_1_0());
+ before(grammarAccess.getPolarityAccess().getPlusSignKeyword_0_1());
+ match(input,30,FOLLOW_2);
+ after(grammarAccess.getPolarityAccess().getPlusSignKeyword_0_1());
}
@@ -11014,21 +10845,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Parameter__Group_1__0__Impl"
+ // $ANTLR end "rule__Polarity__Group_0__1__Impl"
- // $ANTLR start "rule__Parameter__Group_1__1"
- // InternalSolverLanguage.g:3524:1: rule__Parameter__Group_1__1 : rule__Parameter__Group_1__1__Impl ;
- public final void rule__Parameter__Group_1__1() throws RecognitionException {
+ // $ANTLR start "rule__Polarity__Group_1__0"
+ // InternalSolverLanguage.g:3465:1: rule__Polarity__Group_1__0 : rule__Polarity__Group_1__0__Impl rule__Polarity__Group_1__1 ;
+ public final void rule__Polarity__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3528:1: ( rule__Parameter__Group_1__1__Impl )
- // InternalSolverLanguage.g:3529:2: rule__Parameter__Group_1__1__Impl
+ // InternalSolverLanguage.g:3469:1: ( rule__Polarity__Group_1__0__Impl rule__Polarity__Group_1__1 )
+ // InternalSolverLanguage.g:3470:2: rule__Polarity__Group_1__0__Impl rule__Polarity__Group_1__1
{
+ pushFollow(FOLLOW_28);
+ rule__Polarity__Group_1__0__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__Parameter__Group_1__1__Impl();
+ rule__Polarity__Group_1__1();
state._fsp--;
@@ -11047,35 +10883,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Parameter__Group_1__1"
+ // $ANTLR end "rule__Polarity__Group_1__0"
- // $ANTLR start "rule__Parameter__Group_1__1__Impl"
- // InternalSolverLanguage.g:3535:1: rule__Parameter__Group_1__1__Impl : ( ( rule__Parameter__TypeAssignment_1_1 ) ) ;
- public final void rule__Parameter__Group_1__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Polarity__Group_1__0__Impl"
+ // InternalSolverLanguage.g:3477:1: rule__Polarity__Group_1__0__Impl : ( () ) ;
+ public final void rule__Polarity__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3539:1: ( ( ( rule__Parameter__TypeAssignment_1_1 ) ) )
- // InternalSolverLanguage.g:3540:1: ( ( rule__Parameter__TypeAssignment_1_1 ) )
+ // InternalSolverLanguage.g:3481:1: ( ( () ) )
+ // InternalSolverLanguage.g:3482:1: ( () )
{
- // InternalSolverLanguage.g:3540:1: ( ( rule__Parameter__TypeAssignment_1_1 ) )
- // InternalSolverLanguage.g:3541:2: ( rule__Parameter__TypeAssignment_1_1 )
+ // InternalSolverLanguage.g:3482:1: ( () )
+ // InternalSolverLanguage.g:3483:2: ()
{
- before(grammarAccess.getParameterAccess().getTypeAssignment_1_1());
- // InternalSolverLanguage.g:3542:2: ( rule__Parameter__TypeAssignment_1_1 )
- // InternalSolverLanguage.g:3542:3: rule__Parameter__TypeAssignment_1_1
+ before(grammarAccess.getPolarityAccess().getNegativeAction_1_0());
+ // InternalSolverLanguage.g:3484:2: ()
+ // InternalSolverLanguage.g:3484:3:
{
- pushFollow(FOLLOW_2);
- rule__Parameter__TypeAssignment_1_1();
-
- state._fsp--;
-
-
}
- after(grammarAccess.getParameterAccess().getTypeAssignment_1_1());
+ after(grammarAccess.getPolarityAccess().getNegativeAction_1_0());
}
@@ -11083,10 +10913,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
}
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
finally {
restoreStackSize(stackSize);
@@ -11094,26 +10920,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Parameter__Group_1__1__Impl"
+ // $ANTLR end "rule__Polarity__Group_1__0__Impl"
- // $ANTLR start "rule__PatternBody__Group__0"
- // InternalSolverLanguage.g:3551:1: rule__PatternBody__Group__0 : rule__PatternBody__Group__0__Impl rule__PatternBody__Group__1 ;
- public final void rule__PatternBody__Group__0() throws RecognitionException {
+ // $ANTLR start "rule__Polarity__Group_1__1"
+ // InternalSolverLanguage.g:3492:1: rule__Polarity__Group_1__1 : rule__Polarity__Group_1__1__Impl ;
+ public final void rule__Polarity__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3555:1: ( rule__PatternBody__Group__0__Impl rule__PatternBody__Group__1 )
- // InternalSolverLanguage.g:3556:2: rule__PatternBody__Group__0__Impl rule__PatternBody__Group__1
+ // InternalSolverLanguage.g:3496:1: ( rule__Polarity__Group_1__1__Impl )
+ // InternalSolverLanguage.g:3497:2: rule__Polarity__Group_1__1__Impl
{
- pushFollow(FOLLOW_20);
- rule__PatternBody__Group__0__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__PatternBody__Group__1();
+ rule__Polarity__Group_1__1__Impl();
state._fsp--;
@@ -11132,29 +10953,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PatternBody__Group__0"
+ // $ANTLR end "rule__Polarity__Group_1__1"
- // $ANTLR start "rule__PatternBody__Group__0__Impl"
- // InternalSolverLanguage.g:3563:1: rule__PatternBody__Group__0__Impl : ( () ) ;
- public final void rule__PatternBody__Group__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Polarity__Group_1__1__Impl"
+ // InternalSolverLanguage.g:3503:1: rule__Polarity__Group_1__1__Impl : ( '-' ) ;
+ public final void rule__Polarity__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3567:1: ( ( () ) )
- // InternalSolverLanguage.g:3568:1: ( () )
- {
- // InternalSolverLanguage.g:3568:1: ( () )
- // InternalSolverLanguage.g:3569:2: ()
+ // InternalSolverLanguage.g:3507:1: ( ( '-' ) )
+ // InternalSolverLanguage.g:3508:1: ( '-' )
{
- before(grammarAccess.getPatternBodyAccess().getPatternBodyAction_0());
- // InternalSolverLanguage.g:3570:2: ()
- // InternalSolverLanguage.g:3570:3:
+ // InternalSolverLanguage.g:3508:1: ( '-' )
+ // InternalSolverLanguage.g:3509:2: '-'
{
- }
-
- after(grammarAccess.getPatternBodyAccess().getPatternBodyAction_0());
+ before(grammarAccess.getPolarityAccess().getHyphenMinusKeyword_1_1());
+ match(input,13,FOLLOW_2);
+ after(grammarAccess.getPolarityAccess().getHyphenMinusKeyword_1_1());
}
@@ -11162,6 +10979,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
}
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
finally {
restoreStackSize(stackSize);
@@ -11169,21 +10990,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PatternBody__Group__0__Impl"
+ // $ANTLR end "rule__Polarity__Group_1__1__Impl"
- // $ANTLR start "rule__PatternBody__Group__1"
- // InternalSolverLanguage.g:3578:1: rule__PatternBody__Group__1 : rule__PatternBody__Group__1__Impl ;
- public final void rule__PatternBody__Group__1() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0__0"
+ // InternalSolverLanguage.g:3519:1: rule__Constraint__Group_0__0 : rule__Constraint__Group_0__0__Impl rule__Constraint__Group_0__1 ;
+ public final void rule__Constraint__Group_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3582:1: ( rule__PatternBody__Group__1__Impl )
- // InternalSolverLanguage.g:3583:2: rule__PatternBody__Group__1__Impl
+ // InternalSolverLanguage.g:3523:1: ( rule__Constraint__Group_0__0__Impl rule__Constraint__Group_0__1 )
+ // InternalSolverLanguage.g:3524:2: rule__Constraint__Group_0__0__Impl rule__Constraint__Group_0__1
{
+ pushFollow(FOLLOW_29);
+ rule__Constraint__Group_0__0__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__PatternBody__Group__1__Impl();
+ rule__Constraint__Group_0__1();
state._fsp--;
@@ -11202,35 +11028,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PatternBody__Group__1"
+ // $ANTLR end "rule__Constraint__Group_0__0"
- // $ANTLR start "rule__PatternBody__Group__1__Impl"
- // InternalSolverLanguage.g:3589:1: rule__PatternBody__Group__1__Impl : ( ( rule__PatternBody__Alternatives_1 ) ) ;
- public final void rule__PatternBody__Group__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0__0__Impl"
+ // InternalSolverLanguage.g:3531:1: rule__Constraint__Group_0__0__Impl : ( ( rule__Constraint__PolarityAssignment_0_0 )? ) ;
+ public final void rule__Constraint__Group_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3593:1: ( ( ( rule__PatternBody__Alternatives_1 ) ) )
- // InternalSolverLanguage.g:3594:1: ( ( rule__PatternBody__Alternatives_1 ) )
- {
- // InternalSolverLanguage.g:3594:1: ( ( rule__PatternBody__Alternatives_1 ) )
- // InternalSolverLanguage.g:3595:2: ( rule__PatternBody__Alternatives_1 )
+ // InternalSolverLanguage.g:3535:1: ( ( ( rule__Constraint__PolarityAssignment_0_0 )? ) )
+ // InternalSolverLanguage.g:3536:1: ( ( rule__Constraint__PolarityAssignment_0_0 )? )
{
- before(grammarAccess.getPatternBodyAccess().getAlternatives_1());
- // InternalSolverLanguage.g:3596:2: ( rule__PatternBody__Alternatives_1 )
- // InternalSolverLanguage.g:3596:3: rule__PatternBody__Alternatives_1
+ // InternalSolverLanguage.g:3536:1: ( ( rule__Constraint__PolarityAssignment_0_0 )? )
+ // InternalSolverLanguage.g:3537:2: ( rule__Constraint__PolarityAssignment_0_0 )?
{
- pushFollow(FOLLOW_2);
- rule__PatternBody__Alternatives_1();
+ before(grammarAccess.getConstraintAccess().getPolarityAssignment_0_0());
+ // InternalSolverLanguage.g:3538:2: ( rule__Constraint__PolarityAssignment_0_0 )?
+ int alt32=2;
+ int LA32_0 = input.LA(1);
- state._fsp--;
+ if ( (LA32_0==13||LA32_0==30) ) {
+ alt32=1;
+ }
+ switch (alt32) {
+ case 1 :
+ // InternalSolverLanguage.g:3538:3: rule__Constraint__PolarityAssignment_0_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Constraint__PolarityAssignment_0_0();
+
+ state._fsp--;
+ }
+ break;
+
}
- after(grammarAccess.getPatternBodyAccess().getAlternatives_1());
+ after(grammarAccess.getConstraintAccess().getPolarityAssignment_0_0());
}
@@ -11249,26 +11086,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PatternBody__Group__1__Impl"
+ // $ANTLR end "rule__Constraint__Group_0__0__Impl"
- // $ANTLR start "rule__Polarity__Group_0__0"
- // InternalSolverLanguage.g:3605:1: rule__Polarity__Group_0__0 : rule__Polarity__Group_0__0__Impl rule__Polarity__Group_0__1 ;
- public final void rule__Polarity__Group_0__0() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0__1"
+ // InternalSolverLanguage.g:3546:1: rule__Constraint__Group_0__1 : rule__Constraint__Group_0__1__Impl rule__Constraint__Group_0__2 ;
+ public final void rule__Constraint__Group_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3609:1: ( rule__Polarity__Group_0__0__Impl rule__Polarity__Group_0__1 )
- // InternalSolverLanguage.g:3610:2: rule__Polarity__Group_0__0__Impl rule__Polarity__Group_0__1
+ // InternalSolverLanguage.g:3550:1: ( rule__Constraint__Group_0__1__Impl rule__Constraint__Group_0__2 )
+ // InternalSolverLanguage.g:3551:2: rule__Constraint__Group_0__1__Impl rule__Constraint__Group_0__2
{
- pushFollow(FOLLOW_26);
- rule__Polarity__Group_0__0__Impl();
+ pushFollow(FOLLOW_30);
+ rule__Constraint__Group_0__1__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__Polarity__Group_0__1();
+ rule__Constraint__Group_0__2();
state._fsp--;
@@ -11287,29 +11124,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Polarity__Group_0__0"
+ // $ANTLR end "rule__Constraint__Group_0__1"
- // $ANTLR start "rule__Polarity__Group_0__0__Impl"
- // InternalSolverLanguage.g:3617:1: rule__Polarity__Group_0__0__Impl : ( () ) ;
- public final void rule__Polarity__Group_0__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0__1__Impl"
+ // InternalSolverLanguage.g:3558:1: rule__Constraint__Group_0__1__Impl : ( ( rule__Constraint__SymbolAssignment_0_1 ) ) ;
+ public final void rule__Constraint__Group_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3621:1: ( ( () ) )
- // InternalSolverLanguage.g:3622:1: ( () )
+ // InternalSolverLanguage.g:3562:1: ( ( ( rule__Constraint__SymbolAssignment_0_1 ) ) )
+ // InternalSolverLanguage.g:3563:1: ( ( rule__Constraint__SymbolAssignment_0_1 ) )
{
- // InternalSolverLanguage.g:3622:1: ( () )
- // InternalSolverLanguage.g:3623:2: ()
+ // InternalSolverLanguage.g:3563:1: ( ( rule__Constraint__SymbolAssignment_0_1 ) )
+ // InternalSolverLanguage.g:3564:2: ( rule__Constraint__SymbolAssignment_0_1 )
{
- before(grammarAccess.getPolarityAccess().getPositiveAction_0_0());
- // InternalSolverLanguage.g:3624:2: ()
- // InternalSolverLanguage.g:3624:3:
+ before(grammarAccess.getConstraintAccess().getSymbolAssignment_0_1());
+ // InternalSolverLanguage.g:3565:2: ( rule__Constraint__SymbolAssignment_0_1 )
+ // InternalSolverLanguage.g:3565:3: rule__Constraint__SymbolAssignment_0_1
{
+ pushFollow(FOLLOW_2);
+ rule__Constraint__SymbolAssignment_0_1();
+
+ state._fsp--;
+
+
}
- after(grammarAccess.getPolarityAccess().getPositiveAction_0_0());
+ after(grammarAccess.getConstraintAccess().getSymbolAssignment_0_1());
}
@@ -11317,6 +11160,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
}
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
finally {
restoreStackSize(stackSize);
@@ -11324,21 +11171,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Polarity__Group_0__0__Impl"
+ // $ANTLR end "rule__Constraint__Group_0__1__Impl"
- // $ANTLR start "rule__Polarity__Group_0__1"
- // InternalSolverLanguage.g:3632:1: rule__Polarity__Group_0__1 : rule__Polarity__Group_0__1__Impl ;
- public final void rule__Polarity__Group_0__1() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0__2"
+ // InternalSolverLanguage.g:3573:1: rule__Constraint__Group_0__2 : rule__Constraint__Group_0__2__Impl ;
+ public final void rule__Constraint__Group_0__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3636:1: ( rule__Polarity__Group_0__1__Impl )
- // InternalSolverLanguage.g:3637:2: rule__Polarity__Group_0__1__Impl
+ // InternalSolverLanguage.g:3577:1: ( rule__Constraint__Group_0__2__Impl )
+ // InternalSolverLanguage.g:3578:2: rule__Constraint__Group_0__2__Impl
{
pushFollow(FOLLOW_2);
- rule__Polarity__Group_0__1__Impl();
+ rule__Constraint__Group_0__2__Impl();
state._fsp--;
@@ -11357,25 +11204,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Polarity__Group_0__1"
+ // $ANTLR end "rule__Constraint__Group_0__2"
- // $ANTLR start "rule__Polarity__Group_0__1__Impl"
- // InternalSolverLanguage.g:3643:1: rule__Polarity__Group_0__1__Impl : ( '+' ) ;
- public final void rule__Polarity__Group_0__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0__2__Impl"
+ // InternalSolverLanguage.g:3584:1: rule__Constraint__Group_0__2__Impl : ( ( rule__Constraint__Group_0_2__0 )? ) ;
+ public final void rule__Constraint__Group_0__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3647:1: ( ( '+' ) )
- // InternalSolverLanguage.g:3648:1: ( '+' )
+ // InternalSolverLanguage.g:3588:1: ( ( ( rule__Constraint__Group_0_2__0 )? ) )
+ // InternalSolverLanguage.g:3589:1: ( ( rule__Constraint__Group_0_2__0 )? )
{
- // InternalSolverLanguage.g:3648:1: ( '+' )
- // InternalSolverLanguage.g:3649:2: '+'
+ // InternalSolverLanguage.g:3589:1: ( ( rule__Constraint__Group_0_2__0 )? )
+ // InternalSolverLanguage.g:3590:2: ( rule__Constraint__Group_0_2__0 )?
{
- before(grammarAccess.getPolarityAccess().getPlusSignKeyword_0_1());
- match(input,29,FOLLOW_2);
- after(grammarAccess.getPolarityAccess().getPlusSignKeyword_0_1());
+ before(grammarAccess.getConstraintAccess().getGroup_0_2());
+ // InternalSolverLanguage.g:3591:2: ( rule__Constraint__Group_0_2__0 )?
+ int alt33=2;
+ int LA33_0 = input.LA(1);
+
+ if ( (LA33_0==18) ) {
+ alt33=1;
+ }
+ switch (alt33) {
+ case 1 :
+ // InternalSolverLanguage.g:3591:3: rule__Constraint__Group_0_2__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Constraint__Group_0_2__0();
+
+ state._fsp--;
+
+
+ }
+ break;
+
+ }
+
+ after(grammarAccess.getConstraintAccess().getGroup_0_2());
}
@@ -11394,26 +11262,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Polarity__Group_0__1__Impl"
+ // $ANTLR end "rule__Constraint__Group_0__2__Impl"
- // $ANTLR start "rule__Polarity__Group_1__0"
- // InternalSolverLanguage.g:3659:1: rule__Polarity__Group_1__0 : rule__Polarity__Group_1__0__Impl rule__Polarity__Group_1__1 ;
- public final void rule__Polarity__Group_1__0() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0_2__0"
+ // InternalSolverLanguage.g:3600:1: rule__Constraint__Group_0_2__0 : rule__Constraint__Group_0_2__0__Impl rule__Constraint__Group_0_2__1 ;
+ public final void rule__Constraint__Group_0_2__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3663:1: ( rule__Polarity__Group_1__0__Impl rule__Polarity__Group_1__1 )
- // InternalSolverLanguage.g:3664:2: rule__Polarity__Group_1__0__Impl rule__Polarity__Group_1__1
+ // InternalSolverLanguage.g:3604:1: ( rule__Constraint__Group_0_2__0__Impl rule__Constraint__Group_0_2__1 )
+ // InternalSolverLanguage.g:3605:2: rule__Constraint__Group_0_2__0__Impl rule__Constraint__Group_0_2__1
{
- pushFollow(FOLLOW_27);
- rule__Polarity__Group_1__0__Impl();
+ pushFollow(FOLLOW_31);
+ rule__Constraint__Group_0_2__0__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__Polarity__Group_1__1();
+ rule__Constraint__Group_0_2__1();
state._fsp--;
@@ -11432,29 +11300,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Polarity__Group_1__0"
+ // $ANTLR end "rule__Constraint__Group_0_2__0"
- // $ANTLR start "rule__Polarity__Group_1__0__Impl"
- // InternalSolverLanguage.g:3671:1: rule__Polarity__Group_1__0__Impl : ( () ) ;
- public final void rule__Polarity__Group_1__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0_2__0__Impl"
+ // InternalSolverLanguage.g:3612:1: rule__Constraint__Group_0_2__0__Impl : ( '(' ) ;
+ public final void rule__Constraint__Group_0_2__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3675:1: ( ( () ) )
- // InternalSolverLanguage.g:3676:1: ( () )
+ // InternalSolverLanguage.g:3616:1: ( ( '(' ) )
+ // InternalSolverLanguage.g:3617:1: ( '(' )
{
- // InternalSolverLanguage.g:3676:1: ( () )
- // InternalSolverLanguage.g:3677:2: ()
- {
- before(grammarAccess.getPolarityAccess().getNegativeAction_1_0());
- // InternalSolverLanguage.g:3678:2: ()
- // InternalSolverLanguage.g:3678:3:
+ // InternalSolverLanguage.g:3617:1: ( '(' )
+ // InternalSolverLanguage.g:3618:2: '('
{
- }
-
- after(grammarAccess.getPolarityAccess().getNegativeAction_1_0());
+ before(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_0_2_0());
+ match(input,18,FOLLOW_2);
+ after(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_0_2_0());
}
@@ -11462,6 +11326,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
}
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
finally {
restoreStackSize(stackSize);
@@ -11469,21 +11337,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Polarity__Group_1__0__Impl"
+ // $ANTLR end "rule__Constraint__Group_0_2__0__Impl"
- // $ANTLR start "rule__Polarity__Group_1__1"
- // InternalSolverLanguage.g:3686:1: rule__Polarity__Group_1__1 : rule__Polarity__Group_1__1__Impl ;
- public final void rule__Polarity__Group_1__1() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0_2__1"
+ // InternalSolverLanguage.g:3627:1: rule__Constraint__Group_0_2__1 : rule__Constraint__Group_0_2__1__Impl rule__Constraint__Group_0_2__2 ;
+ public final void rule__Constraint__Group_0_2__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3690:1: ( rule__Polarity__Group_1__1__Impl )
- // InternalSolverLanguage.g:3691:2: rule__Polarity__Group_1__1__Impl
+ // InternalSolverLanguage.g:3631:1: ( rule__Constraint__Group_0_2__1__Impl rule__Constraint__Group_0_2__2 )
+ // InternalSolverLanguage.g:3632:2: rule__Constraint__Group_0_2__1__Impl rule__Constraint__Group_0_2__2
{
+ pushFollow(FOLLOW_31);
+ rule__Constraint__Group_0_2__1__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__Polarity__Group_1__1__Impl();
+ rule__Constraint__Group_0_2__2();
state._fsp--;
@@ -11502,25 +11375,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Polarity__Group_1__1"
+ // $ANTLR end "rule__Constraint__Group_0_2__1"
- // $ANTLR start "rule__Polarity__Group_1__1__Impl"
- // InternalSolverLanguage.g:3697:1: rule__Polarity__Group_1__1__Impl : ( '-' ) ;
- public final void rule__Polarity__Group_1__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0_2__1__Impl"
+ // InternalSolverLanguage.g:3639:1: rule__Constraint__Group_0_2__1__Impl : ( ( rule__Constraint__ParamsAssignment_0_2_1 )? ) ;
+ public final void rule__Constraint__Group_0_2__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3701:1: ( ( '-' ) )
- // InternalSolverLanguage.g:3702:1: ( '-' )
+ // InternalSolverLanguage.g:3643:1: ( ( ( rule__Constraint__ParamsAssignment_0_2_1 )? ) )
+ // InternalSolverLanguage.g:3644:1: ( ( rule__Constraint__ParamsAssignment_0_2_1 )? )
{
- // InternalSolverLanguage.g:3702:1: ( '-' )
- // InternalSolverLanguage.g:3703:2: '-'
+ // InternalSolverLanguage.g:3644:1: ( ( rule__Constraint__ParamsAssignment_0_2_1 )? )
+ // InternalSolverLanguage.g:3645:2: ( rule__Constraint__ParamsAssignment_0_2_1 )?
{
- before(grammarAccess.getPolarityAccess().getHyphenMinusKeyword_1_1());
- match(input,13,FOLLOW_2);
- after(grammarAccess.getPolarityAccess().getHyphenMinusKeyword_1_1());
+ before(grammarAccess.getConstraintAccess().getParamsAssignment_0_2_1());
+ // InternalSolverLanguage.g:3646:2: ( rule__Constraint__ParamsAssignment_0_2_1 )?
+ int alt34=2;
+ int LA34_0 = input.LA(1);
+
+ if ( ((LA34_0>=RULE_INT && LA34_0<=RULE_STRING)||(LA34_0>=11 && LA34_0<=13)||LA34_0==27) ) {
+ alt34=1;
+ }
+ switch (alt34) {
+ case 1 :
+ // InternalSolverLanguage.g:3646:3: rule__Constraint__ParamsAssignment_0_2_1
+ {
+ pushFollow(FOLLOW_2);
+ rule__Constraint__ParamsAssignment_0_2_1();
+
+ state._fsp--;
+
+
+ }
+ break;
+
+ }
+
+ after(grammarAccess.getConstraintAccess().getParamsAssignment_0_2_1());
}
@@ -11539,26 +11433,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Polarity__Group_1__1__Impl"
+ // $ANTLR end "rule__Constraint__Group_0_2__1__Impl"
- // $ANTLR start "rule__Constraint__Group__0"
- // InternalSolverLanguage.g:3713:1: rule__Constraint__Group__0 : rule__Constraint__Group__0__Impl rule__Constraint__Group__1 ;
- public final void rule__Constraint__Group__0() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0_2__2"
+ // InternalSolverLanguage.g:3654:1: rule__Constraint__Group_0_2__2 : rule__Constraint__Group_0_2__2__Impl rule__Constraint__Group_0_2__3 ;
+ public final void rule__Constraint__Group_0_2__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3717:1: ( rule__Constraint__Group__0__Impl rule__Constraint__Group__1 )
- // InternalSolverLanguage.g:3718:2: rule__Constraint__Group__0__Impl rule__Constraint__Group__1
+ // InternalSolverLanguage.g:3658:1: ( rule__Constraint__Group_0_2__2__Impl rule__Constraint__Group_0_2__3 )
+ // InternalSolverLanguage.g:3659:2: rule__Constraint__Group_0_2__2__Impl rule__Constraint__Group_0_2__3
{
- pushFollow(FOLLOW_28);
- rule__Constraint__Group__0__Impl();
+ pushFollow(FOLLOW_31);
+ rule__Constraint__Group_0_2__2__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__Constraint__Group__1();
+ rule__Constraint__Group_0_2__3();
state._fsp--;
@@ -11577,46 +11471,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group__0"
+ // $ANTLR end "rule__Constraint__Group_0_2__2"
- // $ANTLR start "rule__Constraint__Group__0__Impl"
- // InternalSolverLanguage.g:3725:1: rule__Constraint__Group__0__Impl : ( ( rule__Constraint__PolarityAssignment_0 )? ) ;
- public final void rule__Constraint__Group__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0_2__2__Impl"
+ // InternalSolverLanguage.g:3666:1: rule__Constraint__Group_0_2__2__Impl : ( ( rule__Constraint__Group_0_2_2__0 )* ) ;
+ public final void rule__Constraint__Group_0_2__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3729:1: ( ( ( rule__Constraint__PolarityAssignment_0 )? ) )
- // InternalSolverLanguage.g:3730:1: ( ( rule__Constraint__PolarityAssignment_0 )? )
+ // InternalSolverLanguage.g:3670:1: ( ( ( rule__Constraint__Group_0_2_2__0 )* ) )
+ // InternalSolverLanguage.g:3671:1: ( ( rule__Constraint__Group_0_2_2__0 )* )
{
- // InternalSolverLanguage.g:3730:1: ( ( rule__Constraint__PolarityAssignment_0 )? )
- // InternalSolverLanguage.g:3731:2: ( rule__Constraint__PolarityAssignment_0 )?
+ // InternalSolverLanguage.g:3671:1: ( ( rule__Constraint__Group_0_2_2__0 )* )
+ // InternalSolverLanguage.g:3672:2: ( rule__Constraint__Group_0_2_2__0 )*
{
- before(grammarAccess.getConstraintAccess().getPolarityAssignment_0());
- // InternalSolverLanguage.g:3732:2: ( rule__Constraint__PolarityAssignment_0 )?
- int alt32=2;
- int LA32_0 = input.LA(1);
+ before(grammarAccess.getConstraintAccess().getGroup_0_2_2());
+ // InternalSolverLanguage.g:3673:2: ( rule__Constraint__Group_0_2_2__0 )*
+ loop35:
+ do {
+ int alt35=2;
+ int LA35_0 = input.LA(1);
- if ( (LA32_0==13||LA32_0==29) ) {
- alt32=1;
- }
- switch (alt32) {
- case 1 :
- // InternalSolverLanguage.g:3732:3: rule__Constraint__PolarityAssignment_0
- {
- pushFollow(FOLLOW_2);
- rule__Constraint__PolarityAssignment_0();
+ if ( (LA35_0==20) ) {
+ alt35=1;
+ }
- state._fsp--;
+ switch (alt35) {
+ case 1 :
+ // InternalSolverLanguage.g:3673:3: rule__Constraint__Group_0_2_2__0
+ {
+ pushFollow(FOLLOW_15);
+ rule__Constraint__Group_0_2_2__0();
- }
- break;
+ state._fsp--;
- }
- after(grammarAccess.getConstraintAccess().getPolarityAssignment_0());
+ }
+ break;
+
+ default :
+ break loop35;
+ }
+ } while (true);
+
+ after(grammarAccess.getConstraintAccess().getGroup_0_2_2());
}
@@ -11635,26 +11536,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group__0__Impl"
+ // $ANTLR end "rule__Constraint__Group_0_2__2__Impl"
- // $ANTLR start "rule__Constraint__Group__1"
- // InternalSolverLanguage.g:3740:1: rule__Constraint__Group__1 : rule__Constraint__Group__1__Impl rule__Constraint__Group__2 ;
- public final void rule__Constraint__Group__1() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0_2__3"
+ // InternalSolverLanguage.g:3681:1: rule__Constraint__Group_0_2__3 : rule__Constraint__Group_0_2__3__Impl ;
+ public final void rule__Constraint__Group_0_2__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3744:1: ( rule__Constraint__Group__1__Impl rule__Constraint__Group__2 )
- // InternalSolverLanguage.g:3745:2: rule__Constraint__Group__1__Impl rule__Constraint__Group__2
+ // InternalSolverLanguage.g:3685:1: ( rule__Constraint__Group_0_2__3__Impl )
+ // InternalSolverLanguage.g:3686:2: rule__Constraint__Group_0_2__3__Impl
{
- pushFollow(FOLLOW_29);
- rule__Constraint__Group__1__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__Constraint__Group__2();
+ rule__Constraint__Group_0_2__3__Impl();
state._fsp--;
@@ -11673,35 +11569,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group__1"
+ // $ANTLR end "rule__Constraint__Group_0_2__3"
- // $ANTLR start "rule__Constraint__Group__1__Impl"
- // InternalSolverLanguage.g:3752:1: rule__Constraint__Group__1__Impl : ( ( rule__Constraint__SymbolAssignment_1 ) ) ;
- public final void rule__Constraint__Group__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0_2__3__Impl"
+ // InternalSolverLanguage.g:3692:1: rule__Constraint__Group_0_2__3__Impl : ( ')' ) ;
+ public final void rule__Constraint__Group_0_2__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3756:1: ( ( ( rule__Constraint__SymbolAssignment_1 ) ) )
- // InternalSolverLanguage.g:3757:1: ( ( rule__Constraint__SymbolAssignment_1 ) )
- {
- // InternalSolverLanguage.g:3757:1: ( ( rule__Constraint__SymbolAssignment_1 ) )
- // InternalSolverLanguage.g:3758:2: ( rule__Constraint__SymbolAssignment_1 )
+ // InternalSolverLanguage.g:3696:1: ( ( ')' ) )
+ // InternalSolverLanguage.g:3697:1: ( ')' )
{
- before(grammarAccess.getConstraintAccess().getSymbolAssignment_1());
- // InternalSolverLanguage.g:3759:2: ( rule__Constraint__SymbolAssignment_1 )
- // InternalSolverLanguage.g:3759:3: rule__Constraint__SymbolAssignment_1
+ // InternalSolverLanguage.g:3697:1: ( ')' )
+ // InternalSolverLanguage.g:3698:2: ')'
{
- pushFollow(FOLLOW_2);
- rule__Constraint__SymbolAssignment_1();
-
- state._fsp--;
-
-
- }
-
- after(grammarAccess.getConstraintAccess().getSymbolAssignment_1());
+ before(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_0_2_3());
+ match(input,19,FOLLOW_2);
+ after(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_0_2_3());
}
@@ -11720,21 +11606,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group__1__Impl"
+ // $ANTLR end "rule__Constraint__Group_0_2__3__Impl"
- // $ANTLR start "rule__Constraint__Group__2"
- // InternalSolverLanguage.g:3767:1: rule__Constraint__Group__2 : rule__Constraint__Group__2__Impl ;
- public final void rule__Constraint__Group__2() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0_2_2__0"
+ // InternalSolverLanguage.g:3708:1: rule__Constraint__Group_0_2_2__0 : rule__Constraint__Group_0_2_2__0__Impl rule__Constraint__Group_0_2_2__1 ;
+ public final void rule__Constraint__Group_0_2_2__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3771:1: ( rule__Constraint__Group__2__Impl )
- // InternalSolverLanguage.g:3772:2: rule__Constraint__Group__2__Impl
+ // InternalSolverLanguage.g:3712:1: ( rule__Constraint__Group_0_2_2__0__Impl rule__Constraint__Group_0_2_2__1 )
+ // InternalSolverLanguage.g:3713:2: rule__Constraint__Group_0_2_2__0__Impl rule__Constraint__Group_0_2_2__1
{
+ pushFollow(FOLLOW_32);
+ rule__Constraint__Group_0_2_2__0__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__Constraint__Group__2__Impl();
+ rule__Constraint__Group_0_2_2__1();
state._fsp--;
@@ -11753,35 +11644,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group__2"
+ // $ANTLR end "rule__Constraint__Group_0_2_2__0"
- // $ANTLR start "rule__Constraint__Group__2__Impl"
- // InternalSolverLanguage.g:3778:1: rule__Constraint__Group__2__Impl : ( ( rule__Constraint__Alternatives_2 ) ) ;
- public final void rule__Constraint__Group__2__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0_2_2__0__Impl"
+ // InternalSolverLanguage.g:3720:1: rule__Constraint__Group_0_2_2__0__Impl : ( ',' ) ;
+ public final void rule__Constraint__Group_0_2_2__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3782:1: ( ( ( rule__Constraint__Alternatives_2 ) ) )
- // InternalSolverLanguage.g:3783:1: ( ( rule__Constraint__Alternatives_2 ) )
+ // InternalSolverLanguage.g:3724:1: ( ( ',' ) )
+ // InternalSolverLanguage.g:3725:1: ( ',' )
{
- // InternalSolverLanguage.g:3783:1: ( ( rule__Constraint__Alternatives_2 ) )
- // InternalSolverLanguage.g:3784:2: ( rule__Constraint__Alternatives_2 )
+ // InternalSolverLanguage.g:3725:1: ( ',' )
+ // InternalSolverLanguage.g:3726:2: ','
{
- before(grammarAccess.getConstraintAccess().getAlternatives_2());
- // InternalSolverLanguage.g:3785:2: ( rule__Constraint__Alternatives_2 )
- // InternalSolverLanguage.g:3785:3: rule__Constraint__Alternatives_2
- {
- pushFollow(FOLLOW_2);
- rule__Constraint__Alternatives_2();
-
- state._fsp--;
-
-
- }
-
- after(grammarAccess.getConstraintAccess().getAlternatives_2());
+ before(grammarAccess.getConstraintAccess().getCommaKeyword_0_2_2_0());
+ match(input,20,FOLLOW_2);
+ after(grammarAccess.getConstraintAccess().getCommaKeyword_0_2_2_0());
}
@@ -11800,26 +11681,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group__2__Impl"
+ // $ANTLR end "rule__Constraint__Group_0_2_2__0__Impl"
- // $ANTLR start "rule__Constraint__Group_2_0__0"
- // InternalSolverLanguage.g:3794:1: rule__Constraint__Group_2_0__0 : rule__Constraint__Group_2_0__0__Impl rule__Constraint__Group_2_0__1 ;
- public final void rule__Constraint__Group_2_0__0() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0_2_2__1"
+ // InternalSolverLanguage.g:3735:1: rule__Constraint__Group_0_2_2__1 : rule__Constraint__Group_0_2_2__1__Impl ;
+ public final void rule__Constraint__Group_0_2_2__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3798:1: ( rule__Constraint__Group_2_0__0__Impl rule__Constraint__Group_2_0__1 )
- // InternalSolverLanguage.g:3799:2: rule__Constraint__Group_2_0__0__Impl rule__Constraint__Group_2_0__1
+ // InternalSolverLanguage.g:3739:1: ( rule__Constraint__Group_0_2_2__1__Impl )
+ // InternalSolverLanguage.g:3740:2: rule__Constraint__Group_0_2_2__1__Impl
{
- pushFollow(FOLLOW_30);
- rule__Constraint__Group_2_0__0__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__Constraint__Group_2_0__1();
+ rule__Constraint__Group_0_2_2__1__Impl();
state._fsp--;
@@ -11838,25 +11714,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group_2_0__0"
+ // $ANTLR end "rule__Constraint__Group_0_2_2__1"
- // $ANTLR start "rule__Constraint__Group_2_0__0__Impl"
- // InternalSolverLanguage.g:3806:1: rule__Constraint__Group_2_0__0__Impl : ( '(' ) ;
- public final void rule__Constraint__Group_2_0__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_0_2_2__1__Impl"
+ // InternalSolverLanguage.g:3746:1: rule__Constraint__Group_0_2_2__1__Impl : ( ( rule__Constraint__ParamsAssignment_0_2_2_1 ) ) ;
+ public final void rule__Constraint__Group_0_2_2__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3810:1: ( ( '(' ) )
- // InternalSolverLanguage.g:3811:1: ( '(' )
+ // InternalSolverLanguage.g:3750:1: ( ( ( rule__Constraint__ParamsAssignment_0_2_2_1 ) ) )
+ // InternalSolverLanguage.g:3751:1: ( ( rule__Constraint__ParamsAssignment_0_2_2_1 ) )
{
- // InternalSolverLanguage.g:3811:1: ( '(' )
- // InternalSolverLanguage.g:3812:2: '('
+ // InternalSolverLanguage.g:3751:1: ( ( rule__Constraint__ParamsAssignment_0_2_2_1 ) )
+ // InternalSolverLanguage.g:3752:2: ( rule__Constraint__ParamsAssignment_0_2_2_1 )
{
- before(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_2_0_0());
- match(input,17,FOLLOW_2);
- after(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_2_0_0());
+ before(grammarAccess.getConstraintAccess().getParamsAssignment_0_2_2_1());
+ // InternalSolverLanguage.g:3753:2: ( rule__Constraint__ParamsAssignment_0_2_2_1 )
+ // InternalSolverLanguage.g:3753:3: rule__Constraint__ParamsAssignment_0_2_2_1
+ {
+ pushFollow(FOLLOW_2);
+ rule__Constraint__ParamsAssignment_0_2_2_1();
+
+ state._fsp--;
+
+
+ }
+
+ after(grammarAccess.getConstraintAccess().getParamsAssignment_0_2_2_1());
}
@@ -11875,26 +11761,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group_2_0__0__Impl"
+ // $ANTLR end "rule__Constraint__Group_0_2_2__1__Impl"
- // $ANTLR start "rule__Constraint__Group_2_0__1"
- // InternalSolverLanguage.g:3821:1: rule__Constraint__Group_2_0__1 : rule__Constraint__Group_2_0__1__Impl rule__Constraint__Group_2_0__2 ;
- public final void rule__Constraint__Group_2_0__1() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_1__0"
+ // InternalSolverLanguage.g:3762:1: rule__Constraint__Group_1__0 : rule__Constraint__Group_1__0__Impl rule__Constraint__Group_1__1 ;
+ public final void rule__Constraint__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3825:1: ( rule__Constraint__Group_2_0__1__Impl rule__Constraint__Group_2_0__2 )
- // InternalSolverLanguage.g:3826:2: rule__Constraint__Group_2_0__1__Impl rule__Constraint__Group_2_0__2
+ // InternalSolverLanguage.g:3766:1: ( rule__Constraint__Group_1__0__Impl rule__Constraint__Group_1__1 )
+ // InternalSolverLanguage.g:3767:2: rule__Constraint__Group_1__0__Impl rule__Constraint__Group_1__1
{
pushFollow(FOLLOW_30);
- rule__Constraint__Group_2_0__1__Impl();
+ rule__Constraint__Group_1__0__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__Constraint__Group_2_0__2();
+ rule__Constraint__Group_1__1();
state._fsp--;
@@ -11913,53 +11799,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group_2_0__1"
+ // $ANTLR end "rule__Constraint__Group_1__0"
- // $ANTLR start "rule__Constraint__Group_2_0__1__Impl"
- // InternalSolverLanguage.g:3833:1: rule__Constraint__Group_2_0__1__Impl : ( ( rule__Constraint__ParamsAssignment_2_0_1 )* ) ;
- public final void rule__Constraint__Group_2_0__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_1__0__Impl"
+ // InternalSolverLanguage.g:3774:1: rule__Constraint__Group_1__0__Impl : ( ( rule__Constraint__ClosureTypeAssignment_1_0 ) ) ;
+ public final void rule__Constraint__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3837:1: ( ( ( rule__Constraint__ParamsAssignment_2_0_1 )* ) )
- // InternalSolverLanguage.g:3838:1: ( ( rule__Constraint__ParamsAssignment_2_0_1 )* )
+ // InternalSolverLanguage.g:3778:1: ( ( ( rule__Constraint__ClosureTypeAssignment_1_0 ) ) )
+ // InternalSolverLanguage.g:3779:1: ( ( rule__Constraint__ClosureTypeAssignment_1_0 ) )
{
- // InternalSolverLanguage.g:3838:1: ( ( rule__Constraint__ParamsAssignment_2_0_1 )* )
- // InternalSolverLanguage.g:3839:2: ( rule__Constraint__ParamsAssignment_2_0_1 )*
+ // InternalSolverLanguage.g:3779:1: ( ( rule__Constraint__ClosureTypeAssignment_1_0 ) )
+ // InternalSolverLanguage.g:3780:2: ( rule__Constraint__ClosureTypeAssignment_1_0 )
{
- before(grammarAccess.getConstraintAccess().getParamsAssignment_2_0_1());
- // InternalSolverLanguage.g:3840:2: ( rule__Constraint__ParamsAssignment_2_0_1 )*
- loop33:
- do {
- int alt33=2;
- int LA33_0 = input.LA(1);
-
- if ( ((LA33_0>=RULE_INT && LA33_0<=RULE_STRING)||(LA33_0>=11 && LA33_0<=13)) ) {
- alt33=1;
- }
-
-
- switch (alt33) {
- case 1 :
- // InternalSolverLanguage.g:3840:3: rule__Constraint__ParamsAssignment_2_0_1
- {
- pushFollow(FOLLOW_31);
- rule__Constraint__ParamsAssignment_2_0_1();
-
- state._fsp--;
+ before(grammarAccess.getConstraintAccess().getClosureTypeAssignment_1_0());
+ // InternalSolverLanguage.g:3781:2: ( rule__Constraint__ClosureTypeAssignment_1_0 )
+ // InternalSolverLanguage.g:3781:3: rule__Constraint__ClosureTypeAssignment_1_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Constraint__ClosureTypeAssignment_1_0();
+ state._fsp--;
- }
- break;
- default :
- break loop33;
- }
- } while (true);
+ }
- after(grammarAccess.getConstraintAccess().getParamsAssignment_2_0_1());
+ after(grammarAccess.getConstraintAccess().getClosureTypeAssignment_1_0());
}
@@ -11978,21 +11846,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group_2_0__1__Impl"
+ // $ANTLR end "rule__Constraint__Group_1__0__Impl"
- // $ANTLR start "rule__Constraint__Group_2_0__2"
- // InternalSolverLanguage.g:3848:1: rule__Constraint__Group_2_0__2 : rule__Constraint__Group_2_0__2__Impl ;
- public final void rule__Constraint__Group_2_0__2() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_1__1"
+ // InternalSolverLanguage.g:3789:1: rule__Constraint__Group_1__1 : rule__Constraint__Group_1__1__Impl rule__Constraint__Group_1__2 ;
+ public final void rule__Constraint__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3852:1: ( rule__Constraint__Group_2_0__2__Impl )
- // InternalSolverLanguage.g:3853:2: rule__Constraint__Group_2_0__2__Impl
+ // InternalSolverLanguage.g:3793:1: ( rule__Constraint__Group_1__1__Impl rule__Constraint__Group_1__2 )
+ // InternalSolverLanguage.g:3794:2: rule__Constraint__Group_1__1__Impl rule__Constraint__Group_1__2
{
+ pushFollow(FOLLOW_31);
+ rule__Constraint__Group_1__1__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__Constraint__Group_2_0__2__Impl();
+ rule__Constraint__Group_1__2();
state._fsp--;
@@ -12011,25 +11884,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group_2_0__2"
+ // $ANTLR end "rule__Constraint__Group_1__1"
- // $ANTLR start "rule__Constraint__Group_2_0__2__Impl"
- // InternalSolverLanguage.g:3859:1: rule__Constraint__Group_2_0__2__Impl : ( ')' ) ;
- public final void rule__Constraint__Group_2_0__2__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_1__1__Impl"
+ // InternalSolverLanguage.g:3801:1: rule__Constraint__Group_1__1__Impl : ( '(' ) ;
+ public final void rule__Constraint__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3863:1: ( ( ')' ) )
- // InternalSolverLanguage.g:3864:1: ( ')' )
+ // InternalSolverLanguage.g:3805:1: ( ( '(' ) )
+ // InternalSolverLanguage.g:3806:1: ( '(' )
{
- // InternalSolverLanguage.g:3864:1: ( ')' )
- // InternalSolverLanguage.g:3865:2: ')'
+ // InternalSolverLanguage.g:3806:1: ( '(' )
+ // InternalSolverLanguage.g:3807:2: '('
{
- before(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_2_0_2());
+ before(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_1_1());
match(input,18,FOLLOW_2);
- after(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_2_0_2());
+ after(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_1_1());
}
@@ -12048,26 +11921,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group_2_0__2__Impl"
+ // $ANTLR end "rule__Constraint__Group_1__1__Impl"
- // $ANTLR start "rule__Constraint__Group_2_1__0"
- // InternalSolverLanguage.g:3875:1: rule__Constraint__Group_2_1__0 : rule__Constraint__Group_2_1__0__Impl rule__Constraint__Group_2_1__1 ;
- public final void rule__Constraint__Group_2_1__0() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_1__2"
+ // InternalSolverLanguage.g:3816:1: rule__Constraint__Group_1__2 : rule__Constraint__Group_1__2__Impl rule__Constraint__Group_1__3 ;
+ public final void rule__Constraint__Group_1__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3879:1: ( rule__Constraint__Group_2_1__0__Impl rule__Constraint__Group_2_1__1 )
- // InternalSolverLanguage.g:3880:2: rule__Constraint__Group_2_1__0__Impl rule__Constraint__Group_2_1__1
+ // InternalSolverLanguage.g:3820:1: ( rule__Constraint__Group_1__2__Impl rule__Constraint__Group_1__3 )
+ // InternalSolverLanguage.g:3821:2: rule__Constraint__Group_1__2__Impl rule__Constraint__Group_1__3
{
- pushFollow(FOLLOW_11);
- rule__Constraint__Group_2_1__0__Impl();
+ pushFollow(FOLLOW_31);
+ rule__Constraint__Group_1__2__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__Constraint__Group_2_1__1();
+ rule__Constraint__Group_1__3();
state._fsp--;
@@ -12086,35 +11959,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group_2_1__0"
+ // $ANTLR end "rule__Constraint__Group_1__2"
- // $ANTLR start "rule__Constraint__Group_2_1__0__Impl"
- // InternalSolverLanguage.g:3887:1: rule__Constraint__Group_2_1__0__Impl : ( ( rule__Constraint__ClosureTypeAssignment_2_1_0 ) ) ;
- public final void rule__Constraint__Group_2_1__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_1__2__Impl"
+ // InternalSolverLanguage.g:3828:1: rule__Constraint__Group_1__2__Impl : ( ( rule__Constraint__ParamsAssignment_1_2 )? ) ;
+ public final void rule__Constraint__Group_1__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3891:1: ( ( ( rule__Constraint__ClosureTypeAssignment_2_1_0 ) ) )
- // InternalSolverLanguage.g:3892:1: ( ( rule__Constraint__ClosureTypeAssignment_2_1_0 ) )
+ // InternalSolverLanguage.g:3832:1: ( ( ( rule__Constraint__ParamsAssignment_1_2 )? ) )
+ // InternalSolverLanguage.g:3833:1: ( ( rule__Constraint__ParamsAssignment_1_2 )? )
{
- // InternalSolverLanguage.g:3892:1: ( ( rule__Constraint__ClosureTypeAssignment_2_1_0 ) )
- // InternalSolverLanguage.g:3893:2: ( rule__Constraint__ClosureTypeAssignment_2_1_0 )
+ // InternalSolverLanguage.g:3833:1: ( ( rule__Constraint__ParamsAssignment_1_2 )? )
+ // InternalSolverLanguage.g:3834:2: ( rule__Constraint__ParamsAssignment_1_2 )?
{
- before(grammarAccess.getConstraintAccess().getClosureTypeAssignment_2_1_0());
- // InternalSolverLanguage.g:3894:2: ( rule__Constraint__ClosureTypeAssignment_2_1_0 )
- // InternalSolverLanguage.g:3894:3: rule__Constraint__ClosureTypeAssignment_2_1_0
- {
- pushFollow(FOLLOW_2);
- rule__Constraint__ClosureTypeAssignment_2_1_0();
+ before(grammarAccess.getConstraintAccess().getParamsAssignment_1_2());
+ // InternalSolverLanguage.g:3835:2: ( rule__Constraint__ParamsAssignment_1_2 )?
+ int alt36=2;
+ int LA36_0 = input.LA(1);
+
+ if ( ((LA36_0>=RULE_INT && LA36_0<=RULE_STRING)||(LA36_0>=11 && LA36_0<=13)||LA36_0==27) ) {
+ alt36=1;
+ }
+ switch (alt36) {
+ case 1 :
+ // InternalSolverLanguage.g:3835:3: rule__Constraint__ParamsAssignment_1_2
+ {
+ pushFollow(FOLLOW_2);
+ rule__Constraint__ParamsAssignment_1_2();
+
+ state._fsp--;
- state._fsp--;
+ }
+ break;
}
- after(grammarAccess.getConstraintAccess().getClosureTypeAssignment_2_1_0());
+ after(grammarAccess.getConstraintAccess().getParamsAssignment_1_2());
}
@@ -12133,26 +12017,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group_2_1__0__Impl"
+ // $ANTLR end "rule__Constraint__Group_1__2__Impl"
- // $ANTLR start "rule__Constraint__Group_2_1__1"
- // InternalSolverLanguage.g:3902:1: rule__Constraint__Group_2_1__1 : rule__Constraint__Group_2_1__1__Impl rule__Constraint__Group_2_1__2 ;
- public final void rule__Constraint__Group_2_1__1() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_1__3"
+ // InternalSolverLanguage.g:3843:1: rule__Constraint__Group_1__3 : rule__Constraint__Group_1__3__Impl rule__Constraint__Group_1__4 ;
+ public final void rule__Constraint__Group_1__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3906:1: ( rule__Constraint__Group_2_1__1__Impl rule__Constraint__Group_2_1__2 )
- // InternalSolverLanguage.g:3907:2: rule__Constraint__Group_2_1__1__Impl rule__Constraint__Group_2_1__2
+ // InternalSolverLanguage.g:3847:1: ( rule__Constraint__Group_1__3__Impl rule__Constraint__Group_1__4 )
+ // InternalSolverLanguage.g:3848:2: rule__Constraint__Group_1__3__Impl rule__Constraint__Group_1__4
{
- pushFollow(FOLLOW_32);
- rule__Constraint__Group_2_1__1__Impl();
+ pushFollow(FOLLOW_31);
+ rule__Constraint__Group_1__3__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__Constraint__Group_2_1__2();
+ rule__Constraint__Group_1__4();
state._fsp--;
@@ -12171,25 +12055,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group_2_1__1"
+ // $ANTLR end "rule__Constraint__Group_1__3"
- // $ANTLR start "rule__Constraint__Group_2_1__1__Impl"
- // InternalSolverLanguage.g:3914:1: rule__Constraint__Group_2_1__1__Impl : ( '(' ) ;
- public final void rule__Constraint__Group_2_1__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_1__3__Impl"
+ // InternalSolverLanguage.g:3855:1: rule__Constraint__Group_1__3__Impl : ( ( rule__Constraint__Group_1_3__0 )* ) ;
+ public final void rule__Constraint__Group_1__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3918:1: ( ( '(' ) )
- // InternalSolverLanguage.g:3919:1: ( '(' )
+ // InternalSolverLanguage.g:3859:1: ( ( ( rule__Constraint__Group_1_3__0 )* ) )
+ // InternalSolverLanguage.g:3860:1: ( ( rule__Constraint__Group_1_3__0 )* )
{
- // InternalSolverLanguage.g:3919:1: ( '(' )
- // InternalSolverLanguage.g:3920:2: '('
+ // InternalSolverLanguage.g:3860:1: ( ( rule__Constraint__Group_1_3__0 )* )
+ // InternalSolverLanguage.g:3861:2: ( rule__Constraint__Group_1_3__0 )*
{
- before(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_2_1_1());
- match(input,17,FOLLOW_2);
- after(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_2_1_1());
+ before(grammarAccess.getConstraintAccess().getGroup_1_3());
+ // InternalSolverLanguage.g:3862:2: ( rule__Constraint__Group_1_3__0 )*
+ loop37:
+ do {
+ int alt37=2;
+ int LA37_0 = input.LA(1);
+
+ if ( (LA37_0==20) ) {
+ alt37=1;
+ }
+
+
+ switch (alt37) {
+ case 1 :
+ // InternalSolverLanguage.g:3862:3: rule__Constraint__Group_1_3__0
+ {
+ pushFollow(FOLLOW_15);
+ rule__Constraint__Group_1_3__0();
+
+ state._fsp--;
+
+
+ }
+ break;
+
+ default :
+ break loop37;
+ }
+ } while (true);
+
+ after(grammarAccess.getConstraintAccess().getGroup_1_3());
}
@@ -12208,26 +12120,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group_2_1__1__Impl"
+ // $ANTLR end "rule__Constraint__Group_1__3__Impl"
- // $ANTLR start "rule__Constraint__Group_2_1__2"
- // InternalSolverLanguage.g:3929:1: rule__Constraint__Group_2_1__2 : rule__Constraint__Group_2_1__2__Impl rule__Constraint__Group_2_1__3 ;
- public final void rule__Constraint__Group_2_1__2() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_1__4"
+ // InternalSolverLanguage.g:3870:1: rule__Constraint__Group_1__4 : rule__Constraint__Group_1__4__Impl ;
+ public final void rule__Constraint__Group_1__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3933:1: ( rule__Constraint__Group_2_1__2__Impl rule__Constraint__Group_2_1__3 )
- // InternalSolverLanguage.g:3934:2: rule__Constraint__Group_2_1__2__Impl rule__Constraint__Group_2_1__3
+ // InternalSolverLanguage.g:3874:1: ( rule__Constraint__Group_1__4__Impl )
+ // InternalSolverLanguage.g:3875:2: rule__Constraint__Group_1__4__Impl
{
- pushFollow(FOLLOW_32);
- rule__Constraint__Group_2_1__2__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__Constraint__Group_2_1__3();
+ rule__Constraint__Group_1__4__Impl();
state._fsp--;
@@ -12246,35 +12153,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group_2_1__2"
+ // $ANTLR end "rule__Constraint__Group_1__4"
- // $ANTLR start "rule__Constraint__Group_2_1__2__Impl"
- // InternalSolverLanguage.g:3941:1: rule__Constraint__Group_2_1__2__Impl : ( ( rule__Constraint__ParamsAssignment_2_1_2 ) ) ;
- public final void rule__Constraint__Group_2_1__2__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_1__4__Impl"
+ // InternalSolverLanguage.g:3881:1: rule__Constraint__Group_1__4__Impl : ( ')' ) ;
+ public final void rule__Constraint__Group_1__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3945:1: ( ( ( rule__Constraint__ParamsAssignment_2_1_2 ) ) )
- // InternalSolverLanguage.g:3946:1: ( ( rule__Constraint__ParamsAssignment_2_1_2 ) )
+ // InternalSolverLanguage.g:3885:1: ( ( ')' ) )
+ // InternalSolverLanguage.g:3886:1: ( ')' )
{
- // InternalSolverLanguage.g:3946:1: ( ( rule__Constraint__ParamsAssignment_2_1_2 ) )
- // InternalSolverLanguage.g:3947:2: ( rule__Constraint__ParamsAssignment_2_1_2 )
+ // InternalSolverLanguage.g:3886:1: ( ')' )
+ // InternalSolverLanguage.g:3887:2: ')'
{
- before(grammarAccess.getConstraintAccess().getParamsAssignment_2_1_2());
- // InternalSolverLanguage.g:3948:2: ( rule__Constraint__ParamsAssignment_2_1_2 )
- // InternalSolverLanguage.g:3948:3: rule__Constraint__ParamsAssignment_2_1_2
- {
- pushFollow(FOLLOW_2);
- rule__Constraint__ParamsAssignment_2_1_2();
-
- state._fsp--;
-
-
- }
-
- after(grammarAccess.getConstraintAccess().getParamsAssignment_2_1_2());
+ before(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_1_4());
+ match(input,19,FOLLOW_2);
+ after(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_1_4());
}
@@ -12293,26 +12190,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group_2_1__2__Impl"
+ // $ANTLR end "rule__Constraint__Group_1__4__Impl"
- // $ANTLR start "rule__Constraint__Group_2_1__3"
- // InternalSolverLanguage.g:3956:1: rule__Constraint__Group_2_1__3 : rule__Constraint__Group_2_1__3__Impl rule__Constraint__Group_2_1__4 ;
- public final void rule__Constraint__Group_2_1__3() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_1_3__0"
+ // InternalSolverLanguage.g:3897:1: rule__Constraint__Group_1_3__0 : rule__Constraint__Group_1_3__0__Impl rule__Constraint__Group_1_3__1 ;
+ public final void rule__Constraint__Group_1_3__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3960:1: ( rule__Constraint__Group_2_1__3__Impl rule__Constraint__Group_2_1__4 )
- // InternalSolverLanguage.g:3961:2: rule__Constraint__Group_2_1__3__Impl rule__Constraint__Group_2_1__4
+ // InternalSolverLanguage.g:3901:1: ( rule__Constraint__Group_1_3__0__Impl rule__Constraint__Group_1_3__1 )
+ // InternalSolverLanguage.g:3902:2: rule__Constraint__Group_1_3__0__Impl rule__Constraint__Group_1_3__1
{
- pushFollow(FOLLOW_33);
- rule__Constraint__Group_2_1__3__Impl();
+ pushFollow(FOLLOW_32);
+ rule__Constraint__Group_1_3__0__Impl();
state._fsp--;
pushFollow(FOLLOW_2);
- rule__Constraint__Group_2_1__4();
+ rule__Constraint__Group_1_3__1();
state._fsp--;
@@ -12331,35 +12228,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group_2_1__3"
+ // $ANTLR end "rule__Constraint__Group_1_3__0"
- // $ANTLR start "rule__Constraint__Group_2_1__3__Impl"
- // InternalSolverLanguage.g:3968:1: rule__Constraint__Group_2_1__3__Impl : ( ( rule__Constraint__ParamsAssignment_2_1_3 ) ) ;
- public final void rule__Constraint__Group_2_1__3__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_1_3__0__Impl"
+ // InternalSolverLanguage.g:3909:1: rule__Constraint__Group_1_3__0__Impl : ( ',' ) ;
+ public final void rule__Constraint__Group_1_3__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3972:1: ( ( ( rule__Constraint__ParamsAssignment_2_1_3 ) ) )
- // InternalSolverLanguage.g:3973:1: ( ( rule__Constraint__ParamsAssignment_2_1_3 ) )
- {
- // InternalSolverLanguage.g:3973:1: ( ( rule__Constraint__ParamsAssignment_2_1_3 ) )
- // InternalSolverLanguage.g:3974:2: ( rule__Constraint__ParamsAssignment_2_1_3 )
+ // InternalSolverLanguage.g:3913:1: ( ( ',' ) )
+ // InternalSolverLanguage.g:3914:1: ( ',' )
{
- before(grammarAccess.getConstraintAccess().getParamsAssignment_2_1_3());
- // InternalSolverLanguage.g:3975:2: ( rule__Constraint__ParamsAssignment_2_1_3 )
- // InternalSolverLanguage.g:3975:3: rule__Constraint__ParamsAssignment_2_1_3
+ // InternalSolverLanguage.g:3914:1: ( ',' )
+ // InternalSolverLanguage.g:3915:2: ','
{
- pushFollow(FOLLOW_2);
- rule__Constraint__ParamsAssignment_2_1_3();
-
- state._fsp--;
-
-
- }
-
- after(grammarAccess.getConstraintAccess().getParamsAssignment_2_1_3());
+ before(grammarAccess.getConstraintAccess().getCommaKeyword_1_3_0());
+ match(input,20,FOLLOW_2);
+ after(grammarAccess.getConstraintAccess().getCommaKeyword_1_3_0());
}
@@ -12378,21 +12265,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group_2_1__3__Impl"
+ // $ANTLR end "rule__Constraint__Group_1_3__0__Impl"
- // $ANTLR start "rule__Constraint__Group_2_1__4"
- // InternalSolverLanguage.g:3983:1: rule__Constraint__Group_2_1__4 : rule__Constraint__Group_2_1__4__Impl ;
- public final void rule__Constraint__Group_2_1__4() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_1_3__1"
+ // InternalSolverLanguage.g:3924:1: rule__Constraint__Group_1_3__1 : rule__Constraint__Group_1_3__1__Impl ;
+ public final void rule__Constraint__Group_1_3__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3987:1: ( rule__Constraint__Group_2_1__4__Impl )
- // InternalSolverLanguage.g:3988:2: rule__Constraint__Group_2_1__4__Impl
+ // InternalSolverLanguage.g:3928:1: ( rule__Constraint__Group_1_3__1__Impl )
+ // InternalSolverLanguage.g:3929:2: rule__Constraint__Group_1_3__1__Impl
{
pushFollow(FOLLOW_2);
- rule__Constraint__Group_2_1__4__Impl();
+ rule__Constraint__Group_1_3__1__Impl();
state._fsp--;
@@ -12411,25 +12298,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group_2_1__4"
+ // $ANTLR end "rule__Constraint__Group_1_3__1"
- // $ANTLR start "rule__Constraint__Group_2_1__4__Impl"
- // InternalSolverLanguage.g:3994:1: rule__Constraint__Group_2_1__4__Impl : ( ')' ) ;
- public final void rule__Constraint__Group_2_1__4__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__Group_1_3__1__Impl"
+ // InternalSolverLanguage.g:3935:1: rule__Constraint__Group_1_3__1__Impl : ( ( rule__Constraint__ParamsAssignment_1_3_1 ) ) ;
+ public final void rule__Constraint__Group_1_3__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3998:1: ( ( ')' ) )
- // InternalSolverLanguage.g:3999:1: ( ')' )
+ // InternalSolverLanguage.g:3939:1: ( ( ( rule__Constraint__ParamsAssignment_1_3_1 ) ) )
+ // InternalSolverLanguage.g:3940:1: ( ( rule__Constraint__ParamsAssignment_1_3_1 ) )
{
- // InternalSolverLanguage.g:3999:1: ( ')' )
- // InternalSolverLanguage.g:4000:2: ')'
+ // InternalSolverLanguage.g:3940:1: ( ( rule__Constraint__ParamsAssignment_1_3_1 ) )
+ // InternalSolverLanguage.g:3941:2: ( rule__Constraint__ParamsAssignment_1_3_1 )
{
- before(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_2_1_4());
- match(input,18,FOLLOW_2);
- after(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_2_1_4());
+ before(grammarAccess.getConstraintAccess().getParamsAssignment_1_3_1());
+ // InternalSolverLanguage.g:3942:2: ( rule__Constraint__ParamsAssignment_1_3_1 )
+ // InternalSolverLanguage.g:3942:3: rule__Constraint__ParamsAssignment_1_3_1
+ {
+ pushFollow(FOLLOW_2);
+ rule__Constraint__ParamsAssignment_1_3_1();
+
+ state._fsp--;
+
+
+ }
+
+ after(grammarAccess.getConstraintAccess().getParamsAssignment_1_3_1());
}
@@ -12448,20 +12345,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__Group_2_1__4__Impl"
+ // $ANTLR end "rule__Constraint__Group_1_3__1__Impl"
// $ANTLR start "rule__ClosureType__Group_0__0"
- // InternalSolverLanguage.g:4010:1: rule__ClosureType__Group_0__0 : rule__ClosureType__Group_0__0__Impl rule__ClosureType__Group_0__1 ;
+ // InternalSolverLanguage.g:3951:1: rule__ClosureType__Group_0__0 : rule__ClosureType__Group_0__0__Impl rule__ClosureType__Group_0__1 ;
public final void rule__ClosureType__Group_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4014:1: ( rule__ClosureType__Group_0__0__Impl rule__ClosureType__Group_0__1 )
- // InternalSolverLanguage.g:4015:2: rule__ClosureType__Group_0__0__Impl rule__ClosureType__Group_0__1
+ // InternalSolverLanguage.g:3955:1: ( rule__ClosureType__Group_0__0__Impl rule__ClosureType__Group_0__1 )
+ // InternalSolverLanguage.g:3956:2: rule__ClosureType__Group_0__0__Impl rule__ClosureType__Group_0__1
{
- pushFollow(FOLLOW_34);
+ pushFollow(FOLLOW_33);
rule__ClosureType__Group_0__0__Impl();
state._fsp--;
@@ -12490,21 +12387,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClosureType__Group_0__0__Impl"
- // InternalSolverLanguage.g:4022:1: rule__ClosureType__Group_0__0__Impl : ( () ) ;
+ // InternalSolverLanguage.g:3963:1: rule__ClosureType__Group_0__0__Impl : ( () ) ;
public final void rule__ClosureType__Group_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4026:1: ( ( () ) )
- // InternalSolverLanguage.g:4027:1: ( () )
+ // InternalSolverLanguage.g:3967:1: ( ( () ) )
+ // InternalSolverLanguage.g:3968:1: ( () )
{
- // InternalSolverLanguage.g:4027:1: ( () )
- // InternalSolverLanguage.g:4028:2: ()
+ // InternalSolverLanguage.g:3968:1: ( () )
+ // InternalSolverLanguage.g:3969:2: ()
{
before(grammarAccess.getClosureTypeAccess().getReflexiveClosureAction_0_0());
- // InternalSolverLanguage.g:4029:2: ()
- // InternalSolverLanguage.g:4029:3:
+ // InternalSolverLanguage.g:3970:2: ()
+ // InternalSolverLanguage.g:3970:3:
{
}
@@ -12527,14 +12424,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClosureType__Group_0__1"
- // InternalSolverLanguage.g:4037:1: rule__ClosureType__Group_0__1 : rule__ClosureType__Group_0__1__Impl ;
+ // InternalSolverLanguage.g:3978:1: rule__ClosureType__Group_0__1 : rule__ClosureType__Group_0__1__Impl ;
public final void rule__ClosureType__Group_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4041:1: ( rule__ClosureType__Group_0__1__Impl )
- // InternalSolverLanguage.g:4042:2: rule__ClosureType__Group_0__1__Impl
+ // InternalSolverLanguage.g:3982:1: ( rule__ClosureType__Group_0__1__Impl )
+ // InternalSolverLanguage.g:3983:2: rule__ClosureType__Group_0__1__Impl
{
pushFollow(FOLLOW_2);
rule__ClosureType__Group_0__1__Impl();
@@ -12560,20 +12457,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClosureType__Group_0__1__Impl"
- // InternalSolverLanguage.g:4048:1: rule__ClosureType__Group_0__1__Impl : ( '*' ) ;
+ // InternalSolverLanguage.g:3989:1: rule__ClosureType__Group_0__1__Impl : ( '*' ) ;
public final void rule__ClosureType__Group_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4052:1: ( ( '*' ) )
- // InternalSolverLanguage.g:4053:1: ( '*' )
+ // InternalSolverLanguage.g:3993:1: ( ( '*' ) )
+ // InternalSolverLanguage.g:3994:1: ( '*' )
{
- // InternalSolverLanguage.g:4053:1: ( '*' )
- // InternalSolverLanguage.g:4054:2: '*'
+ // InternalSolverLanguage.g:3994:1: ( '*' )
+ // InternalSolverLanguage.g:3995:2: '*'
{
before(grammarAccess.getClosureTypeAccess().getAsteriskKeyword_0_1());
- match(input,30,FOLLOW_2);
+ match(input,31,FOLLOW_2);
after(grammarAccess.getClosureTypeAccess().getAsteriskKeyword_0_1());
}
@@ -12597,16 +12494,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClosureType__Group_1__0"
- // InternalSolverLanguage.g:4064:1: rule__ClosureType__Group_1__0 : rule__ClosureType__Group_1__0__Impl rule__ClosureType__Group_1__1 ;
+ // InternalSolverLanguage.g:4005:1: rule__ClosureType__Group_1__0 : rule__ClosureType__Group_1__0__Impl rule__ClosureType__Group_1__1 ;
public final void rule__ClosureType__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4068:1: ( rule__ClosureType__Group_1__0__Impl rule__ClosureType__Group_1__1 )
- // InternalSolverLanguage.g:4069:2: rule__ClosureType__Group_1__0__Impl rule__ClosureType__Group_1__1
+ // InternalSolverLanguage.g:4009:1: ( rule__ClosureType__Group_1__0__Impl rule__ClosureType__Group_1__1 )
+ // InternalSolverLanguage.g:4010:2: rule__ClosureType__Group_1__0__Impl rule__ClosureType__Group_1__1
{
- pushFollow(FOLLOW_29);
+ pushFollow(FOLLOW_34);
rule__ClosureType__Group_1__0__Impl();
state._fsp--;
@@ -12635,21 +12532,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClosureType__Group_1__0__Impl"
- // InternalSolverLanguage.g:4076:1: rule__ClosureType__Group_1__0__Impl : ( () ) ;
+ // InternalSolverLanguage.g:4017:1: rule__ClosureType__Group_1__0__Impl : ( () ) ;
public final void rule__ClosureType__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4080:1: ( ( () ) )
- // InternalSolverLanguage.g:4081:1: ( () )
+ // InternalSolverLanguage.g:4021:1: ( ( () ) )
+ // InternalSolverLanguage.g:4022:1: ( () )
{
- // InternalSolverLanguage.g:4081:1: ( () )
- // InternalSolverLanguage.g:4082:2: ()
+ // InternalSolverLanguage.g:4022:1: ( () )
+ // InternalSolverLanguage.g:4023:2: ()
{
before(grammarAccess.getClosureTypeAccess().getIrreflexiveClosureAction_1_0());
- // InternalSolverLanguage.g:4083:2: ()
- // InternalSolverLanguage.g:4083:3:
+ // InternalSolverLanguage.g:4024:2: ()
+ // InternalSolverLanguage.g:4024:3:
{
}
@@ -12672,14 +12569,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClosureType__Group_1__1"
- // InternalSolverLanguage.g:4091:1: rule__ClosureType__Group_1__1 : rule__ClosureType__Group_1__1__Impl ;
+ // InternalSolverLanguage.g:4032:1: rule__ClosureType__Group_1__1 : rule__ClosureType__Group_1__1__Impl ;
public final void rule__ClosureType__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4095:1: ( rule__ClosureType__Group_1__1__Impl )
- // InternalSolverLanguage.g:4096:2: rule__ClosureType__Group_1__1__Impl
+ // InternalSolverLanguage.g:4036:1: ( rule__ClosureType__Group_1__1__Impl )
+ // InternalSolverLanguage.g:4037:2: rule__ClosureType__Group_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__ClosureType__Group_1__1__Impl();
@@ -12705,20 +12602,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClosureType__Group_1__1__Impl"
- // InternalSolverLanguage.g:4102:1: rule__ClosureType__Group_1__1__Impl : ( '+' ) ;
+ // InternalSolverLanguage.g:4043:1: rule__ClosureType__Group_1__1__Impl : ( '+' ) ;
public final void rule__ClosureType__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4106:1: ( ( '+' ) )
- // InternalSolverLanguage.g:4107:1: ( '+' )
+ // InternalSolverLanguage.g:4047:1: ( ( '+' ) )
+ // InternalSolverLanguage.g:4048:1: ( '+' )
{
- // InternalSolverLanguage.g:4107:1: ( '+' )
- // InternalSolverLanguage.g:4108:2: '+'
+ // InternalSolverLanguage.g:4048:1: ( '+' )
+ // InternalSolverLanguage.g:4049:2: '+'
{
before(grammarAccess.getClosureTypeAccess().getPlusSignKeyword_1_1());
- match(input,29,FOLLOW_2);
+ match(input,30,FOLLOW_2);
after(grammarAccess.getClosureTypeAccess().getPlusSignKeyword_1_1());
}
@@ -12742,16 +12639,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AllInstances__Group__0"
- // InternalSolverLanguage.g:4118:1: rule__AllInstances__Group__0 : rule__AllInstances__Group__0__Impl rule__AllInstances__Group__1 ;
+ // InternalSolverLanguage.g:4059:1: rule__AllInstances__Group__0 : rule__AllInstances__Group__0__Impl rule__AllInstances__Group__1 ;
public final void rule__AllInstances__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4122:1: ( rule__AllInstances__Group__0__Impl rule__AllInstances__Group__1 )
- // InternalSolverLanguage.g:4123:2: rule__AllInstances__Group__0__Impl rule__AllInstances__Group__1
+ // InternalSolverLanguage.g:4063:1: ( rule__AllInstances__Group__0__Impl rule__AllInstances__Group__1 )
+ // InternalSolverLanguage.g:4064:2: rule__AllInstances__Group__0__Impl rule__AllInstances__Group__1
{
- pushFollow(FOLLOW_25);
+ pushFollow(FOLLOW_26);
rule__AllInstances__Group__0__Impl();
state._fsp--;
@@ -12780,20 +12677,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AllInstances__Group__0__Impl"
- // InternalSolverLanguage.g:4130:1: rule__AllInstances__Group__0__Impl : ( ':' ) ;
+ // InternalSolverLanguage.g:4071:1: rule__AllInstances__Group__0__Impl : ( ':' ) ;
public final void rule__AllInstances__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4134:1: ( ( ':' ) )
- // InternalSolverLanguage.g:4135:1: ( ':' )
+ // InternalSolverLanguage.g:4075:1: ( ( ':' ) )
+ // InternalSolverLanguage.g:4076:1: ( ':' )
{
- // InternalSolverLanguage.g:4135:1: ( ':' )
- // InternalSolverLanguage.g:4136:2: ':'
+ // InternalSolverLanguage.g:4076:1: ( ':' )
+ // InternalSolverLanguage.g:4077:2: ':'
{
before(grammarAccess.getAllInstancesAccess().getColonKeyword_0());
- match(input,19,FOLLOW_2);
+ match(input,17,FOLLOW_2);
after(grammarAccess.getAllInstancesAccess().getColonKeyword_0());
}
@@ -12817,14 +12714,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AllInstances__Group__1"
- // InternalSolverLanguage.g:4145:1: rule__AllInstances__Group__1 : rule__AllInstances__Group__1__Impl ;
+ // InternalSolverLanguage.g:4086:1: rule__AllInstances__Group__1 : rule__AllInstances__Group__1__Impl ;
public final void rule__AllInstances__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4149:1: ( rule__AllInstances__Group__1__Impl )
- // InternalSolverLanguage.g:4150:2: rule__AllInstances__Group__1__Impl
+ // InternalSolverLanguage.g:4090:1: ( rule__AllInstances__Group__1__Impl )
+ // InternalSolverLanguage.g:4091:2: rule__AllInstances__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__AllInstances__Group__1__Impl();
@@ -12850,21 +12747,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AllInstances__Group__1__Impl"
- // InternalSolverLanguage.g:4156:1: rule__AllInstances__Group__1__Impl : ( ( rule__AllInstances__SymbolAssignment_1 ) ) ;
+ // InternalSolverLanguage.g:4097:1: rule__AllInstances__Group__1__Impl : ( ( rule__AllInstances__SymbolAssignment_1 ) ) ;
public final void rule__AllInstances__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4160:1: ( ( ( rule__AllInstances__SymbolAssignment_1 ) ) )
- // InternalSolverLanguage.g:4161:1: ( ( rule__AllInstances__SymbolAssignment_1 ) )
+ // InternalSolverLanguage.g:4101:1: ( ( ( rule__AllInstances__SymbolAssignment_1 ) ) )
+ // InternalSolverLanguage.g:4102:1: ( ( rule__AllInstances__SymbolAssignment_1 ) )
{
- // InternalSolverLanguage.g:4161:1: ( ( rule__AllInstances__SymbolAssignment_1 ) )
- // InternalSolverLanguage.g:4162:2: ( rule__AllInstances__SymbolAssignment_1 )
+ // InternalSolverLanguage.g:4102:1: ( ( rule__AllInstances__SymbolAssignment_1 ) )
+ // InternalSolverLanguage.g:4103:2: ( rule__AllInstances__SymbolAssignment_1 )
{
before(grammarAccess.getAllInstancesAccess().getSymbolAssignment_1());
- // InternalSolverLanguage.g:4163:2: ( rule__AllInstances__SymbolAssignment_1 )
- // InternalSolverLanguage.g:4163:3: rule__AllInstances__SymbolAssignment_1
+ // InternalSolverLanguage.g:4104:2: ( rule__AllInstances__SymbolAssignment_1 )
+ // InternalSolverLanguage.g:4104:3: rule__AllInstances__SymbolAssignment_1
{
pushFollow(FOLLOW_2);
rule__AllInstances__SymbolAssignment_1();
@@ -12897,16 +12794,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AllObjects__Group__0"
- // InternalSolverLanguage.g:4172:1: rule__AllObjects__Group__0 : rule__AllObjects__Group__0__Impl rule__AllObjects__Group__1 ;
+ // InternalSolverLanguage.g:4113:1: rule__AllObjects__Group__0 : rule__AllObjects__Group__0__Impl rule__AllObjects__Group__1 ;
public final void rule__AllObjects__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4176:1: ( rule__AllObjects__Group__0__Impl rule__AllObjects__Group__1 )
- // InternalSolverLanguage.g:4177:2: rule__AllObjects__Group__0__Impl rule__AllObjects__Group__1
+ // InternalSolverLanguage.g:4117:1: ( rule__AllObjects__Group__0__Impl rule__AllObjects__Group__1 )
+ // InternalSolverLanguage.g:4118:2: rule__AllObjects__Group__0__Impl rule__AllObjects__Group__1
{
- pushFollow(FOLLOW_35);
+ pushFollow(FOLLOW_16);
rule__AllObjects__Group__0__Impl();
state._fsp--;
@@ -12935,21 +12832,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AllObjects__Group__0__Impl"
- // InternalSolverLanguage.g:4184:1: rule__AllObjects__Group__0__Impl : ( () ) ;
+ // InternalSolverLanguage.g:4125:1: rule__AllObjects__Group__0__Impl : ( () ) ;
public final void rule__AllObjects__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4188:1: ( ( () ) )
- // InternalSolverLanguage.g:4189:1: ( () )
+ // InternalSolverLanguage.g:4129:1: ( ( () ) )
+ // InternalSolverLanguage.g:4130:1: ( () )
{
- // InternalSolverLanguage.g:4189:1: ( () )
- // InternalSolverLanguage.g:4190:2: ()
+ // InternalSolverLanguage.g:4130:1: ( () )
+ // InternalSolverLanguage.g:4131:2: ()
{
before(grammarAccess.getAllObjectsAccess().getAllObjectsAction_0());
- // InternalSolverLanguage.g:4191:2: ()
- // InternalSolverLanguage.g:4191:3:
+ // InternalSolverLanguage.g:4132:2: ()
+ // InternalSolverLanguage.g:4132:3:
{
}
@@ -12972,14 +12869,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AllObjects__Group__1"
- // InternalSolverLanguage.g:4199:1: rule__AllObjects__Group__1 : rule__AllObjects__Group__1__Impl ;
+ // InternalSolverLanguage.g:4140:1: rule__AllObjects__Group__1 : rule__AllObjects__Group__1__Impl ;
public final void rule__AllObjects__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4203:1: ( rule__AllObjects__Group__1__Impl )
- // InternalSolverLanguage.g:4204:2: rule__AllObjects__Group__1__Impl
+ // InternalSolverLanguage.g:4144:1: ( rule__AllObjects__Group__1__Impl )
+ // InternalSolverLanguage.g:4145:2: rule__AllObjects__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__AllObjects__Group__1__Impl();
@@ -13005,20 +12902,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AllObjects__Group__1__Impl"
- // InternalSolverLanguage.g:4210:1: rule__AllObjects__Group__1__Impl : ( '*' ) ;
+ // InternalSolverLanguage.g:4151:1: rule__AllObjects__Group__1__Impl : ( '*' ) ;
public final void rule__AllObjects__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4214:1: ( ( '*' ) )
- // InternalSolverLanguage.g:4215:1: ( '*' )
+ // InternalSolverLanguage.g:4155:1: ( ( '*' ) )
+ // InternalSolverLanguage.g:4156:1: ( '*' )
{
- // InternalSolverLanguage.g:4215:1: ( '*' )
- // InternalSolverLanguage.g:4216:2: '*'
+ // InternalSolverLanguage.g:4156:1: ( '*' )
+ // InternalSolverLanguage.g:4157:2: '*'
{
before(grammarAccess.getAllObjectsAccess().getAsteriskKeyword_1());
- match(input,30,FOLLOW_2);
+ match(input,31,FOLLOW_2);
after(grammarAccess.getAllObjectsAccess().getAsteriskKeyword_1());
}
@@ -13042,16 +12939,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DefaultInterpretation__Group__0"
- // InternalSolverLanguage.g:4226:1: rule__DefaultInterpretation__Group__0 : rule__DefaultInterpretation__Group__0__Impl rule__DefaultInterpretation__Group__1 ;
+ // InternalSolverLanguage.g:4167:1: rule__DefaultInterpretation__Group__0 : rule__DefaultInterpretation__Group__0__Impl rule__DefaultInterpretation__Group__1 ;
public final void rule__DefaultInterpretation__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4230:1: ( rule__DefaultInterpretation__Group__0__Impl rule__DefaultInterpretation__Group__1 )
- // InternalSolverLanguage.g:4231:2: rule__DefaultInterpretation__Group__0__Impl rule__DefaultInterpretation__Group__1
+ // InternalSolverLanguage.g:4171:1: ( rule__DefaultInterpretation__Group__0__Impl rule__DefaultInterpretation__Group__1 )
+ // InternalSolverLanguage.g:4172:2: rule__DefaultInterpretation__Group__0__Impl rule__DefaultInterpretation__Group__1
{
- pushFollow(FOLLOW_25);
+ pushFollow(FOLLOW_26);
rule__DefaultInterpretation__Group__0__Impl();
state._fsp--;
@@ -13080,20 +12977,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DefaultInterpretation__Group__0__Impl"
- // InternalSolverLanguage.g:4238:1: rule__DefaultInterpretation__Group__0__Impl : ( 'default' ) ;
+ // InternalSolverLanguage.g:4179:1: rule__DefaultInterpretation__Group__0__Impl : ( 'default' ) ;
public final void rule__DefaultInterpretation__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4242:1: ( ( 'default' ) )
- // InternalSolverLanguage.g:4243:1: ( 'default' )
+ // InternalSolverLanguage.g:4183:1: ( ( 'default' ) )
+ // InternalSolverLanguage.g:4184:1: ( 'default' )
{
- // InternalSolverLanguage.g:4243:1: ( 'default' )
- // InternalSolverLanguage.g:4244:2: 'default'
+ // InternalSolverLanguage.g:4184:1: ( 'default' )
+ // InternalSolverLanguage.g:4185:2: 'default'
{
before(grammarAccess.getDefaultInterpretationAccess().getDefaultKeyword_0());
- match(input,31,FOLLOW_2);
+ match(input,32,FOLLOW_2);
after(grammarAccess.getDefaultInterpretationAccess().getDefaultKeyword_0());
}
@@ -13117,14 +13014,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DefaultInterpretation__Group__1"
- // InternalSolverLanguage.g:4253:1: rule__DefaultInterpretation__Group__1 : rule__DefaultInterpretation__Group__1__Impl ;
+ // InternalSolverLanguage.g:4194:1: rule__DefaultInterpretation__Group__1 : rule__DefaultInterpretation__Group__1__Impl ;
public final void rule__DefaultInterpretation__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4257:1: ( rule__DefaultInterpretation__Group__1__Impl )
- // InternalSolverLanguage.g:4258:2: rule__DefaultInterpretation__Group__1__Impl
+ // InternalSolverLanguage.g:4198:1: ( rule__DefaultInterpretation__Group__1__Impl )
+ // InternalSolverLanguage.g:4199:2: rule__DefaultInterpretation__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__DefaultInterpretation__Group__1__Impl();
@@ -13150,21 +13047,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DefaultInterpretation__Group__1__Impl"
- // InternalSolverLanguage.g:4264:1: rule__DefaultInterpretation__Group__1__Impl : ( ( rule__DefaultInterpretation__InterpretationAssignment_1 ) ) ;
+ // InternalSolverLanguage.g:4205:1: rule__DefaultInterpretation__Group__1__Impl : ( ( rule__DefaultInterpretation__InterpretationAssignment_1 ) ) ;
public final void rule__DefaultInterpretation__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4268:1: ( ( ( rule__DefaultInterpretation__InterpretationAssignment_1 ) ) )
- // InternalSolverLanguage.g:4269:1: ( ( rule__DefaultInterpretation__InterpretationAssignment_1 ) )
+ // InternalSolverLanguage.g:4209:1: ( ( ( rule__DefaultInterpretation__InterpretationAssignment_1 ) ) )
+ // InternalSolverLanguage.g:4210:1: ( ( rule__DefaultInterpretation__InterpretationAssignment_1 ) )
{
- // InternalSolverLanguage.g:4269:1: ( ( rule__DefaultInterpretation__InterpretationAssignment_1 ) )
- // InternalSolverLanguage.g:4270:2: ( rule__DefaultInterpretation__InterpretationAssignment_1 )
+ // InternalSolverLanguage.g:4210:1: ( ( rule__DefaultInterpretation__InterpretationAssignment_1 ) )
+ // InternalSolverLanguage.g:4211:2: ( rule__DefaultInterpretation__InterpretationAssignment_1 )
{
before(grammarAccess.getDefaultInterpretationAccess().getInterpretationAssignment_1());
- // InternalSolverLanguage.g:4271:2: ( rule__DefaultInterpretation__InterpretationAssignment_1 )
- // InternalSolverLanguage.g:4271:3: rule__DefaultInterpretation__InterpretationAssignment_1
+ // InternalSolverLanguage.g:4212:2: ( rule__DefaultInterpretation__InterpretationAssignment_1 )
+ // InternalSolverLanguage.g:4212:3: rule__DefaultInterpretation__InterpretationAssignment_1
{
pushFollow(FOLLOW_2);
rule__DefaultInterpretation__InterpretationAssignment_1();
@@ -13197,16 +13094,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group__0"
- // InternalSolverLanguage.g:4280:1: rule__ClassInterpretation__Group__0 : rule__ClassInterpretation__Group__0__Impl rule__ClassInterpretation__Group__1 ;
+ // InternalSolverLanguage.g:4221:1: rule__ClassInterpretation__Group__0 : rule__ClassInterpretation__Group__0__Impl rule__ClassInterpretation__Group__1 ;
public final void rule__ClassInterpretation__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4284:1: ( rule__ClassInterpretation__Group__0__Impl rule__ClassInterpretation__Group__1 )
- // InternalSolverLanguage.g:4285:2: rule__ClassInterpretation__Group__0__Impl rule__ClassInterpretation__Group__1
+ // InternalSolverLanguage.g:4225:1: ( rule__ClassInterpretation__Group__0__Impl rule__ClassInterpretation__Group__1 )
+ // InternalSolverLanguage.g:4226:2: rule__ClassInterpretation__Group__0__Impl rule__ClassInterpretation__Group__1
{
- pushFollow(FOLLOW_36);
+ pushFollow(FOLLOW_35);
rule__ClassInterpretation__Group__0__Impl();
state._fsp--;
@@ -13235,27 +13132,38 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group__0__Impl"
- // InternalSolverLanguage.g:4292:1: rule__ClassInterpretation__Group__0__Impl : ( ( rule__ClassInterpretation__AbstractAssignment_0 ) ) ;
+ // InternalSolverLanguage.g:4233:1: rule__ClassInterpretation__Group__0__Impl : ( ( rule__ClassInterpretation__AbstractAssignment_0 )? ) ;
public final void rule__ClassInterpretation__Group__0__Impl() throws RecognitionException {
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:4296:1: ( ( ( rule__ClassInterpretation__AbstractAssignment_0 ) ) )
- // InternalSolverLanguage.g:4297:1: ( ( rule__ClassInterpretation__AbstractAssignment_0 ) )
- {
- // InternalSolverLanguage.g:4297:1: ( ( rule__ClassInterpretation__AbstractAssignment_0 ) )
- // InternalSolverLanguage.g:4298:2: ( rule__ClassInterpretation__AbstractAssignment_0 )
- {
- before(grammarAccess.getClassInterpretationAccess().getAbstractAssignment_0());
- // InternalSolverLanguage.g:4299:2: ( rule__ClassInterpretation__AbstractAssignment_0 )
- // InternalSolverLanguage.g:4299:3: rule__ClassInterpretation__AbstractAssignment_0
- {
- pushFollow(FOLLOW_2);
- rule__ClassInterpretation__AbstractAssignment_0();
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalSolverLanguage.g:4237:1: ( ( ( rule__ClassInterpretation__AbstractAssignment_0 )? ) )
+ // InternalSolverLanguage.g:4238:1: ( ( rule__ClassInterpretation__AbstractAssignment_0 )? )
+ {
+ // InternalSolverLanguage.g:4238:1: ( ( rule__ClassInterpretation__AbstractAssignment_0 )? )
+ // InternalSolverLanguage.g:4239:2: ( rule__ClassInterpretation__AbstractAssignment_0 )?
+ {
+ before(grammarAccess.getClassInterpretationAccess().getAbstractAssignment_0());
+ // InternalSolverLanguage.g:4240:2: ( rule__ClassInterpretation__AbstractAssignment_0 )?
+ int alt38=2;
+ int LA38_0 = input.LA(1);
+
+ if ( (LA38_0==40) ) {
+ alt38=1;
+ }
+ switch (alt38) {
+ case 1 :
+ // InternalSolverLanguage.g:4240:3: rule__ClassInterpretation__AbstractAssignment_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__ClassInterpretation__AbstractAssignment_0();
+
+ state._fsp--;
- state._fsp--;
+ }
+ break;
}
@@ -13282,16 +13190,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group__1"
- // InternalSolverLanguage.g:4307:1: rule__ClassInterpretation__Group__1 : rule__ClassInterpretation__Group__1__Impl rule__ClassInterpretation__Group__2 ;
+ // InternalSolverLanguage.g:4248:1: rule__ClassInterpretation__Group__1 : rule__ClassInterpretation__Group__1__Impl rule__ClassInterpretation__Group__2 ;
public final void rule__ClassInterpretation__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4311:1: ( rule__ClassInterpretation__Group__1__Impl rule__ClassInterpretation__Group__2 )
- // InternalSolverLanguage.g:4312:2: rule__ClassInterpretation__Group__1__Impl rule__ClassInterpretation__Group__2
+ // InternalSolverLanguage.g:4252:1: ( rule__ClassInterpretation__Group__1__Impl rule__ClassInterpretation__Group__2 )
+ // InternalSolverLanguage.g:4253:2: rule__ClassInterpretation__Group__1__Impl rule__ClassInterpretation__Group__2
{
- pushFollow(FOLLOW_16);
+ pushFollow(FOLLOW_17);
rule__ClassInterpretation__Group__1__Impl();
state._fsp--;
@@ -13320,20 +13228,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group__1__Impl"
- // InternalSolverLanguage.g:4319:1: rule__ClassInterpretation__Group__1__Impl : ( 'class' ) ;
+ // InternalSolverLanguage.g:4260:1: rule__ClassInterpretation__Group__1__Impl : ( 'class' ) ;
public final void rule__ClassInterpretation__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4323:1: ( ( 'class' ) )
- // InternalSolverLanguage.g:4324:1: ( 'class' )
+ // InternalSolverLanguage.g:4264:1: ( ( 'class' ) )
+ // InternalSolverLanguage.g:4265:1: ( 'class' )
{
- // InternalSolverLanguage.g:4324:1: ( 'class' )
- // InternalSolverLanguage.g:4325:2: 'class'
+ // InternalSolverLanguage.g:4265:1: ( 'class' )
+ // InternalSolverLanguage.g:4266:2: 'class'
{
before(grammarAccess.getClassInterpretationAccess().getClassKeyword_1());
- match(input,32,FOLLOW_2);
+ match(input,33,FOLLOW_2);
after(grammarAccess.getClassInterpretationAccess().getClassKeyword_1());
}
@@ -13357,16 +13265,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group__2"
- // InternalSolverLanguage.g:4334:1: rule__ClassInterpretation__Group__2 : rule__ClassInterpretation__Group__2__Impl rule__ClassInterpretation__Group__3 ;
+ // InternalSolverLanguage.g:4275:1: rule__ClassInterpretation__Group__2 : rule__ClassInterpretation__Group__2__Impl rule__ClassInterpretation__Group__3 ;
public final void rule__ClassInterpretation__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4338:1: ( rule__ClassInterpretation__Group__2__Impl rule__ClassInterpretation__Group__3 )
- // InternalSolverLanguage.g:4339:2: rule__ClassInterpretation__Group__2__Impl rule__ClassInterpretation__Group__3
+ // InternalSolverLanguage.g:4279:1: ( rule__ClassInterpretation__Group__2__Impl rule__ClassInterpretation__Group__3 )
+ // InternalSolverLanguage.g:4280:2: rule__ClassInterpretation__Group__2__Impl rule__ClassInterpretation__Group__3
{
- pushFollow(FOLLOW_37);
+ pushFollow(FOLLOW_36);
rule__ClassInterpretation__Group__2__Impl();
state._fsp--;
@@ -13395,21 +13303,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group__2__Impl"
- // InternalSolverLanguage.g:4346:1: rule__ClassInterpretation__Group__2__Impl : ( ( rule__ClassInterpretation__SymbolAssignment_2 ) ) ;
+ // InternalSolverLanguage.g:4287:1: rule__ClassInterpretation__Group__2__Impl : ( ( rule__ClassInterpretation__SymbolAssignment_2 ) ) ;
public final void rule__ClassInterpretation__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4350:1: ( ( ( rule__ClassInterpretation__SymbolAssignment_2 ) ) )
- // InternalSolverLanguage.g:4351:1: ( ( rule__ClassInterpretation__SymbolAssignment_2 ) )
+ // InternalSolverLanguage.g:4291:1: ( ( ( rule__ClassInterpretation__SymbolAssignment_2 ) ) )
+ // InternalSolverLanguage.g:4292:1: ( ( rule__ClassInterpretation__SymbolAssignment_2 ) )
{
- // InternalSolverLanguage.g:4351:1: ( ( rule__ClassInterpretation__SymbolAssignment_2 ) )
- // InternalSolverLanguage.g:4352:2: ( rule__ClassInterpretation__SymbolAssignment_2 )
+ // InternalSolverLanguage.g:4292:1: ( ( rule__ClassInterpretation__SymbolAssignment_2 ) )
+ // InternalSolverLanguage.g:4293:2: ( rule__ClassInterpretation__SymbolAssignment_2 )
{
before(grammarAccess.getClassInterpretationAccess().getSymbolAssignment_2());
- // InternalSolverLanguage.g:4353:2: ( rule__ClassInterpretation__SymbolAssignment_2 )
- // InternalSolverLanguage.g:4353:3: rule__ClassInterpretation__SymbolAssignment_2
+ // InternalSolverLanguage.g:4294:2: ( rule__ClassInterpretation__SymbolAssignment_2 )
+ // InternalSolverLanguage.g:4294:3: rule__ClassInterpretation__SymbolAssignment_2
{
pushFollow(FOLLOW_2);
rule__ClassInterpretation__SymbolAssignment_2();
@@ -13442,16 +13350,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group__3"
- // InternalSolverLanguage.g:4361:1: rule__ClassInterpretation__Group__3 : rule__ClassInterpretation__Group__3__Impl rule__ClassInterpretation__Group__4 ;
+ // InternalSolverLanguage.g:4302:1: rule__ClassInterpretation__Group__3 : rule__ClassInterpretation__Group__3__Impl rule__ClassInterpretation__Group__4 ;
public final void rule__ClassInterpretation__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4365:1: ( rule__ClassInterpretation__Group__3__Impl rule__ClassInterpretation__Group__4 )
- // InternalSolverLanguage.g:4366:2: rule__ClassInterpretation__Group__3__Impl rule__ClassInterpretation__Group__4
+ // InternalSolverLanguage.g:4306:1: ( rule__ClassInterpretation__Group__3__Impl rule__ClassInterpretation__Group__4 )
+ // InternalSolverLanguage.g:4307:2: rule__ClassInterpretation__Group__3__Impl rule__ClassInterpretation__Group__4
{
- pushFollow(FOLLOW_37);
+ pushFollow(FOLLOW_36);
rule__ClassInterpretation__Group__3__Impl();
state._fsp--;
@@ -13480,29 +13388,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group__3__Impl"
- // InternalSolverLanguage.g:4373:1: rule__ClassInterpretation__Group__3__Impl : ( ( rule__ClassInterpretation__Group_3__0 )? ) ;
+ // InternalSolverLanguage.g:4314:1: rule__ClassInterpretation__Group__3__Impl : ( ( rule__ClassInterpretation__Group_3__0 )? ) ;
public final void rule__ClassInterpretation__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4377:1: ( ( ( rule__ClassInterpretation__Group_3__0 )? ) )
- // InternalSolverLanguage.g:4378:1: ( ( rule__ClassInterpretation__Group_3__0 )? )
+ // InternalSolverLanguage.g:4318:1: ( ( ( rule__ClassInterpretation__Group_3__0 )? ) )
+ // InternalSolverLanguage.g:4319:1: ( ( rule__ClassInterpretation__Group_3__0 )? )
{
- // InternalSolverLanguage.g:4378:1: ( ( rule__ClassInterpretation__Group_3__0 )? )
- // InternalSolverLanguage.g:4379:2: ( rule__ClassInterpretation__Group_3__0 )?
+ // InternalSolverLanguage.g:4319:1: ( ( rule__ClassInterpretation__Group_3__0 )? )
+ // InternalSolverLanguage.g:4320:2: ( rule__ClassInterpretation__Group_3__0 )?
{
before(grammarAccess.getClassInterpretationAccess().getGroup_3());
- // InternalSolverLanguage.g:4380:2: ( rule__ClassInterpretation__Group_3__0 )?
- int alt34=2;
- int LA34_0 = input.LA(1);
+ // InternalSolverLanguage.g:4321:2: ( rule__ClassInterpretation__Group_3__0 )?
+ int alt39=2;
+ int LA39_0 = input.LA(1);
- if ( (LA34_0==35) ) {
- alt34=1;
+ if ( (LA39_0==36) ) {
+ alt39=1;
}
- switch (alt34) {
+ switch (alt39) {
case 1 :
- // InternalSolverLanguage.g:4380:3: rule__ClassInterpretation__Group_3__0
+ // InternalSolverLanguage.g:4321:3: rule__ClassInterpretation__Group_3__0
{
pushFollow(FOLLOW_2);
rule__ClassInterpretation__Group_3__0();
@@ -13538,16 +13446,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group__4"
- // InternalSolverLanguage.g:4388:1: rule__ClassInterpretation__Group__4 : rule__ClassInterpretation__Group__4__Impl rule__ClassInterpretation__Group__5 ;
+ // InternalSolverLanguage.g:4329:1: rule__ClassInterpretation__Group__4 : rule__ClassInterpretation__Group__4__Impl rule__ClassInterpretation__Group__5 ;
public final void rule__ClassInterpretation__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4392:1: ( rule__ClassInterpretation__Group__4__Impl rule__ClassInterpretation__Group__5 )
- // InternalSolverLanguage.g:4393:2: rule__ClassInterpretation__Group__4__Impl rule__ClassInterpretation__Group__5
+ // InternalSolverLanguage.g:4333:1: ( rule__ClassInterpretation__Group__4__Impl rule__ClassInterpretation__Group__5 )
+ // InternalSolverLanguage.g:4334:2: rule__ClassInterpretation__Group__4__Impl rule__ClassInterpretation__Group__5
{
- pushFollow(FOLLOW_38);
+ pushFollow(FOLLOW_37);
rule__ClassInterpretation__Group__4__Impl();
state._fsp--;
@@ -13576,20 +13484,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group__4__Impl"
- // InternalSolverLanguage.g:4400:1: rule__ClassInterpretation__Group__4__Impl : ( '{' ) ;
+ // InternalSolverLanguage.g:4341:1: rule__ClassInterpretation__Group__4__Impl : ( '{' ) ;
public final void rule__ClassInterpretation__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4404:1: ( ( '{' ) )
- // InternalSolverLanguage.g:4405:1: ( '{' )
+ // InternalSolverLanguage.g:4345:1: ( ( '{' ) )
+ // InternalSolverLanguage.g:4346:1: ( '{' )
{
- // InternalSolverLanguage.g:4405:1: ( '{' )
- // InternalSolverLanguage.g:4406:2: '{'
+ // InternalSolverLanguage.g:4346:1: ( '{' )
+ // InternalSolverLanguage.g:4347:2: '{'
{
before(grammarAccess.getClassInterpretationAccess().getLeftCurlyBracketKeyword_4());
- match(input,33,FOLLOW_2);
+ match(input,34,FOLLOW_2);
after(grammarAccess.getClassInterpretationAccess().getLeftCurlyBracketKeyword_4());
}
@@ -13613,16 +13521,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group__5"
- // InternalSolverLanguage.g:4415:1: rule__ClassInterpretation__Group__5 : rule__ClassInterpretation__Group__5__Impl rule__ClassInterpretation__Group__6 ;
+ // InternalSolverLanguage.g:4356:1: rule__ClassInterpretation__Group__5 : rule__ClassInterpretation__Group__5__Impl rule__ClassInterpretation__Group__6 ;
public final void rule__ClassInterpretation__Group__5() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4419:1: ( rule__ClassInterpretation__Group__5__Impl rule__ClassInterpretation__Group__6 )
- // InternalSolverLanguage.g:4420:2: rule__ClassInterpretation__Group__5__Impl rule__ClassInterpretation__Group__6
+ // InternalSolverLanguage.g:4360:1: ( rule__ClassInterpretation__Group__5__Impl rule__ClassInterpretation__Group__6 )
+ // InternalSolverLanguage.g:4361:2: rule__ClassInterpretation__Group__5__Impl rule__ClassInterpretation__Group__6
{
- pushFollow(FOLLOW_38);
+ pushFollow(FOLLOW_37);
rule__ClassInterpretation__Group__5__Impl();
state._fsp--;
@@ -13651,35 +13559,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group__5__Impl"
- // InternalSolverLanguage.g:4427:1: rule__ClassInterpretation__Group__5__Impl : ( ( rule__ClassInterpretation__FieltAssignment_5 )* ) ;
+ // InternalSolverLanguage.g:4368:1: rule__ClassInterpretation__Group__5__Impl : ( ( rule__ClassInterpretation__FieltAssignment_5 )* ) ;
public final void rule__ClassInterpretation__Group__5__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4431:1: ( ( ( rule__ClassInterpretation__FieltAssignment_5 )* ) )
- // InternalSolverLanguage.g:4432:1: ( ( rule__ClassInterpretation__FieltAssignment_5 )* )
+ // InternalSolverLanguage.g:4372:1: ( ( ( rule__ClassInterpretation__FieltAssignment_5 )* ) )
+ // InternalSolverLanguage.g:4373:1: ( ( rule__ClassInterpretation__FieltAssignment_5 )* )
{
- // InternalSolverLanguage.g:4432:1: ( ( rule__ClassInterpretation__FieltAssignment_5 )* )
- // InternalSolverLanguage.g:4433:2: ( rule__ClassInterpretation__FieltAssignment_5 )*
+ // InternalSolverLanguage.g:4373:1: ( ( rule__ClassInterpretation__FieltAssignment_5 )* )
+ // InternalSolverLanguage.g:4374:2: ( rule__ClassInterpretation__FieltAssignment_5 )*
{
before(grammarAccess.getClassInterpretationAccess().getFieltAssignment_5());
- // InternalSolverLanguage.g:4434:2: ( rule__ClassInterpretation__FieltAssignment_5 )*
- loop35:
+ // InternalSolverLanguage.g:4375:2: ( rule__ClassInterpretation__FieltAssignment_5 )*
+ loop40:
do {
- int alt35=2;
- int LA35_0 = input.LA(1);
+ int alt40=2;
+ int LA40_0 = input.LA(1);
- if ( (LA35_0==40) ) {
- alt35=1;
+ if ( (LA40_0==RULE_ID||LA40_0==41) ) {
+ alt40=1;
}
- switch (alt35) {
+ switch (alt40) {
case 1 :
- // InternalSolverLanguage.g:4434:3: rule__ClassInterpretation__FieltAssignment_5
+ // InternalSolverLanguage.g:4375:3: rule__ClassInterpretation__FieltAssignment_5
{
- pushFollow(FOLLOW_39);
+ pushFollow(FOLLOW_38);
rule__ClassInterpretation__FieltAssignment_5();
state._fsp--;
@@ -13689,7 +13597,7 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
break;
default :
- break loop35;
+ break loop40;
}
} while (true);
@@ -13716,14 +13624,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group__6"
- // InternalSolverLanguage.g:4442:1: rule__ClassInterpretation__Group__6 : rule__ClassInterpretation__Group__6__Impl ;
+ // InternalSolverLanguage.g:4383:1: rule__ClassInterpretation__Group__6 : rule__ClassInterpretation__Group__6__Impl ;
public final void rule__ClassInterpretation__Group__6() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4446:1: ( rule__ClassInterpretation__Group__6__Impl )
- // InternalSolverLanguage.g:4447:2: rule__ClassInterpretation__Group__6__Impl
+ // InternalSolverLanguage.g:4387:1: ( rule__ClassInterpretation__Group__6__Impl )
+ // InternalSolverLanguage.g:4388:2: rule__ClassInterpretation__Group__6__Impl
{
pushFollow(FOLLOW_2);
rule__ClassInterpretation__Group__6__Impl();
@@ -13749,20 +13657,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group__6__Impl"
- // InternalSolverLanguage.g:4453:1: rule__ClassInterpretation__Group__6__Impl : ( '}' ) ;
+ // InternalSolverLanguage.g:4394:1: rule__ClassInterpretation__Group__6__Impl : ( '}' ) ;
public final void rule__ClassInterpretation__Group__6__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4457:1: ( ( '}' ) )
- // InternalSolverLanguage.g:4458:1: ( '}' )
+ // InternalSolverLanguage.g:4398:1: ( ( '}' ) )
+ // InternalSolverLanguage.g:4399:1: ( '}' )
{
- // InternalSolverLanguage.g:4458:1: ( '}' )
- // InternalSolverLanguage.g:4459:2: '}'
+ // InternalSolverLanguage.g:4399:1: ( '}' )
+ // InternalSolverLanguage.g:4400:2: '}'
{
before(grammarAccess.getClassInterpretationAccess().getRightCurlyBracketKeyword_6());
- match(input,34,FOLLOW_2);
+ match(input,35,FOLLOW_2);
after(grammarAccess.getClassInterpretationAccess().getRightCurlyBracketKeyword_6());
}
@@ -13786,16 +13694,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group_3__0"
- // InternalSolverLanguage.g:4469:1: rule__ClassInterpretation__Group_3__0 : rule__ClassInterpretation__Group_3__0__Impl rule__ClassInterpretation__Group_3__1 ;
+ // InternalSolverLanguage.g:4410:1: rule__ClassInterpretation__Group_3__0 : rule__ClassInterpretation__Group_3__0__Impl rule__ClassInterpretation__Group_3__1 ;
public final void rule__ClassInterpretation__Group_3__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4473:1: ( rule__ClassInterpretation__Group_3__0__Impl rule__ClassInterpretation__Group_3__1 )
- // InternalSolverLanguage.g:4474:2: rule__ClassInterpretation__Group_3__0__Impl rule__ClassInterpretation__Group_3__1
+ // InternalSolverLanguage.g:4414:1: ( rule__ClassInterpretation__Group_3__0__Impl rule__ClassInterpretation__Group_3__1 )
+ // InternalSolverLanguage.g:4415:2: rule__ClassInterpretation__Group_3__0__Impl rule__ClassInterpretation__Group_3__1
{
- pushFollow(FOLLOW_16);
+ pushFollow(FOLLOW_17);
rule__ClassInterpretation__Group_3__0__Impl();
state._fsp--;
@@ -13824,20 +13732,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group_3__0__Impl"
- // InternalSolverLanguage.g:4481:1: rule__ClassInterpretation__Group_3__0__Impl : ( 'extends' ) ;
+ // InternalSolverLanguage.g:4422:1: rule__ClassInterpretation__Group_3__0__Impl : ( 'extends' ) ;
public final void rule__ClassInterpretation__Group_3__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4485:1: ( ( 'extends' ) )
- // InternalSolverLanguage.g:4486:1: ( 'extends' )
+ // InternalSolverLanguage.g:4426:1: ( ( 'extends' ) )
+ // InternalSolverLanguage.g:4427:1: ( 'extends' )
{
- // InternalSolverLanguage.g:4486:1: ( 'extends' )
- // InternalSolverLanguage.g:4487:2: 'extends'
+ // InternalSolverLanguage.g:4427:1: ( 'extends' )
+ // InternalSolverLanguage.g:4428:2: 'extends'
{
before(grammarAccess.getClassInterpretationAccess().getExtendsKeyword_3_0());
- match(input,35,FOLLOW_2);
+ match(input,36,FOLLOW_2);
after(grammarAccess.getClassInterpretationAccess().getExtendsKeyword_3_0());
}
@@ -13861,14 +13769,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group_3__1"
- // InternalSolverLanguage.g:4496:1: rule__ClassInterpretation__Group_3__1 : rule__ClassInterpretation__Group_3__1__Impl ;
+ // InternalSolverLanguage.g:4437:1: rule__ClassInterpretation__Group_3__1 : rule__ClassInterpretation__Group_3__1__Impl ;
public final void rule__ClassInterpretation__Group_3__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4500:1: ( rule__ClassInterpretation__Group_3__1__Impl )
- // InternalSolverLanguage.g:4501:2: rule__ClassInterpretation__Group_3__1__Impl
+ // InternalSolverLanguage.g:4441:1: ( rule__ClassInterpretation__Group_3__1__Impl )
+ // InternalSolverLanguage.g:4442:2: rule__ClassInterpretation__Group_3__1__Impl
{
pushFollow(FOLLOW_2);
rule__ClassInterpretation__Group_3__1__Impl();
@@ -13894,26 +13802,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__Group_3__1__Impl"
- // InternalSolverLanguage.g:4507:1: rule__ClassInterpretation__Group_3__1__Impl : ( ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 ) ) ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 )* ) ) ;
+ // InternalSolverLanguage.g:4448:1: rule__ClassInterpretation__Group_3__1__Impl : ( ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 ) ) ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 )* ) ) ;
public final void rule__ClassInterpretation__Group_3__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4511:1: ( ( ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 ) ) ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 )* ) ) )
- // InternalSolverLanguage.g:4512:1: ( ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 ) ) ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 )* ) )
+ // InternalSolverLanguage.g:4452:1: ( ( ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 ) ) ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 )* ) ) )
+ // InternalSolverLanguage.g:4453:1: ( ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 ) ) ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 )* ) )
{
- // InternalSolverLanguage.g:4512:1: ( ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 ) ) ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 )* ) )
- // InternalSolverLanguage.g:4513:2: ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 ) ) ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 )* )
+ // InternalSolverLanguage.g:4453:1: ( ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 ) ) ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 )* ) )
+ // InternalSolverLanguage.g:4454:2: ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 ) ) ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 )* )
{
- // InternalSolverLanguage.g:4513:2: ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 ) )
- // InternalSolverLanguage.g:4514:3: ( rule__ClassInterpretation__SupertypesAssignment_3_1 )
+ // InternalSolverLanguage.g:4454:2: ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 ) )
+ // InternalSolverLanguage.g:4455:3: ( rule__ClassInterpretation__SupertypesAssignment_3_1 )
{
before(grammarAccess.getClassInterpretationAccess().getSupertypesAssignment_3_1());
- // InternalSolverLanguage.g:4515:3: ( rule__ClassInterpretation__SupertypesAssignment_3_1 )
- // InternalSolverLanguage.g:4515:4: rule__ClassInterpretation__SupertypesAssignment_3_1
+ // InternalSolverLanguage.g:4456:3: ( rule__ClassInterpretation__SupertypesAssignment_3_1 )
+ // InternalSolverLanguage.g:4456:4: rule__ClassInterpretation__SupertypesAssignment_3_1
{
- pushFollow(FOLLOW_19);
+ pushFollow(FOLLOW_39);
rule__ClassInterpretation__SupertypesAssignment_3_1();
state._fsp--;
@@ -13925,26 +13833,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
- // InternalSolverLanguage.g:4518:2: ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 )* )
- // InternalSolverLanguage.g:4519:3: ( rule__ClassInterpretation__SupertypesAssignment_3_1 )*
+ // InternalSolverLanguage.g:4459:2: ( ( rule__ClassInterpretation__SupertypesAssignment_3_1 )* )
+ // InternalSolverLanguage.g:4460:3: ( rule__ClassInterpretation__SupertypesAssignment_3_1 )*
{
before(grammarAccess.getClassInterpretationAccess().getSupertypesAssignment_3_1());
- // InternalSolverLanguage.g:4520:3: ( rule__ClassInterpretation__SupertypesAssignment_3_1 )*
- loop36:
+ // InternalSolverLanguage.g:4461:3: ( rule__ClassInterpretation__SupertypesAssignment_3_1 )*
+ loop41:
do {
- int alt36=2;
- int LA36_0 = input.LA(1);
+ int alt41=2;
+ int LA41_0 = input.LA(1);
- if ( (LA36_0==RULE_ID) ) {
- alt36=1;
+ if ( (LA41_0==RULE_ID) ) {
+ alt41=1;
}
- switch (alt36) {
+ switch (alt41) {
case 1 :
- // InternalSolverLanguage.g:4520:4: rule__ClassInterpretation__SupertypesAssignment_3_1
+ // InternalSolverLanguage.g:4461:4: rule__ClassInterpretation__SupertypesAssignment_3_1
{
- pushFollow(FOLLOW_19);
+ pushFollow(FOLLOW_39);
rule__ClassInterpretation__SupertypesAssignment_3_1();
state._fsp--;
@@ -13954,7 +13862,7 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
break;
default :
- break loop36;
+ break loop41;
}
} while (true);
@@ -13984,16 +13892,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__EnumInterpretation__Group__0"
- // InternalSolverLanguage.g:4530:1: rule__EnumInterpretation__Group__0 : rule__EnumInterpretation__Group__0__Impl rule__EnumInterpretation__Group__1 ;
+ // InternalSolverLanguage.g:4471:1: rule__EnumInterpretation__Group__0 : rule__EnumInterpretation__Group__0__Impl rule__EnumInterpretation__Group__1 ;
public final void rule__EnumInterpretation__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4534:1: ( rule__EnumInterpretation__Group__0__Impl rule__EnumInterpretation__Group__1 )
- // InternalSolverLanguage.g:4535:2: rule__EnumInterpretation__Group__0__Impl rule__EnumInterpretation__Group__1
+ // InternalSolverLanguage.g:4475:1: ( rule__EnumInterpretation__Group__0__Impl rule__EnumInterpretation__Group__1 )
+ // InternalSolverLanguage.g:4476:2: rule__EnumInterpretation__Group__0__Impl rule__EnumInterpretation__Group__1
{
- pushFollow(FOLLOW_16);
+ pushFollow(FOLLOW_17);
rule__EnumInterpretation__Group__0__Impl();
state._fsp--;
@@ -14022,20 +13930,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__EnumInterpretation__Group__0__Impl"
- // InternalSolverLanguage.g:4542:1: rule__EnumInterpretation__Group__0__Impl : ( 'enum' ) ;
+ // InternalSolverLanguage.g:4483:1: rule__EnumInterpretation__Group__0__Impl : ( 'enum' ) ;
public final void rule__EnumInterpretation__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4546:1: ( ( 'enum' ) )
- // InternalSolverLanguage.g:4547:1: ( 'enum' )
+ // InternalSolverLanguage.g:4487:1: ( ( 'enum' ) )
+ // InternalSolverLanguage.g:4488:1: ( 'enum' )
{
- // InternalSolverLanguage.g:4547:1: ( 'enum' )
- // InternalSolverLanguage.g:4548:2: 'enum'
+ // InternalSolverLanguage.g:4488:1: ( 'enum' )
+ // InternalSolverLanguage.g:4489:2: 'enum'
{
before(grammarAccess.getEnumInterpretationAccess().getEnumKeyword_0());
- match(input,36,FOLLOW_2);
+ match(input,37,FOLLOW_2);
after(grammarAccess.getEnumInterpretationAccess().getEnumKeyword_0());
}
@@ -14059,14 +13967,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__EnumInterpretation__Group__1"
- // InternalSolverLanguage.g:4557:1: rule__EnumInterpretation__Group__1 : rule__EnumInterpretation__Group__1__Impl rule__EnumInterpretation__Group__2 ;
+ // InternalSolverLanguage.g:4498:1: rule__EnumInterpretation__Group__1 : rule__EnumInterpretation__Group__1__Impl rule__EnumInterpretation__Group__2 ;
public final void rule__EnumInterpretation__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4561:1: ( rule__EnumInterpretation__Group__1__Impl rule__EnumInterpretation__Group__2 )
- // InternalSolverLanguage.g:4562:2: rule__EnumInterpretation__Group__1__Impl rule__EnumInterpretation__Group__2
+ // InternalSolverLanguage.g:4502:1: ( rule__EnumInterpretation__Group__1__Impl rule__EnumInterpretation__Group__2 )
+ // InternalSolverLanguage.g:4503:2: rule__EnumInterpretation__Group__1__Impl rule__EnumInterpretation__Group__2
{
pushFollow(FOLLOW_40);
rule__EnumInterpretation__Group__1__Impl();
@@ -14097,21 +14005,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__EnumInterpretation__Group__1__Impl"
- // InternalSolverLanguage.g:4569:1: rule__EnumInterpretation__Group__1__Impl : ( ( rule__EnumInterpretation__SymbolAssignment_1 ) ) ;
+ // InternalSolverLanguage.g:4510:1: rule__EnumInterpretation__Group__1__Impl : ( ( rule__EnumInterpretation__SymbolAssignment_1 ) ) ;
public final void rule__EnumInterpretation__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4573:1: ( ( ( rule__EnumInterpretation__SymbolAssignment_1 ) ) )
- // InternalSolverLanguage.g:4574:1: ( ( rule__EnumInterpretation__SymbolAssignment_1 ) )
+ // InternalSolverLanguage.g:4514:1: ( ( ( rule__EnumInterpretation__SymbolAssignment_1 ) ) )
+ // InternalSolverLanguage.g:4515:1: ( ( rule__EnumInterpretation__SymbolAssignment_1 ) )
{
- // InternalSolverLanguage.g:4574:1: ( ( rule__EnumInterpretation__SymbolAssignment_1 ) )
- // InternalSolverLanguage.g:4575:2: ( rule__EnumInterpretation__SymbolAssignment_1 )
+ // InternalSolverLanguage.g:4515:1: ( ( rule__EnumInterpretation__SymbolAssignment_1 ) )
+ // InternalSolverLanguage.g:4516:2: ( rule__EnumInterpretation__SymbolAssignment_1 )
{
before(grammarAccess.getEnumInterpretationAccess().getSymbolAssignment_1());
- // InternalSolverLanguage.g:4576:2: ( rule__EnumInterpretation__SymbolAssignment_1 )
- // InternalSolverLanguage.g:4576:3: rule__EnumInterpretation__SymbolAssignment_1
+ // InternalSolverLanguage.g:4517:2: ( rule__EnumInterpretation__SymbolAssignment_1 )
+ // InternalSolverLanguage.g:4517:3: rule__EnumInterpretation__SymbolAssignment_1
{
pushFollow(FOLLOW_2);
rule__EnumInterpretation__SymbolAssignment_1();
@@ -14144,16 +14052,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__EnumInterpretation__Group__2"
- // InternalSolverLanguage.g:4584:1: rule__EnumInterpretation__Group__2 : rule__EnumInterpretation__Group__2__Impl rule__EnumInterpretation__Group__3 ;
+ // InternalSolverLanguage.g:4525:1: rule__EnumInterpretation__Group__2 : rule__EnumInterpretation__Group__2__Impl rule__EnumInterpretation__Group__3 ;
public final void rule__EnumInterpretation__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4588:1: ( rule__EnumInterpretation__Group__2__Impl rule__EnumInterpretation__Group__3 )
- // InternalSolverLanguage.g:4589:2: rule__EnumInterpretation__Group__2__Impl rule__EnumInterpretation__Group__3
+ // InternalSolverLanguage.g:4529:1: ( rule__EnumInterpretation__Group__2__Impl rule__EnumInterpretation__Group__3 )
+ // InternalSolverLanguage.g:4530:2: rule__EnumInterpretation__Group__2__Impl rule__EnumInterpretation__Group__3
{
- pushFollow(FOLLOW_17);
+ pushFollow(FOLLOW_18);
rule__EnumInterpretation__Group__2__Impl();
state._fsp--;
@@ -14182,20 +14090,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__EnumInterpretation__Group__2__Impl"
- // InternalSolverLanguage.g:4596:1: rule__EnumInterpretation__Group__2__Impl : ( '{' ) ;
+ // InternalSolverLanguage.g:4537:1: rule__EnumInterpretation__Group__2__Impl : ( '{' ) ;
public final void rule__EnumInterpretation__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4600:1: ( ( '{' ) )
- // InternalSolverLanguage.g:4601:1: ( '{' )
+ // InternalSolverLanguage.g:4541:1: ( ( '{' ) )
+ // InternalSolverLanguage.g:4542:1: ( '{' )
{
- // InternalSolverLanguage.g:4601:1: ( '{' )
- // InternalSolverLanguage.g:4602:2: '{'
+ // InternalSolverLanguage.g:4542:1: ( '{' )
+ // InternalSolverLanguage.g:4543:2: '{'
{
before(grammarAccess.getEnumInterpretationAccess().getLeftCurlyBracketKeyword_2());
- match(input,33,FOLLOW_2);
+ match(input,34,FOLLOW_2);
after(grammarAccess.getEnumInterpretationAccess().getLeftCurlyBracketKeyword_2());
}
@@ -14219,14 +14127,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__EnumInterpretation__Group__3"
- // InternalSolverLanguage.g:4611:1: rule__EnumInterpretation__Group__3 : rule__EnumInterpretation__Group__3__Impl rule__EnumInterpretation__Group__4 ;
+ // InternalSolverLanguage.g:4552:1: rule__EnumInterpretation__Group__3 : rule__EnumInterpretation__Group__3__Impl rule__EnumInterpretation__Group__4 ;
public final void rule__EnumInterpretation__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4615:1: ( rule__EnumInterpretation__Group__3__Impl rule__EnumInterpretation__Group__4 )
- // InternalSolverLanguage.g:4616:2: rule__EnumInterpretation__Group__3__Impl rule__EnumInterpretation__Group__4
+ // InternalSolverLanguage.g:4556:1: ( rule__EnumInterpretation__Group__3__Impl rule__EnumInterpretation__Group__4 )
+ // InternalSolverLanguage.g:4557:2: rule__EnumInterpretation__Group__3__Impl rule__EnumInterpretation__Group__4
{
pushFollow(FOLLOW_41);
rule__EnumInterpretation__Group__3__Impl();
@@ -14257,24 +14165,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__EnumInterpretation__Group__3__Impl"
- // InternalSolverLanguage.g:4623:1: rule__EnumInterpretation__Group__3__Impl : ( ( ( rule__EnumInterpretation__ObjectsAssignment_3 ) ) ( ( rule__EnumInterpretation__ObjectsAssignment_3 )* ) ) ;
+ // InternalSolverLanguage.g:4564:1: rule__EnumInterpretation__Group__3__Impl : ( ( ( rule__EnumInterpretation__ObjectsAssignment_3 ) ) ( ( rule__EnumInterpretation__ObjectsAssignment_3 )* ) ) ;
public final void rule__EnumInterpretation__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4627:1: ( ( ( ( rule__EnumInterpretation__ObjectsAssignment_3 ) ) ( ( rule__EnumInterpretation__ObjectsAssignment_3 )* ) ) )
- // InternalSolverLanguage.g:4628:1: ( ( ( rule__EnumInterpretation__ObjectsAssignment_3 ) ) ( ( rule__EnumInterpretation__ObjectsAssignment_3 )* ) )
+ // InternalSolverLanguage.g:4568:1: ( ( ( ( rule__EnumInterpretation__ObjectsAssignment_3 ) ) ( ( rule__EnumInterpretation__ObjectsAssignment_3 )* ) ) )
+ // InternalSolverLanguage.g:4569:1: ( ( ( rule__EnumInterpretation__ObjectsAssignment_3 ) ) ( ( rule__EnumInterpretation__ObjectsAssignment_3 )* ) )
{
- // InternalSolverLanguage.g:4628:1: ( ( ( rule__EnumInterpretation__ObjectsAssignment_3 ) ) ( ( rule__EnumInterpretation__ObjectsAssignment_3 )* ) )
- // InternalSolverLanguage.g:4629:2: ( ( rule__EnumInterpretation__ObjectsAssignment_3 ) ) ( ( rule__EnumInterpretation__ObjectsAssignment_3 )* )
+ // InternalSolverLanguage.g:4569:1: ( ( ( rule__EnumInterpretation__ObjectsAssignment_3 ) ) ( ( rule__EnumInterpretation__ObjectsAssignment_3 )* ) )
+ // InternalSolverLanguage.g:4570:2: ( ( rule__EnumInterpretation__ObjectsAssignment_3 ) ) ( ( rule__EnumInterpretation__ObjectsAssignment_3 )* )
{
- // InternalSolverLanguage.g:4629:2: ( ( rule__EnumInterpretation__ObjectsAssignment_3 ) )
- // InternalSolverLanguage.g:4630:3: ( rule__EnumInterpretation__ObjectsAssignment_3 )
+ // InternalSolverLanguage.g:4570:2: ( ( rule__EnumInterpretation__ObjectsAssignment_3 ) )
+ // InternalSolverLanguage.g:4571:3: ( rule__EnumInterpretation__ObjectsAssignment_3 )
{
before(grammarAccess.getEnumInterpretationAccess().getObjectsAssignment_3());
- // InternalSolverLanguage.g:4631:3: ( rule__EnumInterpretation__ObjectsAssignment_3 )
- // InternalSolverLanguage.g:4631:4: rule__EnumInterpretation__ObjectsAssignment_3
+ // InternalSolverLanguage.g:4572:3: ( rule__EnumInterpretation__ObjectsAssignment_3 )
+ // InternalSolverLanguage.g:4572:4: rule__EnumInterpretation__ObjectsAssignment_3
{
pushFollow(FOLLOW_42);
rule__EnumInterpretation__ObjectsAssignment_3();
@@ -14288,24 +14196,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
- // InternalSolverLanguage.g:4634:2: ( ( rule__EnumInterpretation__ObjectsAssignment_3 )* )
- // InternalSolverLanguage.g:4635:3: ( rule__EnumInterpretation__ObjectsAssignment_3 )*
+ // InternalSolverLanguage.g:4575:2: ( ( rule__EnumInterpretation__ObjectsAssignment_3 )* )
+ // InternalSolverLanguage.g:4576:3: ( rule__EnumInterpretation__ObjectsAssignment_3 )*
{
before(grammarAccess.getEnumInterpretationAccess().getObjectsAssignment_3());
- // InternalSolverLanguage.g:4636:3: ( rule__EnumInterpretation__ObjectsAssignment_3 )*
- loop37:
+ // InternalSolverLanguage.g:4577:3: ( rule__EnumInterpretation__ObjectsAssignment_3 )*
+ loop42:
do {
- int alt37=2;
- int LA37_0 = input.LA(1);
+ int alt42=2;
+ int LA42_0 = input.LA(1);
- if ( (LA37_0==26) ) {
- alt37=1;
+ if ( (LA42_0==27) ) {
+ alt42=1;
}
- switch (alt37) {
+ switch (alt42) {
case 1 :
- // InternalSolverLanguage.g:4636:4: rule__EnumInterpretation__ObjectsAssignment_3
+ // InternalSolverLanguage.g:4577:4: rule__EnumInterpretation__ObjectsAssignment_3
{
pushFollow(FOLLOW_42);
rule__EnumInterpretation__ObjectsAssignment_3();
@@ -14317,7 +14225,7 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
break;
default :
- break loop37;
+ break loop42;
}
} while (true);
@@ -14347,14 +14255,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__EnumInterpretation__Group__4"
- // InternalSolverLanguage.g:4645:1: rule__EnumInterpretation__Group__4 : rule__EnumInterpretation__Group__4__Impl ;
+ // InternalSolverLanguage.g:4586:1: rule__EnumInterpretation__Group__4 : rule__EnumInterpretation__Group__4__Impl ;
public final void rule__EnumInterpretation__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4649:1: ( rule__EnumInterpretation__Group__4__Impl )
- // InternalSolverLanguage.g:4650:2: rule__EnumInterpretation__Group__4__Impl
+ // InternalSolverLanguage.g:4590:1: ( rule__EnumInterpretation__Group__4__Impl )
+ // InternalSolverLanguage.g:4591:2: rule__EnumInterpretation__Group__4__Impl
{
pushFollow(FOLLOW_2);
rule__EnumInterpretation__Group__4__Impl();
@@ -14380,20 +14288,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__EnumInterpretation__Group__4__Impl"
- // InternalSolverLanguage.g:4656:1: rule__EnumInterpretation__Group__4__Impl : ( '}' ) ;
+ // InternalSolverLanguage.g:4597:1: rule__EnumInterpretation__Group__4__Impl : ( '}' ) ;
public final void rule__EnumInterpretation__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4660:1: ( ( '}' ) )
- // InternalSolverLanguage.g:4661:1: ( '}' )
+ // InternalSolverLanguage.g:4601:1: ( ( '}' ) )
+ // InternalSolverLanguage.g:4602:1: ( '}' )
{
- // InternalSolverLanguage.g:4661:1: ( '}' )
- // InternalSolverLanguage.g:4662:2: '}'
+ // InternalSolverLanguage.g:4602:1: ( '}' )
+ // InternalSolverLanguage.g:4603:2: '}'
{
before(grammarAccess.getEnumInterpretationAccess().getRightCurlyBracketKeyword_4());
- match(input,34,FOLLOW_2);
+ match(input,35,FOLLOW_2);
after(grammarAccess.getEnumInterpretationAccess().getRightCurlyBracketKeyword_4());
}
@@ -14417,16 +14325,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__FieldRelationInterpretation__Group__0"
- // InternalSolverLanguage.g:4672:1: rule__FieldRelationInterpretation__Group__0 : rule__FieldRelationInterpretation__Group__0__Impl rule__FieldRelationInterpretation__Group__1 ;
+ // InternalSolverLanguage.g:4613:1: rule__FieldRelationInterpretation__Group__0 : rule__FieldRelationInterpretation__Group__0__Impl rule__FieldRelationInterpretation__Group__1 ;
public final void rule__FieldRelationInterpretation__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4676:1: ( rule__FieldRelationInterpretation__Group__0__Impl rule__FieldRelationInterpretation__Group__1 )
- // InternalSolverLanguage.g:4677:2: rule__FieldRelationInterpretation__Group__0__Impl rule__FieldRelationInterpretation__Group__1
+ // InternalSolverLanguage.g:4617:1: ( rule__FieldRelationInterpretation__Group__0__Impl rule__FieldRelationInterpretation__Group__1 )
+ // InternalSolverLanguage.g:4618:2: rule__FieldRelationInterpretation__Group__0__Impl rule__FieldRelationInterpretation__Group__1
{
- pushFollow(FOLLOW_16);
+ pushFollow(FOLLOW_43);
rule__FieldRelationInterpretation__Group__0__Impl();
state._fsp--;
@@ -14455,27 +14363,38 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__FieldRelationInterpretation__Group__0__Impl"
- // InternalSolverLanguage.g:4684:1: rule__FieldRelationInterpretation__Group__0__Impl : ( ( rule__FieldRelationInterpretation__ContainmentAssignment_0 ) ) ;
+ // InternalSolverLanguage.g:4625:1: rule__FieldRelationInterpretation__Group__0__Impl : ( ( rule__FieldRelationInterpretation__ContainmentAssignment_0 )? ) ;
public final void rule__FieldRelationInterpretation__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4688:1: ( ( ( rule__FieldRelationInterpretation__ContainmentAssignment_0 ) ) )
- // InternalSolverLanguage.g:4689:1: ( ( rule__FieldRelationInterpretation__ContainmentAssignment_0 ) )
+ // InternalSolverLanguage.g:4629:1: ( ( ( rule__FieldRelationInterpretation__ContainmentAssignment_0 )? ) )
+ // InternalSolverLanguage.g:4630:1: ( ( rule__FieldRelationInterpretation__ContainmentAssignment_0 )? )
{
- // InternalSolverLanguage.g:4689:1: ( ( rule__FieldRelationInterpretation__ContainmentAssignment_0 ) )
- // InternalSolverLanguage.g:4690:2: ( rule__FieldRelationInterpretation__ContainmentAssignment_0 )
+ // InternalSolverLanguage.g:4630:1: ( ( rule__FieldRelationInterpretation__ContainmentAssignment_0 )? )
+ // InternalSolverLanguage.g:4631:2: ( rule__FieldRelationInterpretation__ContainmentAssignment_0 )?
{
before(grammarAccess.getFieldRelationInterpretationAccess().getContainmentAssignment_0());
- // InternalSolverLanguage.g:4691:2: ( rule__FieldRelationInterpretation__ContainmentAssignment_0 )
- // InternalSolverLanguage.g:4691:3: rule__FieldRelationInterpretation__ContainmentAssignment_0
- {
- pushFollow(FOLLOW_2);
- rule__FieldRelationInterpretation__ContainmentAssignment_0();
+ // InternalSolverLanguage.g:4632:2: ( rule__FieldRelationInterpretation__ContainmentAssignment_0 )?
+ int alt43=2;
+ int LA43_0 = input.LA(1);
+
+ if ( (LA43_0==41) ) {
+ alt43=1;
+ }
+ switch (alt43) {
+ case 1 :
+ // InternalSolverLanguage.g:4632:3: rule__FieldRelationInterpretation__ContainmentAssignment_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__FieldRelationInterpretation__ContainmentAssignment_0();
+
+ state._fsp--;
- state._fsp--;
+ }
+ break;
}
@@ -14502,16 +14421,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__FieldRelationInterpretation__Group__1"
- // InternalSolverLanguage.g:4699:1: rule__FieldRelationInterpretation__Group__1 : rule__FieldRelationInterpretation__Group__1__Impl rule__FieldRelationInterpretation__Group__2 ;
+ // InternalSolverLanguage.g:4640:1: rule__FieldRelationInterpretation__Group__1 : rule__FieldRelationInterpretation__Group__1__Impl rule__FieldRelationInterpretation__Group__2 ;
public final void rule__FieldRelationInterpretation__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4703:1: ( rule__FieldRelationInterpretation__Group__1__Impl rule__FieldRelationInterpretation__Group__2 )
- // InternalSolverLanguage.g:4704:2: rule__FieldRelationInterpretation__Group__1__Impl rule__FieldRelationInterpretation__Group__2
+ // InternalSolverLanguage.g:4644:1: ( rule__FieldRelationInterpretation__Group__1__Impl rule__FieldRelationInterpretation__Group__2 )
+ // InternalSolverLanguage.g:4645:2: rule__FieldRelationInterpretation__Group__1__Impl rule__FieldRelationInterpretation__Group__2
{
- pushFollow(FOLLOW_14);
+ pushFollow(FOLLOW_25);
rule__FieldRelationInterpretation__Group__1__Impl();
state._fsp--;
@@ -14540,21 +14459,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__FieldRelationInterpretation__Group__1__Impl"
- // InternalSolverLanguage.g:4711:1: rule__FieldRelationInterpretation__Group__1__Impl : ( ( rule__FieldRelationInterpretation__SymbolAssignment_1 ) ) ;
+ // InternalSolverLanguage.g:4652:1: rule__FieldRelationInterpretation__Group__1__Impl : ( ( rule__FieldRelationInterpretation__SymbolAssignment_1 ) ) ;
public final void rule__FieldRelationInterpretation__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4715:1: ( ( ( rule__FieldRelationInterpretation__SymbolAssignment_1 ) ) )
- // InternalSolverLanguage.g:4716:1: ( ( rule__FieldRelationInterpretation__SymbolAssignment_1 ) )
+ // InternalSolverLanguage.g:4656:1: ( ( ( rule__FieldRelationInterpretation__SymbolAssignment_1 ) ) )
+ // InternalSolverLanguage.g:4657:1: ( ( rule__FieldRelationInterpretation__SymbolAssignment_1 ) )
{
- // InternalSolverLanguage.g:4716:1: ( ( rule__FieldRelationInterpretation__SymbolAssignment_1 ) )
- // InternalSolverLanguage.g:4717:2: ( rule__FieldRelationInterpretation__SymbolAssignment_1 )
+ // InternalSolverLanguage.g:4657:1: ( ( rule__FieldRelationInterpretation__SymbolAssignment_1 ) )
+ // InternalSolverLanguage.g:4658:2: ( rule__FieldRelationInterpretation__SymbolAssignment_1 )
{
before(grammarAccess.getFieldRelationInterpretationAccess().getSymbolAssignment_1());
- // InternalSolverLanguage.g:4718:2: ( rule__FieldRelationInterpretation__SymbolAssignment_1 )
- // InternalSolverLanguage.g:4718:3: rule__FieldRelationInterpretation__SymbolAssignment_1
+ // InternalSolverLanguage.g:4659:2: ( rule__FieldRelationInterpretation__SymbolAssignment_1 )
+ // InternalSolverLanguage.g:4659:3: rule__FieldRelationInterpretation__SymbolAssignment_1
{
pushFollow(FOLLOW_2);
rule__FieldRelationInterpretation__SymbolAssignment_1();
@@ -14587,16 +14506,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__FieldRelationInterpretation__Group__2"
- // InternalSolverLanguage.g:4726:1: rule__FieldRelationInterpretation__Group__2 : rule__FieldRelationInterpretation__Group__2__Impl rule__FieldRelationInterpretation__Group__3 ;
+ // InternalSolverLanguage.g:4667:1: rule__FieldRelationInterpretation__Group__2 : rule__FieldRelationInterpretation__Group__2__Impl rule__FieldRelationInterpretation__Group__3 ;
public final void rule__FieldRelationInterpretation__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4730:1: ( rule__FieldRelationInterpretation__Group__2__Impl rule__FieldRelationInterpretation__Group__3 )
- // InternalSolverLanguage.g:4731:2: rule__FieldRelationInterpretation__Group__2__Impl rule__FieldRelationInterpretation__Group__3
+ // InternalSolverLanguage.g:4671:1: ( rule__FieldRelationInterpretation__Group__2__Impl rule__FieldRelationInterpretation__Group__3 )
+ // InternalSolverLanguage.g:4672:2: rule__FieldRelationInterpretation__Group__2__Impl rule__FieldRelationInterpretation__Group__3
{
- pushFollow(FOLLOW_43);
+ pushFollow(FOLLOW_44);
rule__FieldRelationInterpretation__Group__2__Impl();
state._fsp--;
@@ -14625,20 +14544,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__FieldRelationInterpretation__Group__2__Impl"
- // InternalSolverLanguage.g:4738:1: rule__FieldRelationInterpretation__Group__2__Impl : ( ':' ) ;
+ // InternalSolverLanguage.g:4679:1: rule__FieldRelationInterpretation__Group__2__Impl : ( ':' ) ;
public final void rule__FieldRelationInterpretation__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4742:1: ( ( ':' ) )
- // InternalSolverLanguage.g:4743:1: ( ':' )
+ // InternalSolverLanguage.g:4683:1: ( ( ':' ) )
+ // InternalSolverLanguage.g:4684:1: ( ':' )
{
- // InternalSolverLanguage.g:4743:1: ( ':' )
- // InternalSolverLanguage.g:4744:2: ':'
+ // InternalSolverLanguage.g:4684:1: ( ':' )
+ // InternalSolverLanguage.g:4685:2: ':'
{
before(grammarAccess.getFieldRelationInterpretationAccess().getColonKeyword_2());
- match(input,19,FOLLOW_2);
+ match(input,17,FOLLOW_2);
after(grammarAccess.getFieldRelationInterpretationAccess().getColonKeyword_2());
}
@@ -14662,16 +14581,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__FieldRelationInterpretation__Group__3"
- // InternalSolverLanguage.g:4753:1: rule__FieldRelationInterpretation__Group__3 : rule__FieldRelationInterpretation__Group__3__Impl rule__FieldRelationInterpretation__Group__4 ;
+ // InternalSolverLanguage.g:4694:1: rule__FieldRelationInterpretation__Group__3 : rule__FieldRelationInterpretation__Group__3__Impl rule__FieldRelationInterpretation__Group__4 ;
public final void rule__FieldRelationInterpretation__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4757:1: ( rule__FieldRelationInterpretation__Group__3__Impl rule__FieldRelationInterpretation__Group__4 )
- // InternalSolverLanguage.g:4758:2: rule__FieldRelationInterpretation__Group__3__Impl rule__FieldRelationInterpretation__Group__4
+ // InternalSolverLanguage.g:4698:1: ( rule__FieldRelationInterpretation__Group__3__Impl rule__FieldRelationInterpretation__Group__4 )
+ // InternalSolverLanguage.g:4699:2: rule__FieldRelationInterpretation__Group__3__Impl rule__FieldRelationInterpretation__Group__4
{
- pushFollow(FOLLOW_43);
+ pushFollow(FOLLOW_44);
rule__FieldRelationInterpretation__Group__3__Impl();
state._fsp--;
@@ -14700,29 +14619,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__FieldRelationInterpretation__Group__3__Impl"
- // InternalSolverLanguage.g:4765:1: rule__FieldRelationInterpretation__Group__3__Impl : ( ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )? ) ;
+ // InternalSolverLanguage.g:4706:1: rule__FieldRelationInterpretation__Group__3__Impl : ( ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )? ) ;
public final void rule__FieldRelationInterpretation__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4769:1: ( ( ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )? ) )
- // InternalSolverLanguage.g:4770:1: ( ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )? )
+ // InternalSolverLanguage.g:4710:1: ( ( ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )? ) )
+ // InternalSolverLanguage.g:4711:1: ( ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )? )
{
- // InternalSolverLanguage.g:4770:1: ( ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )? )
- // InternalSolverLanguage.g:4771:2: ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )?
+ // InternalSolverLanguage.g:4711:1: ( ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )? )
+ // InternalSolverLanguage.g:4712:2: ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )?
{
before(grammarAccess.getFieldRelationInterpretationAccess().getMultiplicityAssignment_3());
- // InternalSolverLanguage.g:4772:2: ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )?
- int alt38=2;
- int LA38_0 = input.LA(1);
+ // InternalSolverLanguage.g:4713:2: ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )?
+ int alt44=2;
+ int LA44_0 = input.LA(1);
- if ( (LA38_0==RULE_INT) ) {
- alt38=1;
+ if ( (LA44_0==RULE_INT) ) {
+ alt44=1;
}
- switch (alt38) {
+ switch (alt44) {
case 1 :
- // InternalSolverLanguage.g:4772:3: rule__FieldRelationInterpretation__MultiplicityAssignment_3
+ // InternalSolverLanguage.g:4713:3: rule__FieldRelationInterpretation__MultiplicityAssignment_3
{
pushFollow(FOLLOW_2);
rule__FieldRelationInterpretation__MultiplicityAssignment_3();
@@ -14758,14 +14677,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__FieldRelationInterpretation__Group__4"
- // InternalSolverLanguage.g:4780:1: rule__FieldRelationInterpretation__Group__4 : rule__FieldRelationInterpretation__Group__4__Impl ;
+ // InternalSolverLanguage.g:4721:1: rule__FieldRelationInterpretation__Group__4 : rule__FieldRelationInterpretation__Group__4__Impl ;
public final void rule__FieldRelationInterpretation__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4784:1: ( rule__FieldRelationInterpretation__Group__4__Impl )
- // InternalSolverLanguage.g:4785:2: rule__FieldRelationInterpretation__Group__4__Impl
+ // InternalSolverLanguage.g:4725:1: ( rule__FieldRelationInterpretation__Group__4__Impl )
+ // InternalSolverLanguage.g:4726:2: rule__FieldRelationInterpretation__Group__4__Impl
{
pushFollow(FOLLOW_2);
rule__FieldRelationInterpretation__Group__4__Impl();
@@ -14791,21 +14710,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__FieldRelationInterpretation__Group__4__Impl"
- // InternalSolverLanguage.g:4791:1: rule__FieldRelationInterpretation__Group__4__Impl : ( ( rule__FieldRelationInterpretation__TargetAssignment_4 ) ) ;
+ // InternalSolverLanguage.g:4732:1: rule__FieldRelationInterpretation__Group__4__Impl : ( ( rule__FieldRelationInterpretation__TargetAssignment_4 ) ) ;
public final void rule__FieldRelationInterpretation__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4795:1: ( ( ( rule__FieldRelationInterpretation__TargetAssignment_4 ) ) )
- // InternalSolverLanguage.g:4796:1: ( ( rule__FieldRelationInterpretation__TargetAssignment_4 ) )
+ // InternalSolverLanguage.g:4736:1: ( ( ( rule__FieldRelationInterpretation__TargetAssignment_4 ) ) )
+ // InternalSolverLanguage.g:4737:1: ( ( rule__FieldRelationInterpretation__TargetAssignment_4 ) )
{
- // InternalSolverLanguage.g:4796:1: ( ( rule__FieldRelationInterpretation__TargetAssignment_4 ) )
- // InternalSolverLanguage.g:4797:2: ( rule__FieldRelationInterpretation__TargetAssignment_4 )
+ // InternalSolverLanguage.g:4737:1: ( ( rule__FieldRelationInterpretation__TargetAssignment_4 ) )
+ // InternalSolverLanguage.g:4738:2: ( rule__FieldRelationInterpretation__TargetAssignment_4 )
{
before(grammarAccess.getFieldRelationInterpretationAccess().getTargetAssignment_4());
- // InternalSolverLanguage.g:4798:2: ( rule__FieldRelationInterpretation__TargetAssignment_4 )
- // InternalSolverLanguage.g:4798:3: rule__FieldRelationInterpretation__TargetAssignment_4
+ // InternalSolverLanguage.g:4739:2: ( rule__FieldRelationInterpretation__TargetAssignment_4 )
+ // InternalSolverLanguage.g:4739:3: rule__FieldRelationInterpretation__TargetAssignment_4
{
pushFollow(FOLLOW_2);
rule__FieldRelationInterpretation__TargetAssignment_4();
@@ -14838,16 +14757,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__Group__0"
- // InternalSolverLanguage.g:4807:1: rule__GlobalRelationInterpretation__Group__0 : rule__GlobalRelationInterpretation__Group__0__Impl rule__GlobalRelationInterpretation__Group__1 ;
+ // InternalSolverLanguage.g:4748:1: rule__GlobalRelationInterpretation__Group__0 : rule__GlobalRelationInterpretation__Group__0__Impl rule__GlobalRelationInterpretation__Group__1 ;
public final void rule__GlobalRelationInterpretation__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4811:1: ( rule__GlobalRelationInterpretation__Group__0__Impl rule__GlobalRelationInterpretation__Group__1 )
- // InternalSolverLanguage.g:4812:2: rule__GlobalRelationInterpretation__Group__0__Impl rule__GlobalRelationInterpretation__Group__1
+ // InternalSolverLanguage.g:4752:1: ( rule__GlobalRelationInterpretation__Group__0__Impl rule__GlobalRelationInterpretation__Group__1 )
+ // InternalSolverLanguage.g:4753:2: rule__GlobalRelationInterpretation__Group__0__Impl rule__GlobalRelationInterpretation__Group__1
{
- pushFollow(FOLLOW_44);
+ pushFollow(FOLLOW_45);
rule__GlobalRelationInterpretation__Group__0__Impl();
state._fsp--;
@@ -14876,27 +14795,38 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__Group__0__Impl"
- // InternalSolverLanguage.g:4819:1: rule__GlobalRelationInterpretation__Group__0__Impl : ( ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 ) ) ;
+ // InternalSolverLanguage.g:4760:1: rule__GlobalRelationInterpretation__Group__0__Impl : ( ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 )? ) ;
public final void rule__GlobalRelationInterpretation__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4823:1: ( ( ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 ) ) )
- // InternalSolverLanguage.g:4824:1: ( ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 ) )
+ // InternalSolverLanguage.g:4764:1: ( ( ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 )? ) )
+ // InternalSolverLanguage.g:4765:1: ( ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 )? )
{
- // InternalSolverLanguage.g:4824:1: ( ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 ) )
- // InternalSolverLanguage.g:4825:2: ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 )
+ // InternalSolverLanguage.g:4765:1: ( ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 )? )
+ // InternalSolverLanguage.g:4766:2: ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 )?
{
before(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentAssignment_0());
- // InternalSolverLanguage.g:4826:2: ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 )
- // InternalSolverLanguage.g:4826:3: rule__GlobalRelationInterpretation__ContainmentAssignment_0
- {
- pushFollow(FOLLOW_2);
- rule__GlobalRelationInterpretation__ContainmentAssignment_0();
+ // InternalSolverLanguage.g:4767:2: ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 )?
+ int alt45=2;
+ int LA45_0 = input.LA(1);
+
+ if ( (LA45_0==41) ) {
+ alt45=1;
+ }
+ switch (alt45) {
+ case 1 :
+ // InternalSolverLanguage.g:4767:3: rule__GlobalRelationInterpretation__ContainmentAssignment_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__GlobalRelationInterpretation__ContainmentAssignment_0();
+
+ state._fsp--;
- state._fsp--;
+ }
+ break;
}
@@ -14923,16 +14853,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__Group__1"
- // InternalSolverLanguage.g:4834:1: rule__GlobalRelationInterpretation__Group__1 : rule__GlobalRelationInterpretation__Group__1__Impl rule__GlobalRelationInterpretation__Group__2 ;
+ // InternalSolverLanguage.g:4775:1: rule__GlobalRelationInterpretation__Group__1 : rule__GlobalRelationInterpretation__Group__1__Impl rule__GlobalRelationInterpretation__Group__2 ;
public final void rule__GlobalRelationInterpretation__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4838:1: ( rule__GlobalRelationInterpretation__Group__1__Impl rule__GlobalRelationInterpretation__Group__2 )
- // InternalSolverLanguage.g:4839:2: rule__GlobalRelationInterpretation__Group__1__Impl rule__GlobalRelationInterpretation__Group__2
+ // InternalSolverLanguage.g:4779:1: ( rule__GlobalRelationInterpretation__Group__1__Impl rule__GlobalRelationInterpretation__Group__2 )
+ // InternalSolverLanguage.g:4780:2: rule__GlobalRelationInterpretation__Group__1__Impl rule__GlobalRelationInterpretation__Group__2
{
- pushFollow(FOLLOW_16);
+ pushFollow(FOLLOW_17);
rule__GlobalRelationInterpretation__Group__1__Impl();
state._fsp--;
@@ -14961,20 +14891,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__Group__1__Impl"
- // InternalSolverLanguage.g:4846:1: rule__GlobalRelationInterpretation__Group__1__Impl : ( 'relation' ) ;
+ // InternalSolverLanguage.g:4787:1: rule__GlobalRelationInterpretation__Group__1__Impl : ( 'relation' ) ;
public final void rule__GlobalRelationInterpretation__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4850:1: ( ( 'relation' ) )
- // InternalSolverLanguage.g:4851:1: ( 'relation' )
+ // InternalSolverLanguage.g:4791:1: ( ( 'relation' ) )
+ // InternalSolverLanguage.g:4792:1: ( 'relation' )
{
- // InternalSolverLanguage.g:4851:1: ( 'relation' )
- // InternalSolverLanguage.g:4852:2: 'relation'
+ // InternalSolverLanguage.g:4792:1: ( 'relation' )
+ // InternalSolverLanguage.g:4793:2: 'relation'
{
before(grammarAccess.getGlobalRelationInterpretationAccess().getRelationKeyword_1());
- match(input,37,FOLLOW_2);
+ match(input,38,FOLLOW_2);
after(grammarAccess.getGlobalRelationInterpretationAccess().getRelationKeyword_1());
}
@@ -14998,16 +14928,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__Group__2"
- // InternalSolverLanguage.g:4861:1: rule__GlobalRelationInterpretation__Group__2 : rule__GlobalRelationInterpretation__Group__2__Impl rule__GlobalRelationInterpretation__Group__3 ;
+ // InternalSolverLanguage.g:4802:1: rule__GlobalRelationInterpretation__Group__2 : rule__GlobalRelationInterpretation__Group__2__Impl rule__GlobalRelationInterpretation__Group__3 ;
public final void rule__GlobalRelationInterpretation__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4865:1: ( rule__GlobalRelationInterpretation__Group__2__Impl rule__GlobalRelationInterpretation__Group__3 )
- // InternalSolverLanguage.g:4866:2: rule__GlobalRelationInterpretation__Group__2__Impl rule__GlobalRelationInterpretation__Group__3
+ // InternalSolverLanguage.g:4806:1: ( rule__GlobalRelationInterpretation__Group__2__Impl rule__GlobalRelationInterpretation__Group__3 )
+ // InternalSolverLanguage.g:4807:2: rule__GlobalRelationInterpretation__Group__2__Impl rule__GlobalRelationInterpretation__Group__3
{
- pushFollow(FOLLOW_14);
+ pushFollow(FOLLOW_25);
rule__GlobalRelationInterpretation__Group__2__Impl();
state._fsp--;
@@ -15036,21 +14966,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__Group__2__Impl"
- // InternalSolverLanguage.g:4873:1: rule__GlobalRelationInterpretation__Group__2__Impl : ( ( rule__GlobalRelationInterpretation__SymbolAssignment_2 ) ) ;
+ // InternalSolverLanguage.g:4814:1: rule__GlobalRelationInterpretation__Group__2__Impl : ( ( rule__GlobalRelationInterpretation__SymbolAssignment_2 ) ) ;
public final void rule__GlobalRelationInterpretation__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4877:1: ( ( ( rule__GlobalRelationInterpretation__SymbolAssignment_2 ) ) )
- // InternalSolverLanguage.g:4878:1: ( ( rule__GlobalRelationInterpretation__SymbolAssignment_2 ) )
+ // InternalSolverLanguage.g:4818:1: ( ( ( rule__GlobalRelationInterpretation__SymbolAssignment_2 ) ) )
+ // InternalSolverLanguage.g:4819:1: ( ( rule__GlobalRelationInterpretation__SymbolAssignment_2 ) )
{
- // InternalSolverLanguage.g:4878:1: ( ( rule__GlobalRelationInterpretation__SymbolAssignment_2 ) )
- // InternalSolverLanguage.g:4879:2: ( rule__GlobalRelationInterpretation__SymbolAssignment_2 )
+ // InternalSolverLanguage.g:4819:1: ( ( rule__GlobalRelationInterpretation__SymbolAssignment_2 ) )
+ // InternalSolverLanguage.g:4820:2: ( rule__GlobalRelationInterpretation__SymbolAssignment_2 )
{
before(grammarAccess.getGlobalRelationInterpretationAccess().getSymbolAssignment_2());
- // InternalSolverLanguage.g:4880:2: ( rule__GlobalRelationInterpretation__SymbolAssignment_2 )
- // InternalSolverLanguage.g:4880:3: rule__GlobalRelationInterpretation__SymbolAssignment_2
+ // InternalSolverLanguage.g:4821:2: ( rule__GlobalRelationInterpretation__SymbolAssignment_2 )
+ // InternalSolverLanguage.g:4821:3: rule__GlobalRelationInterpretation__SymbolAssignment_2
{
pushFollow(FOLLOW_2);
rule__GlobalRelationInterpretation__SymbolAssignment_2();
@@ -15083,16 +15013,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__Group__3"
- // InternalSolverLanguage.g:4888:1: rule__GlobalRelationInterpretation__Group__3 : rule__GlobalRelationInterpretation__Group__3__Impl rule__GlobalRelationInterpretation__Group__4 ;
+ // InternalSolverLanguage.g:4829:1: rule__GlobalRelationInterpretation__Group__3 : rule__GlobalRelationInterpretation__Group__3__Impl rule__GlobalRelationInterpretation__Group__4 ;
public final void rule__GlobalRelationInterpretation__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4892:1: ( rule__GlobalRelationInterpretation__Group__3__Impl rule__GlobalRelationInterpretation__Group__4 )
- // InternalSolverLanguage.g:4893:2: rule__GlobalRelationInterpretation__Group__3__Impl rule__GlobalRelationInterpretation__Group__4
+ // InternalSolverLanguage.g:4833:1: ( rule__GlobalRelationInterpretation__Group__3__Impl rule__GlobalRelationInterpretation__Group__4 )
+ // InternalSolverLanguage.g:4834:2: rule__GlobalRelationInterpretation__Group__3__Impl rule__GlobalRelationInterpretation__Group__4
{
- pushFollow(FOLLOW_43);
+ pushFollow(FOLLOW_44);
rule__GlobalRelationInterpretation__Group__3__Impl();
state._fsp--;
@@ -15121,20 +15051,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__Group__3__Impl"
- // InternalSolverLanguage.g:4900:1: rule__GlobalRelationInterpretation__Group__3__Impl : ( ':' ) ;
+ // InternalSolverLanguage.g:4841:1: rule__GlobalRelationInterpretation__Group__3__Impl : ( ':' ) ;
public final void rule__GlobalRelationInterpretation__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4904:1: ( ( ':' ) )
- // InternalSolverLanguage.g:4905:1: ( ':' )
+ // InternalSolverLanguage.g:4845:1: ( ( ':' ) )
+ // InternalSolverLanguage.g:4846:1: ( ':' )
{
- // InternalSolverLanguage.g:4905:1: ( ':' )
- // InternalSolverLanguage.g:4906:2: ':'
+ // InternalSolverLanguage.g:4846:1: ( ':' )
+ // InternalSolverLanguage.g:4847:2: ':'
{
before(grammarAccess.getGlobalRelationInterpretationAccess().getColonKeyword_3());
- match(input,19,FOLLOW_2);
+ match(input,17,FOLLOW_2);
after(grammarAccess.getGlobalRelationInterpretationAccess().getColonKeyword_3());
}
@@ -15158,16 +15088,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__Group__4"
- // InternalSolverLanguage.g:4915:1: rule__GlobalRelationInterpretation__Group__4 : rule__GlobalRelationInterpretation__Group__4__Impl rule__GlobalRelationInterpretation__Group__5 ;
+ // InternalSolverLanguage.g:4856:1: rule__GlobalRelationInterpretation__Group__4 : rule__GlobalRelationInterpretation__Group__4__Impl rule__GlobalRelationInterpretation__Group__5 ;
public final void rule__GlobalRelationInterpretation__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4919:1: ( rule__GlobalRelationInterpretation__Group__4__Impl rule__GlobalRelationInterpretation__Group__5 )
- // InternalSolverLanguage.g:4920:2: rule__GlobalRelationInterpretation__Group__4__Impl rule__GlobalRelationInterpretation__Group__5
+ // InternalSolverLanguage.g:4860:1: ( rule__GlobalRelationInterpretation__Group__4__Impl rule__GlobalRelationInterpretation__Group__5 )
+ // InternalSolverLanguage.g:4861:2: rule__GlobalRelationInterpretation__Group__4__Impl rule__GlobalRelationInterpretation__Group__5
{
- pushFollow(FOLLOW_43);
+ pushFollow(FOLLOW_44);
rule__GlobalRelationInterpretation__Group__4__Impl();
state._fsp--;
@@ -15196,29 +15126,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__Group__4__Impl"
- // InternalSolverLanguage.g:4927:1: rule__GlobalRelationInterpretation__Group__4__Impl : ( ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )? ) ;
+ // InternalSolverLanguage.g:4868:1: rule__GlobalRelationInterpretation__Group__4__Impl : ( ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )? ) ;
public final void rule__GlobalRelationInterpretation__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4931:1: ( ( ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )? ) )
- // InternalSolverLanguage.g:4932:1: ( ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )? )
+ // InternalSolverLanguage.g:4872:1: ( ( ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )? ) )
+ // InternalSolverLanguage.g:4873:1: ( ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )? )
{
- // InternalSolverLanguage.g:4932:1: ( ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )? )
- // InternalSolverLanguage.g:4933:2: ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )?
+ // InternalSolverLanguage.g:4873:1: ( ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )? )
+ // InternalSolverLanguage.g:4874:2: ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )?
{
before(grammarAccess.getGlobalRelationInterpretationAccess().getSourceMultiplicityAssignment_4());
- // InternalSolverLanguage.g:4934:2: ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )?
- int alt39=2;
- int LA39_0 = input.LA(1);
+ // InternalSolverLanguage.g:4875:2: ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )?
+ int alt46=2;
+ int LA46_0 = input.LA(1);
- if ( (LA39_0==RULE_INT) ) {
- alt39=1;
+ if ( (LA46_0==RULE_INT) ) {
+ alt46=1;
}
- switch (alt39) {
+ switch (alt46) {
case 1 :
- // InternalSolverLanguage.g:4934:3: rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4
+ // InternalSolverLanguage.g:4875:3: rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4
{
pushFollow(FOLLOW_2);
rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4();
@@ -15254,16 +15184,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__Group__5"
- // InternalSolverLanguage.g:4942:1: rule__GlobalRelationInterpretation__Group__5 : rule__GlobalRelationInterpretation__Group__5__Impl rule__GlobalRelationInterpretation__Group__6 ;
+ // InternalSolverLanguage.g:4883:1: rule__GlobalRelationInterpretation__Group__5 : rule__GlobalRelationInterpretation__Group__5__Impl rule__GlobalRelationInterpretation__Group__6 ;
public final void rule__GlobalRelationInterpretation__Group__5() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4946:1: ( rule__GlobalRelationInterpretation__Group__5__Impl rule__GlobalRelationInterpretation__Group__6 )
- // InternalSolverLanguage.g:4947:2: rule__GlobalRelationInterpretation__Group__5__Impl rule__GlobalRelationInterpretation__Group__6
+ // InternalSolverLanguage.g:4887:1: ( rule__GlobalRelationInterpretation__Group__5__Impl rule__GlobalRelationInterpretation__Group__6 )
+ // InternalSolverLanguage.g:4888:2: rule__GlobalRelationInterpretation__Group__5__Impl rule__GlobalRelationInterpretation__Group__6
{
- pushFollow(FOLLOW_43);
+ pushFollow(FOLLOW_44);
rule__GlobalRelationInterpretation__Group__5__Impl();
state._fsp--;
@@ -15292,21 +15222,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__Group__5__Impl"
- // InternalSolverLanguage.g:4954:1: rule__GlobalRelationInterpretation__Group__5__Impl : ( ( rule__GlobalRelationInterpretation__SourceAssignment_5 ) ) ;
+ // InternalSolverLanguage.g:4895:1: rule__GlobalRelationInterpretation__Group__5__Impl : ( ( rule__GlobalRelationInterpretation__SourceAssignment_5 ) ) ;
public final void rule__GlobalRelationInterpretation__Group__5__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4958:1: ( ( ( rule__GlobalRelationInterpretation__SourceAssignment_5 ) ) )
- // InternalSolverLanguage.g:4959:1: ( ( rule__GlobalRelationInterpretation__SourceAssignment_5 ) )
+ // InternalSolverLanguage.g:4899:1: ( ( ( rule__GlobalRelationInterpretation__SourceAssignment_5 ) ) )
+ // InternalSolverLanguage.g:4900:1: ( ( rule__GlobalRelationInterpretation__SourceAssignment_5 ) )
{
- // InternalSolverLanguage.g:4959:1: ( ( rule__GlobalRelationInterpretation__SourceAssignment_5 ) )
- // InternalSolverLanguage.g:4960:2: ( rule__GlobalRelationInterpretation__SourceAssignment_5 )
+ // InternalSolverLanguage.g:4900:1: ( ( rule__GlobalRelationInterpretation__SourceAssignment_5 ) )
+ // InternalSolverLanguage.g:4901:2: ( rule__GlobalRelationInterpretation__SourceAssignment_5 )
{
before(grammarAccess.getGlobalRelationInterpretationAccess().getSourceAssignment_5());
- // InternalSolverLanguage.g:4961:2: ( rule__GlobalRelationInterpretation__SourceAssignment_5 )
- // InternalSolverLanguage.g:4961:3: rule__GlobalRelationInterpretation__SourceAssignment_5
+ // InternalSolverLanguage.g:4902:2: ( rule__GlobalRelationInterpretation__SourceAssignment_5 )
+ // InternalSolverLanguage.g:4902:3: rule__GlobalRelationInterpretation__SourceAssignment_5
{
pushFollow(FOLLOW_2);
rule__GlobalRelationInterpretation__SourceAssignment_5();
@@ -15339,16 +15269,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__Group__6"
- // InternalSolverLanguage.g:4969:1: rule__GlobalRelationInterpretation__Group__6 : rule__GlobalRelationInterpretation__Group__6__Impl rule__GlobalRelationInterpretation__Group__7 ;
+ // InternalSolverLanguage.g:4910:1: rule__GlobalRelationInterpretation__Group__6 : rule__GlobalRelationInterpretation__Group__6__Impl rule__GlobalRelationInterpretation__Group__7 ;
public final void rule__GlobalRelationInterpretation__Group__6() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4973:1: ( rule__GlobalRelationInterpretation__Group__6__Impl rule__GlobalRelationInterpretation__Group__7 )
- // InternalSolverLanguage.g:4974:2: rule__GlobalRelationInterpretation__Group__6__Impl rule__GlobalRelationInterpretation__Group__7
+ // InternalSolverLanguage.g:4914:1: ( rule__GlobalRelationInterpretation__Group__6__Impl rule__GlobalRelationInterpretation__Group__7 )
+ // InternalSolverLanguage.g:4915:2: rule__GlobalRelationInterpretation__Group__6__Impl rule__GlobalRelationInterpretation__Group__7
{
- pushFollow(FOLLOW_43);
+ pushFollow(FOLLOW_44);
rule__GlobalRelationInterpretation__Group__6__Impl();
state._fsp--;
@@ -15377,29 +15307,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__Group__6__Impl"
- // InternalSolverLanguage.g:4981:1: rule__GlobalRelationInterpretation__Group__6__Impl : ( ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )? ) ;
+ // InternalSolverLanguage.g:4922:1: rule__GlobalRelationInterpretation__Group__6__Impl : ( ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )? ) ;
public final void rule__GlobalRelationInterpretation__Group__6__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4985:1: ( ( ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )? ) )
- // InternalSolverLanguage.g:4986:1: ( ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )? )
+ // InternalSolverLanguage.g:4926:1: ( ( ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )? ) )
+ // InternalSolverLanguage.g:4927:1: ( ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )? )
{
- // InternalSolverLanguage.g:4986:1: ( ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )? )
- // InternalSolverLanguage.g:4987:2: ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )?
+ // InternalSolverLanguage.g:4927:1: ( ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )? )
+ // InternalSolverLanguage.g:4928:2: ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )?
{
before(grammarAccess.getGlobalRelationInterpretationAccess().getTargetMultiplicityAssignment_6());
- // InternalSolverLanguage.g:4988:2: ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )?
- int alt40=2;
- int LA40_0 = input.LA(1);
+ // InternalSolverLanguage.g:4929:2: ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )?
+ int alt47=2;
+ int LA47_0 = input.LA(1);
- if ( (LA40_0==RULE_INT) ) {
- alt40=1;
+ if ( (LA47_0==RULE_INT) ) {
+ alt47=1;
}
- switch (alt40) {
+ switch (alt47) {
case 1 :
- // InternalSolverLanguage.g:4988:3: rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6
+ // InternalSolverLanguage.g:4929:3: rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6
{
pushFollow(FOLLOW_2);
rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6();
@@ -15435,14 +15365,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__Group__7"
- // InternalSolverLanguage.g:4996:1: rule__GlobalRelationInterpretation__Group__7 : rule__GlobalRelationInterpretation__Group__7__Impl ;
+ // InternalSolverLanguage.g:4937:1: rule__GlobalRelationInterpretation__Group__7 : rule__GlobalRelationInterpretation__Group__7__Impl ;
public final void rule__GlobalRelationInterpretation__Group__7() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5000:1: ( rule__GlobalRelationInterpretation__Group__7__Impl )
- // InternalSolverLanguage.g:5001:2: rule__GlobalRelationInterpretation__Group__7__Impl
+ // InternalSolverLanguage.g:4941:1: ( rule__GlobalRelationInterpretation__Group__7__Impl )
+ // InternalSolverLanguage.g:4942:2: rule__GlobalRelationInterpretation__Group__7__Impl
{
pushFollow(FOLLOW_2);
rule__GlobalRelationInterpretation__Group__7__Impl();
@@ -15468,21 +15398,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__Group__7__Impl"
- // InternalSolverLanguage.g:5007:1: rule__GlobalRelationInterpretation__Group__7__Impl : ( ( rule__GlobalRelationInterpretation__TargetAssignment_7 ) ) ;
+ // InternalSolverLanguage.g:4948:1: rule__GlobalRelationInterpretation__Group__7__Impl : ( ( rule__GlobalRelationInterpretation__TargetAssignment_7 ) ) ;
public final void rule__GlobalRelationInterpretation__Group__7__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5011:1: ( ( ( rule__GlobalRelationInterpretation__TargetAssignment_7 ) ) )
- // InternalSolverLanguage.g:5012:1: ( ( rule__GlobalRelationInterpretation__TargetAssignment_7 ) )
+ // InternalSolverLanguage.g:4952:1: ( ( ( rule__GlobalRelationInterpretation__TargetAssignment_7 ) ) )
+ // InternalSolverLanguage.g:4953:1: ( ( rule__GlobalRelationInterpretation__TargetAssignment_7 ) )
{
- // InternalSolverLanguage.g:5012:1: ( ( rule__GlobalRelationInterpretation__TargetAssignment_7 ) )
- // InternalSolverLanguage.g:5013:2: ( rule__GlobalRelationInterpretation__TargetAssignment_7 )
+ // InternalSolverLanguage.g:4953:1: ( ( rule__GlobalRelationInterpretation__TargetAssignment_7 ) )
+ // InternalSolverLanguage.g:4954:2: ( rule__GlobalRelationInterpretation__TargetAssignment_7 )
{
before(grammarAccess.getGlobalRelationInterpretationAccess().getTargetAssignment_7());
- // InternalSolverLanguage.g:5014:2: ( rule__GlobalRelationInterpretation__TargetAssignment_7 )
- // InternalSolverLanguage.g:5014:3: rule__GlobalRelationInterpretation__TargetAssignment_7
+ // InternalSolverLanguage.g:4955:2: ( rule__GlobalRelationInterpretation__TargetAssignment_7 )
+ // InternalSolverLanguage.g:4955:3: rule__GlobalRelationInterpretation__TargetAssignment_7
{
pushFollow(FOLLOW_2);
rule__GlobalRelationInterpretation__TargetAssignment_7();
@@ -15515,16 +15445,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicityDefinition__Group__0"
- // InternalSolverLanguage.g:5023:1: rule__MultiplicityDefinition__Group__0 : rule__MultiplicityDefinition__Group__0__Impl rule__MultiplicityDefinition__Group__1 ;
+ // InternalSolverLanguage.g:4964:1: rule__MultiplicityDefinition__Group__0 : rule__MultiplicityDefinition__Group__0__Impl rule__MultiplicityDefinition__Group__1 ;
public final void rule__MultiplicityDefinition__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5027:1: ( rule__MultiplicityDefinition__Group__0__Impl rule__MultiplicityDefinition__Group__1 )
- // InternalSolverLanguage.g:5028:2: rule__MultiplicityDefinition__Group__0__Impl rule__MultiplicityDefinition__Group__1
+ // InternalSolverLanguage.g:4968:1: ( rule__MultiplicityDefinition__Group__0__Impl rule__MultiplicityDefinition__Group__1 )
+ // InternalSolverLanguage.g:4969:2: rule__MultiplicityDefinition__Group__0__Impl rule__MultiplicityDefinition__Group__1
{
- pushFollow(FOLLOW_45);
+ pushFollow(FOLLOW_46);
rule__MultiplicityDefinition__Group__0__Impl();
state._fsp--;
@@ -15553,21 +15483,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicityDefinition__Group__0__Impl"
- // InternalSolverLanguage.g:5035:1: rule__MultiplicityDefinition__Group__0__Impl : ( ( rule__MultiplicityDefinition__LowerAssignment_0 ) ) ;
+ // InternalSolverLanguage.g:4976:1: rule__MultiplicityDefinition__Group__0__Impl : ( ( rule__MultiplicityDefinition__LowerAssignment_0 ) ) ;
public final void rule__MultiplicityDefinition__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5039:1: ( ( ( rule__MultiplicityDefinition__LowerAssignment_0 ) ) )
- // InternalSolverLanguage.g:5040:1: ( ( rule__MultiplicityDefinition__LowerAssignment_0 ) )
+ // InternalSolverLanguage.g:4980:1: ( ( ( rule__MultiplicityDefinition__LowerAssignment_0 ) ) )
+ // InternalSolverLanguage.g:4981:1: ( ( rule__MultiplicityDefinition__LowerAssignment_0 ) )
{
- // InternalSolverLanguage.g:5040:1: ( ( rule__MultiplicityDefinition__LowerAssignment_0 ) )
- // InternalSolverLanguage.g:5041:2: ( rule__MultiplicityDefinition__LowerAssignment_0 )
+ // InternalSolverLanguage.g:4981:1: ( ( rule__MultiplicityDefinition__LowerAssignment_0 ) )
+ // InternalSolverLanguage.g:4982:2: ( rule__MultiplicityDefinition__LowerAssignment_0 )
{
before(grammarAccess.getMultiplicityDefinitionAccess().getLowerAssignment_0());
- // InternalSolverLanguage.g:5042:2: ( rule__MultiplicityDefinition__LowerAssignment_0 )
- // InternalSolverLanguage.g:5042:3: rule__MultiplicityDefinition__LowerAssignment_0
+ // InternalSolverLanguage.g:4983:2: ( rule__MultiplicityDefinition__LowerAssignment_0 )
+ // InternalSolverLanguage.g:4983:3: rule__MultiplicityDefinition__LowerAssignment_0
{
pushFollow(FOLLOW_2);
rule__MultiplicityDefinition__LowerAssignment_0();
@@ -15600,16 +15530,16 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicityDefinition__Group__1"
- // InternalSolverLanguage.g:5050:1: rule__MultiplicityDefinition__Group__1 : rule__MultiplicityDefinition__Group__1__Impl rule__MultiplicityDefinition__Group__2 ;
+ // InternalSolverLanguage.g:4991:1: rule__MultiplicityDefinition__Group__1 : rule__MultiplicityDefinition__Group__1__Impl rule__MultiplicityDefinition__Group__2 ;
public final void rule__MultiplicityDefinition__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5054:1: ( rule__MultiplicityDefinition__Group__1__Impl rule__MultiplicityDefinition__Group__2 )
- // InternalSolverLanguage.g:5055:2: rule__MultiplicityDefinition__Group__1__Impl rule__MultiplicityDefinition__Group__2
+ // InternalSolverLanguage.g:4995:1: ( rule__MultiplicityDefinition__Group__1__Impl rule__MultiplicityDefinition__Group__2 )
+ // InternalSolverLanguage.g:4996:2: rule__MultiplicityDefinition__Group__1__Impl rule__MultiplicityDefinition__Group__2
{
- pushFollow(FOLLOW_46);
+ pushFollow(FOLLOW_47);
rule__MultiplicityDefinition__Group__1__Impl();
state._fsp--;
@@ -15638,20 +15568,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicityDefinition__Group__1__Impl"
- // InternalSolverLanguage.g:5062:1: rule__MultiplicityDefinition__Group__1__Impl : ( '..' ) ;
+ // InternalSolverLanguage.g:5003:1: rule__MultiplicityDefinition__Group__1__Impl : ( '..' ) ;
public final void rule__MultiplicityDefinition__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5066:1: ( ( '..' ) )
- // InternalSolverLanguage.g:5067:1: ( '..' )
+ // InternalSolverLanguage.g:5007:1: ( ( '..' ) )
+ // InternalSolverLanguage.g:5008:1: ( '..' )
{
- // InternalSolverLanguage.g:5067:1: ( '..' )
- // InternalSolverLanguage.g:5068:2: '..'
+ // InternalSolverLanguage.g:5008:1: ( '..' )
+ // InternalSolverLanguage.g:5009:2: '..'
{
before(grammarAccess.getMultiplicityDefinitionAccess().getFullStopFullStopKeyword_1());
- match(input,38,FOLLOW_2);
+ match(input,39,FOLLOW_2);
after(grammarAccess.getMultiplicityDefinitionAccess().getFullStopFullStopKeyword_1());
}
@@ -15675,14 +15605,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicityDefinition__Group__2"
- // InternalSolverLanguage.g:5077:1: rule__MultiplicityDefinition__Group__2 : rule__MultiplicityDefinition__Group__2__Impl ;
+ // InternalSolverLanguage.g:5018:1: rule__MultiplicityDefinition__Group__2 : rule__MultiplicityDefinition__Group__2__Impl ;
public final void rule__MultiplicityDefinition__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5081:1: ( rule__MultiplicityDefinition__Group__2__Impl )
- // InternalSolverLanguage.g:5082:2: rule__MultiplicityDefinition__Group__2__Impl
+ // InternalSolverLanguage.g:5022:1: ( rule__MultiplicityDefinition__Group__2__Impl )
+ // InternalSolverLanguage.g:5023:2: rule__MultiplicityDefinition__Group__2__Impl
{
pushFollow(FOLLOW_2);
rule__MultiplicityDefinition__Group__2__Impl();
@@ -15708,21 +15638,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicityDefinition__Group__2__Impl"
- // InternalSolverLanguage.g:5088:1: rule__MultiplicityDefinition__Group__2__Impl : ( ( rule__MultiplicityDefinition__Alternatives_2 ) ) ;
+ // InternalSolverLanguage.g:5029:1: rule__MultiplicityDefinition__Group__2__Impl : ( ( rule__MultiplicityDefinition__Alternatives_2 ) ) ;
public final void rule__MultiplicityDefinition__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5092:1: ( ( ( rule__MultiplicityDefinition__Alternatives_2 ) ) )
- // InternalSolverLanguage.g:5093:1: ( ( rule__MultiplicityDefinition__Alternatives_2 ) )
+ // InternalSolverLanguage.g:5033:1: ( ( ( rule__MultiplicityDefinition__Alternatives_2 ) ) )
+ // InternalSolverLanguage.g:5034:1: ( ( rule__MultiplicityDefinition__Alternatives_2 ) )
{
- // InternalSolverLanguage.g:5093:1: ( ( rule__MultiplicityDefinition__Alternatives_2 ) )
- // InternalSolverLanguage.g:5094:2: ( rule__MultiplicityDefinition__Alternatives_2 )
+ // InternalSolverLanguage.g:5034:1: ( ( rule__MultiplicityDefinition__Alternatives_2 ) )
+ // InternalSolverLanguage.g:5035:2: ( rule__MultiplicityDefinition__Alternatives_2 )
{
before(grammarAccess.getMultiplicityDefinitionAccess().getAlternatives_2());
- // InternalSolverLanguage.g:5095:2: ( rule__MultiplicityDefinition__Alternatives_2 )
- // InternalSolverLanguage.g:5095:3: rule__MultiplicityDefinition__Alternatives_2
+ // InternalSolverLanguage.g:5036:2: ( rule__MultiplicityDefinition__Alternatives_2 )
+ // InternalSolverLanguage.g:5036:3: rule__MultiplicityDefinition__Alternatives_2
{
pushFollow(FOLLOW_2);
rule__MultiplicityDefinition__Alternatives_2();
@@ -15755,17 +15685,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Problem__StatementsAssignment"
- // InternalSolverLanguage.g:5104:1: rule__Problem__StatementsAssignment : ( ruleStatement ) ;
+ // InternalSolverLanguage.g:5045:1: rule__Problem__StatementsAssignment : ( ruleStatement ) ;
public final void rule__Problem__StatementsAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5108:1: ( ( ruleStatement ) )
- // InternalSolverLanguage.g:5109:2: ( ruleStatement )
+ // InternalSolverLanguage.g:5049:1: ( ( ruleStatement ) )
+ // InternalSolverLanguage.g:5050:2: ( ruleStatement )
{
- // InternalSolverLanguage.g:5109:2: ( ruleStatement )
- // InternalSolverLanguage.g:5110:3: ruleStatement
+ // InternalSolverLanguage.g:5050:2: ( ruleStatement )
+ // InternalSolverLanguage.g:5051:3: ruleStatement
{
before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -15796,17 +15726,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BasicInterpretation__SymbolAssignment_0"
- // InternalSolverLanguage.g:5119:1: rule__BasicInterpretation__SymbolAssignment_0 : ( ruleSymbol ) ;
+ // InternalSolverLanguage.g:5060:1: rule__BasicInterpretation__SymbolAssignment_0 : ( ruleSymbol ) ;
public final void rule__BasicInterpretation__SymbolAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5123:1: ( ( ruleSymbol ) )
- // InternalSolverLanguage.g:5124:2: ( ruleSymbol )
+ // InternalSolverLanguage.g:5064:1: ( ( ruleSymbol ) )
+ // InternalSolverLanguage.g:5065:2: ( ruleSymbol )
{
- // InternalSolverLanguage.g:5124:2: ( ruleSymbol )
- // InternalSolverLanguage.g:5125:3: ruleSymbol
+ // InternalSolverLanguage.g:5065:2: ( ruleSymbol )
+ // InternalSolverLanguage.g:5066:3: ruleSymbol
{
before(grammarAccess.getBasicInterpretationAccess().getSymbolSymbolParserRuleCall_0_0());
pushFollow(FOLLOW_2);
@@ -15836,26 +15766,67 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR end "rule__BasicInterpretation__SymbolAssignment_0"
- // $ANTLR start "rule__BasicInterpretation__ObjectsAssignment_2"
- // InternalSolverLanguage.g:5134:1: rule__BasicInterpretation__ObjectsAssignment_2 : ( ruleComplexObject ) ;
- public final void rule__BasicInterpretation__ObjectsAssignment_2() throws RecognitionException {
+ // $ANTLR start "rule__BasicInterpretation__ObjectsAssignment_1_1_0"
+ // InternalSolverLanguage.g:5075:1: rule__BasicInterpretation__ObjectsAssignment_1_1_0 : ( ruleComplexObject ) ;
+ public final void rule__BasicInterpretation__ObjectsAssignment_1_1_0() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalSolverLanguage.g:5079:1: ( ( ruleComplexObject ) )
+ // InternalSolverLanguage.g:5080:2: ( ruleComplexObject )
+ {
+ // InternalSolverLanguage.g:5080:2: ( ruleComplexObject )
+ // InternalSolverLanguage.g:5081:3: ruleComplexObject
+ {
+ before(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_0_0());
+ pushFollow(FOLLOW_2);
+ ruleComplexObject();
+
+ state._fsp--;
+
+ after(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_0_0());
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__BasicInterpretation__ObjectsAssignment_1_1_0"
+
+
+ // $ANTLR start "rule__BasicInterpretation__ObjectsAssignment_1_1_1_1"
+ // InternalSolverLanguage.g:5090:1: rule__BasicInterpretation__ObjectsAssignment_1_1_1_1 : ( ruleComplexObject ) ;
+ public final void rule__BasicInterpretation__ObjectsAssignment_1_1_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5138:1: ( ( ruleComplexObject ) )
- // InternalSolverLanguage.g:5139:2: ( ruleComplexObject )
+ // InternalSolverLanguage.g:5094:1: ( ( ruleComplexObject ) )
+ // InternalSolverLanguage.g:5095:2: ( ruleComplexObject )
{
- // InternalSolverLanguage.g:5139:2: ( ruleComplexObject )
- // InternalSolverLanguage.g:5140:3: ruleComplexObject
+ // InternalSolverLanguage.g:5095:2: ( ruleComplexObject )
+ // InternalSolverLanguage.g:5096:3: ruleComplexObject
{
- before(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_2_0());
+ before(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_1_1_0());
pushFollow(FOLLOW_2);
ruleComplexObject();
state._fsp--;
- after(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_2_0());
+ after(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_1_1_0());
}
@@ -15874,29 +15845,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__BasicInterpretation__ObjectsAssignment_2"
+ // $ANTLR end "rule__BasicInterpretation__ObjectsAssignment_1_1_1_1"
- // $ANTLR start "rule__BasicInterpretation__ValueAssignment_5"
- // InternalSolverLanguage.g:5149:1: rule__BasicInterpretation__ValueAssignment_5 : ( ruleTruthValue ) ;
- public final void rule__BasicInterpretation__ValueAssignment_5() throws RecognitionException {
+ // $ANTLR start "rule__BasicInterpretation__ValueAssignment_3"
+ // InternalSolverLanguage.g:5105:1: rule__BasicInterpretation__ValueAssignment_3 : ( ruleTruthValue ) ;
+ public final void rule__BasicInterpretation__ValueAssignment_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5153:1: ( ( ruleTruthValue ) )
- // InternalSolverLanguage.g:5154:2: ( ruleTruthValue )
+ // InternalSolverLanguage.g:5109:1: ( ( ruleTruthValue ) )
+ // InternalSolverLanguage.g:5110:2: ( ruleTruthValue )
{
- // InternalSolverLanguage.g:5154:2: ( ruleTruthValue )
- // InternalSolverLanguage.g:5155:3: ruleTruthValue
+ // InternalSolverLanguage.g:5110:2: ( ruleTruthValue )
+ // InternalSolverLanguage.g:5111:3: ruleTruthValue
{
- before(grammarAccess.getBasicInterpretationAccess().getValueTruthValueParserRuleCall_5_0());
+ before(grammarAccess.getBasicInterpretationAccess().getValueTruthValueParserRuleCall_3_0());
pushFollow(FOLLOW_2);
ruleTruthValue();
state._fsp--;
- after(grammarAccess.getBasicInterpretationAccess().getValueTruthValueParserRuleCall_5_0());
+ after(grammarAccess.getBasicInterpretationAccess().getValueTruthValueParserRuleCall_3_0());
}
@@ -15915,21 +15886,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__BasicInterpretation__ValueAssignment_5"
+ // $ANTLR end "rule__BasicInterpretation__ValueAssignment_3"
// $ANTLR start "rule__ModelSymbol__NameAssignment"
- // InternalSolverLanguage.g:5164:1: rule__ModelSymbol__NameAssignment : ( RULE_ID ) ;
+ // InternalSolverLanguage.g:5120:1: rule__ModelSymbol__NameAssignment : ( RULE_ID ) ;
public final void rule__ModelSymbol__NameAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5168:1: ( ( RULE_ID ) )
- // InternalSolverLanguage.g:5169:2: ( RULE_ID )
+ // InternalSolverLanguage.g:5124:1: ( ( RULE_ID ) )
+ // InternalSolverLanguage.g:5125:2: ( RULE_ID )
{
- // InternalSolverLanguage.g:5169:2: ( RULE_ID )
- // InternalSolverLanguage.g:5170:3: RULE_ID
+ // InternalSolverLanguage.g:5125:2: ( RULE_ID )
+ // InternalSolverLanguage.g:5126:3: RULE_ID
{
before(grammarAccess.getModelSymbolAccess().getNameIDTerminalRuleCall_0());
match(input,RULE_ID,FOLLOW_2);
@@ -15956,17 +15927,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__NamedObject__NameAssignment_1"
- // InternalSolverLanguage.g:5179:1: rule__NamedObject__NameAssignment_1 : ( RULE_ID ) ;
+ // InternalSolverLanguage.g:5135:1: rule__NamedObject__NameAssignment_1 : ( RULE_ID ) ;
public final void rule__NamedObject__NameAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5183:1: ( ( RULE_ID ) )
- // InternalSolverLanguage.g:5184:2: ( RULE_ID )
+ // InternalSolverLanguage.g:5139:1: ( ( RULE_ID ) )
+ // InternalSolverLanguage.g:5140:2: ( RULE_ID )
{
- // InternalSolverLanguage.g:5184:2: ( RULE_ID )
- // InternalSolverLanguage.g:5185:3: RULE_ID
+ // InternalSolverLanguage.g:5140:2: ( RULE_ID )
+ // InternalSolverLanguage.g:5141:3: RULE_ID
{
before(grammarAccess.getNamedObjectAccess().getNameIDTerminalRuleCall_1_0());
match(input,RULE_ID,FOLLOW_2);
@@ -15993,17 +15964,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnnamedObject__NameAssignment"
- // InternalSolverLanguage.g:5194:1: rule__UnnamedObject__NameAssignment : ( RULE_ID ) ;
+ // InternalSolverLanguage.g:5150:1: rule__UnnamedObject__NameAssignment : ( RULE_ID ) ;
public final void rule__UnnamedObject__NameAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5198:1: ( ( RULE_ID ) )
- // InternalSolverLanguage.g:5199:2: ( RULE_ID )
+ // InternalSolverLanguage.g:5154:1: ( ( RULE_ID ) )
+ // InternalSolverLanguage.g:5155:2: ( RULE_ID )
{
- // InternalSolverLanguage.g:5199:2: ( RULE_ID )
- // InternalSolverLanguage.g:5200:3: RULE_ID
+ // InternalSolverLanguage.g:5155:2: ( RULE_ID )
+ // InternalSolverLanguage.g:5156:3: RULE_ID
{
before(grammarAccess.getUnnamedObjectAccess().getNameIDTerminalRuleCall_0());
match(input,RULE_ID,FOLLOW_2);
@@ -16030,17 +16001,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BooleanObject__ValueAssignment"
- // InternalSolverLanguage.g:5209:1: rule__BooleanObject__ValueAssignment : ( ruleBooleanValue ) ;
+ // InternalSolverLanguage.g:5165:1: rule__BooleanObject__ValueAssignment : ( ruleBooleanValue ) ;
public final void rule__BooleanObject__ValueAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5213:1: ( ( ruleBooleanValue ) )
- // InternalSolverLanguage.g:5214:2: ( ruleBooleanValue )
+ // InternalSolverLanguage.g:5169:1: ( ( ruleBooleanValue ) )
+ // InternalSolverLanguage.g:5170:2: ( ruleBooleanValue )
{
- // InternalSolverLanguage.g:5214:2: ( ruleBooleanValue )
- // InternalSolverLanguage.g:5215:3: ruleBooleanValue
+ // InternalSolverLanguage.g:5170:2: ( ruleBooleanValue )
+ // InternalSolverLanguage.g:5171:3: ruleBooleanValue
{
before(grammarAccess.getBooleanObjectAccess().getValueBooleanValueParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -16071,17 +16042,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__IntObject__ValueAssignment"
- // InternalSolverLanguage.g:5224:1: rule__IntObject__ValueAssignment : ( ruleINTLiteral ) ;
+ // InternalSolverLanguage.g:5180:1: rule__IntObject__ValueAssignment : ( ruleINTLiteral ) ;
public final void rule__IntObject__ValueAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5228:1: ( ( ruleINTLiteral ) )
- // InternalSolverLanguage.g:5229:2: ( ruleINTLiteral )
+ // InternalSolverLanguage.g:5184:1: ( ( ruleINTLiteral ) )
+ // InternalSolverLanguage.g:5185:2: ( ruleINTLiteral )
{
- // InternalSolverLanguage.g:5229:2: ( ruleINTLiteral )
- // InternalSolverLanguage.g:5230:3: ruleINTLiteral
+ // InternalSolverLanguage.g:5185:2: ( ruleINTLiteral )
+ // InternalSolverLanguage.g:5186:3: ruleINTLiteral
{
before(grammarAccess.getIntObjectAccess().getValueINTLiteralParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -16112,17 +16083,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__RealObject__ValueAssignment"
- // InternalSolverLanguage.g:5239:1: rule__RealObject__ValueAssignment : ( ruleREALLiteral ) ;
+ // InternalSolverLanguage.g:5195:1: rule__RealObject__ValueAssignment : ( ruleREALLiteral ) ;
public final void rule__RealObject__ValueAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5243:1: ( ( ruleREALLiteral ) )
- // InternalSolverLanguage.g:5244:2: ( ruleREALLiteral )
+ // InternalSolverLanguage.g:5199:1: ( ( ruleREALLiteral ) )
+ // InternalSolverLanguage.g:5200:2: ( ruleREALLiteral )
{
- // InternalSolverLanguage.g:5244:2: ( ruleREALLiteral )
- // InternalSolverLanguage.g:5245:3: ruleREALLiteral
+ // InternalSolverLanguage.g:5200:2: ( ruleREALLiteral )
+ // InternalSolverLanguage.g:5201:3: ruleREALLiteral
{
before(grammarAccess.getRealObjectAccess().getValueREALLiteralParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -16153,17 +16124,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__StringObject__ValueAssignment"
- // InternalSolverLanguage.g:5254:1: rule__StringObject__ValueAssignment : ( RULE_STRING ) ;
+ // InternalSolverLanguage.g:5210:1: rule__StringObject__ValueAssignment : ( RULE_STRING ) ;
public final void rule__StringObject__ValueAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5258:1: ( ( RULE_STRING ) )
- // InternalSolverLanguage.g:5259:2: ( RULE_STRING )
+ // InternalSolverLanguage.g:5214:1: ( ( RULE_STRING ) )
+ // InternalSolverLanguage.g:5215:2: ( RULE_STRING )
{
- // InternalSolverLanguage.g:5259:2: ( RULE_STRING )
- // InternalSolverLanguage.g:5260:3: RULE_STRING
+ // InternalSolverLanguage.g:5215:2: ( RULE_STRING )
+ // InternalSolverLanguage.g:5216:3: RULE_STRING
{
before(grammarAccess.getStringObjectAccess().getValueSTRINGTerminalRuleCall_0());
match(input,RULE_STRING,FOLLOW_2);
@@ -16189,26 +16160,30 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR end "rule__StringObject__ValueAssignment"
- // $ANTLR start "rule__PredicateSymbol__SymbolAssignment_1"
- // InternalSolverLanguage.g:5269:1: rule__PredicateSymbol__SymbolAssignment_1 : ( ruleModelSymbol ) ;
- public final void rule__PredicateSymbol__SymbolAssignment_1() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__IsErrorAssignment_0"
+ // InternalSolverLanguage.g:5225:1: rule__Predicate__IsErrorAssignment_0 : ( ( 'error' ) ) ;
+ public final void rule__Predicate__IsErrorAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5273:1: ( ( ruleModelSymbol ) )
- // InternalSolverLanguage.g:5274:2: ( ruleModelSymbol )
+ // InternalSolverLanguage.g:5229:1: ( ( ( 'error' ) ) )
+ // InternalSolverLanguage.g:5230:2: ( ( 'error' ) )
{
- // InternalSolverLanguage.g:5274:2: ( ruleModelSymbol )
- // InternalSolverLanguage.g:5275:3: ruleModelSymbol
+ // InternalSolverLanguage.g:5230:2: ( ( 'error' ) )
+ // InternalSolverLanguage.g:5231:3: ( 'error' )
{
- before(grammarAccess.getPredicateSymbolAccess().getSymbolModelSymbolParserRuleCall_1_0());
- pushFollow(FOLLOW_2);
- ruleModelSymbol();
+ before(grammarAccess.getPredicateAccess().getIsErrorErrorKeyword_0_0());
+ // InternalSolverLanguage.g:5232:3: ( 'error' )
+ // InternalSolverLanguage.g:5233:4: 'error'
+ {
+ before(grammarAccess.getPredicateAccess().getIsErrorErrorKeyword_0_0());
+ match(input,16,FOLLOW_2);
+ after(grammarAccess.getPredicateAccess().getIsErrorErrorKeyword_0_0());
- state._fsp--;
+ }
- after(grammarAccess.getPredicateSymbolAccess().getSymbolModelSymbolParserRuleCall_1_0());
+ after(grammarAccess.getPredicateAccess().getIsErrorErrorKeyword_0_0());
}
@@ -16227,29 +16202,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__SymbolAssignment_1"
+ // $ANTLR end "rule__Predicate__IsErrorAssignment_0"
- // $ANTLR start "rule__PredicateSymbol__ParametersAssignment_3"
- // InternalSolverLanguage.g:5284:1: rule__PredicateSymbol__ParametersAssignment_3 : ( ruleParameter ) ;
- public final void rule__PredicateSymbol__ParametersAssignment_3() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__SymbolAssignment_1"
+ // InternalSolverLanguage.g:5244:1: rule__Predicate__SymbolAssignment_1 : ( ruleModelSymbol ) ;
+ public final void rule__Predicate__SymbolAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5288:1: ( ( ruleParameter ) )
- // InternalSolverLanguage.g:5289:2: ( ruleParameter )
+ // InternalSolverLanguage.g:5248:1: ( ( ruleModelSymbol ) )
+ // InternalSolverLanguage.g:5249:2: ( ruleModelSymbol )
{
- // InternalSolverLanguage.g:5289:2: ( ruleParameter )
- // InternalSolverLanguage.g:5290:3: ruleParameter
+ // InternalSolverLanguage.g:5249:2: ( ruleModelSymbol )
+ // InternalSolverLanguage.g:5250:3: ruleModelSymbol
{
- before(grammarAccess.getPredicateSymbolAccess().getParametersParameterParserRuleCall_3_0());
+ before(grammarAccess.getPredicateAccess().getSymbolModelSymbolParserRuleCall_1_0());
pushFollow(FOLLOW_2);
- ruleParameter();
+ ruleModelSymbol();
state._fsp--;
- after(grammarAccess.getPredicateSymbolAccess().getParametersParameterParserRuleCall_3_0());
+ after(grammarAccess.getPredicateAccess().getSymbolModelSymbolParserRuleCall_1_0());
}
@@ -16268,29 +16243,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__ParametersAssignment_3"
+ // $ANTLR end "rule__Predicate__SymbolAssignment_1"
- // $ANTLR start "rule__PredicateSymbol__BodiesAssignment_6_1_0"
- // InternalSolverLanguage.g:5299:1: rule__PredicateSymbol__BodiesAssignment_6_1_0 : ( rulePatternBody ) ;
- public final void rule__PredicateSymbol__BodiesAssignment_6_1_0() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__ParametersAssignment_2_1_0"
+ // InternalSolverLanguage.g:5259:1: rule__Predicate__ParametersAssignment_2_1_0 : ( ruleParameter ) ;
+ public final void rule__Predicate__ParametersAssignment_2_1_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5303:1: ( ( rulePatternBody ) )
- // InternalSolverLanguage.g:5304:2: ( rulePatternBody )
+ // InternalSolverLanguage.g:5263:1: ( ( ruleParameter ) )
+ // InternalSolverLanguage.g:5264:2: ( ruleParameter )
{
- // InternalSolverLanguage.g:5304:2: ( rulePatternBody )
- // InternalSolverLanguage.g:5305:3: rulePatternBody
+ // InternalSolverLanguage.g:5264:2: ( ruleParameter )
+ // InternalSolverLanguage.g:5265:3: ruleParameter
{
- before(grammarAccess.getPredicateSymbolAccess().getBodiesPatternBodyParserRuleCall_6_1_0_0());
+ before(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_0_0());
pushFollow(FOLLOW_2);
- rulePatternBody();
+ ruleParameter();
state._fsp--;
- after(grammarAccess.getPredicateSymbolAccess().getBodiesPatternBodyParserRuleCall_6_1_0_0());
+ after(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_0_0());
}
@@ -16309,66 +16284,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PredicateSymbol__BodiesAssignment_6_1_0"
+ // $ANTLR end "rule__Predicate__ParametersAssignment_2_1_0"
- // $ANTLR start "rule__PredicateSymbol__BodiesAssignment_6_1_1_1"
- // InternalSolverLanguage.g:5314:1: rule__PredicateSymbol__BodiesAssignment_6_1_1_1 : ( rulePatternBody ) ;
- public final void rule__PredicateSymbol__BodiesAssignment_6_1_1_1() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__ParametersAssignment_2_1_1_1"
+ // InternalSolverLanguage.g:5274:1: rule__Predicate__ParametersAssignment_2_1_1_1 : ( ruleParameter ) ;
+ public final void rule__Predicate__ParametersAssignment_2_1_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5318:1: ( ( rulePatternBody ) )
- // InternalSolverLanguage.g:5319:2: ( rulePatternBody )
+ // InternalSolverLanguage.g:5278:1: ( ( ruleParameter ) )
+ // InternalSolverLanguage.g:5279:2: ( ruleParameter )
{
- // InternalSolverLanguage.g:5319:2: ( rulePatternBody )
- // InternalSolverLanguage.g:5320:3: rulePatternBody
+ // InternalSolverLanguage.g:5279:2: ( ruleParameter )
+ // InternalSolverLanguage.g:5280:3: ruleParameter
{
- before(grammarAccess.getPredicateSymbolAccess().getBodiesPatternBodyParserRuleCall_6_1_1_1_0());
+ before(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_1_1_0());
pushFollow(FOLLOW_2);
- rulePatternBody();
+ ruleParameter();
state._fsp--;
- after(grammarAccess.getPredicateSymbolAccess().getBodiesPatternBodyParserRuleCall_6_1_1_1_0());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__PredicateSymbol__BodiesAssignment_6_1_1_1"
-
-
- // $ANTLR start "rule__ErrorPredicate__NameAssignment_2"
- // InternalSolverLanguage.g:5329:1: rule__ErrorPredicate__NameAssignment_2 : ( RULE_ID ) ;
- public final void rule__ErrorPredicate__NameAssignment_2() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:5333:1: ( ( RULE_ID ) )
- // InternalSolverLanguage.g:5334:2: ( RULE_ID )
- {
- // InternalSolverLanguage.g:5334:2: ( RULE_ID )
- // InternalSolverLanguage.g:5335:3: RULE_ID
- {
- before(grammarAccess.getErrorPredicateAccess().getNameIDTerminalRuleCall_2_0());
- match(input,RULE_ID,FOLLOW_2);
- after(grammarAccess.getErrorPredicateAccess().getNameIDTerminalRuleCall_2_0());
+ after(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_1_1_0());
}
@@ -16387,29 +16325,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__NameAssignment_2"
+ // $ANTLR end "rule__Predicate__ParametersAssignment_2_1_1_1"
- // $ANTLR start "rule__ErrorPredicate__ParametersAssignment_3_1"
- // InternalSolverLanguage.g:5344:1: rule__ErrorPredicate__ParametersAssignment_3_1 : ( ruleParameter ) ;
- public final void rule__ErrorPredicate__ParametersAssignment_3_1() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__BodiesAssignment_4_1_0"
+ // InternalSolverLanguage.g:5289:1: rule__Predicate__BodiesAssignment_4_1_0 : ( rulePatternBody ) ;
+ public final void rule__Predicate__BodiesAssignment_4_1_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5348:1: ( ( ruleParameter ) )
- // InternalSolverLanguage.g:5349:2: ( ruleParameter )
+ // InternalSolverLanguage.g:5293:1: ( ( rulePatternBody ) )
+ // InternalSolverLanguage.g:5294:2: ( rulePatternBody )
{
- // InternalSolverLanguage.g:5349:2: ( ruleParameter )
- // InternalSolverLanguage.g:5350:3: ruleParameter
+ // InternalSolverLanguage.g:5294:2: ( rulePatternBody )
+ // InternalSolverLanguage.g:5295:3: rulePatternBody
{
- before(grammarAccess.getErrorPredicateAccess().getParametersParameterParserRuleCall_3_1_0());
+ before(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_0_0());
pushFollow(FOLLOW_2);
- ruleParameter();
+ rulePatternBody();
state._fsp--;
- after(grammarAccess.getErrorPredicateAccess().getParametersParameterParserRuleCall_3_1_0());
+ after(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_0_0());
}
@@ -16428,29 +16366,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__ParametersAssignment_3_1"
+ // $ANTLR end "rule__Predicate__BodiesAssignment_4_1_0"
- // $ANTLR start "rule__ErrorPredicate__BodiesAssignment_5_1_0"
- // InternalSolverLanguage.g:5359:1: rule__ErrorPredicate__BodiesAssignment_5_1_0 : ( rulePatternBody ) ;
- public final void rule__ErrorPredicate__BodiesAssignment_5_1_0() throws RecognitionException {
+ // $ANTLR start "rule__Predicate__BodiesAssignment_4_1_1_1"
+ // InternalSolverLanguage.g:5304:1: rule__Predicate__BodiesAssignment_4_1_1_1 : ( rulePatternBody ) ;
+ public final void rule__Predicate__BodiesAssignment_4_1_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5363:1: ( ( rulePatternBody ) )
- // InternalSolverLanguage.g:5364:2: ( rulePatternBody )
+ // InternalSolverLanguage.g:5308:1: ( ( rulePatternBody ) )
+ // InternalSolverLanguage.g:5309:2: ( rulePatternBody )
{
- // InternalSolverLanguage.g:5364:2: ( rulePatternBody )
- // InternalSolverLanguage.g:5365:3: rulePatternBody
+ // InternalSolverLanguage.g:5309:2: ( rulePatternBody )
+ // InternalSolverLanguage.g:5310:3: rulePatternBody
{
- before(grammarAccess.getErrorPredicateAccess().getBodiesPatternBodyParserRuleCall_5_1_0_0());
+ before(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_1_1_0());
pushFollow(FOLLOW_2);
rulePatternBody();
state._fsp--;
- after(grammarAccess.getErrorPredicateAccess().getBodiesPatternBodyParserRuleCall_5_1_0_0());
+ after(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_1_1_0());
}
@@ -16469,29 +16407,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__BodiesAssignment_5_1_0"
+ // $ANTLR end "rule__Predicate__BodiesAssignment_4_1_1_1"
- // $ANTLR start "rule__ErrorPredicate__BodiesAssignment_5_1_1_1"
- // InternalSolverLanguage.g:5374:1: rule__ErrorPredicate__BodiesAssignment_5_1_1_1 : ( rulePatternBody ) ;
- public final void rule__ErrorPredicate__BodiesAssignment_5_1_1_1() throws RecognitionException {
+ // $ANTLR start "rule__Parameter__VariableAssignment_0"
+ // InternalSolverLanguage.g:5319:1: rule__Parameter__VariableAssignment_0 : ( ruleVariable ) ;
+ public final void rule__Parameter__VariableAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5378:1: ( ( rulePatternBody ) )
- // InternalSolverLanguage.g:5379:2: ( rulePatternBody )
+ // InternalSolverLanguage.g:5323:1: ( ( ruleVariable ) )
+ // InternalSolverLanguage.g:5324:2: ( ruleVariable )
{
- // InternalSolverLanguage.g:5379:2: ( rulePatternBody )
- // InternalSolverLanguage.g:5380:3: rulePatternBody
+ // InternalSolverLanguage.g:5324:2: ( ruleVariable )
+ // InternalSolverLanguage.g:5325:3: ruleVariable
{
- before(grammarAccess.getErrorPredicateAccess().getBodiesPatternBodyParserRuleCall_5_1_1_1_0());
+ before(grammarAccess.getParameterAccess().getVariableVariableParserRuleCall_0_0());
pushFollow(FOLLOW_2);
- rulePatternBody();
+ ruleVariable();
state._fsp--;
- after(grammarAccess.getErrorPredicateAccess().getBodiesPatternBodyParserRuleCall_5_1_1_1_0());
+ after(grammarAccess.getParameterAccess().getVariableVariableParserRuleCall_0_0());
}
@@ -16510,29 +16448,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ErrorPredicate__BodiesAssignment_5_1_1_1"
+ // $ANTLR end "rule__Parameter__VariableAssignment_0"
- // $ANTLR start "rule__Parameter__VariableAssignment_0"
- // InternalSolverLanguage.g:5389:1: rule__Parameter__VariableAssignment_0 : ( ruleVariable ) ;
- public final void rule__Parameter__VariableAssignment_0() throws RecognitionException {
+ // $ANTLR start "rule__Parameter__TypeAssignment_1_1"
+ // InternalSolverLanguage.g:5334:1: rule__Parameter__TypeAssignment_1_1 : ( ruleSymbol ) ;
+ public final void rule__Parameter__TypeAssignment_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5393:1: ( ( ruleVariable ) )
- // InternalSolverLanguage.g:5394:2: ( ruleVariable )
+ // InternalSolverLanguage.g:5338:1: ( ( ruleSymbol ) )
+ // InternalSolverLanguage.g:5339:2: ( ruleSymbol )
{
- // InternalSolverLanguage.g:5394:2: ( ruleVariable )
- // InternalSolverLanguage.g:5395:3: ruleVariable
+ // InternalSolverLanguage.g:5339:2: ( ruleSymbol )
+ // InternalSolverLanguage.g:5340:3: ruleSymbol
{
- before(grammarAccess.getParameterAccess().getVariableVariableParserRuleCall_0_0());
+ before(grammarAccess.getParameterAccess().getTypeSymbolParserRuleCall_1_1_0());
pushFollow(FOLLOW_2);
- ruleVariable();
+ ruleSymbol();
state._fsp--;
- after(grammarAccess.getParameterAccess().getVariableVariableParserRuleCall_0_0());
+ after(grammarAccess.getParameterAccess().getTypeSymbolParserRuleCall_1_1_0());
}
@@ -16551,29 +16489,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Parameter__VariableAssignment_0"
+ // $ANTLR end "rule__Parameter__TypeAssignment_1_1"
- // $ANTLR start "rule__Parameter__TypeAssignment_1_1"
- // InternalSolverLanguage.g:5404:1: rule__Parameter__TypeAssignment_1_1 : ( ruleSymbol ) ;
- public final void rule__Parameter__TypeAssignment_1_1() throws RecognitionException {
+ // $ANTLR start "rule__PatternBody__ConstraintsAssignment_1_1"
+ // InternalSolverLanguage.g:5349:1: rule__PatternBody__ConstraintsAssignment_1_1 : ( ruleConstraint ) ;
+ public final void rule__PatternBody__ConstraintsAssignment_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5408:1: ( ( ruleSymbol ) )
- // InternalSolverLanguage.g:5409:2: ( ruleSymbol )
+ // InternalSolverLanguage.g:5353:1: ( ( ruleConstraint ) )
+ // InternalSolverLanguage.g:5354:2: ( ruleConstraint )
{
- // InternalSolverLanguage.g:5409:2: ( ruleSymbol )
- // InternalSolverLanguage.g:5410:3: ruleSymbol
+ // InternalSolverLanguage.g:5354:2: ( ruleConstraint )
+ // InternalSolverLanguage.g:5355:3: ruleConstraint
{
- before(grammarAccess.getParameterAccess().getTypeSymbolParserRuleCall_1_1_0());
+ before(grammarAccess.getPatternBodyAccess().getConstraintsConstraintParserRuleCall_1_1_0());
pushFollow(FOLLOW_2);
- ruleSymbol();
+ ruleConstraint();
state._fsp--;
- after(grammarAccess.getParameterAccess().getTypeSymbolParserRuleCall_1_1_0());
+ after(grammarAccess.getPatternBodyAccess().getConstraintsConstraintParserRuleCall_1_1_0());
}
@@ -16592,29 +16530,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Parameter__TypeAssignment_1_1"
+ // $ANTLR end "rule__PatternBody__ConstraintsAssignment_1_1"
- // $ANTLR start "rule__PatternBody__ConstraintsAssignment_1_1"
- // InternalSolverLanguage.g:5419:1: rule__PatternBody__ConstraintsAssignment_1_1 : ( ruleConstraint ) ;
- public final void rule__PatternBody__ConstraintsAssignment_1_1() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__PolarityAssignment_0_0"
+ // InternalSolverLanguage.g:5364:1: rule__Constraint__PolarityAssignment_0_0 : ( rulePolarity ) ;
+ public final void rule__Constraint__PolarityAssignment_0_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5423:1: ( ( ruleConstraint ) )
- // InternalSolverLanguage.g:5424:2: ( ruleConstraint )
+ // InternalSolverLanguage.g:5368:1: ( ( rulePolarity ) )
+ // InternalSolverLanguage.g:5369:2: ( rulePolarity )
{
- // InternalSolverLanguage.g:5424:2: ( ruleConstraint )
- // InternalSolverLanguage.g:5425:3: ruleConstraint
+ // InternalSolverLanguage.g:5369:2: ( rulePolarity )
+ // InternalSolverLanguage.g:5370:3: rulePolarity
{
- before(grammarAccess.getPatternBodyAccess().getConstraintsConstraintParserRuleCall_1_1_0());
+ before(grammarAccess.getConstraintAccess().getPolarityPolarityParserRuleCall_0_0_0());
pushFollow(FOLLOW_2);
- ruleConstraint();
+ rulePolarity();
state._fsp--;
- after(grammarAccess.getPatternBodyAccess().getConstraintsConstraintParserRuleCall_1_1_0());
+ after(grammarAccess.getConstraintAccess().getPolarityPolarityParserRuleCall_0_0_0());
}
@@ -16633,29 +16571,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__PatternBody__ConstraintsAssignment_1_1"
+ // $ANTLR end "rule__Constraint__PolarityAssignment_0_0"
- // $ANTLR start "rule__Constraint__PolarityAssignment_0"
- // InternalSolverLanguage.g:5434:1: rule__Constraint__PolarityAssignment_0 : ( rulePolarity ) ;
- public final void rule__Constraint__PolarityAssignment_0() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__SymbolAssignment_0_1"
+ // InternalSolverLanguage.g:5379:1: rule__Constraint__SymbolAssignment_0_1 : ( ruleModelSymbol ) ;
+ public final void rule__Constraint__SymbolAssignment_0_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5438:1: ( ( rulePolarity ) )
- // InternalSolverLanguage.g:5439:2: ( rulePolarity )
+ // InternalSolverLanguage.g:5383:1: ( ( ruleModelSymbol ) )
+ // InternalSolverLanguage.g:5384:2: ( ruleModelSymbol )
{
- // InternalSolverLanguage.g:5439:2: ( rulePolarity )
- // InternalSolverLanguage.g:5440:3: rulePolarity
+ // InternalSolverLanguage.g:5384:2: ( ruleModelSymbol )
+ // InternalSolverLanguage.g:5385:3: ruleModelSymbol
{
- before(grammarAccess.getConstraintAccess().getPolarityPolarityParserRuleCall_0_0());
+ before(grammarAccess.getConstraintAccess().getSymbolModelSymbolParserRuleCall_0_1_0());
pushFollow(FOLLOW_2);
- rulePolarity();
+ ruleModelSymbol();
state._fsp--;
- after(grammarAccess.getConstraintAccess().getPolarityPolarityParserRuleCall_0_0());
+ after(grammarAccess.getConstraintAccess().getSymbolModelSymbolParserRuleCall_0_1_0());
}
@@ -16674,29 +16612,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__PolarityAssignment_0"
+ // $ANTLR end "rule__Constraint__SymbolAssignment_0_1"
- // $ANTLR start "rule__Constraint__SymbolAssignment_1"
- // InternalSolverLanguage.g:5449:1: rule__Constraint__SymbolAssignment_1 : ( ruleModelSymbol ) ;
- public final void rule__Constraint__SymbolAssignment_1() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__ParamsAssignment_0_2_1"
+ // InternalSolverLanguage.g:5394:1: rule__Constraint__ParamsAssignment_0_2_1 : ( ruleLiteral ) ;
+ public final void rule__Constraint__ParamsAssignment_0_2_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5453:1: ( ( ruleModelSymbol ) )
- // InternalSolverLanguage.g:5454:2: ( ruleModelSymbol )
+ // InternalSolverLanguage.g:5398:1: ( ( ruleLiteral ) )
+ // InternalSolverLanguage.g:5399:2: ( ruleLiteral )
{
- // InternalSolverLanguage.g:5454:2: ( ruleModelSymbol )
- // InternalSolverLanguage.g:5455:3: ruleModelSymbol
+ // InternalSolverLanguage.g:5399:2: ( ruleLiteral )
+ // InternalSolverLanguage.g:5400:3: ruleLiteral
{
- before(grammarAccess.getConstraintAccess().getSymbolModelSymbolParserRuleCall_1_0());
+ before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_1_0());
pushFollow(FOLLOW_2);
- ruleModelSymbol();
+ ruleLiteral();
state._fsp--;
- after(grammarAccess.getConstraintAccess().getSymbolModelSymbolParserRuleCall_1_0());
+ after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_1_0());
}
@@ -16715,29 +16653,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__SymbolAssignment_1"
+ // $ANTLR end "rule__Constraint__ParamsAssignment_0_2_1"
- // $ANTLR start "rule__Constraint__ParamsAssignment_2_0_1"
- // InternalSolverLanguage.g:5464:1: rule__Constraint__ParamsAssignment_2_0_1 : ( ruleLiteral ) ;
- public final void rule__Constraint__ParamsAssignment_2_0_1() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__ParamsAssignment_0_2_2_1"
+ // InternalSolverLanguage.g:5409:1: rule__Constraint__ParamsAssignment_0_2_2_1 : ( ruleLiteral ) ;
+ public final void rule__Constraint__ParamsAssignment_0_2_2_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5468:1: ( ( ruleLiteral ) )
- // InternalSolverLanguage.g:5469:2: ( ruleLiteral )
+ // InternalSolverLanguage.g:5413:1: ( ( ruleLiteral ) )
+ // InternalSolverLanguage.g:5414:2: ( ruleLiteral )
{
- // InternalSolverLanguage.g:5469:2: ( ruleLiteral )
- // InternalSolverLanguage.g:5470:3: ruleLiteral
+ // InternalSolverLanguage.g:5414:2: ( ruleLiteral )
+ // InternalSolverLanguage.g:5415:3: ruleLiteral
{
- before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_0_1_0());
+ before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_2_1_0());
pushFollow(FOLLOW_2);
ruleLiteral();
state._fsp--;
- after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_0_1_0());
+ after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_2_1_0());
}
@@ -16756,29 +16694,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__ParamsAssignment_2_0_1"
+ // $ANTLR end "rule__Constraint__ParamsAssignment_0_2_2_1"
- // $ANTLR start "rule__Constraint__ClosureTypeAssignment_2_1_0"
- // InternalSolverLanguage.g:5479:1: rule__Constraint__ClosureTypeAssignment_2_1_0 : ( ruleClosureType ) ;
- public final void rule__Constraint__ClosureTypeAssignment_2_1_0() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__ClosureTypeAssignment_1_0"
+ // InternalSolverLanguage.g:5424:1: rule__Constraint__ClosureTypeAssignment_1_0 : ( ruleClosureType ) ;
+ public final void rule__Constraint__ClosureTypeAssignment_1_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5483:1: ( ( ruleClosureType ) )
- // InternalSolverLanguage.g:5484:2: ( ruleClosureType )
+ // InternalSolverLanguage.g:5428:1: ( ( ruleClosureType ) )
+ // InternalSolverLanguage.g:5429:2: ( ruleClosureType )
{
- // InternalSolverLanguage.g:5484:2: ( ruleClosureType )
- // InternalSolverLanguage.g:5485:3: ruleClosureType
+ // InternalSolverLanguage.g:5429:2: ( ruleClosureType )
+ // InternalSolverLanguage.g:5430:3: ruleClosureType
{
- before(grammarAccess.getConstraintAccess().getClosureTypeClosureTypeParserRuleCall_2_1_0_0());
+ before(grammarAccess.getConstraintAccess().getClosureTypeClosureTypeParserRuleCall_1_0_0());
pushFollow(FOLLOW_2);
ruleClosureType();
state._fsp--;
- after(grammarAccess.getConstraintAccess().getClosureTypeClosureTypeParserRuleCall_2_1_0_0());
+ after(grammarAccess.getConstraintAccess().getClosureTypeClosureTypeParserRuleCall_1_0_0());
}
@@ -16797,29 +16735,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__ClosureTypeAssignment_2_1_0"
+ // $ANTLR end "rule__Constraint__ClosureTypeAssignment_1_0"
- // $ANTLR start "rule__Constraint__ParamsAssignment_2_1_2"
- // InternalSolverLanguage.g:5494:1: rule__Constraint__ParamsAssignment_2_1_2 : ( ruleLiteral ) ;
- public final void rule__Constraint__ParamsAssignment_2_1_2() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__ParamsAssignment_1_2"
+ // InternalSolverLanguage.g:5439:1: rule__Constraint__ParamsAssignment_1_2 : ( ruleLiteral ) ;
+ public final void rule__Constraint__ParamsAssignment_1_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5498:1: ( ( ruleLiteral ) )
- // InternalSolverLanguage.g:5499:2: ( ruleLiteral )
+ // InternalSolverLanguage.g:5443:1: ( ( ruleLiteral ) )
+ // InternalSolverLanguage.g:5444:2: ( ruleLiteral )
{
- // InternalSolverLanguage.g:5499:2: ( ruleLiteral )
- // InternalSolverLanguage.g:5500:3: ruleLiteral
+ // InternalSolverLanguage.g:5444:2: ( ruleLiteral )
+ // InternalSolverLanguage.g:5445:3: ruleLiteral
{
- before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_1_2_0());
+ before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_2_0());
pushFollow(FOLLOW_2);
ruleLiteral();
state._fsp--;
- after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_1_2_0());
+ after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_2_0());
}
@@ -16838,29 +16776,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__ParamsAssignment_2_1_2"
+ // $ANTLR end "rule__Constraint__ParamsAssignment_1_2"
- // $ANTLR start "rule__Constraint__ParamsAssignment_2_1_3"
- // InternalSolverLanguage.g:5509:1: rule__Constraint__ParamsAssignment_2_1_3 : ( ruleLiteral ) ;
- public final void rule__Constraint__ParamsAssignment_2_1_3() throws RecognitionException {
+ // $ANTLR start "rule__Constraint__ParamsAssignment_1_3_1"
+ // InternalSolverLanguage.g:5454:1: rule__Constraint__ParamsAssignment_1_3_1 : ( ruleLiteral ) ;
+ public final void rule__Constraint__ParamsAssignment_1_3_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5513:1: ( ( ruleLiteral ) )
- // InternalSolverLanguage.g:5514:2: ( ruleLiteral )
+ // InternalSolverLanguage.g:5458:1: ( ( ruleLiteral ) )
+ // InternalSolverLanguage.g:5459:2: ( ruleLiteral )
{
- // InternalSolverLanguage.g:5514:2: ( ruleLiteral )
- // InternalSolverLanguage.g:5515:3: ruleLiteral
+ // InternalSolverLanguage.g:5459:2: ( ruleLiteral )
+ // InternalSolverLanguage.g:5460:3: ruleLiteral
{
- before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_1_3_0());
+ before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_3_1_0());
pushFollow(FOLLOW_2);
ruleLiteral();
state._fsp--;
- after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_1_3_0());
+ after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_3_1_0());
}
@@ -16879,21 +16817,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__Constraint__ParamsAssignment_2_1_3"
+ // $ANTLR end "rule__Constraint__ParamsAssignment_1_3_1"
// $ANTLR start "rule__Variable__NameAssignment"
- // InternalSolverLanguage.g:5524:1: rule__Variable__NameAssignment : ( RULE_ID ) ;
+ // InternalSolverLanguage.g:5469:1: rule__Variable__NameAssignment : ( RULE_ID ) ;
public final void rule__Variable__NameAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5528:1: ( ( RULE_ID ) )
- // InternalSolverLanguage.g:5529:2: ( RULE_ID )
+ // InternalSolverLanguage.g:5473:1: ( ( RULE_ID ) )
+ // InternalSolverLanguage.g:5474:2: ( RULE_ID )
{
- // InternalSolverLanguage.g:5529:2: ( RULE_ID )
- // InternalSolverLanguage.g:5530:3: RULE_ID
+ // InternalSolverLanguage.g:5474:2: ( RULE_ID )
+ // InternalSolverLanguage.g:5475:3: RULE_ID
{
before(grammarAccess.getVariableAccess().getNameIDTerminalRuleCall_0());
match(input,RULE_ID,FOLLOW_2);
@@ -16920,17 +16858,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AllInstances__SymbolAssignment_1"
- // InternalSolverLanguage.g:5539:1: rule__AllInstances__SymbolAssignment_1 : ( ruleSymbol ) ;
+ // InternalSolverLanguage.g:5484:1: rule__AllInstances__SymbolAssignment_1 : ( ruleSymbol ) ;
public final void rule__AllInstances__SymbolAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5543:1: ( ( ruleSymbol ) )
- // InternalSolverLanguage.g:5544:2: ( ruleSymbol )
+ // InternalSolverLanguage.g:5488:1: ( ( ruleSymbol ) )
+ // InternalSolverLanguage.g:5489:2: ( ruleSymbol )
{
- // InternalSolverLanguage.g:5544:2: ( ruleSymbol )
- // InternalSolverLanguage.g:5545:3: ruleSymbol
+ // InternalSolverLanguage.g:5489:2: ( ruleSymbol )
+ // InternalSolverLanguage.g:5490:3: ruleSymbol
{
before(grammarAccess.getAllInstancesAccess().getSymbolSymbolParserRuleCall_1_0());
pushFollow(FOLLOW_2);
@@ -16961,17 +16899,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DefaultInterpretation__InterpretationAssignment_1"
- // InternalSolverLanguage.g:5554:1: rule__DefaultInterpretation__InterpretationAssignment_1 : ( ruleBasicInterpretation ) ;
+ // InternalSolverLanguage.g:5499:1: rule__DefaultInterpretation__InterpretationAssignment_1 : ( ruleBasicInterpretation ) ;
public final void rule__DefaultInterpretation__InterpretationAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5558:1: ( ( ruleBasicInterpretation ) )
- // InternalSolverLanguage.g:5559:2: ( ruleBasicInterpretation )
+ // InternalSolverLanguage.g:5503:1: ( ( ruleBasicInterpretation ) )
+ // InternalSolverLanguage.g:5504:2: ( ruleBasicInterpretation )
{
- // InternalSolverLanguage.g:5559:2: ( ruleBasicInterpretation )
- // InternalSolverLanguage.g:5560:3: ruleBasicInterpretation
+ // InternalSolverLanguage.g:5504:2: ( ruleBasicInterpretation )
+ // InternalSolverLanguage.g:5505:3: ruleBasicInterpretation
{
before(grammarAccess.getDefaultInterpretationAccess().getInterpretationBasicInterpretationParserRuleCall_1_0());
pushFollow(FOLLOW_2);
@@ -17002,24 +16940,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__AbstractAssignment_0"
- // InternalSolverLanguage.g:5569:1: rule__ClassInterpretation__AbstractAssignment_0 : ( ( 'abstract' ) ) ;
+ // InternalSolverLanguage.g:5514:1: rule__ClassInterpretation__AbstractAssignment_0 : ( ( 'abstract' ) ) ;
public final void rule__ClassInterpretation__AbstractAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5573:1: ( ( ( 'abstract' ) ) )
- // InternalSolverLanguage.g:5574:2: ( ( 'abstract' ) )
+ // InternalSolverLanguage.g:5518:1: ( ( ( 'abstract' ) ) )
+ // InternalSolverLanguage.g:5519:2: ( ( 'abstract' ) )
{
- // InternalSolverLanguage.g:5574:2: ( ( 'abstract' ) )
- // InternalSolverLanguage.g:5575:3: ( 'abstract' )
+ // InternalSolverLanguage.g:5519:2: ( ( 'abstract' ) )
+ // InternalSolverLanguage.g:5520:3: ( 'abstract' )
{
before(grammarAccess.getClassInterpretationAccess().getAbstractAbstractKeyword_0_0());
- // InternalSolverLanguage.g:5576:3: ( 'abstract' )
- // InternalSolverLanguage.g:5577:4: 'abstract'
+ // InternalSolverLanguage.g:5521:3: ( 'abstract' )
+ // InternalSolverLanguage.g:5522:4: 'abstract'
{
before(grammarAccess.getClassInterpretationAccess().getAbstractAbstractKeyword_0_0());
- match(input,39,FOLLOW_2);
+ match(input,40,FOLLOW_2);
after(grammarAccess.getClassInterpretationAccess().getAbstractAbstractKeyword_0_0());
}
@@ -17047,17 +16985,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__SymbolAssignment_2"
- // InternalSolverLanguage.g:5588:1: rule__ClassInterpretation__SymbolAssignment_2 : ( ruleModelSymbol ) ;
+ // InternalSolverLanguage.g:5533:1: rule__ClassInterpretation__SymbolAssignment_2 : ( ruleModelSymbol ) ;
public final void rule__ClassInterpretation__SymbolAssignment_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5592:1: ( ( ruleModelSymbol ) )
- // InternalSolverLanguage.g:5593:2: ( ruleModelSymbol )
+ // InternalSolverLanguage.g:5537:1: ( ( ruleModelSymbol ) )
+ // InternalSolverLanguage.g:5538:2: ( ruleModelSymbol )
{
- // InternalSolverLanguage.g:5593:2: ( ruleModelSymbol )
- // InternalSolverLanguage.g:5594:3: ruleModelSymbol
+ // InternalSolverLanguage.g:5538:2: ( ruleModelSymbol )
+ // InternalSolverLanguage.g:5539:3: ruleModelSymbol
{
before(grammarAccess.getClassInterpretationAccess().getSymbolModelSymbolParserRuleCall_2_0());
pushFollow(FOLLOW_2);
@@ -17088,17 +17026,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__SupertypesAssignment_3_1"
- // InternalSolverLanguage.g:5603:1: rule__ClassInterpretation__SupertypesAssignment_3_1 : ( ruleModelSymbol ) ;
+ // InternalSolverLanguage.g:5548:1: rule__ClassInterpretation__SupertypesAssignment_3_1 : ( ruleModelSymbol ) ;
public final void rule__ClassInterpretation__SupertypesAssignment_3_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5607:1: ( ( ruleModelSymbol ) )
- // InternalSolverLanguage.g:5608:2: ( ruleModelSymbol )
+ // InternalSolverLanguage.g:5552:1: ( ( ruleModelSymbol ) )
+ // InternalSolverLanguage.g:5553:2: ( ruleModelSymbol )
{
- // InternalSolverLanguage.g:5608:2: ( ruleModelSymbol )
- // InternalSolverLanguage.g:5609:3: ruleModelSymbol
+ // InternalSolverLanguage.g:5553:2: ( ruleModelSymbol )
+ // InternalSolverLanguage.g:5554:3: ruleModelSymbol
{
before(grammarAccess.getClassInterpretationAccess().getSupertypesModelSymbolParserRuleCall_3_1_0());
pushFollow(FOLLOW_2);
@@ -17129,17 +17067,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassInterpretation__FieltAssignment_5"
- // InternalSolverLanguage.g:5618:1: rule__ClassInterpretation__FieltAssignment_5 : ( ruleFieldRelationInterpretation ) ;
+ // InternalSolverLanguage.g:5563:1: rule__ClassInterpretation__FieltAssignment_5 : ( ruleFieldRelationInterpretation ) ;
public final void rule__ClassInterpretation__FieltAssignment_5() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5622:1: ( ( ruleFieldRelationInterpretation ) )
- // InternalSolverLanguage.g:5623:2: ( ruleFieldRelationInterpretation )
+ // InternalSolverLanguage.g:5567:1: ( ( ruleFieldRelationInterpretation ) )
+ // InternalSolverLanguage.g:5568:2: ( ruleFieldRelationInterpretation )
{
- // InternalSolverLanguage.g:5623:2: ( ruleFieldRelationInterpretation )
- // InternalSolverLanguage.g:5624:3: ruleFieldRelationInterpretation
+ // InternalSolverLanguage.g:5568:2: ( ruleFieldRelationInterpretation )
+ // InternalSolverLanguage.g:5569:3: ruleFieldRelationInterpretation
{
before(grammarAccess.getClassInterpretationAccess().getFieltFieldRelationInterpretationParserRuleCall_5_0());
pushFollow(FOLLOW_2);
@@ -17170,17 +17108,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__EnumInterpretation__SymbolAssignment_1"
- // InternalSolverLanguage.g:5633:1: rule__EnumInterpretation__SymbolAssignment_1 : ( ruleModelSymbol ) ;
+ // InternalSolverLanguage.g:5578:1: rule__EnumInterpretation__SymbolAssignment_1 : ( ruleModelSymbol ) ;
public final void rule__EnumInterpretation__SymbolAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5637:1: ( ( ruleModelSymbol ) )
- // InternalSolverLanguage.g:5638:2: ( ruleModelSymbol )
+ // InternalSolverLanguage.g:5582:1: ( ( ruleModelSymbol ) )
+ // InternalSolverLanguage.g:5583:2: ( ruleModelSymbol )
{
- // InternalSolverLanguage.g:5638:2: ( ruleModelSymbol )
- // InternalSolverLanguage.g:5639:3: ruleModelSymbol
+ // InternalSolverLanguage.g:5583:2: ( ruleModelSymbol )
+ // InternalSolverLanguage.g:5584:3: ruleModelSymbol
{
before(grammarAccess.getEnumInterpretationAccess().getSymbolModelSymbolParserRuleCall_1_0());
pushFollow(FOLLOW_2);
@@ -17211,17 +17149,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__EnumInterpretation__ObjectsAssignment_3"
- // InternalSolverLanguage.g:5648:1: rule__EnumInterpretation__ObjectsAssignment_3 : ( ruleNamedObject ) ;
+ // InternalSolverLanguage.g:5593:1: rule__EnumInterpretation__ObjectsAssignment_3 : ( ruleNamedObject ) ;
public final void rule__EnumInterpretation__ObjectsAssignment_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5652:1: ( ( ruleNamedObject ) )
- // InternalSolverLanguage.g:5653:2: ( ruleNamedObject )
+ // InternalSolverLanguage.g:5597:1: ( ( ruleNamedObject ) )
+ // InternalSolverLanguage.g:5598:2: ( ruleNamedObject )
{
- // InternalSolverLanguage.g:5653:2: ( ruleNamedObject )
- // InternalSolverLanguage.g:5654:3: ruleNamedObject
+ // InternalSolverLanguage.g:5598:2: ( ruleNamedObject )
+ // InternalSolverLanguage.g:5599:3: ruleNamedObject
{
before(grammarAccess.getEnumInterpretationAccess().getObjectsNamedObjectParserRuleCall_3_0());
pushFollow(FOLLOW_2);
@@ -17252,24 +17190,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__FieldRelationInterpretation__ContainmentAssignment_0"
- // InternalSolverLanguage.g:5663:1: rule__FieldRelationInterpretation__ContainmentAssignment_0 : ( ( 'containment' ) ) ;
+ // InternalSolverLanguage.g:5608:1: rule__FieldRelationInterpretation__ContainmentAssignment_0 : ( ( 'containment' ) ) ;
public final void rule__FieldRelationInterpretation__ContainmentAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5667:1: ( ( ( 'containment' ) ) )
- // InternalSolverLanguage.g:5668:2: ( ( 'containment' ) )
+ // InternalSolverLanguage.g:5612:1: ( ( ( 'containment' ) ) )
+ // InternalSolverLanguage.g:5613:2: ( ( 'containment' ) )
{
- // InternalSolverLanguage.g:5668:2: ( ( 'containment' ) )
- // InternalSolverLanguage.g:5669:3: ( 'containment' )
+ // InternalSolverLanguage.g:5613:2: ( ( 'containment' ) )
+ // InternalSolverLanguage.g:5614:3: ( 'containment' )
{
before(grammarAccess.getFieldRelationInterpretationAccess().getContainmentContainmentKeyword_0_0());
- // InternalSolverLanguage.g:5670:3: ( 'containment' )
- // InternalSolverLanguage.g:5671:4: 'containment'
+ // InternalSolverLanguage.g:5615:3: ( 'containment' )
+ // InternalSolverLanguage.g:5616:4: 'containment'
{
before(grammarAccess.getFieldRelationInterpretationAccess().getContainmentContainmentKeyword_0_0());
- match(input,40,FOLLOW_2);
+ match(input,41,FOLLOW_2);
after(grammarAccess.getFieldRelationInterpretationAccess().getContainmentContainmentKeyword_0_0());
}
@@ -17297,17 +17235,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__FieldRelationInterpretation__SymbolAssignment_1"
- // InternalSolverLanguage.g:5682:1: rule__FieldRelationInterpretation__SymbolAssignment_1 : ( ruleModelSymbol ) ;
+ // InternalSolverLanguage.g:5627:1: rule__FieldRelationInterpretation__SymbolAssignment_1 : ( ruleModelSymbol ) ;
public final void rule__FieldRelationInterpretation__SymbolAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5686:1: ( ( ruleModelSymbol ) )
- // InternalSolverLanguage.g:5687:2: ( ruleModelSymbol )
+ // InternalSolverLanguage.g:5631:1: ( ( ruleModelSymbol ) )
+ // InternalSolverLanguage.g:5632:2: ( ruleModelSymbol )
{
- // InternalSolverLanguage.g:5687:2: ( ruleModelSymbol )
- // InternalSolverLanguage.g:5688:3: ruleModelSymbol
+ // InternalSolverLanguage.g:5632:2: ( ruleModelSymbol )
+ // InternalSolverLanguage.g:5633:3: ruleModelSymbol
{
before(grammarAccess.getFieldRelationInterpretationAccess().getSymbolModelSymbolParserRuleCall_1_0());
pushFollow(FOLLOW_2);
@@ -17338,17 +17276,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__FieldRelationInterpretation__MultiplicityAssignment_3"
- // InternalSolverLanguage.g:5697:1: rule__FieldRelationInterpretation__MultiplicityAssignment_3 : ( ruleMultiplicityDefinition ) ;
+ // InternalSolverLanguage.g:5642:1: rule__FieldRelationInterpretation__MultiplicityAssignment_3 : ( ruleMultiplicityDefinition ) ;
public final void rule__FieldRelationInterpretation__MultiplicityAssignment_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5701:1: ( ( ruleMultiplicityDefinition ) )
- // InternalSolverLanguage.g:5702:2: ( ruleMultiplicityDefinition )
+ // InternalSolverLanguage.g:5646:1: ( ( ruleMultiplicityDefinition ) )
+ // InternalSolverLanguage.g:5647:2: ( ruleMultiplicityDefinition )
{
- // InternalSolverLanguage.g:5702:2: ( ruleMultiplicityDefinition )
- // InternalSolverLanguage.g:5703:3: ruleMultiplicityDefinition
+ // InternalSolverLanguage.g:5647:2: ( ruleMultiplicityDefinition )
+ // InternalSolverLanguage.g:5648:3: ruleMultiplicityDefinition
{
before(grammarAccess.getFieldRelationInterpretationAccess().getMultiplicityMultiplicityDefinitionParserRuleCall_3_0());
pushFollow(FOLLOW_2);
@@ -17379,17 +17317,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__FieldRelationInterpretation__TargetAssignment_4"
- // InternalSolverLanguage.g:5712:1: rule__FieldRelationInterpretation__TargetAssignment_4 : ( ruleSymbol ) ;
+ // InternalSolverLanguage.g:5657:1: rule__FieldRelationInterpretation__TargetAssignment_4 : ( ruleSymbol ) ;
public final void rule__FieldRelationInterpretation__TargetAssignment_4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5716:1: ( ( ruleSymbol ) )
- // InternalSolverLanguage.g:5717:2: ( ruleSymbol )
+ // InternalSolverLanguage.g:5661:1: ( ( ruleSymbol ) )
+ // InternalSolverLanguage.g:5662:2: ( ruleSymbol )
{
- // InternalSolverLanguage.g:5717:2: ( ruleSymbol )
- // InternalSolverLanguage.g:5718:3: ruleSymbol
+ // InternalSolverLanguage.g:5662:2: ( ruleSymbol )
+ // InternalSolverLanguage.g:5663:3: ruleSymbol
{
before(grammarAccess.getFieldRelationInterpretationAccess().getTargetSymbolParserRuleCall_4_0());
pushFollow(FOLLOW_2);
@@ -17420,24 +17358,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__ContainmentAssignment_0"
- // InternalSolverLanguage.g:5727:1: rule__GlobalRelationInterpretation__ContainmentAssignment_0 : ( ( 'containment' ) ) ;
+ // InternalSolverLanguage.g:5672:1: rule__GlobalRelationInterpretation__ContainmentAssignment_0 : ( ( 'containment' ) ) ;
public final void rule__GlobalRelationInterpretation__ContainmentAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5731:1: ( ( ( 'containment' ) ) )
- // InternalSolverLanguage.g:5732:2: ( ( 'containment' ) )
+ // InternalSolverLanguage.g:5676:1: ( ( ( 'containment' ) ) )
+ // InternalSolverLanguage.g:5677:2: ( ( 'containment' ) )
{
- // InternalSolverLanguage.g:5732:2: ( ( 'containment' ) )
- // InternalSolverLanguage.g:5733:3: ( 'containment' )
+ // InternalSolverLanguage.g:5677:2: ( ( 'containment' ) )
+ // InternalSolverLanguage.g:5678:3: ( 'containment' )
{
before(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentContainmentKeyword_0_0());
- // InternalSolverLanguage.g:5734:3: ( 'containment' )
- // InternalSolverLanguage.g:5735:4: 'containment'
+ // InternalSolverLanguage.g:5679:3: ( 'containment' )
+ // InternalSolverLanguage.g:5680:4: 'containment'
{
before(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentContainmentKeyword_0_0());
- match(input,40,FOLLOW_2);
+ match(input,41,FOLLOW_2);
after(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentContainmentKeyword_0_0());
}
@@ -17465,17 +17403,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__SymbolAssignment_2"
- // InternalSolverLanguage.g:5746:1: rule__GlobalRelationInterpretation__SymbolAssignment_2 : ( ruleModelSymbol ) ;
+ // InternalSolverLanguage.g:5691:1: rule__GlobalRelationInterpretation__SymbolAssignment_2 : ( ruleModelSymbol ) ;
public final void rule__GlobalRelationInterpretation__SymbolAssignment_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5750:1: ( ( ruleModelSymbol ) )
- // InternalSolverLanguage.g:5751:2: ( ruleModelSymbol )
+ // InternalSolverLanguage.g:5695:1: ( ( ruleModelSymbol ) )
+ // InternalSolverLanguage.g:5696:2: ( ruleModelSymbol )
{
- // InternalSolverLanguage.g:5751:2: ( ruleModelSymbol )
- // InternalSolverLanguage.g:5752:3: ruleModelSymbol
+ // InternalSolverLanguage.g:5696:2: ( ruleModelSymbol )
+ // InternalSolverLanguage.g:5697:3: ruleModelSymbol
{
before(grammarAccess.getGlobalRelationInterpretationAccess().getSymbolModelSymbolParserRuleCall_2_0());
pushFollow(FOLLOW_2);
@@ -17506,17 +17444,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4"
- // InternalSolverLanguage.g:5761:1: rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 : ( ruleMultiplicityDefinition ) ;
+ // InternalSolverLanguage.g:5706:1: rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 : ( ruleMultiplicityDefinition ) ;
public final void rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5765:1: ( ( ruleMultiplicityDefinition ) )
- // InternalSolverLanguage.g:5766:2: ( ruleMultiplicityDefinition )
+ // InternalSolverLanguage.g:5710:1: ( ( ruleMultiplicityDefinition ) )
+ // InternalSolverLanguage.g:5711:2: ( ruleMultiplicityDefinition )
{
- // InternalSolverLanguage.g:5766:2: ( ruleMultiplicityDefinition )
- // InternalSolverLanguage.g:5767:3: ruleMultiplicityDefinition
+ // InternalSolverLanguage.g:5711:2: ( ruleMultiplicityDefinition )
+ // InternalSolverLanguage.g:5712:3: ruleMultiplicityDefinition
{
before(grammarAccess.getGlobalRelationInterpretationAccess().getSourceMultiplicityMultiplicityDefinitionParserRuleCall_4_0());
pushFollow(FOLLOW_2);
@@ -17547,17 +17485,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__SourceAssignment_5"
- // InternalSolverLanguage.g:5776:1: rule__GlobalRelationInterpretation__SourceAssignment_5 : ( ruleSymbol ) ;
+ // InternalSolverLanguage.g:5721:1: rule__GlobalRelationInterpretation__SourceAssignment_5 : ( ruleSymbol ) ;
public final void rule__GlobalRelationInterpretation__SourceAssignment_5() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5780:1: ( ( ruleSymbol ) )
- // InternalSolverLanguage.g:5781:2: ( ruleSymbol )
+ // InternalSolverLanguage.g:5725:1: ( ( ruleSymbol ) )
+ // InternalSolverLanguage.g:5726:2: ( ruleSymbol )
{
- // InternalSolverLanguage.g:5781:2: ( ruleSymbol )
- // InternalSolverLanguage.g:5782:3: ruleSymbol
+ // InternalSolverLanguage.g:5726:2: ( ruleSymbol )
+ // InternalSolverLanguage.g:5727:3: ruleSymbol
{
before(grammarAccess.getGlobalRelationInterpretationAccess().getSourceSymbolParserRuleCall_5_0());
pushFollow(FOLLOW_2);
@@ -17588,17 +17526,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6"
- // InternalSolverLanguage.g:5791:1: rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 : ( ruleMultiplicityDefinition ) ;
+ // InternalSolverLanguage.g:5736:1: rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 : ( ruleMultiplicityDefinition ) ;
public final void rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5795:1: ( ( ruleMultiplicityDefinition ) )
- // InternalSolverLanguage.g:5796:2: ( ruleMultiplicityDefinition )
+ // InternalSolverLanguage.g:5740:1: ( ( ruleMultiplicityDefinition ) )
+ // InternalSolverLanguage.g:5741:2: ( ruleMultiplicityDefinition )
{
- // InternalSolverLanguage.g:5796:2: ( ruleMultiplicityDefinition )
- // InternalSolverLanguage.g:5797:3: ruleMultiplicityDefinition
+ // InternalSolverLanguage.g:5741:2: ( ruleMultiplicityDefinition )
+ // InternalSolverLanguage.g:5742:3: ruleMultiplicityDefinition
{
before(grammarAccess.getGlobalRelationInterpretationAccess().getTargetMultiplicityMultiplicityDefinitionParserRuleCall_6_0());
pushFollow(FOLLOW_2);
@@ -17629,17 +17567,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__GlobalRelationInterpretation__TargetAssignment_7"
- // InternalSolverLanguage.g:5806:1: rule__GlobalRelationInterpretation__TargetAssignment_7 : ( ruleSymbol ) ;
+ // InternalSolverLanguage.g:5751:1: rule__GlobalRelationInterpretation__TargetAssignment_7 : ( ruleSymbol ) ;
public final void rule__GlobalRelationInterpretation__TargetAssignment_7() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5810:1: ( ( ruleSymbol ) )
- // InternalSolverLanguage.g:5811:2: ( ruleSymbol )
+ // InternalSolverLanguage.g:5755:1: ( ( ruleSymbol ) )
+ // InternalSolverLanguage.g:5756:2: ( ruleSymbol )
{
- // InternalSolverLanguage.g:5811:2: ( ruleSymbol )
- // InternalSolverLanguage.g:5812:3: ruleSymbol
+ // InternalSolverLanguage.g:5756:2: ( ruleSymbol )
+ // InternalSolverLanguage.g:5757:3: ruleSymbol
{
before(grammarAccess.getGlobalRelationInterpretationAccess().getTargetSymbolParserRuleCall_7_0());
pushFollow(FOLLOW_2);
@@ -17670,17 +17608,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicityDefinition__LowerAssignment_0"
- // InternalSolverLanguage.g:5821:1: rule__MultiplicityDefinition__LowerAssignment_0 : ( RULE_INT ) ;
+ // InternalSolverLanguage.g:5766:1: rule__MultiplicityDefinition__LowerAssignment_0 : ( RULE_INT ) ;
public final void rule__MultiplicityDefinition__LowerAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5825:1: ( ( RULE_INT ) )
- // InternalSolverLanguage.g:5826:2: ( RULE_INT )
+ // InternalSolverLanguage.g:5770:1: ( ( RULE_INT ) )
+ // InternalSolverLanguage.g:5771:2: ( RULE_INT )
{
- // InternalSolverLanguage.g:5826:2: ( RULE_INT )
- // InternalSolverLanguage.g:5827:3: RULE_INT
+ // InternalSolverLanguage.g:5771:2: ( RULE_INT )
+ // InternalSolverLanguage.g:5772:3: RULE_INT
{
before(grammarAccess.getMultiplicityDefinitionAccess().getLowerINTTerminalRuleCall_0_0());
match(input,RULE_INT,FOLLOW_2);
@@ -17707,17 +17645,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicityDefinition__UpperAssignment_2_0"
- // InternalSolverLanguage.g:5836:1: rule__MultiplicityDefinition__UpperAssignment_2_0 : ( RULE_INT ) ;
+ // InternalSolverLanguage.g:5781:1: rule__MultiplicityDefinition__UpperAssignment_2_0 : ( RULE_INT ) ;
public final void rule__MultiplicityDefinition__UpperAssignment_2_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5840:1: ( ( RULE_INT ) )
- // InternalSolverLanguage.g:5841:2: ( RULE_INT )
+ // InternalSolverLanguage.g:5785:1: ( ( RULE_INT ) )
+ // InternalSolverLanguage.g:5786:2: ( RULE_INT )
{
- // InternalSolverLanguage.g:5841:2: ( RULE_INT )
- // InternalSolverLanguage.g:5842:3: RULE_INT
+ // InternalSolverLanguage.g:5786:2: ( RULE_INT )
+ // InternalSolverLanguage.g:5787:3: RULE_INT
{
before(grammarAccess.getMultiplicityDefinitionAccess().getUpperINTTerminalRuleCall_2_0_0());
match(input,RULE_INT,FOLLOW_2);
@@ -17744,24 +17682,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1"
- // InternalSolverLanguage.g:5851:1: rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 : ( ( '*' ) ) ;
+ // InternalSolverLanguage.g:5796:1: rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 : ( ( '*' ) ) ;
public final void rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5855:1: ( ( ( '*' ) ) )
- // InternalSolverLanguage.g:5856:2: ( ( '*' ) )
+ // InternalSolverLanguage.g:5800:1: ( ( ( '*' ) ) )
+ // InternalSolverLanguage.g:5801:2: ( ( '*' ) )
{
- // InternalSolverLanguage.g:5856:2: ( ( '*' ) )
- // InternalSolverLanguage.g:5857:3: ( '*' )
+ // InternalSolverLanguage.g:5801:2: ( ( '*' ) )
+ // InternalSolverLanguage.g:5802:3: ( '*' )
{
before(grammarAccess.getMultiplicityDefinitionAccess().getUnlimitedUpperAsteriskKeyword_2_1_0());
- // InternalSolverLanguage.g:5858:3: ( '*' )
- // InternalSolverLanguage.g:5859:4: '*'
+ // InternalSolverLanguage.g:5803:3: ( '*' )
+ // InternalSolverLanguage.g:5804:4: '*'
{
before(grammarAccess.getMultiplicityDefinitionAccess().getUnlimitedUpperAsteriskKeyword_2_1_0());
- match(input,30,FOLLOW_2);
+ match(input,31,FOLLOW_2);
after(grammarAccess.getMultiplicityDefinitionAccess().getUnlimitedUpperAsteriskKeyword_2_1_0());
}
@@ -17790,53 +17728,96 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// Delegated rules
+ protected DFA2 dfa2 = new DFA2(this);
+ static final String dfa_1s = "\11\uffff";
+ static final String dfa_2s = "\1\5\1\21\2\uffff\1\4\2\21\1\4\1\21";
+ static final String dfa_3s = "\1\51\1\34\2\uffff\1\37\1\24\1\34\1\37\1\24";
+ static final String dfa_4s = "\2\uffff\1\1\1\2\5\uffff";
+ static final String dfa_5s = "\11\uffff}>";
+ static final String[] dfa_6s = {
+ "\1\1\12\uffff\1\3\4\uffff\6\2\5\uffff\2\2\3\uffff\2\2\1\uffff\2\2",
+ "\1\2\1\4\11\uffff\1\3",
+ "",
+ "",
+ "\1\2\1\5\1\2\4\uffff\3\2\3\uffff\1\2\1\uffff\1\6\7\uffff\1\2\3\uffff\1\2",
+ "\1\3\1\uffff\1\6\1\7",
+ "\1\2\12\uffff\1\3",
+ "\1\2\1\10\1\2\4\uffff\3\2\3\uffff\1\2\11\uffff\1\2\3\uffff\1\2",
+ "\1\3\1\uffff\1\6\1\7"
+ };
+
+ static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s);
+ static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s);
+ static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s);
+ static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s);
+ static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s);
+ static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s);
+
+ class DFA2 extends DFA {
+
+ public DFA2(BaseRecognizer recognizer) {
+ this.recognizer = recognizer;
+ this.decisionNumber = 2;
+ this.eot = dfa_1;
+ this.eof = dfa_1;
+ this.min = dfa_2;
+ this.max = dfa_3;
+ this.accept = dfa_4;
+ this.special = dfa_5;
+ this.transition = dfa_6;
+ }
+ public String getDescription() {
+ return "1152:1: rule__Statement__Alternatives : ( ( ruleInterpretation ) | ( rulePredicate ) );";
+ }
+ }
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[]{0x000001908BF10022L});
- public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000020002022L});
+ public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000036307E10022L});
+ public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x00000000C0002022L});
public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000001000L});
public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000800L});
public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000008000L});
public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000010000L});
- public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000020000L});
- public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x00000000440C3870L});
- public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000044083872L});
- public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000019800L});
- public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000040020L});
- public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000000022L});
- public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000020003820L});
- public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000010000000L});
- public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000010000002L});
- public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x000001908BF10020L});
- public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000020020L});
- public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000003F00020L});
- public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000020000000L});
- public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000020002000L});
- public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000020002020L});
- public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000060020000L});
- public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000004043870L});
- public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000004003872L});
- public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000004003870L});
- public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000000040000L});
- public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000040000000L});
- public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000044083870L});
- public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000100000000L});
- public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000A00000000L});
- public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000010400000000L});
- public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000010000000002L});
- public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000200000000L});
- public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000400000000L});
- public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000004000002L});
- public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000003F00030L});
- public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000002000000000L});
- public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000004000000000L});
- public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000040000010L});
+ public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000060000L});
+ public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000019800L});
+ public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x00000000880A3870L});
+ public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000100000L});
+ public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000100002L});
+ public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000088023870L});
+ public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000008000000L});
+ public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000036307E10020L});
+ public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000010040000L});
+ public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x00000000C0003820L});
+ public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000080020L});
+ public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000020000000L});
+ public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000020000002L});
+ public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000000020000L});
+ public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000007E00020L});
+ public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000040000000L});
+ public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000040002000L});
+ public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000040002020L});
+ public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000000040000L});
+ public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000008183870L});
+ public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000008003870L});
+ public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000080000000L});
+ public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x00000000C0002020L});
+ public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000010200000000L});
+ public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000001400000000L});
+ public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000020800000020L});
+ public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000020000000022L});
+ public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000000022L});
+ public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000400000000L});
+ public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000800000000L});
+ public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000008000002L});
+ public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000020000000020L});
+ public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000007E00030L});
+ public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000036307E00020L});
+ public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000008000000000L});
+ public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000000080000010L});
}
\ No newline at end of file
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 ce4d4468..776817bc 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
@@ -50,22 +50,16 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr
public void completeStringObject_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completePredicateSymbol_Symbol(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completePredicateSymbol_Parameters(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completePredicateSymbol_Bodies(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ public void completePredicate_IsError(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
}
- public void completeErrorPredicate_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completePredicate_Symbol(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeErrorPredicate_Parameters(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completePredicate_Parameters(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeErrorPredicate_Bodies(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completePredicate_Bodies(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeParameter_Variable(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
@@ -243,12 +237,6 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr
public void complete_Predicate(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
- public void complete_PredicateSymbol(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_ErrorPredicate(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
public void complete_Parameter(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
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 9b26faa3..c18e4184 100644
--- a/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.ecore
+++ b/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.ecore
@@ -32,7 +32,7 @@
-
+
@@ -53,18 +53,14 @@
+
+
-
-
-
-
-
-
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 c593e886..1da7a172 100644
--- a/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.genmodel
+++ b/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.genmodel
@@ -52,15 +52,11 @@
+
+
-
-
-
-
-
-
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 20f3e983..c999caec 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/internal/InternalSolverLanguage.g b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguage.g
index afd73c2d..501e2e59 100644
--- 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
@@ -410,43 +410,72 @@ ruleBasicInterpretation returns [EObject current=null]
}
)
)
- otherlv_1='('
- {
- newLeafNode(otherlv_1, grammarAccess.getBasicInterpretationAccess().getLeftParenthesisKeyword_1());
- }
(
+ otherlv_1='('
+ {
+ newLeafNode(otherlv_1, grammarAccess.getBasicInterpretationAccess().getLeftParenthesisKeyword_1_0());
+ }
(
- {
- newCompositeNode(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_2_0());
- }
- lv_objects_2_0=ruleComplexObject
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getBasicInterpretationRule());
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_0_0());
+ }
+ lv_objects_2_0=ruleComplexObject
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getBasicInterpretationRule());
+ }
+ add(
+ $current,
+ "objects",
+ lv_objects_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ComplexObject");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_3=','
+ {
+ newLeafNode(otherlv_3, grammarAccess.getBasicInterpretationAccess().getCommaKeyword_1_1_1_0());
}
- add(
- $current,
- "objects",
- lv_objects_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ComplexObject");
- afterParserOrEnumRuleCall();
- }
- )
- )*
- otherlv_3=')'
- {
- newLeafNode(otherlv_3, grammarAccess.getBasicInterpretationAccess().getRightParenthesisKeyword_3());
- }
- otherlv_4=':'
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_1_1_0());
+ }
+ lv_objects_4_0=ruleComplexObject
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getBasicInterpretationRule());
+ }
+ add(
+ $current,
+ "objects",
+ lv_objects_4_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ComplexObject");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )?
+ otherlv_5=')'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getBasicInterpretationAccess().getRightParenthesisKeyword_1_2());
+ }
+ )?
+ otherlv_6=':'
{
- newLeafNode(otherlv_4, grammarAccess.getBasicInterpretationAccess().getColonKeyword_4());
+ newLeafNode(otherlv_6, grammarAccess.getBasicInterpretationAccess().getColonKeyword_2());
}
(
(
{
- newCompositeNode(grammarAccess.getBasicInterpretationAccess().getValueTruthValueParserRuleCall_5_0());
+ newCompositeNode(grammarAccess.getBasicInterpretationAccess().getValueTruthValueParserRuleCall_3_0());
}
- lv_value_5_0=ruleTruthValue
+ lv_value_7_0=ruleTruthValue
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getBasicInterpretationRule());
@@ -454,7 +483,7 @@ ruleBasicInterpretation returns [EObject current=null]
set(
$current,
"value",
- lv_value_5_0,
+ lv_value_7_0,
"org.eclipse.viatra.solver.language.SolverLanguage.TruthValue");
afterParserOrEnumRuleCall();
}
@@ -1196,279 +1225,144 @@ rulePredicate returns [EObject current=null]
leaveRule();
}:
(
- {
- newCompositeNode(grammarAccess.getPredicateAccess().getPredicateSymbolParserRuleCall_0());
- }
- this_PredicateSymbol_0=rulePredicateSymbol
- {
- $current = $this_PredicateSymbol_0.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getPredicateAccess().getErrorPredicateParserRuleCall_1());
- }
- this_ErrorPredicate_1=ruleErrorPredicate
- {
- $current = $this_ErrorPredicate_1.current;
- afterParserOrEnumRuleCall();
- }
- )
-;
-
-// Entry rule entryRulePredicateSymbol
-entryRulePredicateSymbol returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getPredicateSymbolRule()); }
- iv_rulePredicateSymbol=rulePredicateSymbol
- { $current=$iv_rulePredicateSymbol.current; }
- EOF;
-
-// Rule PredicateSymbol
-rulePredicateSymbol returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- otherlv_0='predicate'
- {
- newLeafNode(otherlv_0, grammarAccess.getPredicateSymbolAccess().getPredicateKeyword_0());
- }
(
(
+ lv_isError_0_0='error'
{
- newCompositeNode(grammarAccess.getPredicateSymbolAccess().getSymbolModelSymbolParserRuleCall_1_0());
+ newLeafNode(lv_isError_0_0, grammarAccess.getPredicateAccess().getIsErrorErrorKeyword_0_0());
}
- lv_symbol_1_0=ruleModelSymbol
{
if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getPredicateSymbolRule());
+ $current = createModelElement(grammarAccess.getPredicateRule());
}
- set(
- $current,
- "symbol",
- lv_symbol_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ModelSymbol");
- afterParserOrEnumRuleCall();
+ setWithLastConsumed($current, "isError", true, "error");
}
)
- )
- otherlv_2='('
- {
- newLeafNode(otherlv_2, grammarAccess.getPredicateSymbolAccess().getLeftParenthesisKeyword_2());
- }
+ )?
(
(
{
- newCompositeNode(grammarAccess.getPredicateSymbolAccess().getParametersParameterParserRuleCall_3_0());
+ newCompositeNode(grammarAccess.getPredicateAccess().getSymbolModelSymbolParserRuleCall_1_0());
}
- lv_parameters_3_0=ruleParameter
+ lv_symbol_1_0=ruleModelSymbol
{
if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getPredicateSymbolRule());
+ $current = createModelElementForParent(grammarAccess.getPredicateRule());
}
- add(
+ set(
$current,
- "parameters",
- lv_parameters_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Parameter");
+ "symbol",
+ lv_symbol_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ModelSymbol");
afterParserOrEnumRuleCall();
}
)
- )*
- otherlv_4=')'
- {
- newLeafNode(otherlv_4, grammarAccess.getPredicateSymbolAccess().getRightParenthesisKeyword_4());
- }
- otherlv_5=':'
- {
- newLeafNode(otherlv_5, grammarAccess.getPredicateSymbolAccess().getColonKeyword_5());
- }
+ )
(
- otherlv_6='false'
+ otherlv_2='('
{
- newLeafNode(otherlv_6, grammarAccess.getPredicateSymbolAccess().getFalseKeyword_6_0());
+ newLeafNode(otherlv_2, grammarAccess.getPredicateAccess().getLeftParenthesisKeyword_2_0());
}
- |
(
(
(
{
- newCompositeNode(grammarAccess.getPredicateSymbolAccess().getBodiesPatternBodyParserRuleCall_6_1_0_0());
+ newCompositeNode(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_0_0());
}
- lv_bodies_7_0=rulePatternBody
+ lv_parameters_3_0=ruleParameter
{
if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getPredicateSymbolRule());
+ $current = createModelElementForParent(grammarAccess.getPredicateRule());
}
add(
$current,
- "bodies",
- lv_bodies_7_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.PatternBody");
+ "parameters",
+ lv_parameters_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Parameter");
afterParserOrEnumRuleCall();
}
)
)
(
- otherlv_8='|'
+ otherlv_4=','
{
- newLeafNode(otherlv_8, grammarAccess.getPredicateSymbolAccess().getVerticalLineKeyword_6_1_1_0());
+ newLeafNode(otherlv_4, grammarAccess.getPredicateAccess().getCommaKeyword_2_1_1_0());
}
(
(
{
- newCompositeNode(grammarAccess.getPredicateSymbolAccess().getBodiesPatternBodyParserRuleCall_6_1_1_1_0());
+ newCompositeNode(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_1_1_0());
}
- lv_bodies_9_0=rulePatternBody
+ lv_parameters_5_0=ruleParameter
{
if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getPredicateSymbolRule());
+ $current = createModelElementForParent(grammarAccess.getPredicateRule());
}
add(
$current,
- "bodies",
- lv_bodies_9_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.PatternBody");
+ "parameters",
+ lv_parameters_5_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Parameter");
afterParserOrEnumRuleCall();
}
)
)
)*
- )
- )
- otherlv_10='.'
- {
- newLeafNode(otherlv_10, grammarAccess.getPredicateSymbolAccess().getFullStopKeyword_7());
- }
- )
-;
-
-// Entry rule entryRuleErrorPredicate
-entryRuleErrorPredicate returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getErrorPredicateRule()); }
- iv_ruleErrorPredicate=ruleErrorPredicate
- { $current=$iv_ruleErrorPredicate.current; }
- EOF;
-
-// Rule ErrorPredicate
-ruleErrorPredicate returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
+ )?
+ otherlv_6=')'
{
- $current = forceCreateModelElement(
- grammarAccess.getErrorPredicateAccess().getErrorPredicateAction_0(),
- $current);
+ newLeafNode(otherlv_6, grammarAccess.getPredicateAccess().getRightParenthesisKeyword_2_2());
}
- )
- otherlv_1='error'
- {
- newLeafNode(otherlv_1, grammarAccess.getErrorPredicateAccess().getErrorKeyword_1());
- }
- (
- (
- lv_name_2_0=RULE_ID
- {
- newLeafNode(lv_name_2_0, grammarAccess.getErrorPredicateAccess().getNameIDTerminalRuleCall_2_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getErrorPredicateRule());
- }
- setWithLastConsumed(
- $current,
- "name",
- lv_name_2_0,
- "org.eclipse.xtext.common.Terminals.ID");
- }
- )
)?
- (
- otherlv_3='('
- {
- newLeafNode(otherlv_3, grammarAccess.getErrorPredicateAccess().getLeftParenthesisKeyword_3_0());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getErrorPredicateAccess().getParametersParameterParserRuleCall_3_1_0());
- }
- lv_parameters_4_0=ruleParameter
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getErrorPredicateRule());
- }
- add(
- $current,
- "parameters",
- lv_parameters_4_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Parameter");
- afterParserOrEnumRuleCall();
- }
- )
- )*
- otherlv_5=')'
- {
- newLeafNode(otherlv_5, grammarAccess.getErrorPredicateAccess().getRightParenthesisKeyword_3_2());
- }
- )
- otherlv_6=':'
+ otherlv_7=':-'
{
- newLeafNode(otherlv_6, grammarAccess.getErrorPredicateAccess().getColonKeyword_4());
+ newLeafNode(otherlv_7, grammarAccess.getPredicateAccess().getColonHyphenMinusKeyword_3());
}
(
- otherlv_7='false'
+ otherlv_8='false'
{
- newLeafNode(otherlv_7, grammarAccess.getErrorPredicateAccess().getFalseKeyword_5_0());
+ newLeafNode(otherlv_8, grammarAccess.getPredicateAccess().getFalseKeyword_4_0());
}
|
(
(
(
{
- newCompositeNode(grammarAccess.getErrorPredicateAccess().getBodiesPatternBodyParserRuleCall_5_1_0_0());
+ newCompositeNode(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_0_0());
}
- lv_bodies_8_0=rulePatternBody
+ lv_bodies_9_0=rulePatternBody
{
if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getErrorPredicateRule());
+ $current = createModelElementForParent(grammarAccess.getPredicateRule());
}
add(
$current,
"bodies",
- lv_bodies_8_0,
+ lv_bodies_9_0,
"org.eclipse.viatra.solver.language.SolverLanguage.PatternBody");
afterParserOrEnumRuleCall();
}
)
)
(
- otherlv_9='|'
+ otherlv_10='|'
{
- newLeafNode(otherlv_9, grammarAccess.getErrorPredicateAccess().getVerticalLineKeyword_5_1_1_0());
+ newLeafNode(otherlv_10, grammarAccess.getPredicateAccess().getVerticalLineKeyword_4_1_1_0());
}
(
(
{
- newCompositeNode(grammarAccess.getErrorPredicateAccess().getBodiesPatternBodyParserRuleCall_5_1_1_1_0());
+ newCompositeNode(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_1_1_0());
}
- lv_bodies_10_0=rulePatternBody
+ lv_bodies_11_0=rulePatternBody
{
if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getErrorPredicateRule());
+ $current = createModelElementForParent(grammarAccess.getPredicateRule());
}
add(
$current,
"bodies",
- lv_bodies_10_0,
+ lv_bodies_11_0,
"org.eclipse.viatra.solver.language.SolverLanguage.PatternBody");
afterParserOrEnumRuleCall();
}
@@ -1477,9 +1371,9 @@ ruleErrorPredicate returns [EObject current=null]
)*
)
)
- otherlv_11='.'
+ otherlv_12='.'
{
- newLeafNode(otherlv_11, grammarAccess.getErrorPredicateAccess().getFullStopKeyword_6());
+ newLeafNode(otherlv_12, grammarAccess.getPredicateAccess().getFullStopKeyword_5());
}
)
;
@@ -1663,52 +1557,52 @@ ruleConstraint returns [EObject current=null]
(
(
(
- {
- newCompositeNode(grammarAccess.getConstraintAccess().getPolarityPolarityParserRuleCall_0_0());
- }
- lv_polarity_0_0=rulePolarity
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getConstraintRule());
+ (
+ {
+ newCompositeNode(grammarAccess.getConstraintAccess().getPolarityPolarityParserRuleCall_0_0_0());
}
- set(
- $current,
- "polarity",
- lv_polarity_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Polarity");
- afterParserOrEnumRuleCall();
- }
- )
- )?
- (
+ lv_polarity_0_0=rulePolarity
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ set(
+ $current,
+ "polarity",
+ lv_polarity_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Polarity");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )?
(
- {
- newCompositeNode(grammarAccess.getConstraintAccess().getSymbolModelSymbolParserRuleCall_1_0());
- }
- lv_symbol_1_0=ruleModelSymbol
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getConstraintRule());
+ (
+ {
+ newCompositeNode(grammarAccess.getConstraintAccess().getSymbolModelSymbolParserRuleCall_0_1_0());
}
- set(
- $current,
- "symbol",
- lv_symbol_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ModelSymbol");
- afterParserOrEnumRuleCall();
- }
+ lv_symbol_1_0=ruleModelSymbol
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ set(
+ $current,
+ "symbol",
+ lv_symbol_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ModelSymbol");
+ afterParserOrEnumRuleCall();
+ }
+ )
)
- )
- (
(
otherlv_2='('
{
- newLeafNode(otherlv_2, grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_2_0_0());
+ newLeafNode(otherlv_2, grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_0_2_0());
}
(
(
{
- newCompositeNode(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_0_1_0());
+ newCompositeNode(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_1_0());
}
lv_params_3_0=ruleLiteral
{
@@ -1723,62 +1617,93 @@ ruleConstraint returns [EObject current=null]
afterParserOrEnumRuleCall();
}
)
- )*
- otherlv_4=')'
- {
- newLeafNode(otherlv_4, grammarAccess.getConstraintAccess().getRightParenthesisKeyword_2_0_2());
- }
- )
- |
- (
+ )?
(
+ otherlv_4=','
+ {
+ newLeafNode(otherlv_4, grammarAccess.getConstraintAccess().getCommaKeyword_0_2_2_0());
+ }
(
- {
- newCompositeNode(grammarAccess.getConstraintAccess().getClosureTypeClosureTypeParserRuleCall_2_1_0_0());
- }
- lv_closureType_5_0=ruleClosureType
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getConstraintRule());
+ (
+ {
+ newCompositeNode(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_2_1_0());
}
- set(
- $current,
- "closureType",
- lv_closureType_5_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ClosureType");
- afterParserOrEnumRuleCall();
- }
+ lv_params_5_0=ruleLiteral
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ add(
+ $current,
+ "params",
+ lv_params_5_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Literal");
+ afterParserOrEnumRuleCall();
+ }
+ )
)
- )
- otherlv_6='('
+ )*
+ otherlv_6=')'
{
- newLeafNode(otherlv_6, grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_2_1_1());
+ newLeafNode(otherlv_6, grammarAccess.getConstraintAccess().getRightParenthesisKeyword_0_2_3());
}
+ )?
+ )
+ |
+ (
+ (
(
- (
- {
- newCompositeNode(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_1_2_0());
+ {
+ newCompositeNode(grammarAccess.getConstraintAccess().getClosureTypeClosureTypeParserRuleCall_1_0_0());
+ }
+ lv_closureType_7_0=ruleClosureType
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getConstraintRule());
}
- lv_params_7_0=ruleLiteral
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getConstraintRule());
- }
- add(
- $current,
- "params",
- lv_params_7_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Literal");
- afterParserOrEnumRuleCall();
+ set(
+ $current,
+ "closureType",
+ lv_closureType_7_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ClosureType");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_8='('
+ {
+ newLeafNode(otherlv_8, grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_1_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_2_0());
+ }
+ lv_params_9_0=ruleLiteral
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getConstraintRule());
}
- )
+ add(
+ $current,
+ "params",
+ lv_params_9_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Literal");
+ afterParserOrEnumRuleCall();
+ }
)
+ )?
+ (
+ otherlv_10=','
+ {
+ newLeafNode(otherlv_10, grammarAccess.getConstraintAccess().getCommaKeyword_1_3_0());
+ }
(
(
{
- newCompositeNode(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_1_3_0());
+ newCompositeNode(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_3_1_0());
}
- lv_params_8_0=ruleLiteral
+ lv_params_11_0=ruleLiteral
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getConstraintRule());
@@ -1786,17 +1711,17 @@ ruleConstraint returns [EObject current=null]
add(
$current,
"params",
- lv_params_8_0,
+ lv_params_11_0,
"org.eclipse.viatra.solver.language.SolverLanguage.Literal");
afterParserOrEnumRuleCall();
}
)
)
- otherlv_9=')'
- {
- newLeafNode(otherlv_9, grammarAccess.getConstraintAccess().getRightParenthesisKeyword_2_1_4());
- }
- )
+ )*
+ otherlv_12=')'
+ {
+ newLeafNode(otherlv_12, grammarAccess.getConstraintAccess().getRightParenthesisKeyword_1_4());
+ }
)
)
;
@@ -1880,6 +1805,15 @@ ruleLiteral returns [EObject current=null]
$current = $this_DataObject_1.current;
afterParserOrEnumRuleCall();
}
+ |
+ {
+ newCompositeNode(grammarAccess.getLiteralAccess().getNamedObjectParserRuleCall_2());
+ }
+ this_NamedObject_2=ruleNamedObject
+ {
+ $current = $this_NamedObject_2.current;
+ afterParserOrEnumRuleCall();
+ }
)
;
@@ -2106,7 +2040,7 @@ ruleClassInterpretation returns [EObject current=null]
setWithLastConsumed($current, "abstract", true, "abstract");
}
)
- )
+ )?
otherlv_1='class'
{
newLeafNode(otherlv_1, grammarAccess.getClassInterpretationAccess().getClassKeyword_1());
@@ -2283,7 +2217,7 @@ ruleFieldRelationInterpretation returns [EObject current=null]
setWithLastConsumed($current, "containment", true, "containment");
}
)
- )
+ )?
(
(
{
@@ -2377,7 +2311,7 @@ ruleGlobalRelationInterpretation returns [EObject current=null]
setWithLastConsumed($current, "containment", true, "containment");
}
)
- )
+ )?
otherlv_1='relation'
{
newLeafNode(otherlv_1, grammarAccess.getGlobalRelationInterpretationAccess().getRelationKeyword_1());
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
index 1abe7de4..5054ccc5 100644
--- 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
@@ -1,33 +1,34 @@
'('=17
-')'=18
-'*'=30
-'+'=29
+')'=19
+'*'=31
+'+'=30
+','=18
'-'=11
'.'=12
-'..'=40
-':'=19
-'\''=26
-'abstract'=32
-'bool'=22
-'class'=33
-'containment'=38
-'default'=31
-'enum'=37
-'equals'=21
+'..'=41
+':'=20
+':-'=28
+'\''=27
+'abstract'=33
+'bool'=23
+'class'=34
+'containment'=39
+'default'=32
+'enum'=38
+'equals'=22
'error'=16
-'exists'=20
-'extends'=34
+'exists'=21
+'extends'=35
'false'=14
-'int'=23
-'predicate'=27
-'real'=24
-'relation'=39
-'string'=25
+'int'=24
+'real'=25
+'relation'=40
+'string'=26
'true'=13
'unknown'=15
-'{'=35
-'|'=28
-'}'=36
+'{'=36
+'|'=29
+'}'=37
RULE_ANY_OTHER=10
RULE_ID=5
RULE_INT=4
@@ -65,3 +66,4 @@ T__37=37
T__38=38
T__39=39
T__40=40
+T__41=41
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
index f8cb627c..53c80216 100644
--- 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
@@ -48,6 +48,7 @@ public class InternalSolverLanguageLexer extends Lexer {
public static final int T__24=24;
public static final int T__25=25;
public static final int T__40=40;
+ public static final int T__41=41;
public static final int T__20=20;
public static final int T__21=21;
@@ -213,10 +214,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__18;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:18:7: ( ')' )
- // InternalSolverLanguage.g:18:9: ')'
+ // InternalSolverLanguage.g:18:7: ( ',' )
+ // InternalSolverLanguage.g:18:9: ','
{
- match(')');
+ match(',');
}
@@ -233,10 +234,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__19;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:19:7: ( ':' )
- // InternalSolverLanguage.g:19:9: ':'
+ // InternalSolverLanguage.g:19:7: ( ')' )
+ // InternalSolverLanguage.g:19:9: ')'
{
- match(':');
+ match(')');
}
@@ -253,11 +254,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__20;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:20:7: ( 'exists' )
- // InternalSolverLanguage.g:20:9: 'exists'
+ // InternalSolverLanguage.g:20:7: ( ':' )
+ // InternalSolverLanguage.g:20:9: ':'
{
- match("exists");
-
+ match(':');
}
@@ -274,10 +274,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__21;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:21:7: ( 'equals' )
- // InternalSolverLanguage.g:21:9: 'equals'
+ // InternalSolverLanguage.g:21:7: ( 'exists' )
+ // InternalSolverLanguage.g:21:9: 'exists'
{
- match("equals");
+ match("exists");
}
@@ -295,10 +295,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__22;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:22:7: ( 'bool' )
- // InternalSolverLanguage.g:22:9: 'bool'
+ // InternalSolverLanguage.g:22:7: ( 'equals' )
+ // InternalSolverLanguage.g:22:9: 'equals'
{
- match("bool");
+ match("equals");
}
@@ -316,10 +316,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__23;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:23:7: ( 'int' )
- // InternalSolverLanguage.g:23:9: 'int'
+ // InternalSolverLanguage.g:23:7: ( 'bool' )
+ // InternalSolverLanguage.g:23:9: 'bool'
{
- match("int");
+ match("bool");
}
@@ -337,10 +337,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__24;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:24:7: ( 'real' )
- // InternalSolverLanguage.g:24:9: 'real'
+ // InternalSolverLanguage.g:24:7: ( 'int' )
+ // InternalSolverLanguage.g:24:9: 'int'
{
- match("real");
+ match("int");
}
@@ -358,10 +358,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__25;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:25:7: ( 'string' )
- // InternalSolverLanguage.g:25:9: 'string'
+ // InternalSolverLanguage.g:25:7: ( 'real' )
+ // InternalSolverLanguage.g:25:9: 'real'
{
- match("string");
+ match("real");
}
@@ -379,10 +379,11 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__26;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:26:7: ( '\\'' )
- // InternalSolverLanguage.g:26:9: '\\''
+ // InternalSolverLanguage.g:26:7: ( 'string' )
+ // InternalSolverLanguage.g:26:9: 'string'
{
- match('\'');
+ match("string");
+
}
@@ -399,11 +400,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__27;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:27:7: ( 'predicate' )
- // InternalSolverLanguage.g:27:9: 'predicate'
+ // InternalSolverLanguage.g:27:7: ( '\\'' )
+ // InternalSolverLanguage.g:27:9: '\\''
{
- match("predicate");
-
+ match('\'');
}
@@ -420,10 +420,11 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__28;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:28:7: ( '|' )
- // InternalSolverLanguage.g:28:9: '|'
+ // InternalSolverLanguage.g:28:7: ( ':-' )
+ // InternalSolverLanguage.g:28:9: ':-'
{
- match('|');
+ match(":-");
+
}
@@ -440,10 +441,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__29;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:29:7: ( '+' )
- // InternalSolverLanguage.g:29:9: '+'
+ // InternalSolverLanguage.g:29:7: ( '|' )
+ // InternalSolverLanguage.g:29:9: '|'
{
- match('+');
+ match('|');
}
@@ -460,10 +461,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__30;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:30:7: ( '*' )
- // InternalSolverLanguage.g:30:9: '*'
+ // InternalSolverLanguage.g:30:7: ( '+' )
+ // InternalSolverLanguage.g:30:9: '+'
{
- match('*');
+ match('+');
}
@@ -480,11 +481,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__31;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:31:7: ( 'default' )
- // InternalSolverLanguage.g:31:9: 'default'
+ // InternalSolverLanguage.g:31:7: ( '*' )
+ // InternalSolverLanguage.g:31:9: '*'
{
- match("default");
-
+ match('*');
}
@@ -501,10 +501,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__32;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:32:7: ( 'abstract' )
- // InternalSolverLanguage.g:32:9: 'abstract'
+ // InternalSolverLanguage.g:32:7: ( 'default' )
+ // InternalSolverLanguage.g:32:9: 'default'
{
- match("abstract");
+ match("default");
}
@@ -522,10 +522,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__33;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:33:7: ( 'class' )
- // InternalSolverLanguage.g:33:9: 'class'
+ // InternalSolverLanguage.g:33:7: ( 'abstract' )
+ // InternalSolverLanguage.g:33:9: 'abstract'
{
- match("class");
+ match("abstract");
}
@@ -543,10 +543,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__34;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:34:7: ( 'extends' )
- // InternalSolverLanguage.g:34:9: 'extends'
+ // InternalSolverLanguage.g:34:7: ( 'class' )
+ // InternalSolverLanguage.g:34:9: 'class'
{
- match("extends");
+ match("class");
}
@@ -564,10 +564,11 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__35;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:35:7: ( '{' )
- // InternalSolverLanguage.g:35:9: '{'
+ // InternalSolverLanguage.g:35:7: ( 'extends' )
+ // InternalSolverLanguage.g:35:9: 'extends'
{
- match('{');
+ match("extends");
+
}
@@ -584,10 +585,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__36;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:36:7: ( '}' )
- // InternalSolverLanguage.g:36:9: '}'
+ // InternalSolverLanguage.g:36:7: ( '{' )
+ // InternalSolverLanguage.g:36:9: '{'
{
- match('}');
+ match('{');
}
@@ -604,11 +605,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__37;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:37:7: ( 'enum' )
- // InternalSolverLanguage.g:37:9: 'enum'
+ // InternalSolverLanguage.g:37:7: ( '}' )
+ // InternalSolverLanguage.g:37:9: '}'
{
- match("enum");
-
+ match('}');
}
@@ -625,10 +625,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__38;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:38:7: ( 'containment' )
- // InternalSolverLanguage.g:38:9: 'containment'
+ // InternalSolverLanguage.g:38:7: ( 'enum' )
+ // InternalSolverLanguage.g:38:9: 'enum'
{
- match("containment");
+ match("enum");
}
@@ -646,10 +646,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__39;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:39:7: ( 'relation' )
- // InternalSolverLanguage.g:39:9: 'relation'
+ // InternalSolverLanguage.g:39:7: ( 'containment' )
+ // InternalSolverLanguage.g:39:9: 'containment'
{
- match("relation");
+ match("containment");
}
@@ -667,10 +667,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = T__40;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:40:7: ( '..' )
- // InternalSolverLanguage.g:40:9: '..'
+ // InternalSolverLanguage.g:40:7: ( 'relation' )
+ // InternalSolverLanguage.g:40:9: 'relation'
{
- match("..");
+ match("relation");
}
@@ -683,16 +683,37 @@ public class InternalSolverLanguageLexer extends Lexer {
}
// $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:41:7: ( '..' )
+ // InternalSolverLanguage.g:41:9: '..'
+ {
+ match("..");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__41"
+
// $ANTLR start "RULE_STRING"
public final void mRULE_STRING() throws RecognitionException {
try {
int _type = RULE_STRING;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:2563:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
- // InternalSolverLanguage.g:2563:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ // InternalSolverLanguage.g:2497:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
+ // InternalSolverLanguage.g:2497:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
- // InternalSolverLanguage.g:2563:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
+ // InternalSolverLanguage.g:2497:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
loop1:
do {
int alt1=3;
@@ -708,7 +729,7 @@ public class InternalSolverLanguageLexer extends Lexer {
switch (alt1) {
case 1 :
- // InternalSolverLanguage.g:2563:20: '\\\\' .
+ // InternalSolverLanguage.g:2497:20: '\\\\' .
{
match('\\');
matchAny();
@@ -716,7 +737,7 @@ public class InternalSolverLanguageLexer extends Lexer {
}
break;
case 2 :
- // InternalSolverLanguage.g:2563:27: ~ ( ( '\\\\' | '\"' ) )
+ // InternalSolverLanguage.g:2497:27: ~ ( ( '\\\\' | '\"' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -753,10 +774,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = RULE_ID;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:2565:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // InternalSolverLanguage.g:2565:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // InternalSolverLanguage.g:2499:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // InternalSolverLanguage.g:2499:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // InternalSolverLanguage.g:2565:11: ( '^' )?
+ // InternalSolverLanguage.g:2499:11: ( '^' )?
int alt2=2;
int LA2_0 = input.LA(1);
@@ -765,7 +786,7 @@ public class InternalSolverLanguageLexer extends Lexer {
}
switch (alt2) {
case 1 :
- // InternalSolverLanguage.g:2565:11: '^'
+ // InternalSolverLanguage.g:2499:11: '^'
{
match('^');
@@ -783,7 +804,7 @@ public class InternalSolverLanguageLexer extends Lexer {
recover(mse);
throw mse;}
- // InternalSolverLanguage.g:2565:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // InternalSolverLanguage.g:2499:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop3:
do {
int alt3=2;
@@ -832,10 +853,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = RULE_INT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:2567:10: ( ( '0' .. '9' )+ )
- // InternalSolverLanguage.g:2567:12: ( '0' .. '9' )+
+ // InternalSolverLanguage.g:2501:10: ( ( '0' .. '9' )+ )
+ // InternalSolverLanguage.g:2501:12: ( '0' .. '9' )+
{
- // InternalSolverLanguage.g:2567:12: ( '0' .. '9' )+
+ // InternalSolverLanguage.g:2501:12: ( '0' .. '9' )+
int cnt4=0;
loop4:
do {
@@ -849,7 +870,7 @@ public class InternalSolverLanguageLexer extends Lexer {
switch (alt4) {
case 1 :
- // InternalSolverLanguage.g:2567:13: '0' .. '9'
+ // InternalSolverLanguage.g:2501:13: '0' .. '9'
{
matchRange('0','9');
@@ -881,12 +902,12 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = RULE_ML_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:2569:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // InternalSolverLanguage.g:2569:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // InternalSolverLanguage.g:2503:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // InternalSolverLanguage.g:2503:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // InternalSolverLanguage.g:2569:24: ( options {greedy=false; } : . )*
+ // InternalSolverLanguage.g:2503:24: ( options {greedy=false; } : . )*
loop5:
do {
int alt5=2;
@@ -911,7 +932,7 @@ public class InternalSolverLanguageLexer extends Lexer {
switch (alt5) {
case 1 :
- // InternalSolverLanguage.g:2569:52: .
+ // InternalSolverLanguage.g:2503:52: .
{
matchAny();
@@ -941,12 +962,12 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = RULE_SL_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:2571:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
- // InternalSolverLanguage.g:2571:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
+ // InternalSolverLanguage.g:2505:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // InternalSolverLanguage.g:2505:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // InternalSolverLanguage.g:2571:24: (~ ( ( '\\n' | '\\r' ) ) )*
+ // InternalSolverLanguage.g:2505:24: (~ ( ( '\\n' | '\\r' ) ) )*
loop6:
do {
int alt6=2;
@@ -959,7 +980,7 @@ public class InternalSolverLanguageLexer extends Lexer {
switch (alt6) {
case 1 :
- // InternalSolverLanguage.g:2571:24: ~ ( ( '\\n' | '\\r' ) )
+ // InternalSolverLanguage.g:2505: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();
@@ -979,7 +1000,7 @@ public class InternalSolverLanguageLexer extends Lexer {
}
} while (true);
- // InternalSolverLanguage.g:2571:40: ( ( '\\r' )? '\\n' )?
+ // InternalSolverLanguage.g:2505:40: ( ( '\\r' )? '\\n' )?
int alt8=2;
int LA8_0 = input.LA(1);
@@ -988,9 +1009,9 @@ public class InternalSolverLanguageLexer extends Lexer {
}
switch (alt8) {
case 1 :
- // InternalSolverLanguage.g:2571:41: ( '\\r' )? '\\n'
+ // InternalSolverLanguage.g:2505:41: ( '\\r' )? '\\n'
{
- // InternalSolverLanguage.g:2571:41: ( '\\r' )?
+ // InternalSolverLanguage.g:2505:41: ( '\\r' )?
int alt7=2;
int LA7_0 = input.LA(1);
@@ -999,7 +1020,7 @@ public class InternalSolverLanguageLexer extends Lexer {
}
switch (alt7) {
case 1 :
- // InternalSolverLanguage.g:2571:41: '\\r'
+ // InternalSolverLanguage.g:2505:41: '\\r'
{
match('\r');
@@ -1031,10 +1052,10 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = RULE_WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:2573:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // InternalSolverLanguage.g:2573:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalSolverLanguage.g:2507:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // InternalSolverLanguage.g:2507:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // InternalSolverLanguage.g:2573:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalSolverLanguage.g:2507:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt9=0;
loop9:
do {
@@ -1088,8 +1109,8 @@ public class InternalSolverLanguageLexer extends Lexer {
try {
int _type = RULE_ANY_OTHER;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:2575:16: ( . )
- // InternalSolverLanguage.g:2575:18: .
+ // InternalSolverLanguage.g:2509:16: ( . )
+ // InternalSolverLanguage.g:2509:18: .
{
matchAny();
@@ -1104,8 +1125,8 @@ public class InternalSolverLanguageLexer extends Lexer {
// $ANTLR end "RULE_ANY_OTHER"
public void mTokens() throws RecognitionException {
- // InternalSolverLanguage.g:1:8: ( T__11 | T__12 | T__13 | T__14 | 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 | RULE_STRING | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
- int alt10=37;
+ // InternalSolverLanguage.g:1:8: ( T__11 | T__12 | T__13 | T__14 | 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 | RULE_STRING | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ int alt10=38;
alt10 = dfa10.predict(input);
switch (alt10) {
case 1 :
@@ -1319,49 +1340,56 @@ public class InternalSolverLanguageLexer extends Lexer {
}
break;
case 31 :
- // InternalSolverLanguage.g:1:190: RULE_STRING
+ // InternalSolverLanguage.g:1:190: T__41
{
- mRULE_STRING();
+ mT__41();
}
break;
case 32 :
- // InternalSolverLanguage.g:1:202: RULE_ID
+ // InternalSolverLanguage.g:1:196: RULE_STRING
{
- mRULE_ID();
+ mRULE_STRING();
}
break;
case 33 :
- // InternalSolverLanguage.g:1:210: RULE_INT
+ // InternalSolverLanguage.g:1:208: RULE_ID
{
- mRULE_INT();
+ mRULE_ID();
}
break;
case 34 :
- // InternalSolverLanguage.g:1:219: RULE_ML_COMMENT
+ // InternalSolverLanguage.g:1:216: RULE_INT
{
- mRULE_ML_COMMENT();
+ mRULE_INT();
}
break;
case 35 :
- // InternalSolverLanguage.g:1:235: RULE_SL_COMMENT
+ // InternalSolverLanguage.g:1:225: RULE_ML_COMMENT
{
- mRULE_SL_COMMENT();
+ mRULE_ML_COMMENT();
}
break;
case 36 :
- // InternalSolverLanguage.g:1:251: RULE_WS
+ // InternalSolverLanguage.g:1:241: RULE_SL_COMMENT
{
- mRULE_WS();
+ mRULE_SL_COMMENT();
}
break;
case 37 :
- // InternalSolverLanguage.g:1:259: RULE_ANY_OTHER
+ // InternalSolverLanguage.g:1:257: RULE_WS
+ {
+ mRULE_WS();
+
+ }
+ break;
+ case 38 :
+ // InternalSolverLanguage.g:1:265: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
@@ -1375,19 +1403,19 @@ public class InternalSolverLanguageLexer extends Lexer {
protected DFA10 dfa10 = new DFA10(this);
static final String DFA10_eotS =
- "\2\uffff\1\41\4\43\3\uffff\4\43\1\uffff\1\43\3\uffff\3\43\2\uffff\2\36\2\uffff\1\36\5\uffff\1\43\1\uffff\6\43\3\uffff\4\43\1\uffff\1\43\3\uffff\4\43\7\uffff\11\43\1\134\10\43\1\145\6\43\1\154\1\155\1\uffff\1\156\7\43\1\uffff\1\166\1\43\1\170\3\43\3\uffff\5\43\1\u0081\1\43\1\uffff\1\43\1\uffff\1\u0084\1\43\1\u0086\1\43\1\u0088\3\43\1\uffff\1\43\1\u008d\1\uffff\1\u008e\1\uffff\1\43\1\uffff\1\43\1\u0091\2\43\2\uffff\1\u0094\1\43\1\uffff\1\u0096\1\43\1\uffff\1\u0098\1\uffff\1\43\1\uffff\1\43\1\u009b\1\uffff";
+ "\2\uffff\1\41\4\43\3\uffff\1\56\4\43\4\uffff\3\43\2\uffff\2\36\2\uffff\1\36\5\uffff\1\43\1\uffff\6\43\5\uffff\4\43\4\uffff\4\43\7\uffff\11\43\1\134\7\43\1\144\6\43\1\153\1\154\1\uffff\1\155\6\43\1\uffff\1\164\1\43\1\166\3\43\3\uffff\4\43\1\176\1\43\1\uffff\1\43\1\uffff\1\u0081\1\43\1\u0083\1\43\1\u0085\2\43\1\uffff\1\43\1\u0089\1\uffff\1\u008a\1\uffff\1\43\1\uffff\1\u008c\2\43\2\uffff\1\u008f\1\uffff\1\u0090\1\43\2\uffff\2\43\1\u0094\1\uffff";
static final String DFA10_eofS =
- "\u009c\uffff";
+ "\u0095\uffff";
static final String DFA10_minS =
- "\1\0\1\uffff\1\56\1\162\1\141\2\156\3\uffff\1\157\1\156\1\145\1\164\1\uffff\1\162\3\uffff\1\145\1\142\1\154\2\uffff\1\0\1\101\2\uffff\1\52\5\uffff\1\165\1\uffff\1\154\1\153\1\162\1\151\2\165\3\uffff\1\157\1\164\1\141\1\162\1\uffff\1\145\3\uffff\1\146\1\163\1\141\1\156\7\uffff\1\145\1\163\1\156\1\157\1\163\1\145\1\141\1\155\1\154\1\60\1\154\1\141\1\151\1\144\1\141\1\164\1\163\1\164\1\60\1\145\1\157\1\162\1\164\1\156\1\154\2\60\1\uffff\1\60\1\164\1\156\1\151\1\165\1\162\1\163\1\141\1\uffff\1\60\1\167\1\60\1\163\1\144\1\163\3\uffff\1\151\1\147\1\143\1\154\1\141\1\60\1\151\1\uffff\1\156\1\uffff\1\60\1\163\1\60\1\157\1\60\1\141\1\164\1\143\1\uffff\1\156\1\60\1\uffff\1\60\1\uffff\1\156\1\uffff\1\164\1\60\1\164\1\155\2\uffff\1\60\1\145\1\uffff\1\60\1\145\1\uffff\1\60\1\uffff\1\156\1\uffff\1\164\1\60\1\uffff";
+ "\1\0\1\uffff\1\56\1\162\1\141\2\156\3\uffff\1\55\1\157\1\156\1\145\1\164\4\uffff\1\145\1\142\1\154\2\uffff\1\0\1\101\2\uffff\1\52\5\uffff\1\165\1\uffff\1\154\1\153\1\162\1\151\2\165\5\uffff\1\157\1\164\1\141\1\162\4\uffff\1\146\1\163\1\141\1\156\7\uffff\1\145\1\163\1\156\1\157\1\163\1\145\1\141\1\155\1\154\1\60\1\154\1\141\1\151\1\141\1\164\1\163\1\164\1\60\1\145\1\157\1\162\1\164\1\156\1\154\2\60\1\uffff\1\60\1\164\1\156\1\165\1\162\1\163\1\141\1\uffff\1\60\1\167\1\60\1\163\1\144\1\163\3\uffff\1\151\1\147\1\154\1\141\1\60\1\151\1\uffff\1\156\1\uffff\1\60\1\163\1\60\1\157\1\60\1\164\1\143\1\uffff\1\156\1\60\1\uffff\1\60\1\uffff\1\156\1\uffff\1\60\1\164\1\155\2\uffff\1\60\1\uffff\1\60\1\145\2\uffff\1\156\1\164\1\60\1\uffff";
static final String DFA10_maxS =
- "\1\uffff\1\uffff\1\56\1\162\1\141\1\156\1\170\3\uffff\1\157\1\156\1\145\1\164\1\uffff\1\162\3\uffff\1\145\1\142\1\157\2\uffff\1\uffff\1\172\2\uffff\1\57\5\uffff\1\165\1\uffff\1\154\1\153\1\162\1\164\2\165\3\uffff\1\157\1\164\1\154\1\162\1\uffff\1\145\3\uffff\1\146\1\163\1\141\1\156\7\uffff\1\145\1\163\1\156\1\157\1\163\1\145\1\141\1\155\1\154\1\172\1\154\1\141\1\151\1\144\1\141\1\164\1\163\1\164\1\172\1\145\1\157\1\162\1\164\1\156\1\154\2\172\1\uffff\1\172\1\164\1\156\1\151\1\165\1\162\1\163\1\141\1\uffff\1\172\1\167\1\172\1\163\1\144\1\163\3\uffff\1\151\1\147\1\143\1\154\1\141\1\172\1\151\1\uffff\1\156\1\uffff\1\172\1\163\1\172\1\157\1\172\1\141\1\164\1\143\1\uffff\1\156\1\172\1\uffff\1\172\1\uffff\1\156\1\uffff\1\164\1\172\1\164\1\155\2\uffff\1\172\1\145\1\uffff\1\172\1\145\1\uffff\1\172\1\uffff\1\156\1\uffff\1\164\1\172\1\uffff";
+ "\1\uffff\1\uffff\1\56\1\162\1\141\1\156\1\170\3\uffff\1\55\1\157\1\156\1\145\1\164\4\uffff\1\145\1\142\1\157\2\uffff\1\uffff\1\172\2\uffff\1\57\5\uffff\1\165\1\uffff\1\154\1\153\1\162\1\164\2\165\5\uffff\1\157\1\164\1\154\1\162\4\uffff\1\146\1\163\1\141\1\156\7\uffff\1\145\1\163\1\156\1\157\1\163\1\145\1\141\1\155\1\154\1\172\1\154\1\141\1\151\1\141\1\164\1\163\1\164\1\172\1\145\1\157\1\162\1\164\1\156\1\154\2\172\1\uffff\1\172\1\164\1\156\1\165\1\162\1\163\1\141\1\uffff\1\172\1\167\1\172\1\163\1\144\1\163\3\uffff\1\151\1\147\1\154\1\141\1\172\1\151\1\uffff\1\156\1\uffff\1\172\1\163\1\172\1\157\1\172\1\164\1\143\1\uffff\1\156\1\172\1\uffff\1\172\1\uffff\1\156\1\uffff\1\172\1\164\1\155\2\uffff\1\172\1\uffff\1\172\1\145\2\uffff\1\156\1\164\1\172\1\uffff";
static final String DFA10_acceptS =
- "\1\uffff\1\1\5\uffff\1\7\1\10\1\11\4\uffff\1\20\1\uffff\1\22\1\23\1\24\3\uffff\1\31\1\32\2\uffff\1\40\1\41\1\uffff\1\44\1\45\1\1\1\36\1\2\1\uffff\1\40\6\uffff\1\7\1\10\1\11\4\uffff\1\20\1\uffff\1\22\1\23\1\24\4\uffff\1\31\1\32\1\37\1\41\1\42\1\43\1\44\33\uffff\1\15\10\uffff\1\3\6\uffff\1\33\1\14\1\16\7\uffff\1\4\1\uffff\1\6\10\uffff\1\27\2\uffff\1\12\1\uffff\1\13\1\uffff\1\17\4\uffff\1\5\1\30\2\uffff\1\25\2\uffff\1\35\1\uffff\1\26\1\uffff\1\21\2\uffff\1\34";
+ "\1\uffff\1\1\5\uffff\1\7\1\10\1\11\5\uffff\1\21\1\23\1\24\1\25\3\uffff\1\32\1\33\2\uffff\1\41\1\42\1\uffff\1\45\1\46\1\1\1\37\1\2\1\uffff\1\41\6\uffff\1\7\1\10\1\11\1\22\1\12\4\uffff\1\21\1\23\1\24\1\25\4\uffff\1\32\1\33\1\40\1\42\1\43\1\44\1\45\32\uffff\1\16\7\uffff\1\3\6\uffff\1\34\1\15\1\17\6\uffff\1\4\1\uffff\1\6\7\uffff\1\30\2\uffff\1\13\1\uffff\1\14\1\uffff\1\20\3\uffff\1\5\1\31\1\uffff\1\26\2\uffff\1\36\1\27\3\uffff\1\35";
static final String DFA10_specialS =
- "\1\1\27\uffff\1\0\u0083\uffff}>";
+ "\1\0\27\uffff\1\1\174\uffff}>";
static final String[] DFA10_transitionS = {
- "\11\36\2\35\2\36\1\35\22\36\1\35\1\36\1\30\4\36\1\16\1\7\1\10\1\22\1\21\1\36\1\1\1\2\1\34\12\33\1\11\6\36\32\32\3\36\1\31\1\32\1\36\1\24\1\12\1\25\1\23\1\6\1\4\2\32\1\13\6\32\1\17\1\32\1\14\1\15\1\3\1\5\5\32\1\26\1\20\1\27\uff82\36",
+ "\11\36\2\35\2\36\1\35\22\36\1\35\1\36\1\30\4\36\1\17\1\7\1\11\1\22\1\21\1\10\1\1\1\2\1\34\12\33\1\12\6\36\32\32\3\36\1\31\1\32\1\36\1\24\1\13\1\25\1\23\1\6\1\4\2\32\1\14\10\32\1\15\1\16\1\3\1\5\5\32\1\26\1\20\1\27\uff82\36",
"",
"\1\40",
"\1\42",
@@ -1398,49 +1426,50 @@ public class InternalSolverLanguageLexer extends Lexer {
"",
"",
"\1\55",
- "\1\56",
"\1\57",
"\1\60",
- "",
+ "\1\61",
"\1\62",
"",
"",
"",
- "\1\66",
+ "",
"\1\67",
- "\1\70\2\uffff\1\71",
+ "\1\70",
+ "\1\71\2\uffff\1\72",
"",
"",
- "\0\74",
+ "\0\75",
"\32\43\4\uffff\1\43\1\uffff\32\43",
"",
"",
- "\1\76\4\uffff\1\77",
+ "\1\77\4\uffff\1\100",
"",
"",
"",
"",
"",
- "\1\101",
- "",
"\1\102",
+ "",
"\1\103",
"\1\104",
- "\1\105\12\uffff\1\106",
- "\1\107",
+ "\1\105",
+ "\1\106\12\uffff\1\107",
"\1\110",
+ "\1\111",
+ "",
"",
"",
"",
- "\1\111",
- "\1\112",
- "\1\113\12\uffff\1\114",
- "\1\115",
"",
+ "\1\112",
+ "\1\113",
+ "\1\114\12\uffff\1\115",
"\1\116",
"",
"",
"",
+ "",
"\1\117",
"\1\120",
"\1\121",
@@ -1469,78 +1498,70 @@ public class InternalSolverLanguageLexer extends Lexer {
"\1\141",
"\1\142",
"\1\143",
- "\1\144",
"\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
+ "\1\145",
"\1\146",
"\1\147",
"\1\150",
"\1\151",
"\1\152",
- "\1\153",
"\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
"\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
"",
"\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
+ "\1\156",
"\1\157",
"\1\160",
"\1\161",
"\1\162",
"\1\163",
- "\1\164",
- "\1\165",
"",
"\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
- "\1\167",
+ "\1\165",
"\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
+ "\1\167",
+ "\1\170",
"\1\171",
- "\1\172",
- "\1\173",
"",
"",
"",
+ "\1\172",
+ "\1\173",
"\1\174",
"\1\175",
- "\1\176",
+ "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
"\1\177",
+ "",
"\1\u0080",
+ "",
"\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
"\1\u0082",
- "",
- "\1\u0083",
- "",
"\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
- "\1\u0085",
+ "\1\u0084",
"\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
+ "\1\u0086",
"\1\u0087",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
- "\1\u0089",
- "\1\u008a",
- "\1\u008b",
"",
- "\1\u008c",
+ "\1\u0088",
"\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
"",
"\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
"",
- "\1\u008f",
+ "\1\u008b",
"",
- "\1\u0090",
"\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
- "\1\u0092",
- "\1\u0093",
+ "\1\u008d",
+ "\1\u008e",
"",
"",
"\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
- "\1\u0095",
- "",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
- "\1\u0097",
"",
"\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
+ "\1\u0091",
"",
- "\1\u0099",
"",
- "\1\u009a",
+ "\1\u0092",
+ "\1\u0093",
"\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
""
};
@@ -1575,23 +1596,13 @@ public class InternalSolverLanguageLexer extends Lexer {
this.transition = DFA10_transition;
}
public String getDescription() {
- return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | 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 | RULE_STRING | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
+ return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | 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 | RULE_STRING | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
IntStream input = _input;
int _s = s;
switch ( s ) {
case 0 :
- int LA10_24 = input.LA(1);
-
- s = -1;
- if ( ((LA10_24>='\u0000' && LA10_24<='\uFFFF')) ) {s = 60;}
-
- else s = 30;
-
- if ( s>=0 ) return s;
- break;
- case 1 :
int LA10_0 = input.LA(1);
s = -1;
@@ -1609,21 +1620,21 @@ public class InternalSolverLanguageLexer extends Lexer {
else if ( (LA10_0=='(') ) {s = 7;}
- else if ( (LA10_0==')') ) {s = 8;}
+ else if ( (LA10_0==',') ) {s = 8;}
- else if ( (LA10_0==':') ) {s = 9;}
+ else if ( (LA10_0==')') ) {s = 9;}
- else if ( (LA10_0=='b') ) {s = 10;}
+ else if ( (LA10_0==':') ) {s = 10;}
- else if ( (LA10_0=='i') ) {s = 11;}
+ else if ( (LA10_0=='b') ) {s = 11;}
- else if ( (LA10_0=='r') ) {s = 12;}
+ else if ( (LA10_0=='i') ) {s = 12;}
- else if ( (LA10_0=='s') ) {s = 13;}
+ else if ( (LA10_0=='r') ) {s = 13;}
- else if ( (LA10_0=='\'') ) {s = 14;}
+ else if ( (LA10_0=='s') ) {s = 14;}
- else if ( (LA10_0=='p') ) {s = 15;}
+ else if ( (LA10_0=='\'') ) {s = 15;}
else if ( (LA10_0=='|') ) {s = 16;}
@@ -1645,7 +1656,7 @@ public class InternalSolverLanguageLexer extends Lexer {
else if ( (LA10_0=='^') ) {s = 25;}
- else if ( ((LA10_0>='A' && LA10_0<='Z')||LA10_0=='_'||(LA10_0>='g' && LA10_0<='h')||(LA10_0>='j' && LA10_0<='o')||LA10_0=='q'||(LA10_0>='v' && LA10_0<='z')) ) {s = 26;}
+ else if ( ((LA10_0>='A' && LA10_0<='Z')||LA10_0=='_'||(LA10_0>='g' && LA10_0<='h')||(LA10_0>='j' && LA10_0<='q')||(LA10_0>='v' && LA10_0<='z')) ) {s = 26;}
else if ( ((LA10_0>='0' && LA10_0<='9')) ) {s = 27;}
@@ -1653,7 +1664,17 @@ public class InternalSolverLanguageLexer extends Lexer {
else if ( ((LA10_0>='\t' && LA10_0<='\n')||LA10_0=='\r'||LA10_0==' ') ) {s = 29;}
- else if ( ((LA10_0>='\u0000' && LA10_0<='\b')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\u001F')||LA10_0=='!'||(LA10_0>='#' && LA10_0<='&')||LA10_0==','||(LA10_0>=';' && LA10_0<='@')||(LA10_0>='[' && LA10_0<=']')||LA10_0=='`'||(LA10_0>='~' && LA10_0<='\uFFFF')) ) {s = 30;}
+ else if ( ((LA10_0>='\u0000' && LA10_0<='\b')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\u001F')||LA10_0=='!'||(LA10_0>='#' && LA10_0<='&')||(LA10_0>=';' && LA10_0<='@')||(LA10_0>='[' && LA10_0<=']')||LA10_0=='`'||(LA10_0>='~' && LA10_0<='\uFFFF')) ) {s = 30;}
+
+ if ( s>=0 ) return s;
+ break;
+ case 1 :
+ int LA10_24 = input.LA(1);
+
+ s = -1;
+ if ( ((LA10_24>='\u0000' && LA10_24<='\uFFFF')) ) {s = 61;}
+
+ else s = 30;
if ( s>=0 ) return s;
break;
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 c1c632f3..1d449e49 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
@@ -21,7 +21,7 @@ import java.util.ArrayList;
@SuppressWarnings("all")
public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
- "", "", "", "", "RULE_INT", "RULE_ID", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'-'", "'.'", "'true'", "'false'", "'unknown'", "'error'", "'('", "')'", "':'", "'exists'", "'equals'", "'bool'", "'int'", "'real'", "'string'", "'\\''", "'predicate'", "'|'", "'+'", "'*'", "'default'", "'abstract'", "'class'", "'extends'", "'{'", "'}'", "'enum'", "'containment'", "'relation'", "'..'"
+ "", "", "", "", "RULE_INT", "RULE_ID", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'-'", "'.'", "'true'", "'false'", "'unknown'", "'error'", "'('", "','", "')'", "':'", "'exists'", "'equals'", "'bool'", "'int'", "'real'", "'string'", "'\\''", "':-'", "'|'", "'+'", "'*'", "'default'", "'abstract'", "'class'", "'extends'", "'{'", "'}'", "'enum'", "'containment'", "'relation'", "'..'"
};
public static final int RULE_STRING=6;
public static final int RULE_SL_COMMENT=8;
@@ -59,6 +59,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
public static final int T__24=24;
public static final int T__25=25;
public static final int T__40=40;
+ public static final int T__41=41;
public static final int T__20=20;
public static final int T__21=21;
@@ -158,7 +159,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
int alt1=2;
int LA1_0 = input.LA(1);
- if ( (LA1_0==RULE_ID||LA1_0==16||(LA1_0>=20 && LA1_0<=25)||LA1_0==27||(LA1_0>=31 && LA1_0<=32)||(LA1_0>=37 && LA1_0<=38)) ) {
+ if ( (LA1_0==RULE_ID||LA1_0==16||(LA1_0>=21 && LA1_0<=26)||(LA1_0>=32 && LA1_0<=34)||(LA1_0>=38 && LA1_0<=40)) ) {
alt1=1;
}
@@ -275,20 +276,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
{
// InternalSolverLanguage.g:114:2: (this_Interpretation_0= ruleInterpretation | this_Predicate_1= rulePredicate )
int alt2=2;
- int LA2_0 = input.LA(1);
-
- if ( (LA2_0==RULE_ID||(LA2_0>=20 && LA2_0<=25)||(LA2_0>=31 && LA2_0<=32)||(LA2_0>=37 && LA2_0<=38)) ) {
- alt2=1;
- }
- else if ( (LA2_0==16||LA2_0==27) ) {
- alt2=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 2, 0, input);
-
- throw nvae;
- }
+ alt2 = dfa2.predict(input);
switch (alt2) {
case 1 :
// InternalSolverLanguage.g:115:3: this_Interpretation_0= ruleInterpretation
@@ -988,24 +976,26 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
int alt7=3;
switch ( input.LA(1) ) {
case RULE_ID:
- case 20:
case 21:
case 22:
case 23:
case 24:
case 25:
+ case 26:
{
alt7=1;
}
break;
- case 31:
+ case 32:
{
alt7=2;
}
break;
- case 32:
- case 37:
+ case 33:
+ case 34:
case 38:
+ case 39:
+ case 40:
{
alt7=3;
}
@@ -1131,29 +1121,32 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleBasicInterpretation"
- // InternalSolverLanguage.g:386:1: ruleBasicInterpretation returns [EObject current=null] : ( ( (lv_symbol_0_0= ruleSymbol ) ) otherlv_1= '(' ( (lv_objects_2_0= ruleComplexObject ) )* otherlv_3= ')' otherlv_4= ':' ( (lv_value_5_0= ruleTruthValue ) ) ) ;
+ // InternalSolverLanguage.g:386:1: ruleBasicInterpretation returns [EObject current=null] : ( ( (lv_symbol_0_0= ruleSymbol ) ) (otherlv_1= '(' ( ( (lv_objects_2_0= ruleComplexObject ) ) (otherlv_3= ',' ( (lv_objects_4_0= ruleComplexObject ) ) )* )? otherlv_5= ')' )? otherlv_6= ':' ( (lv_value_7_0= ruleTruthValue ) ) ) ;
public final EObject ruleBasicInterpretation() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
- Token otherlv_4=null;
+ Token otherlv_5=null;
+ Token otherlv_6=null;
EObject lv_symbol_0_0 = null;
EObject lv_objects_2_0 = null;
- EObject lv_value_5_0 = null;
+ EObject lv_objects_4_0 = null;
+
+ EObject lv_value_7_0 = null;
enterRule();
try {
- // InternalSolverLanguage.g:392:2: ( ( ( (lv_symbol_0_0= ruleSymbol ) ) otherlv_1= '(' ( (lv_objects_2_0= ruleComplexObject ) )* otherlv_3= ')' otherlv_4= ':' ( (lv_value_5_0= ruleTruthValue ) ) ) )
- // InternalSolverLanguage.g:393:2: ( ( (lv_symbol_0_0= ruleSymbol ) ) otherlv_1= '(' ( (lv_objects_2_0= ruleComplexObject ) )* otherlv_3= ')' otherlv_4= ':' ( (lv_value_5_0= ruleTruthValue ) ) )
+ // InternalSolverLanguage.g:392:2: ( ( ( (lv_symbol_0_0= ruleSymbol ) ) (otherlv_1= '(' ( ( (lv_objects_2_0= ruleComplexObject ) ) (otherlv_3= ',' ( (lv_objects_4_0= ruleComplexObject ) ) )* )? otherlv_5= ')' )? otherlv_6= ':' ( (lv_value_7_0= ruleTruthValue ) ) ) )
+ // InternalSolverLanguage.g:393:2: ( ( (lv_symbol_0_0= ruleSymbol ) ) (otherlv_1= '(' ( ( (lv_objects_2_0= ruleComplexObject ) ) (otherlv_3= ',' ( (lv_objects_4_0= ruleComplexObject ) ) )* )? otherlv_5= ')' )? otherlv_6= ':' ( (lv_value_7_0= ruleTruthValue ) ) )
{
- // InternalSolverLanguage.g:393:2: ( ( (lv_symbol_0_0= ruleSymbol ) ) otherlv_1= '(' ( (lv_objects_2_0= ruleComplexObject ) )* otherlv_3= ')' otherlv_4= ':' ( (lv_value_5_0= ruleTruthValue ) ) )
- // InternalSolverLanguage.g:394:3: ( (lv_symbol_0_0= ruleSymbol ) ) otherlv_1= '(' ( (lv_objects_2_0= ruleComplexObject ) )* otherlv_3= ')' otherlv_4= ':' ( (lv_value_5_0= ruleTruthValue ) )
+ // InternalSolverLanguage.g:393:2: ( ( (lv_symbol_0_0= ruleSymbol ) ) (otherlv_1= '(' ( ( (lv_objects_2_0= ruleComplexObject ) ) (otherlv_3= ',' ( (lv_objects_4_0= ruleComplexObject ) ) )* )? otherlv_5= ')' )? otherlv_6= ':' ( (lv_value_7_0= ruleTruthValue ) ) )
+ // InternalSolverLanguage.g:394:3: ( (lv_symbol_0_0= ruleSymbol ) ) (otherlv_1= '(' ( ( (lv_objects_2_0= ruleComplexObject ) ) (otherlv_3= ',' ( (lv_objects_4_0= ruleComplexObject ) ) )* )? otherlv_5= ')' )? otherlv_6= ':' ( (lv_value_7_0= ruleTruthValue ) )
{
// InternalSolverLanguage.g:394:3: ( (lv_symbol_0_0= ruleSymbol ) )
// InternalSolverLanguage.g:395:4: (lv_symbol_0_0= ruleSymbol )
@@ -1186,78 +1179,153 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- otherlv_1=(Token)match(input,17,FOLLOW_7);
+ // InternalSolverLanguage.g:413:3: (otherlv_1= '(' ( ( (lv_objects_2_0= ruleComplexObject ) ) (otherlv_3= ',' ( (lv_objects_4_0= ruleComplexObject ) ) )* )? otherlv_5= ')' )?
+ int alt10=2;
+ int LA10_0 = input.LA(1);
- newLeafNode(otherlv_1, grammarAccess.getBasicInterpretationAccess().getLeftParenthesisKeyword_1());
-
- // InternalSolverLanguage.g:417:3: ( (lv_objects_2_0= ruleComplexObject ) )*
- loop8:
- do {
- int alt8=2;
- int LA8_0 = input.LA(1);
+ if ( (LA10_0==17) ) {
+ alt10=1;
+ }
+ switch (alt10) {
+ case 1 :
+ // InternalSolverLanguage.g:414:4: otherlv_1= '(' ( ( (lv_objects_2_0= ruleComplexObject ) ) (otherlv_3= ',' ( (lv_objects_4_0= ruleComplexObject ) ) )* )? otherlv_5= ')'
+ {
+ otherlv_1=(Token)match(input,17,FOLLOW_7);
- if ( ((LA8_0>=RULE_INT && LA8_0<=RULE_STRING)||LA8_0==11||(LA8_0>=13 && LA8_0<=14)||LA8_0==19||LA8_0==26||LA8_0==30) ) {
- alt8=1;
- }
+ newLeafNode(otherlv_1, grammarAccess.getBasicInterpretationAccess().getLeftParenthesisKeyword_1_0());
+
+ // InternalSolverLanguage.g:418:4: ( ( (lv_objects_2_0= ruleComplexObject ) ) (otherlv_3= ',' ( (lv_objects_4_0= ruleComplexObject ) ) )* )?
+ int alt9=2;
+ int LA9_0 = input.LA(1);
+ if ( ((LA9_0>=RULE_INT && LA9_0<=RULE_STRING)||LA9_0==11||(LA9_0>=13 && LA9_0<=14)||LA9_0==20||LA9_0==27||LA9_0==31) ) {
+ alt9=1;
+ }
+ switch (alt9) {
+ case 1 :
+ // InternalSolverLanguage.g:419:5: ( (lv_objects_2_0= ruleComplexObject ) ) (otherlv_3= ',' ( (lv_objects_4_0= ruleComplexObject ) ) )*
+ {
+ // InternalSolverLanguage.g:419:5: ( (lv_objects_2_0= ruleComplexObject ) )
+ // InternalSolverLanguage.g:420:6: (lv_objects_2_0= ruleComplexObject )
+ {
+ // InternalSolverLanguage.g:420:6: (lv_objects_2_0= ruleComplexObject )
+ // InternalSolverLanguage.g:421:7: lv_objects_2_0= ruleComplexObject
+ {
- switch (alt8) {
- case 1 :
- // InternalSolverLanguage.g:418:4: (lv_objects_2_0= ruleComplexObject )
- {
- // InternalSolverLanguage.g:418:4: (lv_objects_2_0= ruleComplexObject )
- // InternalSolverLanguage.g:419:5: lv_objects_2_0= ruleComplexObject
- {
+ newCompositeNode(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_0_0());
+
+ pushFollow(FOLLOW_8);
+ lv_objects_2_0=ruleComplexObject();
- newCompositeNode(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_2_0());
-
- pushFollow(FOLLOW_7);
- lv_objects_2_0=ruleComplexObject();
+ state._fsp--;
- state._fsp--;
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getBasicInterpretationRule());
+ }
+ add(
+ current,
+ "objects",
+ lv_objects_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ComplexObject");
+ afterParserOrEnumRuleCall();
+
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getBasicInterpretationRule());
- }
- add(
- current,
- "objects",
- lv_objects_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ComplexObject");
- afterParserOrEnumRuleCall();
-
+ }
- }
+ }
- }
- break;
+ // InternalSolverLanguage.g:438:5: (otherlv_3= ',' ( (lv_objects_4_0= ruleComplexObject ) ) )*
+ loop8:
+ do {
+ int alt8=2;
+ int LA8_0 = input.LA(1);
- default :
- break loop8;
- }
- } while (true);
+ if ( (LA8_0==18) ) {
+ alt8=1;
+ }
- otherlv_3=(Token)match(input,18,FOLLOW_8);
- newLeafNode(otherlv_3, grammarAccess.getBasicInterpretationAccess().getRightParenthesisKeyword_3());
-
- otherlv_4=(Token)match(input,19,FOLLOW_9);
+ switch (alt8) {
+ case 1 :
+ // InternalSolverLanguage.g:439:6: otherlv_3= ',' ( (lv_objects_4_0= ruleComplexObject ) )
+ {
+ otherlv_3=(Token)match(input,18,FOLLOW_9);
+
+ newLeafNode(otherlv_3, grammarAccess.getBasicInterpretationAccess().getCommaKeyword_1_1_1_0());
+
+ // InternalSolverLanguage.g:443:6: ( (lv_objects_4_0= ruleComplexObject ) )
+ // InternalSolverLanguage.g:444:7: (lv_objects_4_0= ruleComplexObject )
+ {
+ // InternalSolverLanguage.g:444:7: (lv_objects_4_0= ruleComplexObject )
+ // InternalSolverLanguage.g:445:8: lv_objects_4_0= ruleComplexObject
+ {
+
+ newCompositeNode(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_1_1_0());
+
+ pushFollow(FOLLOW_8);
+ lv_objects_4_0=ruleComplexObject();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getBasicInterpretationRule());
+ }
+ add(
+ current,
+ "objects",
+ lv_objects_4_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ComplexObject");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop8;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+ otherlv_5=(Token)match(input,19,FOLLOW_10);
- newLeafNode(otherlv_4, grammarAccess.getBasicInterpretationAccess().getColonKeyword_4());
+ newLeafNode(otherlv_5, grammarAccess.getBasicInterpretationAccess().getRightParenthesisKeyword_1_2());
+
+
+ }
+ break;
+
+ }
+
+ otherlv_6=(Token)match(input,20,FOLLOW_11);
+
+ newLeafNode(otherlv_6, grammarAccess.getBasicInterpretationAccess().getColonKeyword_2());
- // InternalSolverLanguage.g:444:3: ( (lv_value_5_0= ruleTruthValue ) )
- // InternalSolverLanguage.g:445:4: (lv_value_5_0= ruleTruthValue )
+ // InternalSolverLanguage.g:473:3: ( (lv_value_7_0= ruleTruthValue ) )
+ // InternalSolverLanguage.g:474:4: (lv_value_7_0= ruleTruthValue )
{
- // InternalSolverLanguage.g:445:4: (lv_value_5_0= ruleTruthValue )
- // InternalSolverLanguage.g:446:5: lv_value_5_0= ruleTruthValue
+ // InternalSolverLanguage.g:474:4: (lv_value_7_0= ruleTruthValue )
+ // InternalSolverLanguage.g:475:5: lv_value_7_0= ruleTruthValue
{
- newCompositeNode(grammarAccess.getBasicInterpretationAccess().getValueTruthValueParserRuleCall_5_0());
+ newCompositeNode(grammarAccess.getBasicInterpretationAccess().getValueTruthValueParserRuleCall_3_0());
pushFollow(FOLLOW_2);
- lv_value_5_0=ruleTruthValue();
+ lv_value_7_0=ruleTruthValue();
state._fsp--;
@@ -1268,7 +1336,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
set(
current,
"value",
- lv_value_5_0,
+ lv_value_7_0,
"org.eclipse.viatra.solver.language.SolverLanguage.TruthValue");
afterParserOrEnumRuleCall();
@@ -1301,7 +1369,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleSymbol"
- // InternalSolverLanguage.g:467:1: entryRuleSymbol returns [EObject current=null] : iv_ruleSymbol= ruleSymbol EOF ;
+ // InternalSolverLanguage.g:496:1: entryRuleSymbol returns [EObject current=null] : iv_ruleSymbol= ruleSymbol EOF ;
public final EObject entryRuleSymbol() throws RecognitionException {
EObject current = null;
@@ -1309,8 +1377,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:467:47: (iv_ruleSymbol= ruleSymbol EOF )
- // InternalSolverLanguage.g:468:2: iv_ruleSymbol= ruleSymbol EOF
+ // InternalSolverLanguage.g:496:47: (iv_ruleSymbol= ruleSymbol EOF )
+ // InternalSolverLanguage.g:497:2: iv_ruleSymbol= ruleSymbol EOF
{
newCompositeNode(grammarAccess.getSymbolRule());
pushFollow(FOLLOW_1);
@@ -1337,7 +1405,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleSymbol"
- // InternalSolverLanguage.g:474:1: ruleSymbol returns [EObject current=null] : (this_ModelSymbol_0= ruleModelSymbol | this_PartialitySymbol_1= rulePartialitySymbol | this_DataSymbol_2= ruleDataSymbol ) ;
+ // InternalSolverLanguage.g:503:1: ruleSymbol returns [EObject current=null] : (this_ModelSymbol_0= ruleModelSymbol | this_PartialitySymbol_1= rulePartialitySymbol | this_DataSymbol_2= ruleDataSymbol ) ;
public final EObject ruleSymbol() throws RecognitionException {
EObject current = null;
@@ -1352,41 +1420,41 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:480:2: ( (this_ModelSymbol_0= ruleModelSymbol | this_PartialitySymbol_1= rulePartialitySymbol | this_DataSymbol_2= ruleDataSymbol ) )
- // InternalSolverLanguage.g:481:2: (this_ModelSymbol_0= ruleModelSymbol | this_PartialitySymbol_1= rulePartialitySymbol | this_DataSymbol_2= ruleDataSymbol )
+ // InternalSolverLanguage.g:509:2: ( (this_ModelSymbol_0= ruleModelSymbol | this_PartialitySymbol_1= rulePartialitySymbol | this_DataSymbol_2= ruleDataSymbol ) )
+ // InternalSolverLanguage.g:510:2: (this_ModelSymbol_0= ruleModelSymbol | this_PartialitySymbol_1= rulePartialitySymbol | this_DataSymbol_2= ruleDataSymbol )
{
- // InternalSolverLanguage.g:481:2: (this_ModelSymbol_0= ruleModelSymbol | this_PartialitySymbol_1= rulePartialitySymbol | this_DataSymbol_2= ruleDataSymbol )
- int alt9=3;
+ // InternalSolverLanguage.g:510:2: (this_ModelSymbol_0= ruleModelSymbol | this_PartialitySymbol_1= rulePartialitySymbol | this_DataSymbol_2= ruleDataSymbol )
+ int alt11=3;
switch ( input.LA(1) ) {
case RULE_ID:
{
- alt9=1;
+ alt11=1;
}
break;
- case 20:
case 21:
+ case 22:
{
- alt9=2;
+ alt11=2;
}
break;
- case 22:
case 23:
case 24:
case 25:
+ case 26:
{
- alt9=3;
+ alt11=3;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 9, 0, input);
+ new NoViableAltException("", 11, 0, input);
throw nvae;
}
- switch (alt9) {
+ switch (alt11) {
case 1 :
- // InternalSolverLanguage.g:482:3: this_ModelSymbol_0= ruleModelSymbol
+ // InternalSolverLanguage.g:511:3: this_ModelSymbol_0= ruleModelSymbol
{
newCompositeNode(grammarAccess.getSymbolAccess().getModelSymbolParserRuleCall_0());
@@ -1404,7 +1472,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:491:3: this_PartialitySymbol_1= rulePartialitySymbol
+ // InternalSolverLanguage.g:520:3: this_PartialitySymbol_1= rulePartialitySymbol
{
newCompositeNode(grammarAccess.getSymbolAccess().getPartialitySymbolParserRuleCall_1());
@@ -1422,7 +1490,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalSolverLanguage.g:500:3: this_DataSymbol_2= ruleDataSymbol
+ // InternalSolverLanguage.g:529:3: this_DataSymbol_2= ruleDataSymbol
{
newCompositeNode(grammarAccess.getSymbolAccess().getDataSymbolParserRuleCall_2());
@@ -1462,7 +1530,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleModelSymbol"
- // InternalSolverLanguage.g:512:1: entryRuleModelSymbol returns [EObject current=null] : iv_ruleModelSymbol= ruleModelSymbol EOF ;
+ // InternalSolverLanguage.g:541:1: entryRuleModelSymbol returns [EObject current=null] : iv_ruleModelSymbol= ruleModelSymbol EOF ;
public final EObject entryRuleModelSymbol() throws RecognitionException {
EObject current = null;
@@ -1470,8 +1538,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:512:52: (iv_ruleModelSymbol= ruleModelSymbol EOF )
- // InternalSolverLanguage.g:513:2: iv_ruleModelSymbol= ruleModelSymbol EOF
+ // InternalSolverLanguage.g:541:52: (iv_ruleModelSymbol= ruleModelSymbol EOF )
+ // InternalSolverLanguage.g:542:2: iv_ruleModelSymbol= ruleModelSymbol EOF
{
newCompositeNode(grammarAccess.getModelSymbolRule());
pushFollow(FOLLOW_1);
@@ -1498,7 +1566,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleModelSymbol"
- // InternalSolverLanguage.g:519:1: ruleModelSymbol returns [EObject current=null] : ( (lv_name_0_0= RULE_ID ) ) ;
+ // InternalSolverLanguage.g:548:1: ruleModelSymbol returns [EObject current=null] : ( (lv_name_0_0= RULE_ID ) ) ;
public final EObject ruleModelSymbol() throws RecognitionException {
EObject current = null;
@@ -1508,14 +1576,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:525:2: ( ( (lv_name_0_0= RULE_ID ) ) )
- // InternalSolverLanguage.g:526:2: ( (lv_name_0_0= RULE_ID ) )
+ // InternalSolverLanguage.g:554:2: ( ( (lv_name_0_0= RULE_ID ) ) )
+ // InternalSolverLanguage.g:555:2: ( (lv_name_0_0= RULE_ID ) )
{
- // InternalSolverLanguage.g:526:2: ( (lv_name_0_0= RULE_ID ) )
- // InternalSolverLanguage.g:527:3: (lv_name_0_0= RULE_ID )
+ // InternalSolverLanguage.g:555:2: ( (lv_name_0_0= RULE_ID ) )
+ // InternalSolverLanguage.g:556:3: (lv_name_0_0= RULE_ID )
{
- // InternalSolverLanguage.g:527:3: (lv_name_0_0= RULE_ID )
- // InternalSolverLanguage.g:528:4: lv_name_0_0= RULE_ID
+ // InternalSolverLanguage.g:556:3: (lv_name_0_0= RULE_ID )
+ // InternalSolverLanguage.g:557:4: lv_name_0_0= RULE_ID
{
lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_2);
@@ -1557,7 +1625,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRulePartialitySymbol"
- // InternalSolverLanguage.g:547:1: entryRulePartialitySymbol returns [EObject current=null] : iv_rulePartialitySymbol= rulePartialitySymbol EOF ;
+ // InternalSolverLanguage.g:576:1: entryRulePartialitySymbol returns [EObject current=null] : iv_rulePartialitySymbol= rulePartialitySymbol EOF ;
public final EObject entryRulePartialitySymbol() throws RecognitionException {
EObject current = null;
@@ -1565,8 +1633,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:547:57: (iv_rulePartialitySymbol= rulePartialitySymbol EOF )
- // InternalSolverLanguage.g:548:2: iv_rulePartialitySymbol= rulePartialitySymbol EOF
+ // InternalSolverLanguage.g:576:57: (iv_rulePartialitySymbol= rulePartialitySymbol EOF )
+ // InternalSolverLanguage.g:577:2: iv_rulePartialitySymbol= rulePartialitySymbol EOF
{
newCompositeNode(grammarAccess.getPartialitySymbolRule());
pushFollow(FOLLOW_1);
@@ -1593,7 +1661,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePartialitySymbol"
- // InternalSolverLanguage.g:554:1: rulePartialitySymbol returns [EObject current=null] : (this_ExistSymbol_0= ruleExistSymbol | this_EqualsSymbol_1= ruleEqualsSymbol ) ;
+ // InternalSolverLanguage.g:583:1: rulePartialitySymbol returns [EObject current=null] : (this_ExistSymbol_0= ruleExistSymbol | this_EqualsSymbol_1= ruleEqualsSymbol ) ;
public final EObject rulePartialitySymbol() throws RecognitionException {
EObject current = null;
@@ -1606,28 +1674,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:560:2: ( (this_ExistSymbol_0= ruleExistSymbol | this_EqualsSymbol_1= ruleEqualsSymbol ) )
- // InternalSolverLanguage.g:561:2: (this_ExistSymbol_0= ruleExistSymbol | this_EqualsSymbol_1= ruleEqualsSymbol )
+ // InternalSolverLanguage.g:589:2: ( (this_ExistSymbol_0= ruleExistSymbol | this_EqualsSymbol_1= ruleEqualsSymbol ) )
+ // InternalSolverLanguage.g:590:2: (this_ExistSymbol_0= ruleExistSymbol | this_EqualsSymbol_1= ruleEqualsSymbol )
{
- // InternalSolverLanguage.g:561:2: (this_ExistSymbol_0= ruleExistSymbol | this_EqualsSymbol_1= ruleEqualsSymbol )
- int alt10=2;
- int LA10_0 = input.LA(1);
+ // InternalSolverLanguage.g:590:2: (this_ExistSymbol_0= ruleExistSymbol | this_EqualsSymbol_1= ruleEqualsSymbol )
+ int alt12=2;
+ int LA12_0 = input.LA(1);
- if ( (LA10_0==20) ) {
- alt10=1;
+ if ( (LA12_0==21) ) {
+ alt12=1;
}
- else if ( (LA10_0==21) ) {
- alt10=2;
+ else if ( (LA12_0==22) ) {
+ alt12=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 10, 0, input);
+ new NoViableAltException("", 12, 0, input);
throw nvae;
}
- switch (alt10) {
+ switch (alt12) {
case 1 :
- // InternalSolverLanguage.g:562:3: this_ExistSymbol_0= ruleExistSymbol
+ // InternalSolverLanguage.g:591:3: this_ExistSymbol_0= ruleExistSymbol
{
newCompositeNode(grammarAccess.getPartialitySymbolAccess().getExistSymbolParserRuleCall_0());
@@ -1645,7 +1713,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:571:3: this_EqualsSymbol_1= ruleEqualsSymbol
+ // InternalSolverLanguage.g:600:3: this_EqualsSymbol_1= ruleEqualsSymbol
{
newCompositeNode(grammarAccess.getPartialitySymbolAccess().getEqualsSymbolParserRuleCall_1());
@@ -1685,7 +1753,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleExistSymbol"
- // InternalSolverLanguage.g:583:1: entryRuleExistSymbol returns [EObject current=null] : iv_ruleExistSymbol= ruleExistSymbol EOF ;
+ // InternalSolverLanguage.g:612:1: entryRuleExistSymbol returns [EObject current=null] : iv_ruleExistSymbol= ruleExistSymbol EOF ;
public final EObject entryRuleExistSymbol() throws RecognitionException {
EObject current = null;
@@ -1693,8 +1761,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:583:52: (iv_ruleExistSymbol= ruleExistSymbol EOF )
- // InternalSolverLanguage.g:584:2: iv_ruleExistSymbol= ruleExistSymbol EOF
+ // InternalSolverLanguage.g:612:52: (iv_ruleExistSymbol= ruleExistSymbol EOF )
+ // InternalSolverLanguage.g:613:2: iv_ruleExistSymbol= ruleExistSymbol EOF
{
newCompositeNode(grammarAccess.getExistSymbolRule());
pushFollow(FOLLOW_1);
@@ -1721,7 +1789,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleExistSymbol"
- // InternalSolverLanguage.g:590:1: ruleExistSymbol returns [EObject current=null] : (otherlv_0= 'exists' () ) ;
+ // InternalSolverLanguage.g:619:1: ruleExistSymbol returns [EObject current=null] : (otherlv_0= 'exists' () ) ;
public final EObject ruleExistSymbol() throws RecognitionException {
EObject current = null;
@@ -1731,18 +1799,18 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:596:2: ( (otherlv_0= 'exists' () ) )
- // InternalSolverLanguage.g:597:2: (otherlv_0= 'exists' () )
+ // InternalSolverLanguage.g:625:2: ( (otherlv_0= 'exists' () ) )
+ // InternalSolverLanguage.g:626:2: (otherlv_0= 'exists' () )
{
- // InternalSolverLanguage.g:597:2: (otherlv_0= 'exists' () )
- // InternalSolverLanguage.g:598:3: otherlv_0= 'exists' ()
+ // InternalSolverLanguage.g:626:2: (otherlv_0= 'exists' () )
+ // InternalSolverLanguage.g:627:3: otherlv_0= 'exists' ()
{
- otherlv_0=(Token)match(input,20,FOLLOW_2);
+ otherlv_0=(Token)match(input,21,FOLLOW_2);
newLeafNode(otherlv_0, grammarAccess.getExistSymbolAccess().getExistsKeyword_0());
- // InternalSolverLanguage.g:602:3: ()
- // InternalSolverLanguage.g:603:4:
+ // InternalSolverLanguage.g:631:3: ()
+ // InternalSolverLanguage.g:632:4:
{
current = forceCreateModelElement(
@@ -1775,7 +1843,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleEqualsSymbol"
- // InternalSolverLanguage.g:613:1: entryRuleEqualsSymbol returns [EObject current=null] : iv_ruleEqualsSymbol= ruleEqualsSymbol EOF ;
+ // InternalSolverLanguage.g:642:1: entryRuleEqualsSymbol returns [EObject current=null] : iv_ruleEqualsSymbol= ruleEqualsSymbol EOF ;
public final EObject entryRuleEqualsSymbol() throws RecognitionException {
EObject current = null;
@@ -1783,8 +1851,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:613:53: (iv_ruleEqualsSymbol= ruleEqualsSymbol EOF )
- // InternalSolverLanguage.g:614:2: iv_ruleEqualsSymbol= ruleEqualsSymbol EOF
+ // InternalSolverLanguage.g:642:53: (iv_ruleEqualsSymbol= ruleEqualsSymbol EOF )
+ // InternalSolverLanguage.g:643:2: iv_ruleEqualsSymbol= ruleEqualsSymbol EOF
{
newCompositeNode(grammarAccess.getEqualsSymbolRule());
pushFollow(FOLLOW_1);
@@ -1811,7 +1879,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleEqualsSymbol"
- // InternalSolverLanguage.g:620:1: ruleEqualsSymbol returns [EObject current=null] : (otherlv_0= 'equals' () ) ;
+ // InternalSolverLanguage.g:649:1: ruleEqualsSymbol returns [EObject current=null] : (otherlv_0= 'equals' () ) ;
public final EObject ruleEqualsSymbol() throws RecognitionException {
EObject current = null;
@@ -1821,18 +1889,18 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:626:2: ( (otherlv_0= 'equals' () ) )
- // InternalSolverLanguage.g:627:2: (otherlv_0= 'equals' () )
+ // InternalSolverLanguage.g:655:2: ( (otherlv_0= 'equals' () ) )
+ // InternalSolverLanguage.g:656:2: (otherlv_0= 'equals' () )
{
- // InternalSolverLanguage.g:627:2: (otherlv_0= 'equals' () )
- // InternalSolverLanguage.g:628:3: otherlv_0= 'equals' ()
+ // InternalSolverLanguage.g:656:2: (otherlv_0= 'equals' () )
+ // InternalSolverLanguage.g:657:3: otherlv_0= 'equals' ()
{
- otherlv_0=(Token)match(input,21,FOLLOW_2);
+ otherlv_0=(Token)match(input,22,FOLLOW_2);
newLeafNode(otherlv_0, grammarAccess.getEqualsSymbolAccess().getEqualsKeyword_0());
- // InternalSolverLanguage.g:632:3: ()
- // InternalSolverLanguage.g:633:4:
+ // InternalSolverLanguage.g:661:3: ()
+ // InternalSolverLanguage.g:662:4:
{
current = forceCreateModelElement(
@@ -1865,7 +1933,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDataSymbol"
- // InternalSolverLanguage.g:643:1: entryRuleDataSymbol returns [EObject current=null] : iv_ruleDataSymbol= ruleDataSymbol EOF ;
+ // InternalSolverLanguage.g:672:1: entryRuleDataSymbol returns [EObject current=null] : iv_ruleDataSymbol= ruleDataSymbol EOF ;
public final EObject entryRuleDataSymbol() throws RecognitionException {
EObject current = null;
@@ -1873,8 +1941,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:643:51: (iv_ruleDataSymbol= ruleDataSymbol EOF )
- // InternalSolverLanguage.g:644:2: iv_ruleDataSymbol= ruleDataSymbol EOF
+ // InternalSolverLanguage.g:672:51: (iv_ruleDataSymbol= ruleDataSymbol EOF )
+ // InternalSolverLanguage.g:673:2: iv_ruleDataSymbol= ruleDataSymbol EOF
{
newCompositeNode(grammarAccess.getDataSymbolRule());
pushFollow(FOLLOW_1);
@@ -1901,7 +1969,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDataSymbol"
- // InternalSolverLanguage.g:650:1: ruleDataSymbol returns [EObject current=null] : (this_BooleanSymbol_0= ruleBooleanSymbol | this_IntegerSymbol_1= ruleIntegerSymbol | this_RealSymbol_2= ruleRealSymbol | this_StringSymbol_3= ruleStringSymbol ) ;
+ // InternalSolverLanguage.g:679:1: ruleDataSymbol returns [EObject current=null] : (this_BooleanSymbol_0= ruleBooleanSymbol | this_IntegerSymbol_1= ruleIntegerSymbol | this_RealSymbol_2= ruleRealSymbol | this_StringSymbol_3= ruleStringSymbol ) ;
public final EObject ruleDataSymbol() throws RecognitionException {
EObject current = null;
@@ -1918,42 +1986,42 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:656:2: ( (this_BooleanSymbol_0= ruleBooleanSymbol | this_IntegerSymbol_1= ruleIntegerSymbol | this_RealSymbol_2= ruleRealSymbol | this_StringSymbol_3= ruleStringSymbol ) )
- // InternalSolverLanguage.g:657:2: (this_BooleanSymbol_0= ruleBooleanSymbol | this_IntegerSymbol_1= ruleIntegerSymbol | this_RealSymbol_2= ruleRealSymbol | this_StringSymbol_3= ruleStringSymbol )
+ // InternalSolverLanguage.g:685:2: ( (this_BooleanSymbol_0= ruleBooleanSymbol | this_IntegerSymbol_1= ruleIntegerSymbol | this_RealSymbol_2= ruleRealSymbol | this_StringSymbol_3= ruleStringSymbol ) )
+ // InternalSolverLanguage.g:686:2: (this_BooleanSymbol_0= ruleBooleanSymbol | this_IntegerSymbol_1= ruleIntegerSymbol | this_RealSymbol_2= ruleRealSymbol | this_StringSymbol_3= ruleStringSymbol )
{
- // InternalSolverLanguage.g:657:2: (this_BooleanSymbol_0= ruleBooleanSymbol | this_IntegerSymbol_1= ruleIntegerSymbol | this_RealSymbol_2= ruleRealSymbol | this_StringSymbol_3= ruleStringSymbol )
- int alt11=4;
+ // InternalSolverLanguage.g:686:2: (this_BooleanSymbol_0= ruleBooleanSymbol | this_IntegerSymbol_1= ruleIntegerSymbol | this_RealSymbol_2= ruleRealSymbol | this_StringSymbol_3= ruleStringSymbol )
+ int alt13=4;
switch ( input.LA(1) ) {
- case 22:
- {
- alt11=1;
- }
- break;
case 23:
{
- alt11=2;
+ alt13=1;
}
break;
case 24:
{
- alt11=3;
+ alt13=2;
}
break;
case 25:
{
- alt11=4;
+ alt13=3;
+ }
+ break;
+ case 26:
+ {
+ alt13=4;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 11, 0, input);
+ new NoViableAltException("", 13, 0, input);
throw nvae;
}
- switch (alt11) {
+ switch (alt13) {
case 1 :
- // InternalSolverLanguage.g:658:3: this_BooleanSymbol_0= ruleBooleanSymbol
+ // InternalSolverLanguage.g:687:3: this_BooleanSymbol_0= ruleBooleanSymbol
{
newCompositeNode(grammarAccess.getDataSymbolAccess().getBooleanSymbolParserRuleCall_0());
@@ -1971,7 +2039,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:667:3: this_IntegerSymbol_1= ruleIntegerSymbol
+ // InternalSolverLanguage.g:696:3: this_IntegerSymbol_1= ruleIntegerSymbol
{
newCompositeNode(grammarAccess.getDataSymbolAccess().getIntegerSymbolParserRuleCall_1());
@@ -1989,7 +2057,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalSolverLanguage.g:676:3: this_RealSymbol_2= ruleRealSymbol
+ // InternalSolverLanguage.g:705:3: this_RealSymbol_2= ruleRealSymbol
{
newCompositeNode(grammarAccess.getDataSymbolAccess().getRealSymbolParserRuleCall_2());
@@ -2007,7 +2075,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // InternalSolverLanguage.g:685:3: this_StringSymbol_3= ruleStringSymbol
+ // InternalSolverLanguage.g:714:3: this_StringSymbol_3= ruleStringSymbol
{
newCompositeNode(grammarAccess.getDataSymbolAccess().getStringSymbolParserRuleCall_3());
@@ -2047,7 +2115,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleBooleanSymbol"
- // InternalSolverLanguage.g:697:1: entryRuleBooleanSymbol returns [EObject current=null] : iv_ruleBooleanSymbol= ruleBooleanSymbol EOF ;
+ // InternalSolverLanguage.g:726:1: entryRuleBooleanSymbol returns [EObject current=null] : iv_ruleBooleanSymbol= ruleBooleanSymbol EOF ;
public final EObject entryRuleBooleanSymbol() throws RecognitionException {
EObject current = null;
@@ -2055,8 +2123,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:697:54: (iv_ruleBooleanSymbol= ruleBooleanSymbol EOF )
- // InternalSolverLanguage.g:698:2: iv_ruleBooleanSymbol= ruleBooleanSymbol EOF
+ // InternalSolverLanguage.g:726:54: (iv_ruleBooleanSymbol= ruleBooleanSymbol EOF )
+ // InternalSolverLanguage.g:727:2: iv_ruleBooleanSymbol= ruleBooleanSymbol EOF
{
newCompositeNode(grammarAccess.getBooleanSymbolRule());
pushFollow(FOLLOW_1);
@@ -2083,7 +2151,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleBooleanSymbol"
- // InternalSolverLanguage.g:704:1: ruleBooleanSymbol returns [EObject current=null] : (otherlv_0= 'bool' () ) ;
+ // InternalSolverLanguage.g:733:1: ruleBooleanSymbol returns [EObject current=null] : (otherlv_0= 'bool' () ) ;
public final EObject ruleBooleanSymbol() throws RecognitionException {
EObject current = null;
@@ -2093,18 +2161,18 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:710:2: ( (otherlv_0= 'bool' () ) )
- // InternalSolverLanguage.g:711:2: (otherlv_0= 'bool' () )
+ // InternalSolverLanguage.g:739:2: ( (otherlv_0= 'bool' () ) )
+ // InternalSolverLanguage.g:740:2: (otherlv_0= 'bool' () )
{
- // InternalSolverLanguage.g:711:2: (otherlv_0= 'bool' () )
- // InternalSolverLanguage.g:712:3: otherlv_0= 'bool' ()
+ // InternalSolverLanguage.g:740:2: (otherlv_0= 'bool' () )
+ // InternalSolverLanguage.g:741:3: otherlv_0= 'bool' ()
{
- otherlv_0=(Token)match(input,22,FOLLOW_2);
+ otherlv_0=(Token)match(input,23,FOLLOW_2);
newLeafNode(otherlv_0, grammarAccess.getBooleanSymbolAccess().getBoolKeyword_0());
- // InternalSolverLanguage.g:716:3: ()
- // InternalSolverLanguage.g:717:4:
+ // InternalSolverLanguage.g:745:3: ()
+ // InternalSolverLanguage.g:746:4:
{
current = forceCreateModelElement(
@@ -2137,7 +2205,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleIntegerSymbol"
- // InternalSolverLanguage.g:727:1: entryRuleIntegerSymbol returns [EObject current=null] : iv_ruleIntegerSymbol= ruleIntegerSymbol EOF ;
+ // InternalSolverLanguage.g:756:1: entryRuleIntegerSymbol returns [EObject current=null] : iv_ruleIntegerSymbol= ruleIntegerSymbol EOF ;
public final EObject entryRuleIntegerSymbol() throws RecognitionException {
EObject current = null;
@@ -2145,8 +2213,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:727:54: (iv_ruleIntegerSymbol= ruleIntegerSymbol EOF )
- // InternalSolverLanguage.g:728:2: iv_ruleIntegerSymbol= ruleIntegerSymbol EOF
+ // InternalSolverLanguage.g:756:54: (iv_ruleIntegerSymbol= ruleIntegerSymbol EOF )
+ // InternalSolverLanguage.g:757:2: iv_ruleIntegerSymbol= ruleIntegerSymbol EOF
{
newCompositeNode(grammarAccess.getIntegerSymbolRule());
pushFollow(FOLLOW_1);
@@ -2173,7 +2241,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleIntegerSymbol"
- // InternalSolverLanguage.g:734:1: ruleIntegerSymbol returns [EObject current=null] : (otherlv_0= 'int' () ) ;
+ // InternalSolverLanguage.g:763:1: ruleIntegerSymbol returns [EObject current=null] : (otherlv_0= 'int' () ) ;
public final EObject ruleIntegerSymbol() throws RecognitionException {
EObject current = null;
@@ -2183,18 +2251,18 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:740:2: ( (otherlv_0= 'int' () ) )
- // InternalSolverLanguage.g:741:2: (otherlv_0= 'int' () )
+ // InternalSolverLanguage.g:769:2: ( (otherlv_0= 'int' () ) )
+ // InternalSolverLanguage.g:770:2: (otherlv_0= 'int' () )
{
- // InternalSolverLanguage.g:741:2: (otherlv_0= 'int' () )
- // InternalSolverLanguage.g:742:3: otherlv_0= 'int' ()
+ // InternalSolverLanguage.g:770:2: (otherlv_0= 'int' () )
+ // InternalSolverLanguage.g:771:3: otherlv_0= 'int' ()
{
- otherlv_0=(Token)match(input,23,FOLLOW_2);
+ otherlv_0=(Token)match(input,24,FOLLOW_2);
newLeafNode(otherlv_0, grammarAccess.getIntegerSymbolAccess().getIntKeyword_0());
- // InternalSolverLanguage.g:746:3: ()
- // InternalSolverLanguage.g:747:4:
+ // InternalSolverLanguage.g:775:3: ()
+ // InternalSolverLanguage.g:776:4:
{
current = forceCreateModelElement(
@@ -2227,7 +2295,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleRealSymbol"
- // InternalSolverLanguage.g:757:1: entryRuleRealSymbol returns [EObject current=null] : iv_ruleRealSymbol= ruleRealSymbol EOF ;
+ // InternalSolverLanguage.g:786:1: entryRuleRealSymbol returns [EObject current=null] : iv_ruleRealSymbol= ruleRealSymbol EOF ;
public final EObject entryRuleRealSymbol() throws RecognitionException {
EObject current = null;
@@ -2235,8 +2303,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:757:51: (iv_ruleRealSymbol= ruleRealSymbol EOF )
- // InternalSolverLanguage.g:758:2: iv_ruleRealSymbol= ruleRealSymbol EOF
+ // InternalSolverLanguage.g:786:51: (iv_ruleRealSymbol= ruleRealSymbol EOF )
+ // InternalSolverLanguage.g:787:2: iv_ruleRealSymbol= ruleRealSymbol EOF
{
newCompositeNode(grammarAccess.getRealSymbolRule());
pushFollow(FOLLOW_1);
@@ -2263,7 +2331,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleRealSymbol"
- // InternalSolverLanguage.g:764:1: ruleRealSymbol returns [EObject current=null] : (otherlv_0= 'real' () ) ;
+ // InternalSolverLanguage.g:793:1: ruleRealSymbol returns [EObject current=null] : (otherlv_0= 'real' () ) ;
public final EObject ruleRealSymbol() throws RecognitionException {
EObject current = null;
@@ -2273,18 +2341,18 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:770:2: ( (otherlv_0= 'real' () ) )
- // InternalSolverLanguage.g:771:2: (otherlv_0= 'real' () )
+ // InternalSolverLanguage.g:799:2: ( (otherlv_0= 'real' () ) )
+ // InternalSolverLanguage.g:800:2: (otherlv_0= 'real' () )
{
- // InternalSolverLanguage.g:771:2: (otherlv_0= 'real' () )
- // InternalSolverLanguage.g:772:3: otherlv_0= 'real' ()
+ // InternalSolverLanguage.g:800:2: (otherlv_0= 'real' () )
+ // InternalSolverLanguage.g:801:3: otherlv_0= 'real' ()
{
- otherlv_0=(Token)match(input,24,FOLLOW_2);
+ otherlv_0=(Token)match(input,25,FOLLOW_2);
newLeafNode(otherlv_0, grammarAccess.getRealSymbolAccess().getRealKeyword_0());
- // InternalSolverLanguage.g:776:3: ()
- // InternalSolverLanguage.g:777:4:
+ // InternalSolverLanguage.g:805:3: ()
+ // InternalSolverLanguage.g:806:4:
{
current = forceCreateModelElement(
@@ -2317,7 +2385,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleStringSymbol"
- // InternalSolverLanguage.g:787:1: entryRuleStringSymbol returns [EObject current=null] : iv_ruleStringSymbol= ruleStringSymbol EOF ;
+ // InternalSolverLanguage.g:816:1: entryRuleStringSymbol returns [EObject current=null] : iv_ruleStringSymbol= ruleStringSymbol EOF ;
public final EObject entryRuleStringSymbol() throws RecognitionException {
EObject current = null;
@@ -2325,8 +2393,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:787:53: (iv_ruleStringSymbol= ruleStringSymbol EOF )
- // InternalSolverLanguage.g:788:2: iv_ruleStringSymbol= ruleStringSymbol EOF
+ // InternalSolverLanguage.g:816:53: (iv_ruleStringSymbol= ruleStringSymbol EOF )
+ // InternalSolverLanguage.g:817:2: iv_ruleStringSymbol= ruleStringSymbol EOF
{
newCompositeNode(grammarAccess.getStringSymbolRule());
pushFollow(FOLLOW_1);
@@ -2353,7 +2421,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleStringSymbol"
- // InternalSolverLanguage.g:794:1: ruleStringSymbol returns [EObject current=null] : (otherlv_0= 'string' () ) ;
+ // InternalSolverLanguage.g:823:1: ruleStringSymbol returns [EObject current=null] : (otherlv_0= 'string' () ) ;
public final EObject ruleStringSymbol() throws RecognitionException {
EObject current = null;
@@ -2363,18 +2431,18 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:800:2: ( (otherlv_0= 'string' () ) )
- // InternalSolverLanguage.g:801:2: (otherlv_0= 'string' () )
+ // InternalSolverLanguage.g:829:2: ( (otherlv_0= 'string' () ) )
+ // InternalSolverLanguage.g:830:2: (otherlv_0= 'string' () )
{
- // InternalSolverLanguage.g:801:2: (otherlv_0= 'string' () )
- // InternalSolverLanguage.g:802:3: otherlv_0= 'string' ()
+ // InternalSolverLanguage.g:830:2: (otherlv_0= 'string' () )
+ // InternalSolverLanguage.g:831:3: otherlv_0= 'string' ()
{
- otherlv_0=(Token)match(input,25,FOLLOW_2);
+ otherlv_0=(Token)match(input,26,FOLLOW_2);
newLeafNode(otherlv_0, grammarAccess.getStringSymbolAccess().getStringKeyword_0());
- // InternalSolverLanguage.g:806:3: ()
- // InternalSolverLanguage.g:807:4:
+ // InternalSolverLanguage.g:835:3: ()
+ // InternalSolverLanguage.g:836:4:
{
current = forceCreateModelElement(
@@ -2407,7 +2475,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleComplexObject"
- // InternalSolverLanguage.g:817:1: entryRuleComplexObject returns [EObject current=null] : iv_ruleComplexObject= ruleComplexObject EOF ;
+ // InternalSolverLanguage.g:846:1: entryRuleComplexObject returns [EObject current=null] : iv_ruleComplexObject= ruleComplexObject EOF ;
public final EObject entryRuleComplexObject() throws RecognitionException {
EObject current = null;
@@ -2415,8 +2483,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:817:54: (iv_ruleComplexObject= ruleComplexObject EOF )
- // InternalSolverLanguage.g:818:2: iv_ruleComplexObject= ruleComplexObject EOF
+ // InternalSolverLanguage.g:846:54: (iv_ruleComplexObject= ruleComplexObject EOF )
+ // InternalSolverLanguage.g:847:2: iv_ruleComplexObject= ruleComplexObject EOF
{
newCompositeNode(grammarAccess.getComplexObjectRule());
pushFollow(FOLLOW_1);
@@ -2443,7 +2511,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleComplexObject"
- // InternalSolverLanguage.g:824:1: ruleComplexObject returns [EObject current=null] : (this_Object_0= ruleObject | this_AllInstances_1= ruleAllInstances | this_AllObjects_2= ruleAllObjects ) ;
+ // InternalSolverLanguage.g:853:1: ruleComplexObject returns [EObject current=null] : (this_Object_0= ruleObject | this_AllInstances_1= ruleAllInstances | this_AllObjects_2= ruleAllObjects ) ;
public final EObject ruleComplexObject() throws RecognitionException {
EObject current = null;
@@ -2458,11 +2526,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:830:2: ( (this_Object_0= ruleObject | this_AllInstances_1= ruleAllInstances | this_AllObjects_2= ruleAllObjects ) )
- // InternalSolverLanguage.g:831:2: (this_Object_0= ruleObject | this_AllInstances_1= ruleAllInstances | this_AllObjects_2= ruleAllObjects )
+ // InternalSolverLanguage.g:859:2: ( (this_Object_0= ruleObject | this_AllInstances_1= ruleAllInstances | this_AllObjects_2= ruleAllObjects ) )
+ // InternalSolverLanguage.g:860:2: (this_Object_0= ruleObject | this_AllInstances_1= ruleAllInstances | this_AllObjects_2= ruleAllObjects )
{
- // InternalSolverLanguage.g:831:2: (this_Object_0= ruleObject | this_AllInstances_1= ruleAllInstances | this_AllObjects_2= ruleAllObjects )
- int alt12=3;
+ // InternalSolverLanguage.g:860:2: (this_Object_0= ruleObject | this_AllInstances_1= ruleAllInstances | this_AllObjects_2= ruleAllObjects )
+ int alt14=3;
switch ( input.LA(1) ) {
case RULE_INT:
case RULE_ID:
@@ -2470,31 +2538,31 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
case 11:
case 13:
case 14:
- case 26:
+ case 27:
{
- alt12=1;
+ alt14=1;
}
break;
- case 19:
+ case 20:
{
- alt12=2;
+ alt14=2;
}
break;
- case 30:
+ case 31:
{
- alt12=3;
+ alt14=3;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 12, 0, input);
+ new NoViableAltException("", 14, 0, input);
throw nvae;
}
- switch (alt12) {
+ switch (alt14) {
case 1 :
- // InternalSolverLanguage.g:832:3: this_Object_0= ruleObject
+ // InternalSolverLanguage.g:861:3: this_Object_0= ruleObject
{
newCompositeNode(grammarAccess.getComplexObjectAccess().getObjectParserRuleCall_0());
@@ -2512,7 +2580,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:841:3: this_AllInstances_1= ruleAllInstances
+ // InternalSolverLanguage.g:870:3: this_AllInstances_1= ruleAllInstances
{
newCompositeNode(grammarAccess.getComplexObjectAccess().getAllInstancesParserRuleCall_1());
@@ -2530,7 +2598,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalSolverLanguage.g:850:3: this_AllObjects_2= ruleAllObjects
+ // InternalSolverLanguage.g:879:3: this_AllObjects_2= ruleAllObjects
{
newCompositeNode(grammarAccess.getComplexObjectAccess().getAllObjectsParserRuleCall_2());
@@ -2570,7 +2638,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleObject"
- // InternalSolverLanguage.g:862:1: entryRuleObject returns [EObject current=null] : iv_ruleObject= ruleObject EOF ;
+ // InternalSolverLanguage.g:891:1: entryRuleObject returns [EObject current=null] : iv_ruleObject= ruleObject EOF ;
public final EObject entryRuleObject() throws RecognitionException {
EObject current = null;
@@ -2578,8 +2646,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:862:47: (iv_ruleObject= ruleObject EOF )
- // InternalSolverLanguage.g:863:2: iv_ruleObject= ruleObject EOF
+ // InternalSolverLanguage.g:891:47: (iv_ruleObject= ruleObject EOF )
+ // InternalSolverLanguage.g:892:2: iv_ruleObject= ruleObject EOF
{
newCompositeNode(grammarAccess.getObjectRule());
pushFollow(FOLLOW_1);
@@ -2606,7 +2674,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleObject"
- // InternalSolverLanguage.g:869:1: ruleObject returns [EObject current=null] : (this_NamedObject_0= ruleNamedObject | this_UnnamedObject_1= ruleUnnamedObject | this_DataObject_2= ruleDataObject ) ;
+ // InternalSolverLanguage.g:898:1: ruleObject returns [EObject current=null] : (this_NamedObject_0= ruleNamedObject | this_UnnamedObject_1= ruleUnnamedObject | this_DataObject_2= ruleDataObject ) ;
public final EObject ruleObject() throws RecognitionException {
EObject current = null;
@@ -2621,20 +2689,20 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:875:2: ( (this_NamedObject_0= ruleNamedObject | this_UnnamedObject_1= ruleUnnamedObject | this_DataObject_2= ruleDataObject ) )
- // InternalSolverLanguage.g:876:2: (this_NamedObject_0= ruleNamedObject | this_UnnamedObject_1= ruleUnnamedObject | this_DataObject_2= ruleDataObject )
+ // InternalSolverLanguage.g:904:2: ( (this_NamedObject_0= ruleNamedObject | this_UnnamedObject_1= ruleUnnamedObject | this_DataObject_2= ruleDataObject ) )
+ // InternalSolverLanguage.g:905:2: (this_NamedObject_0= ruleNamedObject | this_UnnamedObject_1= ruleUnnamedObject | this_DataObject_2= ruleDataObject )
{
- // InternalSolverLanguage.g:876:2: (this_NamedObject_0= ruleNamedObject | this_UnnamedObject_1= ruleUnnamedObject | this_DataObject_2= ruleDataObject )
- int alt13=3;
+ // InternalSolverLanguage.g:905:2: (this_NamedObject_0= ruleNamedObject | this_UnnamedObject_1= ruleUnnamedObject | this_DataObject_2= ruleDataObject )
+ int alt15=3;
switch ( input.LA(1) ) {
- case 26:
+ case 27:
{
- alt13=1;
+ alt15=1;
}
break;
case RULE_ID:
{
- alt13=2;
+ alt15=2;
}
break;
case RULE_INT:
@@ -2643,19 +2711,19 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
case 13:
case 14:
{
- alt13=3;
+ alt15=3;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 13, 0, input);
+ new NoViableAltException("", 15, 0, input);
throw nvae;
}
- switch (alt13) {
+ switch (alt15) {
case 1 :
- // InternalSolverLanguage.g:877:3: this_NamedObject_0= ruleNamedObject
+ // InternalSolverLanguage.g:906:3: this_NamedObject_0= ruleNamedObject
{
newCompositeNode(grammarAccess.getObjectAccess().getNamedObjectParserRuleCall_0());
@@ -2673,7 +2741,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:886:3: this_UnnamedObject_1= ruleUnnamedObject
+ // InternalSolverLanguage.g:915:3: this_UnnamedObject_1= ruleUnnamedObject
{
newCompositeNode(grammarAccess.getObjectAccess().getUnnamedObjectParserRuleCall_1());
@@ -2691,7 +2759,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalSolverLanguage.g:895:3: this_DataObject_2= ruleDataObject
+ // InternalSolverLanguage.g:924:3: this_DataObject_2= ruleDataObject
{
newCompositeNode(grammarAccess.getObjectAccess().getDataObjectParserRuleCall_2());
@@ -2731,7 +2799,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleNamedObject"
- // InternalSolverLanguage.g:907:1: entryRuleNamedObject returns [EObject current=null] : iv_ruleNamedObject= ruleNamedObject EOF ;
+ // InternalSolverLanguage.g:936:1: entryRuleNamedObject returns [EObject current=null] : iv_ruleNamedObject= ruleNamedObject EOF ;
public final EObject entryRuleNamedObject() throws RecognitionException {
EObject current = null;
@@ -2739,8 +2807,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:907:52: (iv_ruleNamedObject= ruleNamedObject EOF )
- // InternalSolverLanguage.g:908:2: iv_ruleNamedObject= ruleNamedObject EOF
+ // InternalSolverLanguage.g:936:52: (iv_ruleNamedObject= ruleNamedObject EOF )
+ // InternalSolverLanguage.g:937:2: iv_ruleNamedObject= ruleNamedObject EOF
{
newCompositeNode(grammarAccess.getNamedObjectRule());
pushFollow(FOLLOW_1);
@@ -2767,7 +2835,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleNamedObject"
- // InternalSolverLanguage.g:914:1: ruleNamedObject returns [EObject current=null] : (otherlv_0= '\\'' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '\\'' ) ;
+ // InternalSolverLanguage.g:943:1: ruleNamedObject returns [EObject current=null] : (otherlv_0= '\\'' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '\\'' ) ;
public final EObject ruleNamedObject() throws RecognitionException {
EObject current = null;
@@ -2779,23 +2847,23 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:920:2: ( (otherlv_0= '\\'' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '\\'' ) )
- // InternalSolverLanguage.g:921:2: (otherlv_0= '\\'' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '\\'' )
+ // InternalSolverLanguage.g:949:2: ( (otherlv_0= '\\'' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '\\'' ) )
+ // InternalSolverLanguage.g:950:2: (otherlv_0= '\\'' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '\\'' )
{
- // InternalSolverLanguage.g:921:2: (otherlv_0= '\\'' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '\\'' )
- // InternalSolverLanguage.g:922:3: otherlv_0= '\\'' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '\\''
+ // InternalSolverLanguage.g:950:2: (otherlv_0= '\\'' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '\\'' )
+ // InternalSolverLanguage.g:951:3: otherlv_0= '\\'' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '\\''
{
- otherlv_0=(Token)match(input,26,FOLLOW_10);
+ otherlv_0=(Token)match(input,27,FOLLOW_12);
newLeafNode(otherlv_0, grammarAccess.getNamedObjectAccess().getApostropheKeyword_0());
- // InternalSolverLanguage.g:926:3: ( (lv_name_1_0= RULE_ID ) )
- // InternalSolverLanguage.g:927:4: (lv_name_1_0= RULE_ID )
+ // InternalSolverLanguage.g:955:3: ( (lv_name_1_0= RULE_ID ) )
+ // InternalSolverLanguage.g:956:4: (lv_name_1_0= RULE_ID )
{
- // InternalSolverLanguage.g:927:4: (lv_name_1_0= RULE_ID )
- // InternalSolverLanguage.g:928:5: lv_name_1_0= RULE_ID
+ // InternalSolverLanguage.g:956:4: (lv_name_1_0= RULE_ID )
+ // InternalSolverLanguage.g:957:5: lv_name_1_0= RULE_ID
{
- lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_11);
+ lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_13);
newLeafNode(lv_name_1_0, grammarAccess.getNamedObjectAccess().getNameIDTerminalRuleCall_1_0());
@@ -2815,7 +2883,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,26,FOLLOW_2);
+ otherlv_2=(Token)match(input,27,FOLLOW_2);
newLeafNode(otherlv_2, grammarAccess.getNamedObjectAccess().getApostropheKeyword_2());
@@ -2842,7 +2910,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleUnnamedObject"
- // InternalSolverLanguage.g:952:1: entryRuleUnnamedObject returns [EObject current=null] : iv_ruleUnnamedObject= ruleUnnamedObject EOF ;
+ // InternalSolverLanguage.g:981:1: entryRuleUnnamedObject returns [EObject current=null] : iv_ruleUnnamedObject= ruleUnnamedObject EOF ;
public final EObject entryRuleUnnamedObject() throws RecognitionException {
EObject current = null;
@@ -2850,8 +2918,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:952:54: (iv_ruleUnnamedObject= ruleUnnamedObject EOF )
- // InternalSolverLanguage.g:953:2: iv_ruleUnnamedObject= ruleUnnamedObject EOF
+ // InternalSolverLanguage.g:981:54: (iv_ruleUnnamedObject= ruleUnnamedObject EOF )
+ // InternalSolverLanguage.g:982:2: iv_ruleUnnamedObject= ruleUnnamedObject EOF
{
newCompositeNode(grammarAccess.getUnnamedObjectRule());
pushFollow(FOLLOW_1);
@@ -2878,7 +2946,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleUnnamedObject"
- // InternalSolverLanguage.g:959:1: ruleUnnamedObject returns [EObject current=null] : ( (lv_name_0_0= RULE_ID ) ) ;
+ // InternalSolverLanguage.g:988:1: ruleUnnamedObject returns [EObject current=null] : ( (lv_name_0_0= RULE_ID ) ) ;
public final EObject ruleUnnamedObject() throws RecognitionException {
EObject current = null;
@@ -2888,14 +2956,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:965:2: ( ( (lv_name_0_0= RULE_ID ) ) )
- // InternalSolverLanguage.g:966:2: ( (lv_name_0_0= RULE_ID ) )
+ // InternalSolverLanguage.g:994:2: ( ( (lv_name_0_0= RULE_ID ) ) )
+ // InternalSolverLanguage.g:995:2: ( (lv_name_0_0= RULE_ID ) )
{
- // InternalSolverLanguage.g:966:2: ( (lv_name_0_0= RULE_ID ) )
- // InternalSolverLanguage.g:967:3: (lv_name_0_0= RULE_ID )
+ // InternalSolverLanguage.g:995:2: ( (lv_name_0_0= RULE_ID ) )
+ // InternalSolverLanguage.g:996:3: (lv_name_0_0= RULE_ID )
{
- // InternalSolverLanguage.g:967:3: (lv_name_0_0= RULE_ID )
- // InternalSolverLanguage.g:968:4: lv_name_0_0= RULE_ID
+ // InternalSolverLanguage.g:996:3: (lv_name_0_0= RULE_ID )
+ // InternalSolverLanguage.g:997:4: lv_name_0_0= RULE_ID
{
lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_2);
@@ -2937,7 +3005,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDataObject"
- // InternalSolverLanguage.g:987:1: entryRuleDataObject returns [EObject current=null] : iv_ruleDataObject= ruleDataObject EOF ;
+ // InternalSolverLanguage.g:1016:1: entryRuleDataObject returns [EObject current=null] : iv_ruleDataObject= ruleDataObject EOF ;
public final EObject entryRuleDataObject() throws RecognitionException {
EObject current = null;
@@ -2945,8 +3013,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:987:51: (iv_ruleDataObject= ruleDataObject EOF )
- // InternalSolverLanguage.g:988:2: iv_ruleDataObject= ruleDataObject EOF
+ // InternalSolverLanguage.g:1016:51: (iv_ruleDataObject= ruleDataObject EOF )
+ // InternalSolverLanguage.g:1017:2: iv_ruleDataObject= ruleDataObject EOF
{
newCompositeNode(grammarAccess.getDataObjectRule());
pushFollow(FOLLOW_1);
@@ -2973,7 +3041,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDataObject"
- // InternalSolverLanguage.g:994:1: ruleDataObject returns [EObject current=null] : (this_BooleanObject_0= ruleBooleanObject | this_IntObject_1= ruleIntObject | this_RealObject_2= ruleRealObject | this_StringObject_3= ruleStringObject ) ;
+ // InternalSolverLanguage.g:1023:1: ruleDataObject returns [EObject current=null] : (this_BooleanObject_0= ruleBooleanObject | this_IntObject_1= ruleIntObject | this_RealObject_2= ruleRealObject | this_StringObject_3= ruleStringObject ) ;
public final EObject ruleDataObject() throws RecognitionException {
EObject current = null;
@@ -2990,41 +3058,41 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1000:2: ( (this_BooleanObject_0= ruleBooleanObject | this_IntObject_1= ruleIntObject | this_RealObject_2= ruleRealObject | this_StringObject_3= ruleStringObject ) )
- // InternalSolverLanguage.g:1001:2: (this_BooleanObject_0= ruleBooleanObject | this_IntObject_1= ruleIntObject | this_RealObject_2= ruleRealObject | this_StringObject_3= ruleStringObject )
+ // InternalSolverLanguage.g:1029:2: ( (this_BooleanObject_0= ruleBooleanObject | this_IntObject_1= ruleIntObject | this_RealObject_2= ruleRealObject | this_StringObject_3= ruleStringObject ) )
+ // InternalSolverLanguage.g:1030:2: (this_BooleanObject_0= ruleBooleanObject | this_IntObject_1= ruleIntObject | this_RealObject_2= ruleRealObject | this_StringObject_3= ruleStringObject )
{
- // InternalSolverLanguage.g:1001:2: (this_BooleanObject_0= ruleBooleanObject | this_IntObject_1= ruleIntObject | this_RealObject_2= ruleRealObject | this_StringObject_3= ruleStringObject )
- int alt14=4;
+ // InternalSolverLanguage.g:1030:2: (this_BooleanObject_0= ruleBooleanObject | this_IntObject_1= ruleIntObject | this_RealObject_2= ruleRealObject | this_StringObject_3= ruleStringObject )
+ int alt16=4;
switch ( input.LA(1) ) {
case 13:
case 14:
{
- alt14=1;
+ alt16=1;
}
break;
case 11:
{
- int LA14_2 = input.LA(2);
+ int LA16_2 = input.LA(2);
- if ( (LA14_2==RULE_INT) ) {
- int LA14_3 = input.LA(3);
+ if ( (LA16_2==RULE_INT) ) {
+ int LA16_3 = input.LA(3);
- if ( (LA14_3==12) ) {
- alt14=3;
+ if ( (LA16_3==12) ) {
+ alt16=3;
}
- else if ( (LA14_3==EOF||(LA14_3>=RULE_INT && LA14_3<=RULE_STRING)||LA14_3==11||(LA14_3>=13 && LA14_3<=14)||(LA14_3>=18 && LA14_3<=19)||LA14_3==26||LA14_3==30) ) {
- alt14=2;
+ else if ( (LA16_3==EOF||(LA16_3>=18 && LA16_3<=19)) ) {
+ alt16=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 14, 3, input);
+ new NoViableAltException("", 16, 3, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 14, 2, input);
+ new NoViableAltException("", 16, 2, input);
throw nvae;
}
@@ -3032,17 +3100,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
break;
case RULE_INT:
{
- int LA14_3 = input.LA(2);
+ int LA16_3 = input.LA(2);
- if ( (LA14_3==12) ) {
- alt14=3;
+ if ( (LA16_3==12) ) {
+ alt16=3;
}
- else if ( (LA14_3==EOF||(LA14_3>=RULE_INT && LA14_3<=RULE_STRING)||LA14_3==11||(LA14_3>=13 && LA14_3<=14)||(LA14_3>=18 && LA14_3<=19)||LA14_3==26||LA14_3==30) ) {
- alt14=2;
+ else if ( (LA16_3==EOF||(LA16_3>=18 && LA16_3<=19)) ) {
+ alt16=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 14, 3, input);
+ new NoViableAltException("", 16, 3, input);
throw nvae;
}
@@ -3050,19 +3118,19 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
break;
case RULE_STRING:
{
- alt14=4;
+ alt16=4;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 14, 0, input);
+ new NoViableAltException("", 16, 0, input);
throw nvae;
}
- switch (alt14) {
+ switch (alt16) {
case 1 :
- // InternalSolverLanguage.g:1002:3: this_BooleanObject_0= ruleBooleanObject
+ // InternalSolverLanguage.g:1031:3: this_BooleanObject_0= ruleBooleanObject
{
newCompositeNode(grammarAccess.getDataObjectAccess().getBooleanObjectParserRuleCall_0());
@@ -3080,7 +3148,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:1011:3: this_IntObject_1= ruleIntObject
+ // InternalSolverLanguage.g:1040:3: this_IntObject_1= ruleIntObject
{
newCompositeNode(grammarAccess.getDataObjectAccess().getIntObjectParserRuleCall_1());
@@ -3098,7 +3166,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalSolverLanguage.g:1020:3: this_RealObject_2= ruleRealObject
+ // InternalSolverLanguage.g:1049:3: this_RealObject_2= ruleRealObject
{
newCompositeNode(grammarAccess.getDataObjectAccess().getRealObjectParserRuleCall_2());
@@ -3116,7 +3184,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // InternalSolverLanguage.g:1029:3: this_StringObject_3= ruleStringObject
+ // InternalSolverLanguage.g:1058:3: this_StringObject_3= ruleStringObject
{
newCompositeNode(grammarAccess.getDataObjectAccess().getStringObjectParserRuleCall_3());
@@ -3156,7 +3224,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleBooleanObject"
- // InternalSolverLanguage.g:1041:1: entryRuleBooleanObject returns [EObject current=null] : iv_ruleBooleanObject= ruleBooleanObject EOF ;
+ // InternalSolverLanguage.g:1070:1: entryRuleBooleanObject returns [EObject current=null] : iv_ruleBooleanObject= ruleBooleanObject EOF ;
public final EObject entryRuleBooleanObject() throws RecognitionException {
EObject current = null;
@@ -3164,8 +3232,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1041:54: (iv_ruleBooleanObject= ruleBooleanObject EOF )
- // InternalSolverLanguage.g:1042:2: iv_ruleBooleanObject= ruleBooleanObject EOF
+ // InternalSolverLanguage.g:1070:54: (iv_ruleBooleanObject= ruleBooleanObject EOF )
+ // InternalSolverLanguage.g:1071:2: iv_ruleBooleanObject= ruleBooleanObject EOF
{
newCompositeNode(grammarAccess.getBooleanObjectRule());
pushFollow(FOLLOW_1);
@@ -3192,7 +3260,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleBooleanObject"
- // InternalSolverLanguage.g:1048:1: ruleBooleanObject returns [EObject current=null] : ( (lv_value_0_0= ruleBooleanValue ) ) ;
+ // InternalSolverLanguage.g:1077:1: ruleBooleanObject returns [EObject current=null] : ( (lv_value_0_0= ruleBooleanValue ) ) ;
public final EObject ruleBooleanObject() throws RecognitionException {
EObject current = null;
@@ -3203,14 +3271,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1054:2: ( ( (lv_value_0_0= ruleBooleanValue ) ) )
- // InternalSolverLanguage.g:1055:2: ( (lv_value_0_0= ruleBooleanValue ) )
+ // InternalSolverLanguage.g:1083:2: ( ( (lv_value_0_0= ruleBooleanValue ) ) )
+ // InternalSolverLanguage.g:1084:2: ( (lv_value_0_0= ruleBooleanValue ) )
{
- // InternalSolverLanguage.g:1055:2: ( (lv_value_0_0= ruleBooleanValue ) )
- // InternalSolverLanguage.g:1056:3: (lv_value_0_0= ruleBooleanValue )
+ // InternalSolverLanguage.g:1084:2: ( (lv_value_0_0= ruleBooleanValue ) )
+ // InternalSolverLanguage.g:1085:3: (lv_value_0_0= ruleBooleanValue )
{
- // InternalSolverLanguage.g:1056:3: (lv_value_0_0= ruleBooleanValue )
- // InternalSolverLanguage.g:1057:4: lv_value_0_0= ruleBooleanValue
+ // InternalSolverLanguage.g:1085:3: (lv_value_0_0= ruleBooleanValue )
+ // InternalSolverLanguage.g:1086:4: lv_value_0_0= ruleBooleanValue
{
newCompositeNode(grammarAccess.getBooleanObjectAccess().getValueBooleanValueParserRuleCall_0());
@@ -3257,7 +3325,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleIntObject"
- // InternalSolverLanguage.g:1077:1: entryRuleIntObject returns [EObject current=null] : iv_ruleIntObject= ruleIntObject EOF ;
+ // InternalSolverLanguage.g:1106:1: entryRuleIntObject returns [EObject current=null] : iv_ruleIntObject= ruleIntObject EOF ;
public final EObject entryRuleIntObject() throws RecognitionException {
EObject current = null;
@@ -3265,8 +3333,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1077:50: (iv_ruleIntObject= ruleIntObject EOF )
- // InternalSolverLanguage.g:1078:2: iv_ruleIntObject= ruleIntObject EOF
+ // InternalSolverLanguage.g:1106:50: (iv_ruleIntObject= ruleIntObject EOF )
+ // InternalSolverLanguage.g:1107:2: iv_ruleIntObject= ruleIntObject EOF
{
newCompositeNode(grammarAccess.getIntObjectRule());
pushFollow(FOLLOW_1);
@@ -3293,7 +3361,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleIntObject"
- // InternalSolverLanguage.g:1084:1: ruleIntObject returns [EObject current=null] : ( (lv_value_0_0= ruleINTLiteral ) ) ;
+ // InternalSolverLanguage.g:1113:1: ruleIntObject returns [EObject current=null] : ( (lv_value_0_0= ruleINTLiteral ) ) ;
public final EObject ruleIntObject() throws RecognitionException {
EObject current = null;
@@ -3304,14 +3372,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1090:2: ( ( (lv_value_0_0= ruleINTLiteral ) ) )
- // InternalSolverLanguage.g:1091:2: ( (lv_value_0_0= ruleINTLiteral ) )
+ // InternalSolverLanguage.g:1119:2: ( ( (lv_value_0_0= ruleINTLiteral ) ) )
+ // InternalSolverLanguage.g:1120:2: ( (lv_value_0_0= ruleINTLiteral ) )
{
- // InternalSolverLanguage.g:1091:2: ( (lv_value_0_0= ruleINTLiteral ) )
- // InternalSolverLanguage.g:1092:3: (lv_value_0_0= ruleINTLiteral )
+ // InternalSolverLanguage.g:1120:2: ( (lv_value_0_0= ruleINTLiteral ) )
+ // InternalSolverLanguage.g:1121:3: (lv_value_0_0= ruleINTLiteral )
{
- // InternalSolverLanguage.g:1092:3: (lv_value_0_0= ruleINTLiteral )
- // InternalSolverLanguage.g:1093:4: lv_value_0_0= ruleINTLiteral
+ // InternalSolverLanguage.g:1121:3: (lv_value_0_0= ruleINTLiteral )
+ // InternalSolverLanguage.g:1122:4: lv_value_0_0= ruleINTLiteral
{
newCompositeNode(grammarAccess.getIntObjectAccess().getValueINTLiteralParserRuleCall_0());
@@ -3358,7 +3426,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleRealObject"
- // InternalSolverLanguage.g:1113:1: entryRuleRealObject returns [EObject current=null] : iv_ruleRealObject= ruleRealObject EOF ;
+ // InternalSolverLanguage.g:1142:1: entryRuleRealObject returns [EObject current=null] : iv_ruleRealObject= ruleRealObject EOF ;
public final EObject entryRuleRealObject() throws RecognitionException {
EObject current = null;
@@ -3366,8 +3434,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1113:51: (iv_ruleRealObject= ruleRealObject EOF )
- // InternalSolverLanguage.g:1114:2: iv_ruleRealObject= ruleRealObject EOF
+ // InternalSolverLanguage.g:1142:51: (iv_ruleRealObject= ruleRealObject EOF )
+ // InternalSolverLanguage.g:1143:2: iv_ruleRealObject= ruleRealObject EOF
{
newCompositeNode(grammarAccess.getRealObjectRule());
pushFollow(FOLLOW_1);
@@ -3394,7 +3462,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleRealObject"
- // InternalSolverLanguage.g:1120:1: ruleRealObject returns [EObject current=null] : ( (lv_value_0_0= ruleREALLiteral ) ) ;
+ // InternalSolverLanguage.g:1149:1: ruleRealObject returns [EObject current=null] : ( (lv_value_0_0= ruleREALLiteral ) ) ;
public final EObject ruleRealObject() throws RecognitionException {
EObject current = null;
@@ -3405,14 +3473,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1126:2: ( ( (lv_value_0_0= ruleREALLiteral ) ) )
- // InternalSolverLanguage.g:1127:2: ( (lv_value_0_0= ruleREALLiteral ) )
+ // InternalSolverLanguage.g:1155:2: ( ( (lv_value_0_0= ruleREALLiteral ) ) )
+ // InternalSolverLanguage.g:1156:2: ( (lv_value_0_0= ruleREALLiteral ) )
{
- // InternalSolverLanguage.g:1127:2: ( (lv_value_0_0= ruleREALLiteral ) )
- // InternalSolverLanguage.g:1128:3: (lv_value_0_0= ruleREALLiteral )
+ // InternalSolverLanguage.g:1156:2: ( (lv_value_0_0= ruleREALLiteral ) )
+ // InternalSolverLanguage.g:1157:3: (lv_value_0_0= ruleREALLiteral )
{
- // InternalSolverLanguage.g:1128:3: (lv_value_0_0= ruleREALLiteral )
- // InternalSolverLanguage.g:1129:4: lv_value_0_0= ruleREALLiteral
+ // InternalSolverLanguage.g:1157:3: (lv_value_0_0= ruleREALLiteral )
+ // InternalSolverLanguage.g:1158:4: lv_value_0_0= ruleREALLiteral
{
newCompositeNode(grammarAccess.getRealObjectAccess().getValueREALLiteralParserRuleCall_0());
@@ -3459,7 +3527,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleStringObject"
- // InternalSolverLanguage.g:1149:1: entryRuleStringObject returns [EObject current=null] : iv_ruleStringObject= ruleStringObject EOF ;
+ // InternalSolverLanguage.g:1178:1: entryRuleStringObject returns [EObject current=null] : iv_ruleStringObject= ruleStringObject EOF ;
public final EObject entryRuleStringObject() throws RecognitionException {
EObject current = null;
@@ -3467,8 +3535,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1149:53: (iv_ruleStringObject= ruleStringObject EOF )
- // InternalSolverLanguage.g:1150:2: iv_ruleStringObject= ruleStringObject EOF
+ // InternalSolverLanguage.g:1178:53: (iv_ruleStringObject= ruleStringObject EOF )
+ // InternalSolverLanguage.g:1179:2: iv_ruleStringObject= ruleStringObject EOF
{
newCompositeNode(grammarAccess.getStringObjectRule());
pushFollow(FOLLOW_1);
@@ -3495,7 +3563,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleStringObject"
- // InternalSolverLanguage.g:1156:1: ruleStringObject returns [EObject current=null] : ( (lv_value_0_0= RULE_STRING ) ) ;
+ // InternalSolverLanguage.g:1185:1: ruleStringObject returns [EObject current=null] : ( (lv_value_0_0= RULE_STRING ) ) ;
public final EObject ruleStringObject() throws RecognitionException {
EObject current = null;
@@ -3505,14 +3573,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1162:2: ( ( (lv_value_0_0= RULE_STRING ) ) )
- // InternalSolverLanguage.g:1163:2: ( (lv_value_0_0= RULE_STRING ) )
+ // InternalSolverLanguage.g:1191:2: ( ( (lv_value_0_0= RULE_STRING ) ) )
+ // InternalSolverLanguage.g:1192:2: ( (lv_value_0_0= RULE_STRING ) )
{
- // InternalSolverLanguage.g:1163:2: ( (lv_value_0_0= RULE_STRING ) )
- // InternalSolverLanguage.g:1164:3: (lv_value_0_0= RULE_STRING )
+ // InternalSolverLanguage.g:1192:2: ( (lv_value_0_0= RULE_STRING ) )
+ // InternalSolverLanguage.g:1193:3: (lv_value_0_0= RULE_STRING )
{
- // InternalSolverLanguage.g:1164:3: (lv_value_0_0= RULE_STRING )
- // InternalSolverLanguage.g:1165:4: lv_value_0_0= RULE_STRING
+ // InternalSolverLanguage.g:1193:3: (lv_value_0_0= RULE_STRING )
+ // InternalSolverLanguage.g:1194:4: lv_value_0_0= RULE_STRING
{
lv_value_0_0=(Token)match(input,RULE_STRING,FOLLOW_2);
@@ -3554,7 +3622,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRulePredicate"
- // InternalSolverLanguage.g:1184:1: entryRulePredicate returns [EObject current=null] : iv_rulePredicate= rulePredicate EOF ;
+ // InternalSolverLanguage.g:1213:1: entryRulePredicate returns [EObject current=null] : iv_rulePredicate= rulePredicate EOF ;
public final EObject entryRulePredicate() throws RecognitionException {
EObject current = null;
@@ -3562,8 +3630,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1184:50: (iv_rulePredicate= rulePredicate EOF )
- // InternalSolverLanguage.g:1185:2: iv_rulePredicate= rulePredicate EOF
+ // InternalSolverLanguage.g:1213:50: (iv_rulePredicate= rulePredicate EOF )
+ // InternalSolverLanguage.g:1214:2: iv_rulePredicate= rulePredicate EOF
{
newCompositeNode(grammarAccess.getPredicateRule());
pushFollow(FOLLOW_1);
@@ -3590,611 +3658,247 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePredicate"
- // InternalSolverLanguage.g:1191:1: rulePredicate returns [EObject current=null] : (this_PredicateSymbol_0= rulePredicateSymbol | this_ErrorPredicate_1= ruleErrorPredicate ) ;
+ // InternalSolverLanguage.g:1220:1: rulePredicate returns [EObject current=null] : ( ( (lv_isError_0_0= 'error' ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) (otherlv_2= '(' ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? otherlv_6= ')' )? otherlv_7= ':-' (otherlv_8= 'false' | ( ( (lv_bodies_9_0= rulePatternBody ) ) (otherlv_10= '|' ( (lv_bodies_11_0= rulePatternBody ) ) )* ) ) otherlv_12= '.' ) ;
public final EObject rulePredicate() throws RecognitionException {
EObject current = null;
- EObject this_PredicateSymbol_0 = null;
+ Token lv_isError_0_0=null;
+ Token otherlv_2=null;
+ Token otherlv_4=null;
+ Token otherlv_6=null;
+ Token otherlv_7=null;
+ Token otherlv_8=null;
+ Token otherlv_10=null;
+ Token otherlv_12=null;
+ EObject lv_symbol_1_0 = null;
+
+ EObject lv_parameters_3_0 = null;
+
+ EObject lv_parameters_5_0 = null;
+
+ EObject lv_bodies_9_0 = null;
- EObject this_ErrorPredicate_1 = null;
+ EObject lv_bodies_11_0 = null;
enterRule();
try {
- // InternalSolverLanguage.g:1197:2: ( (this_PredicateSymbol_0= rulePredicateSymbol | this_ErrorPredicate_1= ruleErrorPredicate ) )
- // InternalSolverLanguage.g:1198:2: (this_PredicateSymbol_0= rulePredicateSymbol | this_ErrorPredicate_1= ruleErrorPredicate )
+ // InternalSolverLanguage.g:1226:2: ( ( ( (lv_isError_0_0= 'error' ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) (otherlv_2= '(' ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? otherlv_6= ')' )? otherlv_7= ':-' (otherlv_8= 'false' | ( ( (lv_bodies_9_0= rulePatternBody ) ) (otherlv_10= '|' ( (lv_bodies_11_0= rulePatternBody ) ) )* ) ) otherlv_12= '.' ) )
+ // InternalSolverLanguage.g:1227:2: ( ( (lv_isError_0_0= 'error' ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) (otherlv_2= '(' ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? otherlv_6= ')' )? otherlv_7= ':-' (otherlv_8= 'false' | ( ( (lv_bodies_9_0= rulePatternBody ) ) (otherlv_10= '|' ( (lv_bodies_11_0= rulePatternBody ) ) )* ) ) otherlv_12= '.' )
{
- // InternalSolverLanguage.g:1198:2: (this_PredicateSymbol_0= rulePredicateSymbol | this_ErrorPredicate_1= ruleErrorPredicate )
- int alt15=2;
- int LA15_0 = input.LA(1);
-
- if ( (LA15_0==27) ) {
- alt15=1;
- }
- else if ( (LA15_0==16) ) {
- alt15=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 15, 0, input);
+ // InternalSolverLanguage.g:1227:2: ( ( (lv_isError_0_0= 'error' ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) (otherlv_2= '(' ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? otherlv_6= ')' )? otherlv_7= ':-' (otherlv_8= 'false' | ( ( (lv_bodies_9_0= rulePatternBody ) ) (otherlv_10= '|' ( (lv_bodies_11_0= rulePatternBody ) ) )* ) ) otherlv_12= '.' )
+ // InternalSolverLanguage.g:1228:3: ( (lv_isError_0_0= 'error' ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) (otherlv_2= '(' ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? otherlv_6= ')' )? otherlv_7= ':-' (otherlv_8= 'false' | ( ( (lv_bodies_9_0= rulePatternBody ) ) (otherlv_10= '|' ( (lv_bodies_11_0= rulePatternBody ) ) )* ) ) otherlv_12= '.'
+ {
+ // InternalSolverLanguage.g:1228:3: ( (lv_isError_0_0= 'error' ) )?
+ int alt17=2;
+ int LA17_0 = input.LA(1);
- throw nvae;
+ if ( (LA17_0==16) ) {
+ alt17=1;
}
- switch (alt15) {
+ switch (alt17) {
case 1 :
- // InternalSolverLanguage.g:1199:3: this_PredicateSymbol_0= rulePredicateSymbol
+ // InternalSolverLanguage.g:1229:4: (lv_isError_0_0= 'error' )
{
+ // InternalSolverLanguage.g:1229:4: (lv_isError_0_0= 'error' )
+ // InternalSolverLanguage.g:1230:5: lv_isError_0_0= 'error'
+ {
+ lv_isError_0_0=(Token)match(input,16,FOLLOW_12);
- newCompositeNode(grammarAccess.getPredicateAccess().getPredicateSymbolParserRuleCall_0());
-
- pushFollow(FOLLOW_2);
- this_PredicateSymbol_0=rulePredicateSymbol();
+ newLeafNode(lv_isError_0_0, grammarAccess.getPredicateAccess().getIsErrorErrorKeyword_0_0());
+
- state._fsp--;
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPredicateRule());
+ }
+ setWithLastConsumed(current, "isError", true, "error");
+
+ }
- current = this_PredicateSymbol_0;
- afterParserOrEnumRuleCall();
-
}
break;
- case 2 :
- // InternalSolverLanguage.g:1208:3: this_ErrorPredicate_1= ruleErrorPredicate
- {
- newCompositeNode(grammarAccess.getPredicateAccess().getErrorPredicateParserRuleCall_1());
-
- pushFollow(FOLLOW_2);
- this_ErrorPredicate_1=ruleErrorPredicate();
+ }
- state._fsp--;
+ // InternalSolverLanguage.g:1242:3: ( (lv_symbol_1_0= ruleModelSymbol ) )
+ // InternalSolverLanguage.g:1243:4: (lv_symbol_1_0= ruleModelSymbol )
+ {
+ // InternalSolverLanguage.g:1243:4: (lv_symbol_1_0= ruleModelSymbol )
+ // InternalSolverLanguage.g:1244:5: lv_symbol_1_0= ruleModelSymbol
+ {
+
+ newCompositeNode(grammarAccess.getPredicateAccess().getSymbolModelSymbolParserRuleCall_1_0());
+
+ pushFollow(FOLLOW_14);
+ lv_symbol_1_0=ruleModelSymbol();
+ state._fsp--;
- current = this_ErrorPredicate_1;
- afterParserOrEnumRuleCall();
-
- }
- break;
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPredicateRule());
+ }
+ set(
+ current,
+ "symbol",
+ lv_symbol_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ModelSymbol");
+ afterParserOrEnumRuleCall();
+
}
}
+ // InternalSolverLanguage.g:1261:3: (otherlv_2= '(' ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? otherlv_6= ')' )?
+ int alt20=2;
+ int LA20_0 = input.LA(1);
- leaveRule();
+ if ( (LA20_0==17) ) {
+ alt20=1;
+ }
+ switch (alt20) {
+ case 1 :
+ // InternalSolverLanguage.g:1262:4: otherlv_2= '(' ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? otherlv_6= ')'
+ {
+ otherlv_2=(Token)match(input,17,FOLLOW_15);
- }
+ newLeafNode(otherlv_2, grammarAccess.getPredicateAccess().getLeftParenthesisKeyword_2_0());
+
+ // InternalSolverLanguage.g:1266:4: ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )?
+ int alt19=2;
+ int LA19_0 = input.LA(1);
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "rulePredicate"
+ if ( (LA19_0==RULE_ID) ) {
+ alt19=1;
+ }
+ switch (alt19) {
+ case 1 :
+ // InternalSolverLanguage.g:1267:5: ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )*
+ {
+ // InternalSolverLanguage.g:1267:5: ( (lv_parameters_3_0= ruleParameter ) )
+ // InternalSolverLanguage.g:1268:6: (lv_parameters_3_0= ruleParameter )
+ {
+ // InternalSolverLanguage.g:1268:6: (lv_parameters_3_0= ruleParameter )
+ // InternalSolverLanguage.g:1269:7: lv_parameters_3_0= ruleParameter
+ {
+ newCompositeNode(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_0_0());
+
+ pushFollow(FOLLOW_8);
+ lv_parameters_3_0=ruleParameter();
- // $ANTLR start "entryRulePredicateSymbol"
- // InternalSolverLanguage.g:1220:1: entryRulePredicateSymbol returns [EObject current=null] : iv_rulePredicateSymbol= rulePredicateSymbol EOF ;
- public final EObject entryRulePredicateSymbol() throws RecognitionException {
- EObject current = null;
+ state._fsp--;
- EObject iv_rulePredicateSymbol = null;
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPredicateRule());
+ }
+ add(
+ current,
+ "parameters",
+ lv_parameters_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Parameter");
+ afterParserOrEnumRuleCall();
+
- try {
- // InternalSolverLanguage.g:1220:56: (iv_rulePredicateSymbol= rulePredicateSymbol EOF )
- // InternalSolverLanguage.g:1221:2: iv_rulePredicateSymbol= rulePredicateSymbol EOF
- {
- newCompositeNode(grammarAccess.getPredicateSymbolRule());
- pushFollow(FOLLOW_1);
- iv_rulePredicateSymbol=rulePredicateSymbol();
+ }
- state._fsp--;
- current =iv_rulePredicateSymbol;
- match(input,EOF,FOLLOW_2);
+ }
- }
+ // InternalSolverLanguage.g:1286:5: (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )*
+ loop18:
+ do {
+ int alt18=2;
+ int LA18_0 = input.LA(1);
- }
+ if ( (LA18_0==18) ) {
+ alt18=1;
+ }
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRulePredicateSymbol"
+ switch (alt18) {
+ case 1 :
+ // InternalSolverLanguage.g:1287:6: otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) )
+ {
+ otherlv_4=(Token)match(input,18,FOLLOW_12);
- // $ANTLR start "rulePredicateSymbol"
- // InternalSolverLanguage.g:1227:1: rulePredicateSymbol returns [EObject current=null] : (otherlv_0= 'predicate' ( (lv_symbol_1_0= ruleModelSymbol ) ) otherlv_2= '(' ( (lv_parameters_3_0= ruleParameter ) )* otherlv_4= ')' otherlv_5= ':' (otherlv_6= 'false' | ( ( (lv_bodies_7_0= rulePatternBody ) ) (otherlv_8= '|' ( (lv_bodies_9_0= rulePatternBody ) ) )* ) ) otherlv_10= '.' ) ;
- public final EObject rulePredicateSymbol() throws RecognitionException {
- EObject current = null;
+ newLeafNode(otherlv_4, grammarAccess.getPredicateAccess().getCommaKeyword_2_1_1_0());
+
+ // InternalSolverLanguage.g:1291:6: ( (lv_parameters_5_0= ruleParameter ) )
+ // InternalSolverLanguage.g:1292:7: (lv_parameters_5_0= ruleParameter )
+ {
+ // InternalSolverLanguage.g:1292:7: (lv_parameters_5_0= ruleParameter )
+ // InternalSolverLanguage.g:1293:8: lv_parameters_5_0= ruleParameter
+ {
- Token otherlv_0=null;
- Token otherlv_2=null;
- Token otherlv_4=null;
- Token otherlv_5=null;
- Token otherlv_6=null;
- Token otherlv_8=null;
- Token otherlv_10=null;
- EObject lv_symbol_1_0 = null;
+ newCompositeNode(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_1_1_0());
+
+ pushFollow(FOLLOW_8);
+ lv_parameters_5_0=ruleParameter();
- EObject lv_parameters_3_0 = null;
+ state._fsp--;
- EObject lv_bodies_7_0 = null;
- EObject lv_bodies_9_0 = null;
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPredicateRule());
+ }
+ add(
+ current,
+ "parameters",
+ lv_parameters_5_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Parameter");
+ afterParserOrEnumRuleCall();
+
+ }
- enterRule();
+ }
- try {
- // InternalSolverLanguage.g:1233:2: ( (otherlv_0= 'predicate' ( (lv_symbol_1_0= ruleModelSymbol ) ) otherlv_2= '(' ( (lv_parameters_3_0= ruleParameter ) )* otherlv_4= ')' otherlv_5= ':' (otherlv_6= 'false' | ( ( (lv_bodies_7_0= rulePatternBody ) ) (otherlv_8= '|' ( (lv_bodies_9_0= rulePatternBody ) ) )* ) ) otherlv_10= '.' ) )
- // InternalSolverLanguage.g:1234:2: (otherlv_0= 'predicate' ( (lv_symbol_1_0= ruleModelSymbol ) ) otherlv_2= '(' ( (lv_parameters_3_0= ruleParameter ) )* otherlv_4= ')' otherlv_5= ':' (otherlv_6= 'false' | ( ( (lv_bodies_7_0= rulePatternBody ) ) (otherlv_8= '|' ( (lv_bodies_9_0= rulePatternBody ) ) )* ) ) otherlv_10= '.' )
- {
- // InternalSolverLanguage.g:1234:2: (otherlv_0= 'predicate' ( (lv_symbol_1_0= ruleModelSymbol ) ) otherlv_2= '(' ( (lv_parameters_3_0= ruleParameter ) )* otherlv_4= ')' otherlv_5= ':' (otherlv_6= 'false' | ( ( (lv_bodies_7_0= rulePatternBody ) ) (otherlv_8= '|' ( (lv_bodies_9_0= rulePatternBody ) ) )* ) ) otherlv_10= '.' )
- // InternalSolverLanguage.g:1235:3: otherlv_0= 'predicate' ( (lv_symbol_1_0= ruleModelSymbol ) ) otherlv_2= '(' ( (lv_parameters_3_0= ruleParameter ) )* otherlv_4= ')' otherlv_5= ':' (otherlv_6= 'false' | ( ( (lv_bodies_7_0= rulePatternBody ) ) (otherlv_8= '|' ( (lv_bodies_9_0= rulePatternBody ) ) )* ) ) otherlv_10= '.'
- {
- otherlv_0=(Token)match(input,27,FOLLOW_10);
- newLeafNode(otherlv_0, grammarAccess.getPredicateSymbolAccess().getPredicateKeyword_0());
-
- // InternalSolverLanguage.g:1239:3: ( (lv_symbol_1_0= ruleModelSymbol ) )
- // InternalSolverLanguage.g:1240:4: (lv_symbol_1_0= ruleModelSymbol )
- {
- // InternalSolverLanguage.g:1240:4: (lv_symbol_1_0= ruleModelSymbol )
- // InternalSolverLanguage.g:1241:5: lv_symbol_1_0= ruleModelSymbol
- {
+ }
+ break;
- newCompositeNode(grammarAccess.getPredicateSymbolAccess().getSymbolModelSymbolParserRuleCall_1_0());
-
- pushFollow(FOLLOW_6);
- lv_symbol_1_0=ruleModelSymbol();
+ default :
+ break loop18;
+ }
+ } while (true);
- state._fsp--;
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPredicateSymbolRule());
- }
- set(
- current,
- "symbol",
- lv_symbol_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ModelSymbol");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_2=(Token)match(input,17,FOLLOW_12);
-
- newLeafNode(otherlv_2, grammarAccess.getPredicateSymbolAccess().getLeftParenthesisKeyword_2());
-
- // InternalSolverLanguage.g:1262:3: ( (lv_parameters_3_0= ruleParameter ) )*
- loop16:
- do {
- int alt16=2;
- int LA16_0 = input.LA(1);
-
- if ( (LA16_0==RULE_ID) ) {
- alt16=1;
- }
-
-
- switch (alt16) {
- case 1 :
- // InternalSolverLanguage.g:1263:4: (lv_parameters_3_0= ruleParameter )
- {
- // InternalSolverLanguage.g:1263:4: (lv_parameters_3_0= ruleParameter )
- // InternalSolverLanguage.g:1264:5: lv_parameters_3_0= ruleParameter
- {
-
- newCompositeNode(grammarAccess.getPredicateSymbolAccess().getParametersParameterParserRuleCall_3_0());
-
- pushFollow(FOLLOW_12);
- lv_parameters_3_0=ruleParameter();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPredicateSymbolRule());
- }
- add(
- current,
- "parameters",
- lv_parameters_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Parameter");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- default :
- break loop16;
- }
- } while (true);
-
- otherlv_4=(Token)match(input,18,FOLLOW_8);
-
- newLeafNode(otherlv_4, grammarAccess.getPredicateSymbolAccess().getRightParenthesisKeyword_4());
-
- otherlv_5=(Token)match(input,19,FOLLOW_13);
-
- newLeafNode(otherlv_5, grammarAccess.getPredicateSymbolAccess().getColonKeyword_5());
-
- // InternalSolverLanguage.g:1289:3: (otherlv_6= 'false' | ( ( (lv_bodies_7_0= rulePatternBody ) ) (otherlv_8= '|' ( (lv_bodies_9_0= rulePatternBody ) ) )* ) )
- int alt18=2;
- int LA18_0 = input.LA(1);
-
- if ( (LA18_0==14) ) {
- alt18=1;
- }
- else if ( (LA18_0==EOF||LA18_0==RULE_ID||(LA18_0>=11 && LA18_0<=13)||(LA18_0>=28 && LA18_0<=29)) ) {
- alt18=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 18, 0, input);
-
- throw nvae;
- }
- switch (alt18) {
- case 1 :
- // InternalSolverLanguage.g:1290:4: otherlv_6= 'false'
- {
- otherlv_6=(Token)match(input,14,FOLLOW_5);
-
- newLeafNode(otherlv_6, grammarAccess.getPredicateSymbolAccess().getFalseKeyword_6_0());
-
-
- }
- break;
- case 2 :
- // InternalSolverLanguage.g:1295:4: ( ( (lv_bodies_7_0= rulePatternBody ) ) (otherlv_8= '|' ( (lv_bodies_9_0= rulePatternBody ) ) )* )
- {
- // InternalSolverLanguage.g:1295:4: ( ( (lv_bodies_7_0= rulePatternBody ) ) (otherlv_8= '|' ( (lv_bodies_9_0= rulePatternBody ) ) )* )
- // InternalSolverLanguage.g:1296:5: ( (lv_bodies_7_0= rulePatternBody ) ) (otherlv_8= '|' ( (lv_bodies_9_0= rulePatternBody ) ) )*
- {
- // InternalSolverLanguage.g:1296:5: ( (lv_bodies_7_0= rulePatternBody ) )
- // InternalSolverLanguage.g:1297:6: (lv_bodies_7_0= rulePatternBody )
- {
- // InternalSolverLanguage.g:1297:6: (lv_bodies_7_0= rulePatternBody )
- // InternalSolverLanguage.g:1298:7: lv_bodies_7_0= rulePatternBody
- {
-
- newCompositeNode(grammarAccess.getPredicateSymbolAccess().getBodiesPatternBodyParserRuleCall_6_1_0_0());
-
- pushFollow(FOLLOW_14);
- lv_bodies_7_0=rulePatternBody();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPredicateSymbolRule());
- }
- add(
- current,
- "bodies",
- lv_bodies_7_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.PatternBody");
- afterParserOrEnumRuleCall();
-
+ }
+ break;
}
+ otherlv_6=(Token)match(input,19,FOLLOW_16);
- }
-
- // InternalSolverLanguage.g:1315:5: (otherlv_8= '|' ( (lv_bodies_9_0= rulePatternBody ) ) )*
- loop17:
- do {
- int alt17=2;
- int LA17_0 = input.LA(1);
-
- if ( (LA17_0==28) ) {
- alt17=1;
- }
-
-
- switch (alt17) {
- case 1 :
- // InternalSolverLanguage.g:1316:6: otherlv_8= '|' ( (lv_bodies_9_0= rulePatternBody ) )
- {
- otherlv_8=(Token)match(input,28,FOLLOW_15);
-
- newLeafNode(otherlv_8, grammarAccess.getPredicateSymbolAccess().getVerticalLineKeyword_6_1_1_0());
-
- // InternalSolverLanguage.g:1320:6: ( (lv_bodies_9_0= rulePatternBody ) )
- // InternalSolverLanguage.g:1321:7: (lv_bodies_9_0= rulePatternBody )
- {
- // InternalSolverLanguage.g:1321:7: (lv_bodies_9_0= rulePatternBody )
- // InternalSolverLanguage.g:1322:8: lv_bodies_9_0= rulePatternBody
- {
-
- newCompositeNode(grammarAccess.getPredicateSymbolAccess().getBodiesPatternBodyParserRuleCall_6_1_1_1_0());
-
- pushFollow(FOLLOW_14);
- lv_bodies_9_0=rulePatternBody();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPredicateSymbolRule());
- }
- add(
- current,
- "bodies",
- lv_bodies_9_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.PatternBody");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default :
- break loop17;
- }
- } while (true);
-
-
- }
-
-
- }
- break;
-
- }
-
- otherlv_10=(Token)match(input,12,FOLLOW_2);
-
- newLeafNode(otherlv_10, grammarAccess.getPredicateSymbolAccess().getFullStopKeyword_7());
-
-
- }
-
-
- }
-
-
- leaveRule();
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "rulePredicateSymbol"
-
-
- // $ANTLR start "entryRuleErrorPredicate"
- // InternalSolverLanguage.g:1350:1: entryRuleErrorPredicate returns [EObject current=null] : iv_ruleErrorPredicate= ruleErrorPredicate EOF ;
- public final EObject entryRuleErrorPredicate() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleErrorPredicate = null;
-
-
- try {
- // InternalSolverLanguage.g:1350:55: (iv_ruleErrorPredicate= ruleErrorPredicate EOF )
- // InternalSolverLanguage.g:1351:2: iv_ruleErrorPredicate= ruleErrorPredicate EOF
- {
- newCompositeNode(grammarAccess.getErrorPredicateRule());
- pushFollow(FOLLOW_1);
- iv_ruleErrorPredicate=ruleErrorPredicate();
-
- state._fsp--;
-
- current =iv_ruleErrorPredicate;
- match(input,EOF,FOLLOW_2);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleErrorPredicate"
-
-
- // $ANTLR start "ruleErrorPredicate"
- // InternalSolverLanguage.g:1357:1: ruleErrorPredicate returns [EObject current=null] : ( () otherlv_1= 'error' ( (lv_name_2_0= RULE_ID ) )? (otherlv_3= '(' ( (lv_parameters_4_0= ruleParameter ) )* otherlv_5= ')' ) otherlv_6= ':' (otherlv_7= 'false' | ( ( (lv_bodies_8_0= rulePatternBody ) ) (otherlv_9= '|' ( (lv_bodies_10_0= rulePatternBody ) ) )* ) ) otherlv_11= '.' ) ;
- public final EObject ruleErrorPredicate() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1=null;
- Token lv_name_2_0=null;
- Token otherlv_3=null;
- Token otherlv_5=null;
- Token otherlv_6=null;
- Token otherlv_7=null;
- Token otherlv_9=null;
- Token otherlv_11=null;
- EObject lv_parameters_4_0 = null;
-
- EObject lv_bodies_8_0 = null;
-
- EObject lv_bodies_10_0 = null;
-
-
-
- enterRule();
-
- try {
- // InternalSolverLanguage.g:1363:2: ( ( () otherlv_1= 'error' ( (lv_name_2_0= RULE_ID ) )? (otherlv_3= '(' ( (lv_parameters_4_0= ruleParameter ) )* otherlv_5= ')' ) otherlv_6= ':' (otherlv_7= 'false' | ( ( (lv_bodies_8_0= rulePatternBody ) ) (otherlv_9= '|' ( (lv_bodies_10_0= rulePatternBody ) ) )* ) ) otherlv_11= '.' ) )
- // InternalSolverLanguage.g:1364:2: ( () otherlv_1= 'error' ( (lv_name_2_0= RULE_ID ) )? (otherlv_3= '(' ( (lv_parameters_4_0= ruleParameter ) )* otherlv_5= ')' ) otherlv_6= ':' (otherlv_7= 'false' | ( ( (lv_bodies_8_0= rulePatternBody ) ) (otherlv_9= '|' ( (lv_bodies_10_0= rulePatternBody ) ) )* ) ) otherlv_11= '.' )
- {
- // InternalSolverLanguage.g:1364:2: ( () otherlv_1= 'error' ( (lv_name_2_0= RULE_ID ) )? (otherlv_3= '(' ( (lv_parameters_4_0= ruleParameter ) )* otherlv_5= ')' ) otherlv_6= ':' (otherlv_7= 'false' | ( ( (lv_bodies_8_0= rulePatternBody ) ) (otherlv_9= '|' ( (lv_bodies_10_0= rulePatternBody ) ) )* ) ) otherlv_11= '.' )
- // InternalSolverLanguage.g:1365:3: () otherlv_1= 'error' ( (lv_name_2_0= RULE_ID ) )? (otherlv_3= '(' ( (lv_parameters_4_0= ruleParameter ) )* otherlv_5= ')' ) otherlv_6= ':' (otherlv_7= 'false' | ( ( (lv_bodies_8_0= rulePatternBody ) ) (otherlv_9= '|' ( (lv_bodies_10_0= rulePatternBody ) ) )* ) ) otherlv_11= '.'
- {
- // InternalSolverLanguage.g:1365:3: ()
- // InternalSolverLanguage.g:1366:4:
- {
-
- current = forceCreateModelElement(
- grammarAccess.getErrorPredicateAccess().getErrorPredicateAction_0(),
- current);
-
-
- }
-
- otherlv_1=(Token)match(input,16,FOLLOW_16);
-
- newLeafNode(otherlv_1, grammarAccess.getErrorPredicateAccess().getErrorKeyword_1());
-
- // InternalSolverLanguage.g:1376:3: ( (lv_name_2_0= RULE_ID ) )?
- int alt19=2;
- int LA19_0 = input.LA(1);
-
- if ( (LA19_0==RULE_ID) ) {
- alt19=1;
- }
- switch (alt19) {
- case 1 :
- // InternalSolverLanguage.g:1377:4: (lv_name_2_0= RULE_ID )
- {
- // InternalSolverLanguage.g:1377:4: (lv_name_2_0= RULE_ID )
- // InternalSolverLanguage.g:1378:5: lv_name_2_0= RULE_ID
- {
- lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_6);
-
- newLeafNode(lv_name_2_0, grammarAccess.getErrorPredicateAccess().getNameIDTerminalRuleCall_2_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getErrorPredicateRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_2_0,
- "org.eclipse.xtext.common.Terminals.ID");
-
-
- }
-
+ newLeafNode(otherlv_6, grammarAccess.getPredicateAccess().getRightParenthesisKeyword_2_2());
+
}
break;
}
- // InternalSolverLanguage.g:1394:3: (otherlv_3= '(' ( (lv_parameters_4_0= ruleParameter ) )* otherlv_5= ')' )
- // InternalSolverLanguage.g:1395:4: otherlv_3= '(' ( (lv_parameters_4_0= ruleParameter ) )* otherlv_5= ')'
- {
- otherlv_3=(Token)match(input,17,FOLLOW_12);
-
- newLeafNode(otherlv_3, grammarAccess.getErrorPredicateAccess().getLeftParenthesisKeyword_3_0());
-
- // InternalSolverLanguage.g:1399:4: ( (lv_parameters_4_0= ruleParameter ) )*
- loop20:
- do {
- int alt20=2;
- int LA20_0 = input.LA(1);
-
- if ( (LA20_0==RULE_ID) ) {
- alt20=1;
- }
-
-
- switch (alt20) {
- case 1 :
- // InternalSolverLanguage.g:1400:5: (lv_parameters_4_0= ruleParameter )
- {
- // InternalSolverLanguage.g:1400:5: (lv_parameters_4_0= ruleParameter )
- // InternalSolverLanguage.g:1401:6: lv_parameters_4_0= ruleParameter
- {
-
- newCompositeNode(grammarAccess.getErrorPredicateAccess().getParametersParameterParserRuleCall_3_1_0());
-
- pushFollow(FOLLOW_12);
- lv_parameters_4_0=ruleParameter();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getErrorPredicateRule());
- }
- add(
- current,
- "parameters",
- lv_parameters_4_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Parameter");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- default :
- break loop20;
- }
- } while (true);
-
- otherlv_5=(Token)match(input,18,FOLLOW_8);
-
- newLeafNode(otherlv_5, grammarAccess.getErrorPredicateAccess().getRightParenthesisKeyword_3_2());
-
-
- }
-
- otherlv_6=(Token)match(input,19,FOLLOW_13);
+ otherlv_7=(Token)match(input,28,FOLLOW_17);
- newLeafNode(otherlv_6, grammarAccess.getErrorPredicateAccess().getColonKeyword_4());
+ newLeafNode(otherlv_7, grammarAccess.getPredicateAccess().getColonHyphenMinusKeyword_3());
- // InternalSolverLanguage.g:1427:3: (otherlv_7= 'false' | ( ( (lv_bodies_8_0= rulePatternBody ) ) (otherlv_9= '|' ( (lv_bodies_10_0= rulePatternBody ) ) )* ) )
+ // InternalSolverLanguage.g:1321:3: (otherlv_8= 'false' | ( ( (lv_bodies_9_0= rulePatternBody ) ) (otherlv_10= '|' ( (lv_bodies_11_0= rulePatternBody ) ) )* ) )
int alt22=2;
int LA22_0 = input.LA(1);
if ( (LA22_0==14) ) {
alt22=1;
}
- else if ( (LA22_0==EOF||LA22_0==RULE_ID||(LA22_0>=11 && LA22_0<=13)||(LA22_0>=28 && LA22_0<=29)) ) {
+ else if ( (LA22_0==EOF||LA22_0==RULE_ID||(LA22_0>=11 && LA22_0<=13)||(LA22_0>=29 && LA22_0<=31)) ) {
alt22=2;
}
else {
@@ -4205,43 +3909,43 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
switch (alt22) {
case 1 :
- // InternalSolverLanguage.g:1428:4: otherlv_7= 'false'
+ // InternalSolverLanguage.g:1322:4: otherlv_8= 'false'
{
- otherlv_7=(Token)match(input,14,FOLLOW_5);
+ otherlv_8=(Token)match(input,14,FOLLOW_5);
- newLeafNode(otherlv_7, grammarAccess.getErrorPredicateAccess().getFalseKeyword_5_0());
+ newLeafNode(otherlv_8, grammarAccess.getPredicateAccess().getFalseKeyword_4_0());
}
break;
case 2 :
- // InternalSolverLanguage.g:1433:4: ( ( (lv_bodies_8_0= rulePatternBody ) ) (otherlv_9= '|' ( (lv_bodies_10_0= rulePatternBody ) ) )* )
+ // InternalSolverLanguage.g:1327:4: ( ( (lv_bodies_9_0= rulePatternBody ) ) (otherlv_10= '|' ( (lv_bodies_11_0= rulePatternBody ) ) )* )
{
- // InternalSolverLanguage.g:1433:4: ( ( (lv_bodies_8_0= rulePatternBody ) ) (otherlv_9= '|' ( (lv_bodies_10_0= rulePatternBody ) ) )* )
- // InternalSolverLanguage.g:1434:5: ( (lv_bodies_8_0= rulePatternBody ) ) (otherlv_9= '|' ( (lv_bodies_10_0= rulePatternBody ) ) )*
+ // InternalSolverLanguage.g:1327:4: ( ( (lv_bodies_9_0= rulePatternBody ) ) (otherlv_10= '|' ( (lv_bodies_11_0= rulePatternBody ) ) )* )
+ // InternalSolverLanguage.g:1328:5: ( (lv_bodies_9_0= rulePatternBody ) ) (otherlv_10= '|' ( (lv_bodies_11_0= rulePatternBody ) ) )*
{
- // InternalSolverLanguage.g:1434:5: ( (lv_bodies_8_0= rulePatternBody ) )
- // InternalSolverLanguage.g:1435:6: (lv_bodies_8_0= rulePatternBody )
+ // InternalSolverLanguage.g:1328:5: ( (lv_bodies_9_0= rulePatternBody ) )
+ // InternalSolverLanguage.g:1329:6: (lv_bodies_9_0= rulePatternBody )
{
- // InternalSolverLanguage.g:1435:6: (lv_bodies_8_0= rulePatternBody )
- // InternalSolverLanguage.g:1436:7: lv_bodies_8_0= rulePatternBody
+ // InternalSolverLanguage.g:1329:6: (lv_bodies_9_0= rulePatternBody )
+ // InternalSolverLanguage.g:1330:7: lv_bodies_9_0= rulePatternBody
{
- newCompositeNode(grammarAccess.getErrorPredicateAccess().getBodiesPatternBodyParserRuleCall_5_1_0_0());
+ newCompositeNode(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_0_0());
- pushFollow(FOLLOW_14);
- lv_bodies_8_0=rulePatternBody();
+ pushFollow(FOLLOW_18);
+ lv_bodies_9_0=rulePatternBody();
state._fsp--;
if (current==null) {
- current = createModelElementForParent(grammarAccess.getErrorPredicateRule());
+ current = createModelElementForParent(grammarAccess.getPredicateRule());
}
add(
current,
"bodies",
- lv_bodies_8_0,
+ lv_bodies_9_0,
"org.eclipse.viatra.solver.language.SolverLanguage.PatternBody");
afterParserOrEnumRuleCall();
@@ -4251,47 +3955,47 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- // InternalSolverLanguage.g:1453:5: (otherlv_9= '|' ( (lv_bodies_10_0= rulePatternBody ) ) )*
+ // InternalSolverLanguage.g:1347:5: (otherlv_10= '|' ( (lv_bodies_11_0= rulePatternBody ) ) )*
loop21:
do {
int alt21=2;
int LA21_0 = input.LA(1);
- if ( (LA21_0==28) ) {
+ if ( (LA21_0==29) ) {
alt21=1;
}
switch (alt21) {
case 1 :
- // InternalSolverLanguage.g:1454:6: otherlv_9= '|' ( (lv_bodies_10_0= rulePatternBody ) )
+ // InternalSolverLanguage.g:1348:6: otherlv_10= '|' ( (lv_bodies_11_0= rulePatternBody ) )
{
- otherlv_9=(Token)match(input,28,FOLLOW_15);
+ otherlv_10=(Token)match(input,29,FOLLOW_19);
- newLeafNode(otherlv_9, grammarAccess.getErrorPredicateAccess().getVerticalLineKeyword_5_1_1_0());
+ newLeafNode(otherlv_10, grammarAccess.getPredicateAccess().getVerticalLineKeyword_4_1_1_0());
- // InternalSolverLanguage.g:1458:6: ( (lv_bodies_10_0= rulePatternBody ) )
- // InternalSolverLanguage.g:1459:7: (lv_bodies_10_0= rulePatternBody )
+ // InternalSolverLanguage.g:1352:6: ( (lv_bodies_11_0= rulePatternBody ) )
+ // InternalSolverLanguage.g:1353:7: (lv_bodies_11_0= rulePatternBody )
{
- // InternalSolverLanguage.g:1459:7: (lv_bodies_10_0= rulePatternBody )
- // InternalSolverLanguage.g:1460:8: lv_bodies_10_0= rulePatternBody
+ // InternalSolverLanguage.g:1353:7: (lv_bodies_11_0= rulePatternBody )
+ // InternalSolverLanguage.g:1354:8: lv_bodies_11_0= rulePatternBody
{
- newCompositeNode(grammarAccess.getErrorPredicateAccess().getBodiesPatternBodyParserRuleCall_5_1_1_1_0());
+ newCompositeNode(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_1_1_0());
- pushFollow(FOLLOW_14);
- lv_bodies_10_0=rulePatternBody();
+ pushFollow(FOLLOW_18);
+ lv_bodies_11_0=rulePatternBody();
state._fsp--;
if (current==null) {
- current = createModelElementForParent(grammarAccess.getErrorPredicateRule());
+ current = createModelElementForParent(grammarAccess.getPredicateRule());
}
add(
current,
"bodies",
- lv_bodies_10_0,
+ lv_bodies_11_0,
"org.eclipse.viatra.solver.language.SolverLanguage.PatternBody");
afterParserOrEnumRuleCall();
@@ -4319,9 +4023,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- otherlv_11=(Token)match(input,12,FOLLOW_2);
+ otherlv_12=(Token)match(input,12,FOLLOW_2);
- newLeafNode(otherlv_11, grammarAccess.getErrorPredicateAccess().getFullStopKeyword_6());
+ newLeafNode(otherlv_12, grammarAccess.getPredicateAccess().getFullStopKeyword_5());
}
@@ -4342,11 +4046,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
return current;
}
- // $ANTLR end "ruleErrorPredicate"
+ // $ANTLR end "rulePredicate"
// $ANTLR start "entryRuleParameter"
- // InternalSolverLanguage.g:1488:1: entryRuleParameter returns [EObject current=null] : iv_ruleParameter= ruleParameter EOF ;
+ // InternalSolverLanguage.g:1382:1: entryRuleParameter returns [EObject current=null] : iv_ruleParameter= ruleParameter EOF ;
public final EObject entryRuleParameter() throws RecognitionException {
EObject current = null;
@@ -4354,8 +4058,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1488:50: (iv_ruleParameter= ruleParameter EOF )
- // InternalSolverLanguage.g:1489:2: iv_ruleParameter= ruleParameter EOF
+ // InternalSolverLanguage.g:1382:50: (iv_ruleParameter= ruleParameter EOF )
+ // InternalSolverLanguage.g:1383:2: iv_ruleParameter= ruleParameter EOF
{
newCompositeNode(grammarAccess.getParameterRule());
pushFollow(FOLLOW_1);
@@ -4382,7 +4086,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleParameter"
- // InternalSolverLanguage.g:1495:1: ruleParameter returns [EObject current=null] : ( ( (lv_variable_0_0= ruleVariable ) ) (otherlv_1= ':' ( (lv_type_2_0= ruleSymbol ) ) )? ) ;
+ // InternalSolverLanguage.g:1389:1: ruleParameter returns [EObject current=null] : ( ( (lv_variable_0_0= ruleVariable ) ) (otherlv_1= ':' ( (lv_type_2_0= ruleSymbol ) ) )? ) ;
public final EObject ruleParameter() throws RecognitionException {
EObject current = null;
@@ -4396,22 +4100,22 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1501:2: ( ( ( (lv_variable_0_0= ruleVariable ) ) (otherlv_1= ':' ( (lv_type_2_0= ruleSymbol ) ) )? ) )
- // InternalSolverLanguage.g:1502:2: ( ( (lv_variable_0_0= ruleVariable ) ) (otherlv_1= ':' ( (lv_type_2_0= ruleSymbol ) ) )? )
+ // InternalSolverLanguage.g:1395:2: ( ( ( (lv_variable_0_0= ruleVariable ) ) (otherlv_1= ':' ( (lv_type_2_0= ruleSymbol ) ) )? ) )
+ // InternalSolverLanguage.g:1396:2: ( ( (lv_variable_0_0= ruleVariable ) ) (otherlv_1= ':' ( (lv_type_2_0= ruleSymbol ) ) )? )
{
- // InternalSolverLanguage.g:1502:2: ( ( (lv_variable_0_0= ruleVariable ) ) (otherlv_1= ':' ( (lv_type_2_0= ruleSymbol ) ) )? )
- // InternalSolverLanguage.g:1503:3: ( (lv_variable_0_0= ruleVariable ) ) (otherlv_1= ':' ( (lv_type_2_0= ruleSymbol ) ) )?
+ // InternalSolverLanguage.g:1396:2: ( ( (lv_variable_0_0= ruleVariable ) ) (otherlv_1= ':' ( (lv_type_2_0= ruleSymbol ) ) )? )
+ // InternalSolverLanguage.g:1397:3: ( (lv_variable_0_0= ruleVariable ) ) (otherlv_1= ':' ( (lv_type_2_0= ruleSymbol ) ) )?
{
- // InternalSolverLanguage.g:1503:3: ( (lv_variable_0_0= ruleVariable ) )
- // InternalSolverLanguage.g:1504:4: (lv_variable_0_0= ruleVariable )
+ // InternalSolverLanguage.g:1397:3: ( (lv_variable_0_0= ruleVariable ) )
+ // InternalSolverLanguage.g:1398:4: (lv_variable_0_0= ruleVariable )
{
- // InternalSolverLanguage.g:1504:4: (lv_variable_0_0= ruleVariable )
- // InternalSolverLanguage.g:1505:5: lv_variable_0_0= ruleVariable
+ // InternalSolverLanguage.g:1398:4: (lv_variable_0_0= ruleVariable )
+ // InternalSolverLanguage.g:1399:5: lv_variable_0_0= ruleVariable
{
newCompositeNode(grammarAccess.getParameterAccess().getVariableVariableParserRuleCall_0_0());
- pushFollow(FOLLOW_17);
+ pushFollow(FOLLOW_20);
lv_variable_0_0=ruleVariable();
state._fsp--;
@@ -4433,26 +4137,26 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- // InternalSolverLanguage.g:1522:3: (otherlv_1= ':' ( (lv_type_2_0= ruleSymbol ) ) )?
+ // InternalSolverLanguage.g:1416:3: (otherlv_1= ':' ( (lv_type_2_0= ruleSymbol ) ) )?
int alt23=2;
int LA23_0 = input.LA(1);
- if ( (LA23_0==19) ) {
+ if ( (LA23_0==20) ) {
alt23=1;
}
switch (alt23) {
case 1 :
- // InternalSolverLanguage.g:1523:4: otherlv_1= ':' ( (lv_type_2_0= ruleSymbol ) )
+ // InternalSolverLanguage.g:1417:4: otherlv_1= ':' ( (lv_type_2_0= ruleSymbol ) )
{
- otherlv_1=(Token)match(input,19,FOLLOW_18);
+ otherlv_1=(Token)match(input,20,FOLLOW_21);
newLeafNode(otherlv_1, grammarAccess.getParameterAccess().getColonKeyword_1_0());
- // InternalSolverLanguage.g:1527:4: ( (lv_type_2_0= ruleSymbol ) )
- // InternalSolverLanguage.g:1528:5: (lv_type_2_0= ruleSymbol )
+ // InternalSolverLanguage.g:1421:4: ( (lv_type_2_0= ruleSymbol ) )
+ // InternalSolverLanguage.g:1422:5: (lv_type_2_0= ruleSymbol )
{
- // InternalSolverLanguage.g:1528:5: (lv_type_2_0= ruleSymbol )
- // InternalSolverLanguage.g:1529:6: lv_type_2_0= ruleSymbol
+ // InternalSolverLanguage.g:1422:5: (lv_type_2_0= ruleSymbol )
+ // InternalSolverLanguage.g:1423:6: lv_type_2_0= ruleSymbol
{
newCompositeNode(grammarAccess.getParameterAccess().getTypeSymbolParserRuleCall_1_1_0());
@@ -4508,7 +4212,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRulePatternBody"
- // InternalSolverLanguage.g:1551:1: entryRulePatternBody returns [EObject current=null] : iv_rulePatternBody= rulePatternBody EOF ;
+ // InternalSolverLanguage.g:1445:1: entryRulePatternBody returns [EObject current=null] : iv_rulePatternBody= rulePatternBody EOF ;
public final EObject entryRulePatternBody() throws RecognitionException {
EObject current = null;
@@ -4516,8 +4220,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1551:52: (iv_rulePatternBody= rulePatternBody EOF )
- // InternalSolverLanguage.g:1552:2: iv_rulePatternBody= rulePatternBody EOF
+ // InternalSolverLanguage.g:1445:52: (iv_rulePatternBody= rulePatternBody EOF )
+ // InternalSolverLanguage.g:1446:2: iv_rulePatternBody= rulePatternBody EOF
{
newCompositeNode(grammarAccess.getPatternBodyRule());
pushFollow(FOLLOW_1);
@@ -4544,7 +4248,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePatternBody"
- // InternalSolverLanguage.g:1558:1: rulePatternBody returns [EObject current=null] : ( () (otherlv_1= 'true' | ( (lv_constraints_2_0= ruleConstraint ) )* ) ) ;
+ // InternalSolverLanguage.g:1452:1: rulePatternBody returns [EObject current=null] : ( () (otherlv_1= 'true' | ( (lv_constraints_2_0= ruleConstraint ) )* ) ) ;
public final EObject rulePatternBody() throws RecognitionException {
EObject current = null;
@@ -4556,14 +4260,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1564:2: ( ( () (otherlv_1= 'true' | ( (lv_constraints_2_0= ruleConstraint ) )* ) ) )
- // InternalSolverLanguage.g:1565:2: ( () (otherlv_1= 'true' | ( (lv_constraints_2_0= ruleConstraint ) )* ) )
+ // InternalSolverLanguage.g:1458:2: ( ( () (otherlv_1= 'true' | ( (lv_constraints_2_0= ruleConstraint ) )* ) ) )
+ // InternalSolverLanguage.g:1459:2: ( () (otherlv_1= 'true' | ( (lv_constraints_2_0= ruleConstraint ) )* ) )
{
- // InternalSolverLanguage.g:1565:2: ( () (otherlv_1= 'true' | ( (lv_constraints_2_0= ruleConstraint ) )* ) )
- // InternalSolverLanguage.g:1566:3: () (otherlv_1= 'true' | ( (lv_constraints_2_0= ruleConstraint ) )* )
+ // InternalSolverLanguage.g:1459:2: ( () (otherlv_1= 'true' | ( (lv_constraints_2_0= ruleConstraint ) )* ) )
+ // InternalSolverLanguage.g:1460:3: () (otherlv_1= 'true' | ( (lv_constraints_2_0= ruleConstraint ) )* )
{
- // InternalSolverLanguage.g:1566:3: ()
- // InternalSolverLanguage.g:1567:4:
+ // InternalSolverLanguage.g:1460:3: ()
+ // InternalSolverLanguage.g:1461:4:
{
current = forceCreateModelElement(
@@ -4573,14 +4277,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- // InternalSolverLanguage.g:1573:3: (otherlv_1= 'true' | ( (lv_constraints_2_0= ruleConstraint ) )* )
+ // InternalSolverLanguage.g:1467:3: (otherlv_1= 'true' | ( (lv_constraints_2_0= ruleConstraint ) )* )
int alt25=2;
int LA25_0 = input.LA(1);
if ( (LA25_0==13) ) {
alt25=1;
}
- else if ( (LA25_0==EOF||LA25_0==RULE_ID||(LA25_0>=11 && LA25_0<=12)||(LA25_0>=28 && LA25_0<=29)) ) {
+ else if ( (LA25_0==EOF||LA25_0==RULE_ID||(LA25_0>=11 && LA25_0<=12)||(LA25_0>=29 && LA25_0<=31)) ) {
alt25=2;
}
else {
@@ -4591,7 +4295,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
switch (alt25) {
case 1 :
- // InternalSolverLanguage.g:1574:4: otherlv_1= 'true'
+ // InternalSolverLanguage.g:1468:4: otherlv_1= 'true'
{
otherlv_1=(Token)match(input,13,FOLLOW_2);
@@ -4601,30 +4305,30 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:1579:4: ( (lv_constraints_2_0= ruleConstraint ) )*
+ // InternalSolverLanguage.g:1473:4: ( (lv_constraints_2_0= ruleConstraint ) )*
{
- // InternalSolverLanguage.g:1579:4: ( (lv_constraints_2_0= ruleConstraint ) )*
+ // InternalSolverLanguage.g:1473:4: ( (lv_constraints_2_0= ruleConstraint ) )*
loop24:
do {
int alt24=2;
int LA24_0 = input.LA(1);
- if ( (LA24_0==RULE_ID||LA24_0==11||LA24_0==29) ) {
+ if ( (LA24_0==RULE_ID||LA24_0==11||(LA24_0>=30 && LA24_0<=31)) ) {
alt24=1;
}
switch (alt24) {
case 1 :
- // InternalSolverLanguage.g:1580:5: (lv_constraints_2_0= ruleConstraint )
+ // InternalSolverLanguage.g:1474:5: (lv_constraints_2_0= ruleConstraint )
{
- // InternalSolverLanguage.g:1580:5: (lv_constraints_2_0= ruleConstraint )
- // InternalSolverLanguage.g:1581:6: lv_constraints_2_0= ruleConstraint
+ // InternalSolverLanguage.g:1474:5: (lv_constraints_2_0= ruleConstraint )
+ // InternalSolverLanguage.g:1475:6: lv_constraints_2_0= ruleConstraint
{
newCompositeNode(grammarAccess.getPatternBodyAccess().getConstraintsConstraintParserRuleCall_1_1_0());
- pushFollow(FOLLOW_19);
+ pushFollow(FOLLOW_22);
lv_constraints_2_0=ruleConstraint();
state._fsp--;
@@ -4681,7 +4385,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRulePolarity"
- // InternalSolverLanguage.g:1603:1: entryRulePolarity returns [EObject current=null] : iv_rulePolarity= rulePolarity EOF ;
+ // InternalSolverLanguage.g:1497:1: entryRulePolarity returns [EObject current=null] : iv_rulePolarity= rulePolarity EOF ;
public final EObject entryRulePolarity() throws RecognitionException {
EObject current = null;
@@ -4689,8 +4393,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1603:49: (iv_rulePolarity= rulePolarity EOF )
- // InternalSolverLanguage.g:1604:2: iv_rulePolarity= rulePolarity EOF
+ // InternalSolverLanguage.g:1497:49: (iv_rulePolarity= rulePolarity EOF )
+ // InternalSolverLanguage.g:1498:2: iv_rulePolarity= rulePolarity EOF
{
newCompositeNode(grammarAccess.getPolarityRule());
pushFollow(FOLLOW_1);
@@ -4717,7 +4421,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePolarity"
- // InternalSolverLanguage.g:1610:1: rulePolarity returns [EObject current=null] : ( ( () otherlv_1= '+' ) | ( () otherlv_3= '-' ) ) ;
+ // InternalSolverLanguage.g:1504:1: rulePolarity returns [EObject current=null] : ( ( () otherlv_1= '+' ) | ( () otherlv_3= '-' ) ) ;
public final EObject rulePolarity() throws RecognitionException {
EObject current = null;
@@ -4728,14 +4432,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1616:2: ( ( ( () otherlv_1= '+' ) | ( () otherlv_3= '-' ) ) )
- // InternalSolverLanguage.g:1617:2: ( ( () otherlv_1= '+' ) | ( () otherlv_3= '-' ) )
+ // InternalSolverLanguage.g:1510:2: ( ( ( () otherlv_1= '+' ) | ( () otherlv_3= '-' ) ) )
+ // InternalSolverLanguage.g:1511:2: ( ( () otherlv_1= '+' ) | ( () otherlv_3= '-' ) )
{
- // InternalSolverLanguage.g:1617:2: ( ( () otherlv_1= '+' ) | ( () otherlv_3= '-' ) )
+ // InternalSolverLanguage.g:1511:2: ( ( () otherlv_1= '+' ) | ( () otherlv_3= '-' ) )
int alt26=2;
int LA26_0 = input.LA(1);
- if ( (LA26_0==29) ) {
+ if ( (LA26_0==30) ) {
alt26=1;
}
else if ( (LA26_0==11) ) {
@@ -4749,13 +4453,13 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
switch (alt26) {
case 1 :
- // InternalSolverLanguage.g:1618:3: ( () otherlv_1= '+' )
+ // InternalSolverLanguage.g:1512:3: ( () otherlv_1= '+' )
{
- // InternalSolverLanguage.g:1618:3: ( () otherlv_1= '+' )
- // InternalSolverLanguage.g:1619:4: () otherlv_1= '+'
+ // InternalSolverLanguage.g:1512:3: ( () otherlv_1= '+' )
+ // InternalSolverLanguage.g:1513:4: () otherlv_1= '+'
{
- // InternalSolverLanguage.g:1619:4: ()
- // InternalSolverLanguage.g:1620:5:
+ // InternalSolverLanguage.g:1513:4: ()
+ // InternalSolverLanguage.g:1514:5:
{
current = forceCreateModelElement(
@@ -4765,7 +4469,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- otherlv_1=(Token)match(input,29,FOLLOW_2);
+ otherlv_1=(Token)match(input,30,FOLLOW_2);
newLeafNode(otherlv_1, grammarAccess.getPolarityAccess().getPlusSignKeyword_0_1());
@@ -4776,13 +4480,13 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:1632:3: ( () otherlv_3= '-' )
+ // InternalSolverLanguage.g:1526:3: ( () otherlv_3= '-' )
{
- // InternalSolverLanguage.g:1632:3: ( () otherlv_3= '-' )
- // InternalSolverLanguage.g:1633:4: () otherlv_3= '-'
+ // InternalSolverLanguage.g:1526:3: ( () otherlv_3= '-' )
+ // InternalSolverLanguage.g:1527:4: () otherlv_3= '-'
{
- // InternalSolverLanguage.g:1633:4: ()
- // InternalSolverLanguage.g:1634:5:
+ // InternalSolverLanguage.g:1527:4: ()
+ // InternalSolverLanguage.g:1528:5:
{
current = forceCreateModelElement(
@@ -4825,7 +4529,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleConstraint"
- // InternalSolverLanguage.g:1649:1: entryRuleConstraint returns [EObject current=null] : iv_ruleConstraint= ruleConstraint EOF ;
+ // InternalSolverLanguage.g:1543:1: entryRuleConstraint returns [EObject current=null] : iv_ruleConstraint= ruleConstraint EOF ;
public final EObject entryRuleConstraint() throws RecognitionException {
EObject current = null;
@@ -4833,8 +4537,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1649:51: (iv_ruleConstraint= ruleConstraint EOF )
- // InternalSolverLanguage.g:1650:2: iv_ruleConstraint= ruleConstraint EOF
+ // InternalSolverLanguage.g:1543:51: (iv_ruleConstraint= ruleConstraint EOF )
+ // InternalSolverLanguage.g:1544:2: iv_ruleConstraint= ruleConstraint EOF
{
newCompositeNode(grammarAccess.getConstraintRule());
pushFollow(FOLLOW_1);
@@ -4861,190 +4565,283 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleConstraint"
- // InternalSolverLanguage.g:1656:1: ruleConstraint returns [EObject current=null] : ( ( (lv_polarity_0_0= rulePolarity ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) ( (otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )* otherlv_4= ')' ) | ( ( (lv_closureType_5_0= ruleClosureType ) ) otherlv_6= '(' ( (lv_params_7_0= ruleLiteral ) ) ( (lv_params_8_0= ruleLiteral ) ) otherlv_9= ')' ) ) ) ;
+ // InternalSolverLanguage.g:1550:1: ruleConstraint returns [EObject current=null] : ( ( ( (lv_polarity_0_0= rulePolarity ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) (otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )? (otherlv_4= ',' ( (lv_params_5_0= ruleLiteral ) ) )* otherlv_6= ')' )? ) | ( ( (lv_closureType_7_0= ruleClosureType ) ) otherlv_8= '(' ( (lv_params_9_0= ruleLiteral ) )? (otherlv_10= ',' ( (lv_params_11_0= ruleLiteral ) ) )* otherlv_12= ')' ) ) ;
public final EObject ruleConstraint() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
- Token otherlv_9=null;
+ Token otherlv_8=null;
+ Token otherlv_10=null;
+ Token otherlv_12=null;
EObject lv_polarity_0_0 = null;
EObject lv_symbol_1_0 = null;
EObject lv_params_3_0 = null;
- EObject lv_closureType_5_0 = null;
+ EObject lv_params_5_0 = null;
+
+ EObject lv_closureType_7_0 = null;
- EObject lv_params_7_0 = null;
+ EObject lv_params_9_0 = null;
- EObject lv_params_8_0 = null;
+ EObject lv_params_11_0 = null;
enterRule();
try {
- // InternalSolverLanguage.g:1662:2: ( ( ( (lv_polarity_0_0= rulePolarity ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) ( (otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )* otherlv_4= ')' ) | ( ( (lv_closureType_5_0= ruleClosureType ) ) otherlv_6= '(' ( (lv_params_7_0= ruleLiteral ) ) ( (lv_params_8_0= ruleLiteral ) ) otherlv_9= ')' ) ) ) )
- // InternalSolverLanguage.g:1663:2: ( ( (lv_polarity_0_0= rulePolarity ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) ( (otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )* otherlv_4= ')' ) | ( ( (lv_closureType_5_0= ruleClosureType ) ) otherlv_6= '(' ( (lv_params_7_0= ruleLiteral ) ) ( (lv_params_8_0= ruleLiteral ) ) otherlv_9= ')' ) ) )
+ // InternalSolverLanguage.g:1556:2: ( ( ( ( (lv_polarity_0_0= rulePolarity ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) (otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )? (otherlv_4= ',' ( (lv_params_5_0= ruleLiteral ) ) )* otherlv_6= ')' )? ) | ( ( (lv_closureType_7_0= ruleClosureType ) ) otherlv_8= '(' ( (lv_params_9_0= ruleLiteral ) )? (otherlv_10= ',' ( (lv_params_11_0= ruleLiteral ) ) )* otherlv_12= ')' ) ) )
+ // InternalSolverLanguage.g:1557:2: ( ( ( (lv_polarity_0_0= rulePolarity ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) (otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )? (otherlv_4= ',' ( (lv_params_5_0= ruleLiteral ) ) )* otherlv_6= ')' )? ) | ( ( (lv_closureType_7_0= ruleClosureType ) ) otherlv_8= '(' ( (lv_params_9_0= ruleLiteral ) )? (otherlv_10= ',' ( (lv_params_11_0= ruleLiteral ) ) )* otherlv_12= ')' ) )
{
- // InternalSolverLanguage.g:1663:2: ( ( (lv_polarity_0_0= rulePolarity ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) ( (otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )* otherlv_4= ')' ) | ( ( (lv_closureType_5_0= ruleClosureType ) ) otherlv_6= '(' ( (lv_params_7_0= ruleLiteral ) ) ( (lv_params_8_0= ruleLiteral ) ) otherlv_9= ')' ) ) )
- // InternalSolverLanguage.g:1664:3: ( (lv_polarity_0_0= rulePolarity ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) ( (otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )* otherlv_4= ')' ) | ( ( (lv_closureType_5_0= ruleClosureType ) ) otherlv_6= '(' ( (lv_params_7_0= ruleLiteral ) ) ( (lv_params_8_0= ruleLiteral ) ) otherlv_9= ')' ) )
- {
- // InternalSolverLanguage.g:1664:3: ( (lv_polarity_0_0= rulePolarity ) )?
- int alt27=2;
- int LA27_0 = input.LA(1);
+ // InternalSolverLanguage.g:1557:2: ( ( ( (lv_polarity_0_0= rulePolarity ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) (otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )? (otherlv_4= ',' ( (lv_params_5_0= ruleLiteral ) ) )* otherlv_6= ')' )? ) | ( ( (lv_closureType_7_0= ruleClosureType ) ) otherlv_8= '(' ( (lv_params_9_0= ruleLiteral ) )? (otherlv_10= ',' ( (lv_params_11_0= ruleLiteral ) ) )* otherlv_12= ')' ) )
+ int alt33=2;
+ switch ( input.LA(1) ) {
+ case 30:
+ {
+ int LA33_1 = input.LA(2);
- if ( (LA27_0==11||LA27_0==29) ) {
- alt27=1;
+ if ( (LA33_1==17) ) {
+ alt33=2;
+ }
+ else if ( (LA33_1==RULE_ID) ) {
+ alt33=1;
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 33, 1, input);
+
+ throw nvae;
+ }
+ }
+ break;
+ case RULE_ID:
+ case 11:
+ {
+ alt33=1;
+ }
+ break;
+ case 31:
+ {
+ alt33=2;
+ }
+ break;
+ default:
+ NoViableAltException nvae =
+ new NoViableAltException("", 33, 0, input);
+
+ throw nvae;
}
- switch (alt27) {
+
+ switch (alt33) {
case 1 :
- // InternalSolverLanguage.g:1665:4: (lv_polarity_0_0= rulePolarity )
+ // InternalSolverLanguage.g:1558:3: ( ( (lv_polarity_0_0= rulePolarity ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) (otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )? (otherlv_4= ',' ( (lv_params_5_0= ruleLiteral ) ) )* otherlv_6= ')' )? )
{
- // InternalSolverLanguage.g:1665:4: (lv_polarity_0_0= rulePolarity )
- // InternalSolverLanguage.g:1666:5: lv_polarity_0_0= rulePolarity
+ // InternalSolverLanguage.g:1558:3: ( ( (lv_polarity_0_0= rulePolarity ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) (otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )? (otherlv_4= ',' ( (lv_params_5_0= ruleLiteral ) ) )* otherlv_6= ')' )? )
+ // InternalSolverLanguage.g:1559:4: ( (lv_polarity_0_0= rulePolarity ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) (otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )? (otherlv_4= ',' ( (lv_params_5_0= ruleLiteral ) ) )* otherlv_6= ')' )?
{
+ // InternalSolverLanguage.g:1559:4: ( (lv_polarity_0_0= rulePolarity ) )?
+ int alt27=2;
+ int LA27_0 = input.LA(1);
- newCompositeNode(grammarAccess.getConstraintAccess().getPolarityPolarityParserRuleCall_0_0());
-
- pushFollow(FOLLOW_10);
- lv_polarity_0_0=rulePolarity();
+ if ( (LA27_0==11||LA27_0==30) ) {
+ alt27=1;
+ }
+ switch (alt27) {
+ case 1 :
+ // InternalSolverLanguage.g:1560:5: (lv_polarity_0_0= rulePolarity )
+ {
+ // InternalSolverLanguage.g:1560:5: (lv_polarity_0_0= rulePolarity )
+ // InternalSolverLanguage.g:1561:6: lv_polarity_0_0= rulePolarity
+ {
- state._fsp--;
+ newCompositeNode(grammarAccess.getConstraintAccess().getPolarityPolarityParserRuleCall_0_0_0());
+
+ pushFollow(FOLLOW_12);
+ lv_polarity_0_0=rulePolarity();
+ state._fsp--;
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getConstraintRule());
- }
- set(
- current,
- "polarity",
- lv_polarity_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Polarity");
- afterParserOrEnumRuleCall();
-
- }
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ set(
+ current,
+ "polarity",
+ lv_polarity_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Polarity");
+ afterParserOrEnumRuleCall();
+
+
+ }
+ }
+ break;
+
}
- break;
- }
+ // InternalSolverLanguage.g:1578:4: ( (lv_symbol_1_0= ruleModelSymbol ) )
+ // InternalSolverLanguage.g:1579:5: (lv_symbol_1_0= ruleModelSymbol )
+ {
+ // InternalSolverLanguage.g:1579:5: (lv_symbol_1_0= ruleModelSymbol )
+ // InternalSolverLanguage.g:1580:6: lv_symbol_1_0= ruleModelSymbol
+ {
- // InternalSolverLanguage.g:1683:3: ( (lv_symbol_1_0= ruleModelSymbol ) )
- // InternalSolverLanguage.g:1684:4: (lv_symbol_1_0= ruleModelSymbol )
- {
- // InternalSolverLanguage.g:1684:4: (lv_symbol_1_0= ruleModelSymbol )
- // InternalSolverLanguage.g:1685:5: lv_symbol_1_0= ruleModelSymbol
- {
+ newCompositeNode(grammarAccess.getConstraintAccess().getSymbolModelSymbolParserRuleCall_0_1_0());
+
+ pushFollow(FOLLOW_23);
+ lv_symbol_1_0=ruleModelSymbol();
- newCompositeNode(grammarAccess.getConstraintAccess().getSymbolModelSymbolParserRuleCall_1_0());
-
- pushFollow(FOLLOW_20);
- lv_symbol_1_0=ruleModelSymbol();
+ state._fsp--;
- state._fsp--;
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ set(
+ current,
+ "symbol",
+ lv_symbol_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ModelSymbol");
+ afterParserOrEnumRuleCall();
+
+
+ }
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getConstraintRule());
- }
- set(
- current,
- "symbol",
- lv_symbol_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ModelSymbol");
- afterParserOrEnumRuleCall();
-
- }
+ }
+
+ // InternalSolverLanguage.g:1597:4: (otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )? (otherlv_4= ',' ( (lv_params_5_0= ruleLiteral ) ) )* otherlv_6= ')' )?
+ int alt30=2;
+ int LA30_0 = input.LA(1);
+
+ if ( (LA30_0==17) ) {
+ alt30=1;
+ }
+ switch (alt30) {
+ case 1 :
+ // InternalSolverLanguage.g:1598:5: otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )? (otherlv_4= ',' ( (lv_params_5_0= ruleLiteral ) ) )* otherlv_6= ')'
+ {
+ otherlv_2=(Token)match(input,17,FOLLOW_24);
+
+ newLeafNode(otherlv_2, grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_0_2_0());
+
+ // InternalSolverLanguage.g:1602:5: ( (lv_params_3_0= ruleLiteral ) )?
+ int alt28=2;
+ int LA28_0 = input.LA(1);
+
+ if ( ((LA28_0>=RULE_INT && LA28_0<=RULE_STRING)||LA28_0==11||(LA28_0>=13 && LA28_0<=14)||LA28_0==27) ) {
+ alt28=1;
+ }
+ switch (alt28) {
+ case 1 :
+ // InternalSolverLanguage.g:1603:6: (lv_params_3_0= ruleLiteral )
+ {
+ // InternalSolverLanguage.g:1603:6: (lv_params_3_0= ruleLiteral )
+ // InternalSolverLanguage.g:1604:7: lv_params_3_0= ruleLiteral
+ {
+
+ newCompositeNode(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_1_0());
+
+ pushFollow(FOLLOW_8);
+ lv_params_3_0=ruleLiteral();
+ state._fsp--;
- }
- // InternalSolverLanguage.g:1702:3: ( (otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )* otherlv_4= ')' ) | ( ( (lv_closureType_5_0= ruleClosureType ) ) otherlv_6= '(' ( (lv_params_7_0= ruleLiteral ) ) ( (lv_params_8_0= ruleLiteral ) ) otherlv_9= ')' ) )
- int alt29=2;
- int LA29_0 = input.LA(1);
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ add(
+ current,
+ "params",
+ lv_params_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Literal");
+ afterParserOrEnumRuleCall();
+
- if ( (LA29_0==17) ) {
- alt29=1;
- }
- else if ( ((LA29_0>=29 && LA29_0<=30)) ) {
- alt29=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 29, 0, input);
+ }
- throw nvae;
- }
- switch (alt29) {
- case 1 :
- // InternalSolverLanguage.g:1703:4: (otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )* otherlv_4= ')' )
- {
- // InternalSolverLanguage.g:1703:4: (otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )* otherlv_4= ')' )
- // InternalSolverLanguage.g:1704:5: otherlv_2= '(' ( (lv_params_3_0= ruleLiteral ) )* otherlv_4= ')'
- {
- otherlv_2=(Token)match(input,17,FOLLOW_21);
- newLeafNode(otherlv_2, grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_2_0_0());
-
- // InternalSolverLanguage.g:1708:5: ( (lv_params_3_0= ruleLiteral ) )*
- loop28:
- do {
- int alt28=2;
- int LA28_0 = input.LA(1);
+ }
+ break;
- if ( ((LA28_0>=RULE_INT && LA28_0<=RULE_STRING)||LA28_0==11||(LA28_0>=13 && LA28_0<=14)) ) {
- alt28=1;
- }
+ }
+ // InternalSolverLanguage.g:1621:5: (otherlv_4= ',' ( (lv_params_5_0= ruleLiteral ) ) )*
+ loop29:
+ do {
+ int alt29=2;
+ int LA29_0 = input.LA(1);
- switch (alt28) {
- case 1 :
- // InternalSolverLanguage.g:1709:6: (lv_params_3_0= ruleLiteral )
- {
- // InternalSolverLanguage.g:1709:6: (lv_params_3_0= ruleLiteral )
- // InternalSolverLanguage.g:1710:7: lv_params_3_0= ruleLiteral
- {
+ if ( (LA29_0==18) ) {
+ alt29=1;
+ }
- newCompositeNode(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_0_1_0());
-
- pushFollow(FOLLOW_21);
- lv_params_3_0=ruleLiteral();
- state._fsp--;
+ switch (alt29) {
+ case 1 :
+ // InternalSolverLanguage.g:1622:6: otherlv_4= ',' ( (lv_params_5_0= ruleLiteral ) )
+ {
+ otherlv_4=(Token)match(input,18,FOLLOW_25);
+ newLeafNode(otherlv_4, grammarAccess.getConstraintAccess().getCommaKeyword_0_2_2_0());
+
+ // InternalSolverLanguage.g:1626:6: ( (lv_params_5_0= ruleLiteral ) )
+ // InternalSolverLanguage.g:1627:7: (lv_params_5_0= ruleLiteral )
+ {
+ // InternalSolverLanguage.g:1627:7: (lv_params_5_0= ruleLiteral )
+ // InternalSolverLanguage.g:1628:8: lv_params_5_0= ruleLiteral
+ {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getConstraintRule());
- }
- add(
- current,
- "params",
- lv_params_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Literal");
- afterParserOrEnumRuleCall();
-
+ newCompositeNode(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_2_1_0());
+
+ pushFollow(FOLLOW_8);
+ lv_params_5_0=ruleLiteral();
- }
+ state._fsp--;
- }
- break;
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ add(
+ current,
+ "params",
+ lv_params_5_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Literal");
+ afterParserOrEnumRuleCall();
+
- default :
- break loop28;
- }
- } while (true);
+ }
- otherlv_4=(Token)match(input,18,FOLLOW_2);
- newLeafNode(otherlv_4, grammarAccess.getConstraintAccess().getRightParenthesisKeyword_2_0_2());
-
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop29;
+ }
+ } while (true);
+
+ otherlv_6=(Token)match(input,19,FOLLOW_2);
+
+ newLeafNode(otherlv_6, grammarAccess.getConstraintAccess().getRightParenthesisKeyword_0_2_3());
+
+
+ }
+ break;
+
+ }
+
}
@@ -5052,121 +4849,157 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:1733:4: ( ( (lv_closureType_5_0= ruleClosureType ) ) otherlv_6= '(' ( (lv_params_7_0= ruleLiteral ) ) ( (lv_params_8_0= ruleLiteral ) ) otherlv_9= ')' )
+ // InternalSolverLanguage.g:1653:3: ( ( (lv_closureType_7_0= ruleClosureType ) ) otherlv_8= '(' ( (lv_params_9_0= ruleLiteral ) )? (otherlv_10= ',' ( (lv_params_11_0= ruleLiteral ) ) )* otherlv_12= ')' )
{
- // InternalSolverLanguage.g:1733:4: ( ( (lv_closureType_5_0= ruleClosureType ) ) otherlv_6= '(' ( (lv_params_7_0= ruleLiteral ) ) ( (lv_params_8_0= ruleLiteral ) ) otherlv_9= ')' )
- // InternalSolverLanguage.g:1734:5: ( (lv_closureType_5_0= ruleClosureType ) ) otherlv_6= '(' ( (lv_params_7_0= ruleLiteral ) ) ( (lv_params_8_0= ruleLiteral ) ) otherlv_9= ')'
+ // InternalSolverLanguage.g:1653:3: ( ( (lv_closureType_7_0= ruleClosureType ) ) otherlv_8= '(' ( (lv_params_9_0= ruleLiteral ) )? (otherlv_10= ',' ( (lv_params_11_0= ruleLiteral ) ) )* otherlv_12= ')' )
+ // InternalSolverLanguage.g:1654:4: ( (lv_closureType_7_0= ruleClosureType ) ) otherlv_8= '(' ( (lv_params_9_0= ruleLiteral ) )? (otherlv_10= ',' ( (lv_params_11_0= ruleLiteral ) ) )* otherlv_12= ')'
{
- // InternalSolverLanguage.g:1734:5: ( (lv_closureType_5_0= ruleClosureType ) )
- // InternalSolverLanguage.g:1735:6: (lv_closureType_5_0= ruleClosureType )
+ // InternalSolverLanguage.g:1654:4: ( (lv_closureType_7_0= ruleClosureType ) )
+ // InternalSolverLanguage.g:1655:5: (lv_closureType_7_0= ruleClosureType )
{
- // InternalSolverLanguage.g:1735:6: (lv_closureType_5_0= ruleClosureType )
- // InternalSolverLanguage.g:1736:7: lv_closureType_5_0= ruleClosureType
+ // InternalSolverLanguage.g:1655:5: (lv_closureType_7_0= ruleClosureType )
+ // InternalSolverLanguage.g:1656:6: lv_closureType_7_0= ruleClosureType
{
- newCompositeNode(grammarAccess.getConstraintAccess().getClosureTypeClosureTypeParserRuleCall_2_1_0_0());
-
- pushFollow(FOLLOW_6);
- lv_closureType_5_0=ruleClosureType();
+ newCompositeNode(grammarAccess.getConstraintAccess().getClosureTypeClosureTypeParserRuleCall_1_0_0());
+
+ pushFollow(FOLLOW_26);
+ lv_closureType_7_0=ruleClosureType();
state._fsp--;
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getConstraintRule());
- }
- set(
- current,
- "closureType",
- lv_closureType_5_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ClosureType");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ set(
+ current,
+ "closureType",
+ lv_closureType_7_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ClosureType");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_6=(Token)match(input,17,FOLLOW_22);
+ otherlv_8=(Token)match(input,17,FOLLOW_24);
- newLeafNode(otherlv_6, grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_2_1_1());
-
- // InternalSolverLanguage.g:1757:5: ( (lv_params_7_0= ruleLiteral ) )
- // InternalSolverLanguage.g:1758:6: (lv_params_7_0= ruleLiteral )
- {
- // InternalSolverLanguage.g:1758:6: (lv_params_7_0= ruleLiteral )
- // InternalSolverLanguage.g:1759:7: lv_params_7_0= ruleLiteral
- {
+ newLeafNode(otherlv_8, grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_1_1());
+
+ // InternalSolverLanguage.g:1677:4: ( (lv_params_9_0= ruleLiteral ) )?
+ int alt31=2;
+ int LA31_0 = input.LA(1);
- newCompositeNode(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_1_2_0());
-
- pushFollow(FOLLOW_22);
- lv_params_7_0=ruleLiteral();
+ if ( ((LA31_0>=RULE_INT && LA31_0<=RULE_STRING)||LA31_0==11||(LA31_0>=13 && LA31_0<=14)||LA31_0==27) ) {
+ alt31=1;
+ }
+ switch (alt31) {
+ case 1 :
+ // InternalSolverLanguage.g:1678:5: (lv_params_9_0= ruleLiteral )
+ {
+ // InternalSolverLanguage.g:1678:5: (lv_params_9_0= ruleLiteral )
+ // InternalSolverLanguage.g:1679:6: lv_params_9_0= ruleLiteral
+ {
- state._fsp--;
+ newCompositeNode(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_2_0());
+
+ pushFollow(FOLLOW_8);
+ lv_params_9_0=ruleLiteral();
+ state._fsp--;
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getConstraintRule());
- }
- add(
- current,
- "params",
- lv_params_7_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Literal");
- afterParserOrEnumRuleCall();
-
- }
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ add(
+ current,
+ "params",
+ lv_params_9_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Literal");
+ afterParserOrEnumRuleCall();
+
+
+ }
+ }
+ break;
+
}
- // InternalSolverLanguage.g:1776:5: ( (lv_params_8_0= ruleLiteral ) )
- // InternalSolverLanguage.g:1777:6: (lv_params_8_0= ruleLiteral )
- {
- // InternalSolverLanguage.g:1777:6: (lv_params_8_0= ruleLiteral )
- // InternalSolverLanguage.g:1778:7: lv_params_8_0= ruleLiteral
- {
+ // InternalSolverLanguage.g:1696:4: (otherlv_10= ',' ( (lv_params_11_0= ruleLiteral ) ) )*
+ loop32:
+ do {
+ int alt32=2;
+ int LA32_0 = input.LA(1);
- newCompositeNode(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_2_1_3_0());
-
- pushFollow(FOLLOW_23);
- lv_params_8_0=ruleLiteral();
+ if ( (LA32_0==18) ) {
+ alt32=1;
+ }
- state._fsp--;
+ switch (alt32) {
+ case 1 :
+ // InternalSolverLanguage.g:1697:5: otherlv_10= ',' ( (lv_params_11_0= ruleLiteral ) )
+ {
+ otherlv_10=(Token)match(input,18,FOLLOW_25);
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getConstraintRule());
- }
- add(
- current,
- "params",
- lv_params_8_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Literal");
- afterParserOrEnumRuleCall();
-
+ newLeafNode(otherlv_10, grammarAccess.getConstraintAccess().getCommaKeyword_1_3_0());
+
+ // InternalSolverLanguage.g:1701:5: ( (lv_params_11_0= ruleLiteral ) )
+ // InternalSolverLanguage.g:1702:6: (lv_params_11_0= ruleLiteral )
+ {
+ // InternalSolverLanguage.g:1702:6: (lv_params_11_0= ruleLiteral )
+ // InternalSolverLanguage.g:1703:7: lv_params_11_0= ruleLiteral
+ {
- }
+ newCompositeNode(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_3_1_0());
+
+ pushFollow(FOLLOW_8);
+ lv_params_11_0=ruleLiteral();
+ state._fsp--;
- }
- otherlv_9=(Token)match(input,18,FOLLOW_2);
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ add(
+ current,
+ "params",
+ lv_params_11_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Literal");
+ afterParserOrEnumRuleCall();
+
+
+ }
- newLeafNode(otherlv_9, grammarAccess.getConstraintAccess().getRightParenthesisKeyword_2_1_4());
-
- }
+ }
+
+
+ }
+ break;
+ default :
+ break loop32;
+ }
+ } while (true);
+
+ otherlv_12=(Token)match(input,19,FOLLOW_2);
+
+ newLeafNode(otherlv_12, grammarAccess.getConstraintAccess().getRightParenthesisKeyword_1_4());
+
}
- break;
- }
+ }
+ break;
}
@@ -5190,7 +5023,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleClosureType"
- // InternalSolverLanguage.g:1805:1: entryRuleClosureType returns [EObject current=null] : iv_ruleClosureType= ruleClosureType EOF ;
+ // InternalSolverLanguage.g:1730:1: entryRuleClosureType returns [EObject current=null] : iv_ruleClosureType= ruleClosureType EOF ;
public final EObject entryRuleClosureType() throws RecognitionException {
EObject current = null;
@@ -5198,8 +5031,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1805:52: (iv_ruleClosureType= ruleClosureType EOF )
- // InternalSolverLanguage.g:1806:2: iv_ruleClosureType= ruleClosureType EOF
+ // InternalSolverLanguage.g:1730:52: (iv_ruleClosureType= ruleClosureType EOF )
+ // InternalSolverLanguage.g:1731:2: iv_ruleClosureType= ruleClosureType EOF
{
newCompositeNode(grammarAccess.getClosureTypeRule());
pushFollow(FOLLOW_1);
@@ -5226,7 +5059,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleClosureType"
- // InternalSolverLanguage.g:1812:1: ruleClosureType returns [EObject current=null] : ( ( () otherlv_1= '*' ) | ( () otherlv_3= '+' ) ) ;
+ // InternalSolverLanguage.g:1737:1: ruleClosureType returns [EObject current=null] : ( ( () otherlv_1= '*' ) | ( () otherlv_3= '+' ) ) ;
public final EObject ruleClosureType() throws RecognitionException {
EObject current = null;
@@ -5237,34 +5070,34 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1818:2: ( ( ( () otherlv_1= '*' ) | ( () otherlv_3= '+' ) ) )
- // InternalSolverLanguage.g:1819:2: ( ( () otherlv_1= '*' ) | ( () otherlv_3= '+' ) )
+ // InternalSolverLanguage.g:1743:2: ( ( ( () otherlv_1= '*' ) | ( () otherlv_3= '+' ) ) )
+ // InternalSolverLanguage.g:1744:2: ( ( () otherlv_1= '*' ) | ( () otherlv_3= '+' ) )
{
- // InternalSolverLanguage.g:1819:2: ( ( () otherlv_1= '*' ) | ( () otherlv_3= '+' ) )
- int alt30=2;
- int LA30_0 = input.LA(1);
+ // InternalSolverLanguage.g:1744:2: ( ( () otherlv_1= '*' ) | ( () otherlv_3= '+' ) )
+ int alt34=2;
+ int LA34_0 = input.LA(1);
- if ( (LA30_0==30) ) {
- alt30=1;
+ if ( (LA34_0==31) ) {
+ alt34=1;
}
- else if ( (LA30_0==29) ) {
- alt30=2;
+ else if ( (LA34_0==30) ) {
+ alt34=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 30, 0, input);
+ new NoViableAltException("", 34, 0, input);
throw nvae;
}
- switch (alt30) {
+ switch (alt34) {
case 1 :
- // InternalSolverLanguage.g:1820:3: ( () otherlv_1= '*' )
+ // InternalSolverLanguage.g:1745:3: ( () otherlv_1= '*' )
{
- // InternalSolverLanguage.g:1820:3: ( () otherlv_1= '*' )
- // InternalSolverLanguage.g:1821:4: () otherlv_1= '*'
+ // InternalSolverLanguage.g:1745:3: ( () otherlv_1= '*' )
+ // InternalSolverLanguage.g:1746:4: () otherlv_1= '*'
{
- // InternalSolverLanguage.g:1821:4: ()
- // InternalSolverLanguage.g:1822:5:
+ // InternalSolverLanguage.g:1746:4: ()
+ // InternalSolverLanguage.g:1747:5:
{
current = forceCreateModelElement(
@@ -5274,7 +5107,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- otherlv_1=(Token)match(input,30,FOLLOW_2);
+ otherlv_1=(Token)match(input,31,FOLLOW_2);
newLeafNode(otherlv_1, grammarAccess.getClosureTypeAccess().getAsteriskKeyword_0_1());
@@ -5285,13 +5118,13 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:1834:3: ( () otherlv_3= '+' )
+ // InternalSolverLanguage.g:1759:3: ( () otherlv_3= '+' )
{
- // InternalSolverLanguage.g:1834:3: ( () otherlv_3= '+' )
- // InternalSolverLanguage.g:1835:4: () otherlv_3= '+'
+ // InternalSolverLanguage.g:1759:3: ( () otherlv_3= '+' )
+ // InternalSolverLanguage.g:1760:4: () otherlv_3= '+'
{
- // InternalSolverLanguage.g:1835:4: ()
- // InternalSolverLanguage.g:1836:5:
+ // InternalSolverLanguage.g:1760:4: ()
+ // InternalSolverLanguage.g:1761:5:
{
current = forceCreateModelElement(
@@ -5301,7 +5134,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- otherlv_3=(Token)match(input,29,FOLLOW_2);
+ otherlv_3=(Token)match(input,30,FOLLOW_2);
newLeafNode(otherlv_3, grammarAccess.getClosureTypeAccess().getPlusSignKeyword_1_1());
@@ -5334,7 +5167,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleLiteral"
- // InternalSolverLanguage.g:1851:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ;
+ // InternalSolverLanguage.g:1776:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ;
public final EObject entryRuleLiteral() throws RecognitionException {
EObject current = null;
@@ -5342,8 +5175,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1851:48: (iv_ruleLiteral= ruleLiteral EOF )
- // InternalSolverLanguage.g:1852:2: iv_ruleLiteral= ruleLiteral EOF
+ // InternalSolverLanguage.g:1776:48: (iv_ruleLiteral= ruleLiteral EOF )
+ // InternalSolverLanguage.g:1777:2: iv_ruleLiteral= ruleLiteral EOF
{
newCompositeNode(grammarAccess.getLiteralRule());
pushFollow(FOLLOW_1);
@@ -5370,7 +5203,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleLiteral"
- // InternalSolverLanguage.g:1858:1: ruleLiteral returns [EObject current=null] : (this_Variable_0= ruleVariable | this_DataObject_1= ruleDataObject ) ;
+ // InternalSolverLanguage.g:1783:1: ruleLiteral returns [EObject current=null] : (this_Variable_0= ruleVariable | this_DataObject_1= ruleDataObject | this_NamedObject_2= ruleNamedObject ) ;
public final EObject ruleLiteral() throws RecognitionException {
EObject current = null;
@@ -5378,33 +5211,48 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
EObject this_DataObject_1 = null;
+ EObject this_NamedObject_2 = null;
+
enterRule();
try {
- // InternalSolverLanguage.g:1864:2: ( (this_Variable_0= ruleVariable | this_DataObject_1= ruleDataObject ) )
- // InternalSolverLanguage.g:1865:2: (this_Variable_0= ruleVariable | this_DataObject_1= ruleDataObject )
+ // InternalSolverLanguage.g:1789:2: ( (this_Variable_0= ruleVariable | this_DataObject_1= ruleDataObject | this_NamedObject_2= ruleNamedObject ) )
+ // InternalSolverLanguage.g:1790:2: (this_Variable_0= ruleVariable | this_DataObject_1= ruleDataObject | this_NamedObject_2= ruleNamedObject )
{
- // InternalSolverLanguage.g:1865:2: (this_Variable_0= ruleVariable | this_DataObject_1= ruleDataObject )
- int alt31=2;
- int LA31_0 = input.LA(1);
-
- if ( (LA31_0==RULE_ID) ) {
- alt31=1;
- }
- else if ( (LA31_0==RULE_INT||LA31_0==RULE_STRING||LA31_0==11||(LA31_0>=13 && LA31_0<=14)) ) {
- alt31=2;
- }
- else {
+ // InternalSolverLanguage.g:1790:2: (this_Variable_0= ruleVariable | this_DataObject_1= ruleDataObject | this_NamedObject_2= ruleNamedObject )
+ int alt35=3;
+ switch ( input.LA(1) ) {
+ case RULE_ID:
+ {
+ alt35=1;
+ }
+ break;
+ case RULE_INT:
+ case RULE_STRING:
+ case 11:
+ case 13:
+ case 14:
+ {
+ alt35=2;
+ }
+ break;
+ case 27:
+ {
+ alt35=3;
+ }
+ break;
+ default:
NoViableAltException nvae =
- new NoViableAltException("", 31, 0, input);
+ new NoViableAltException("", 35, 0, input);
throw nvae;
}
- switch (alt31) {
+
+ switch (alt35) {
case 1 :
- // InternalSolverLanguage.g:1866:3: this_Variable_0= ruleVariable
+ // InternalSolverLanguage.g:1791:3: this_Variable_0= ruleVariable
{
newCompositeNode(grammarAccess.getLiteralAccess().getVariableParserRuleCall_0());
@@ -5422,7 +5270,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:1875:3: this_DataObject_1= ruleDataObject
+ // InternalSolverLanguage.g:1800:3: this_DataObject_1= ruleDataObject
{
newCompositeNode(grammarAccess.getLiteralAccess().getDataObjectParserRuleCall_1());
@@ -5437,6 +5285,24 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
afterParserOrEnumRuleCall();
+ }
+ break;
+ case 3 :
+ // InternalSolverLanguage.g:1809:3: this_NamedObject_2= ruleNamedObject
+ {
+
+ newCompositeNode(grammarAccess.getLiteralAccess().getNamedObjectParserRuleCall_2());
+
+ pushFollow(FOLLOW_2);
+ this_NamedObject_2=ruleNamedObject();
+
+ state._fsp--;
+
+
+ current = this_NamedObject_2;
+ afterParserOrEnumRuleCall();
+
+
}
break;
@@ -5462,7 +5328,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleVariable"
- // InternalSolverLanguage.g:1887:1: entryRuleVariable returns [EObject current=null] : iv_ruleVariable= ruleVariable EOF ;
+ // InternalSolverLanguage.g:1821:1: entryRuleVariable returns [EObject current=null] : iv_ruleVariable= ruleVariable EOF ;
public final EObject entryRuleVariable() throws RecognitionException {
EObject current = null;
@@ -5470,8 +5336,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1887:49: (iv_ruleVariable= ruleVariable EOF )
- // InternalSolverLanguage.g:1888:2: iv_ruleVariable= ruleVariable EOF
+ // InternalSolverLanguage.g:1821:49: (iv_ruleVariable= ruleVariable EOF )
+ // InternalSolverLanguage.g:1822:2: iv_ruleVariable= ruleVariable EOF
{
newCompositeNode(grammarAccess.getVariableRule());
pushFollow(FOLLOW_1);
@@ -5498,7 +5364,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleVariable"
- // InternalSolverLanguage.g:1894:1: ruleVariable returns [EObject current=null] : ( (lv_name_0_0= RULE_ID ) ) ;
+ // InternalSolverLanguage.g:1828:1: ruleVariable returns [EObject current=null] : ( (lv_name_0_0= RULE_ID ) ) ;
public final EObject ruleVariable() throws RecognitionException {
EObject current = null;
@@ -5508,14 +5374,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1900:2: ( ( (lv_name_0_0= RULE_ID ) ) )
- // InternalSolverLanguage.g:1901:2: ( (lv_name_0_0= RULE_ID ) )
+ // InternalSolverLanguage.g:1834:2: ( ( (lv_name_0_0= RULE_ID ) ) )
+ // InternalSolverLanguage.g:1835:2: ( (lv_name_0_0= RULE_ID ) )
{
- // InternalSolverLanguage.g:1901:2: ( (lv_name_0_0= RULE_ID ) )
- // InternalSolverLanguage.g:1902:3: (lv_name_0_0= RULE_ID )
+ // InternalSolverLanguage.g:1835:2: ( (lv_name_0_0= RULE_ID ) )
+ // InternalSolverLanguage.g:1836:3: (lv_name_0_0= RULE_ID )
{
- // InternalSolverLanguage.g:1902:3: (lv_name_0_0= RULE_ID )
- // InternalSolverLanguage.g:1903:4: lv_name_0_0= RULE_ID
+ // InternalSolverLanguage.g:1836:3: (lv_name_0_0= RULE_ID )
+ // InternalSolverLanguage.g:1837:4: lv_name_0_0= RULE_ID
{
lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_2);
@@ -5557,7 +5423,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleAllInstances"
- // InternalSolverLanguage.g:1922:1: entryRuleAllInstances returns [EObject current=null] : iv_ruleAllInstances= ruleAllInstances EOF ;
+ // InternalSolverLanguage.g:1856:1: entryRuleAllInstances returns [EObject current=null] : iv_ruleAllInstances= ruleAllInstances EOF ;
public final EObject entryRuleAllInstances() throws RecognitionException {
EObject current = null;
@@ -5565,8 +5431,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1922:53: (iv_ruleAllInstances= ruleAllInstances EOF )
- // InternalSolverLanguage.g:1923:2: iv_ruleAllInstances= ruleAllInstances EOF
+ // InternalSolverLanguage.g:1856:53: (iv_ruleAllInstances= ruleAllInstances EOF )
+ // InternalSolverLanguage.g:1857:2: iv_ruleAllInstances= ruleAllInstances EOF
{
newCompositeNode(grammarAccess.getAllInstancesRule());
pushFollow(FOLLOW_1);
@@ -5593,7 +5459,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleAllInstances"
- // InternalSolverLanguage.g:1929:1: ruleAllInstances returns [EObject current=null] : (otherlv_0= ':' ( (lv_symbol_1_0= ruleSymbol ) ) ) ;
+ // InternalSolverLanguage.g:1863:1: ruleAllInstances returns [EObject current=null] : (otherlv_0= ':' ( (lv_symbol_1_0= ruleSymbol ) ) ) ;
public final EObject ruleAllInstances() throws RecognitionException {
EObject current = null;
@@ -5605,21 +5471,21 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1935:2: ( (otherlv_0= ':' ( (lv_symbol_1_0= ruleSymbol ) ) ) )
- // InternalSolverLanguage.g:1936:2: (otherlv_0= ':' ( (lv_symbol_1_0= ruleSymbol ) ) )
+ // InternalSolverLanguage.g:1869:2: ( (otherlv_0= ':' ( (lv_symbol_1_0= ruleSymbol ) ) ) )
+ // InternalSolverLanguage.g:1870:2: (otherlv_0= ':' ( (lv_symbol_1_0= ruleSymbol ) ) )
{
- // InternalSolverLanguage.g:1936:2: (otherlv_0= ':' ( (lv_symbol_1_0= ruleSymbol ) ) )
- // InternalSolverLanguage.g:1937:3: otherlv_0= ':' ( (lv_symbol_1_0= ruleSymbol ) )
+ // InternalSolverLanguage.g:1870:2: (otherlv_0= ':' ( (lv_symbol_1_0= ruleSymbol ) ) )
+ // InternalSolverLanguage.g:1871:3: otherlv_0= ':' ( (lv_symbol_1_0= ruleSymbol ) )
{
- otherlv_0=(Token)match(input,19,FOLLOW_18);
+ otherlv_0=(Token)match(input,20,FOLLOW_21);
newLeafNode(otherlv_0, grammarAccess.getAllInstancesAccess().getColonKeyword_0());
- // InternalSolverLanguage.g:1941:3: ( (lv_symbol_1_0= ruleSymbol ) )
- // InternalSolverLanguage.g:1942:4: (lv_symbol_1_0= ruleSymbol )
+ // InternalSolverLanguage.g:1875:3: ( (lv_symbol_1_0= ruleSymbol ) )
+ // InternalSolverLanguage.g:1876:4: (lv_symbol_1_0= ruleSymbol )
{
- // InternalSolverLanguage.g:1942:4: (lv_symbol_1_0= ruleSymbol )
- // InternalSolverLanguage.g:1943:5: lv_symbol_1_0= ruleSymbol
+ // InternalSolverLanguage.g:1876:4: (lv_symbol_1_0= ruleSymbol )
+ // InternalSolverLanguage.g:1877:5: lv_symbol_1_0= ruleSymbol
{
newCompositeNode(grammarAccess.getAllInstancesAccess().getSymbolSymbolParserRuleCall_1_0());
@@ -5669,7 +5535,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleAllObjects"
- // InternalSolverLanguage.g:1964:1: entryRuleAllObjects returns [EObject current=null] : iv_ruleAllObjects= ruleAllObjects EOF ;
+ // InternalSolverLanguage.g:1898:1: entryRuleAllObjects returns [EObject current=null] : iv_ruleAllObjects= ruleAllObjects EOF ;
public final EObject entryRuleAllObjects() throws RecognitionException {
EObject current = null;
@@ -5677,8 +5543,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1964:51: (iv_ruleAllObjects= ruleAllObjects EOF )
- // InternalSolverLanguage.g:1965:2: iv_ruleAllObjects= ruleAllObjects EOF
+ // InternalSolverLanguage.g:1898:51: (iv_ruleAllObjects= ruleAllObjects EOF )
+ // InternalSolverLanguage.g:1899:2: iv_ruleAllObjects= ruleAllObjects EOF
{
newCompositeNode(grammarAccess.getAllObjectsRule());
pushFollow(FOLLOW_1);
@@ -5705,7 +5571,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleAllObjects"
- // InternalSolverLanguage.g:1971:1: ruleAllObjects returns [EObject current=null] : ( () otherlv_1= '*' ) ;
+ // InternalSolverLanguage.g:1905:1: ruleAllObjects returns [EObject current=null] : ( () otherlv_1= '*' ) ;
public final EObject ruleAllObjects() throws RecognitionException {
EObject current = null;
@@ -5715,14 +5581,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1977:2: ( ( () otherlv_1= '*' ) )
- // InternalSolverLanguage.g:1978:2: ( () otherlv_1= '*' )
+ // InternalSolverLanguage.g:1911:2: ( ( () otherlv_1= '*' ) )
+ // InternalSolverLanguage.g:1912:2: ( () otherlv_1= '*' )
{
- // InternalSolverLanguage.g:1978:2: ( () otherlv_1= '*' )
- // InternalSolverLanguage.g:1979:3: () otherlv_1= '*'
+ // InternalSolverLanguage.g:1912:2: ( () otherlv_1= '*' )
+ // InternalSolverLanguage.g:1913:3: () otherlv_1= '*'
{
- // InternalSolverLanguage.g:1979:3: ()
- // InternalSolverLanguage.g:1980:4:
+ // InternalSolverLanguage.g:1913:3: ()
+ // InternalSolverLanguage.g:1914:4:
{
current = forceCreateModelElement(
@@ -5732,7 +5598,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- otherlv_1=(Token)match(input,30,FOLLOW_2);
+ otherlv_1=(Token)match(input,31,FOLLOW_2);
newLeafNode(otherlv_1, grammarAccess.getAllObjectsAccess().getAsteriskKeyword_1());
@@ -5759,7 +5625,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDefaultInterpretation"
- // InternalSolverLanguage.g:1994:1: entryRuleDefaultInterpretation returns [EObject current=null] : iv_ruleDefaultInterpretation= ruleDefaultInterpretation EOF ;
+ // InternalSolverLanguage.g:1928:1: entryRuleDefaultInterpretation returns [EObject current=null] : iv_ruleDefaultInterpretation= ruleDefaultInterpretation EOF ;
public final EObject entryRuleDefaultInterpretation() throws RecognitionException {
EObject current = null;
@@ -5767,8 +5633,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1994:62: (iv_ruleDefaultInterpretation= ruleDefaultInterpretation EOF )
- // InternalSolverLanguage.g:1995:2: iv_ruleDefaultInterpretation= ruleDefaultInterpretation EOF
+ // InternalSolverLanguage.g:1928:62: (iv_ruleDefaultInterpretation= ruleDefaultInterpretation EOF )
+ // InternalSolverLanguage.g:1929:2: iv_ruleDefaultInterpretation= ruleDefaultInterpretation EOF
{
newCompositeNode(grammarAccess.getDefaultInterpretationRule());
pushFollow(FOLLOW_1);
@@ -5795,7 +5661,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDefaultInterpretation"
- // InternalSolverLanguage.g:2001:1: ruleDefaultInterpretation returns [EObject current=null] : (otherlv_0= 'default' ( (lv_interpretation_1_0= ruleBasicInterpretation ) ) ) ;
+ // InternalSolverLanguage.g:1935:1: ruleDefaultInterpretation returns [EObject current=null] : (otherlv_0= 'default' ( (lv_interpretation_1_0= ruleBasicInterpretation ) ) ) ;
public final EObject ruleDefaultInterpretation() throws RecognitionException {
EObject current = null;
@@ -5807,21 +5673,21 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2007:2: ( (otherlv_0= 'default' ( (lv_interpretation_1_0= ruleBasicInterpretation ) ) ) )
- // InternalSolverLanguage.g:2008:2: (otherlv_0= 'default' ( (lv_interpretation_1_0= ruleBasicInterpretation ) ) )
+ // InternalSolverLanguage.g:1941:2: ( (otherlv_0= 'default' ( (lv_interpretation_1_0= ruleBasicInterpretation ) ) ) )
+ // InternalSolverLanguage.g:1942:2: (otherlv_0= 'default' ( (lv_interpretation_1_0= ruleBasicInterpretation ) ) )
{
- // InternalSolverLanguage.g:2008:2: (otherlv_0= 'default' ( (lv_interpretation_1_0= ruleBasicInterpretation ) ) )
- // InternalSolverLanguage.g:2009:3: otherlv_0= 'default' ( (lv_interpretation_1_0= ruleBasicInterpretation ) )
+ // InternalSolverLanguage.g:1942:2: (otherlv_0= 'default' ( (lv_interpretation_1_0= ruleBasicInterpretation ) ) )
+ // InternalSolverLanguage.g:1943:3: otherlv_0= 'default' ( (lv_interpretation_1_0= ruleBasicInterpretation ) )
{
- otherlv_0=(Token)match(input,31,FOLLOW_18);
+ otherlv_0=(Token)match(input,32,FOLLOW_21);
newLeafNode(otherlv_0, grammarAccess.getDefaultInterpretationAccess().getDefaultKeyword_0());
- // InternalSolverLanguage.g:2013:3: ( (lv_interpretation_1_0= ruleBasicInterpretation ) )
- // InternalSolverLanguage.g:2014:4: (lv_interpretation_1_0= ruleBasicInterpretation )
+ // InternalSolverLanguage.g:1947:3: ( (lv_interpretation_1_0= ruleBasicInterpretation ) )
+ // InternalSolverLanguage.g:1948:4: (lv_interpretation_1_0= ruleBasicInterpretation )
{
- // InternalSolverLanguage.g:2014:4: (lv_interpretation_1_0= ruleBasicInterpretation )
- // InternalSolverLanguage.g:2015:5: lv_interpretation_1_0= ruleBasicInterpretation
+ // InternalSolverLanguage.g:1948:4: (lv_interpretation_1_0= ruleBasicInterpretation )
+ // InternalSolverLanguage.g:1949:5: lv_interpretation_1_0= ruleBasicInterpretation
{
newCompositeNode(grammarAccess.getDefaultInterpretationAccess().getInterpretationBasicInterpretationParserRuleCall_1_0());
@@ -5871,7 +5737,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleCDInterpretation"
- // InternalSolverLanguage.g:2036:1: entryRuleCDInterpretation returns [EObject current=null] : iv_ruleCDInterpretation= ruleCDInterpretation EOF ;
+ // InternalSolverLanguage.g:1970:1: entryRuleCDInterpretation returns [EObject current=null] : iv_ruleCDInterpretation= ruleCDInterpretation EOF ;
public final EObject entryRuleCDInterpretation() throws RecognitionException {
EObject current = null;
@@ -5879,8 +5745,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2036:57: (iv_ruleCDInterpretation= ruleCDInterpretation EOF )
- // InternalSolverLanguage.g:2037:2: iv_ruleCDInterpretation= ruleCDInterpretation EOF
+ // InternalSolverLanguage.g:1970:57: (iv_ruleCDInterpretation= ruleCDInterpretation EOF )
+ // InternalSolverLanguage.g:1971:2: iv_ruleCDInterpretation= ruleCDInterpretation EOF
{
newCompositeNode(grammarAccess.getCDInterpretationRule());
pushFollow(FOLLOW_1);
@@ -5907,7 +5773,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleCDInterpretation"
- // InternalSolverLanguage.g:2043:1: ruleCDInterpretation returns [EObject current=null] : (this_ClassInterpretation_0= ruleClassInterpretation | this_EnumInterpretation_1= ruleEnumInterpretation | this_GlobalRelationInterpretation_2= ruleGlobalRelationInterpretation ) ;
+ // InternalSolverLanguage.g:1977:1: ruleCDInterpretation returns [EObject current=null] : (this_ClassInterpretation_0= ruleClassInterpretation | this_EnumInterpretation_1= ruleEnumInterpretation | this_GlobalRelationInterpretation_2= ruleGlobalRelationInterpretation ) ;
public final EObject ruleCDInterpretation() throws RecognitionException {
EObject current = null;
@@ -5922,37 +5788,39 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2049:2: ( (this_ClassInterpretation_0= ruleClassInterpretation | this_EnumInterpretation_1= ruleEnumInterpretation | this_GlobalRelationInterpretation_2= ruleGlobalRelationInterpretation ) )
- // InternalSolverLanguage.g:2050:2: (this_ClassInterpretation_0= ruleClassInterpretation | this_EnumInterpretation_1= ruleEnumInterpretation | this_GlobalRelationInterpretation_2= ruleGlobalRelationInterpretation )
+ // InternalSolverLanguage.g:1983:2: ( (this_ClassInterpretation_0= ruleClassInterpretation | this_EnumInterpretation_1= ruleEnumInterpretation | this_GlobalRelationInterpretation_2= ruleGlobalRelationInterpretation ) )
+ // InternalSolverLanguage.g:1984:2: (this_ClassInterpretation_0= ruleClassInterpretation | this_EnumInterpretation_1= ruleEnumInterpretation | this_GlobalRelationInterpretation_2= ruleGlobalRelationInterpretation )
{
- // InternalSolverLanguage.g:2050:2: (this_ClassInterpretation_0= ruleClassInterpretation | this_EnumInterpretation_1= ruleEnumInterpretation | this_GlobalRelationInterpretation_2= ruleGlobalRelationInterpretation )
- int alt32=3;
+ // InternalSolverLanguage.g:1984:2: (this_ClassInterpretation_0= ruleClassInterpretation | this_EnumInterpretation_1= ruleEnumInterpretation | this_GlobalRelationInterpretation_2= ruleGlobalRelationInterpretation )
+ int alt36=3;
switch ( input.LA(1) ) {
- case 32:
+ case 33:
+ case 34:
{
- alt32=1;
+ alt36=1;
}
break;
- case 37:
+ case 38:
{
- alt32=2;
+ alt36=2;
}
break;
- case 38:
+ case 39:
+ case 40:
{
- alt32=3;
+ alt36=3;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 32, 0, input);
+ new NoViableAltException("", 36, 0, input);
throw nvae;
}
- switch (alt32) {
+ switch (alt36) {
case 1 :
- // InternalSolverLanguage.g:2051:3: this_ClassInterpretation_0= ruleClassInterpretation
+ // InternalSolverLanguage.g:1985:3: this_ClassInterpretation_0= ruleClassInterpretation
{
newCompositeNode(grammarAccess.getCDInterpretationAccess().getClassInterpretationParserRuleCall_0());
@@ -5970,7 +5838,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:2060:3: this_EnumInterpretation_1= ruleEnumInterpretation
+ // InternalSolverLanguage.g:1994:3: this_EnumInterpretation_1= ruleEnumInterpretation
{
newCompositeNode(grammarAccess.getCDInterpretationAccess().getEnumInterpretationParserRuleCall_1());
@@ -5988,7 +5856,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalSolverLanguage.g:2069:3: this_GlobalRelationInterpretation_2= ruleGlobalRelationInterpretation
+ // InternalSolverLanguage.g:2003:3: this_GlobalRelationInterpretation_2= ruleGlobalRelationInterpretation
{
newCompositeNode(grammarAccess.getCDInterpretationAccess().getGlobalRelationInterpretationParserRuleCall_2());
@@ -6028,7 +5896,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleClassInterpretation"
- // InternalSolverLanguage.g:2081:1: entryRuleClassInterpretation returns [EObject current=null] : iv_ruleClassInterpretation= ruleClassInterpretation EOF ;
+ // InternalSolverLanguage.g:2015:1: entryRuleClassInterpretation returns [EObject current=null] : iv_ruleClassInterpretation= ruleClassInterpretation EOF ;
public final EObject entryRuleClassInterpretation() throws RecognitionException {
EObject current = null;
@@ -6036,8 +5904,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2081:60: (iv_ruleClassInterpretation= ruleClassInterpretation EOF )
- // InternalSolverLanguage.g:2082:2: iv_ruleClassInterpretation= ruleClassInterpretation EOF
+ // InternalSolverLanguage.g:2015:60: (iv_ruleClassInterpretation= ruleClassInterpretation EOF )
+ // InternalSolverLanguage.g:2016:2: iv_ruleClassInterpretation= ruleClassInterpretation EOF
{
newCompositeNode(grammarAccess.getClassInterpretationRule());
pushFollow(FOLLOW_1);
@@ -6064,7 +5932,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleClassInterpretation"
- // InternalSolverLanguage.g:2088:1: ruleClassInterpretation returns [EObject current=null] : ( ( (lv_abstract_0_0= 'abstract' ) ) otherlv_1= 'class' ( (lv_symbol_2_0= ruleModelSymbol ) ) (otherlv_3= 'extends' ( (lv_supertypes_4_0= ruleModelSymbol ) )+ )? otherlv_5= '{' ( (lv_fielt_6_0= ruleFieldRelationInterpretation ) )* otherlv_7= '}' ) ;
+ // InternalSolverLanguage.g:2022:1: ruleClassInterpretation returns [EObject current=null] : ( ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'class' ( (lv_symbol_2_0= ruleModelSymbol ) ) (otherlv_3= 'extends' ( (lv_supertypes_4_0= ruleModelSymbol ) )+ )? otherlv_5= '{' ( (lv_fielt_6_0= ruleFieldRelationInterpretation ) )* otherlv_7= '}' ) ;
public final EObject ruleClassInterpretation() throws RecognitionException {
EObject current = null;
@@ -6084,48 +5952,59 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2094:2: ( ( ( (lv_abstract_0_0= 'abstract' ) ) otherlv_1= 'class' ( (lv_symbol_2_0= ruleModelSymbol ) ) (otherlv_3= 'extends' ( (lv_supertypes_4_0= ruleModelSymbol ) )+ )? otherlv_5= '{' ( (lv_fielt_6_0= ruleFieldRelationInterpretation ) )* otherlv_7= '}' ) )
- // InternalSolverLanguage.g:2095:2: ( ( (lv_abstract_0_0= 'abstract' ) ) otherlv_1= 'class' ( (lv_symbol_2_0= ruleModelSymbol ) ) (otherlv_3= 'extends' ( (lv_supertypes_4_0= ruleModelSymbol ) )+ )? otherlv_5= '{' ( (lv_fielt_6_0= ruleFieldRelationInterpretation ) )* otherlv_7= '}' )
- {
- // InternalSolverLanguage.g:2095:2: ( ( (lv_abstract_0_0= 'abstract' ) ) otherlv_1= 'class' ( (lv_symbol_2_0= ruleModelSymbol ) ) (otherlv_3= 'extends' ( (lv_supertypes_4_0= ruleModelSymbol ) )+ )? otherlv_5= '{' ( (lv_fielt_6_0= ruleFieldRelationInterpretation ) )* otherlv_7= '}' )
- // InternalSolverLanguage.g:2096:3: ( (lv_abstract_0_0= 'abstract' ) ) otherlv_1= 'class' ( (lv_symbol_2_0= ruleModelSymbol ) ) (otherlv_3= 'extends' ( (lv_supertypes_4_0= ruleModelSymbol ) )+ )? otherlv_5= '{' ( (lv_fielt_6_0= ruleFieldRelationInterpretation ) )* otherlv_7= '}'
+ // InternalSolverLanguage.g:2028:2: ( ( ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'class' ( (lv_symbol_2_0= ruleModelSymbol ) ) (otherlv_3= 'extends' ( (lv_supertypes_4_0= ruleModelSymbol ) )+ )? otherlv_5= '{' ( (lv_fielt_6_0= ruleFieldRelationInterpretation ) )* otherlv_7= '}' ) )
+ // InternalSolverLanguage.g:2029:2: ( ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'class' ( (lv_symbol_2_0= ruleModelSymbol ) ) (otherlv_3= 'extends' ( (lv_supertypes_4_0= ruleModelSymbol ) )+ )? otherlv_5= '{' ( (lv_fielt_6_0= ruleFieldRelationInterpretation ) )* otherlv_7= '}' )
{
- // InternalSolverLanguage.g:2096:3: ( (lv_abstract_0_0= 'abstract' ) )
- // InternalSolverLanguage.g:2097:4: (lv_abstract_0_0= 'abstract' )
+ // InternalSolverLanguage.g:2029:2: ( ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'class' ( (lv_symbol_2_0= ruleModelSymbol ) ) (otherlv_3= 'extends' ( (lv_supertypes_4_0= ruleModelSymbol ) )+ )? otherlv_5= '{' ( (lv_fielt_6_0= ruleFieldRelationInterpretation ) )* otherlv_7= '}' )
+ // InternalSolverLanguage.g:2030:3: ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'class' ( (lv_symbol_2_0= ruleModelSymbol ) ) (otherlv_3= 'extends' ( (lv_supertypes_4_0= ruleModelSymbol ) )+ )? otherlv_5= '{' ( (lv_fielt_6_0= ruleFieldRelationInterpretation ) )* otherlv_7= '}'
{
- // InternalSolverLanguage.g:2097:4: (lv_abstract_0_0= 'abstract' )
- // InternalSolverLanguage.g:2098:5: lv_abstract_0_0= 'abstract'
- {
- lv_abstract_0_0=(Token)match(input,32,FOLLOW_24);
+ // InternalSolverLanguage.g:2030:3: ( (lv_abstract_0_0= 'abstract' ) )?
+ int alt37=2;
+ int LA37_0 = input.LA(1);
- newLeafNode(lv_abstract_0_0, grammarAccess.getClassInterpretationAccess().getAbstractAbstractKeyword_0_0());
-
+ if ( (LA37_0==33) ) {
+ alt37=1;
+ }
+ switch (alt37) {
+ case 1 :
+ // InternalSolverLanguage.g:2031:4: (lv_abstract_0_0= 'abstract' )
+ {
+ // InternalSolverLanguage.g:2031:4: (lv_abstract_0_0= 'abstract' )
+ // InternalSolverLanguage.g:2032:5: lv_abstract_0_0= 'abstract'
+ {
+ lv_abstract_0_0=(Token)match(input,33,FOLLOW_27);
- if (current==null) {
- current = createModelElement(grammarAccess.getClassInterpretationRule());
- }
- setWithLastConsumed(current, "abstract", true, "abstract");
-
+ newLeafNode(lv_abstract_0_0, grammarAccess.getClassInterpretationAccess().getAbstractAbstractKeyword_0_0());
+
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getClassInterpretationRule());
+ }
+ setWithLastConsumed(current, "abstract", true, "abstract");
+
+
+ }
+ }
+ break;
+
}
- otherlv_1=(Token)match(input,33,FOLLOW_10);
+ otherlv_1=(Token)match(input,34,FOLLOW_12);
newLeafNode(otherlv_1, grammarAccess.getClassInterpretationAccess().getClassKeyword_1());
- // InternalSolverLanguage.g:2114:3: ( (lv_symbol_2_0= ruleModelSymbol ) )
- // InternalSolverLanguage.g:2115:4: (lv_symbol_2_0= ruleModelSymbol )
+ // InternalSolverLanguage.g:2048:3: ( (lv_symbol_2_0= ruleModelSymbol ) )
+ // InternalSolverLanguage.g:2049:4: (lv_symbol_2_0= ruleModelSymbol )
{
- // InternalSolverLanguage.g:2115:4: (lv_symbol_2_0= ruleModelSymbol )
- // InternalSolverLanguage.g:2116:5: lv_symbol_2_0= ruleModelSymbol
+ // InternalSolverLanguage.g:2049:4: (lv_symbol_2_0= ruleModelSymbol )
+ // InternalSolverLanguage.g:2050:5: lv_symbol_2_0= ruleModelSymbol
{
newCompositeNode(grammarAccess.getClassInterpretationAccess().getSymbolModelSymbolParserRuleCall_2_0());
- pushFollow(FOLLOW_25);
+ pushFollow(FOLLOW_28);
lv_symbol_2_0=ruleModelSymbol();
state._fsp--;
@@ -6147,44 +6026,44 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- // InternalSolverLanguage.g:2133:3: (otherlv_3= 'extends' ( (lv_supertypes_4_0= ruleModelSymbol ) )+ )?
- int alt34=2;
- int LA34_0 = input.LA(1);
+ // InternalSolverLanguage.g:2067:3: (otherlv_3= 'extends' ( (lv_supertypes_4_0= ruleModelSymbol ) )+ )?
+ int alt39=2;
+ int LA39_0 = input.LA(1);
- if ( (LA34_0==34) ) {
- alt34=1;
+ if ( (LA39_0==35) ) {
+ alt39=1;
}
- switch (alt34) {
+ switch (alt39) {
case 1 :
- // InternalSolverLanguage.g:2134:4: otherlv_3= 'extends' ( (lv_supertypes_4_0= ruleModelSymbol ) )+
+ // InternalSolverLanguage.g:2068:4: otherlv_3= 'extends' ( (lv_supertypes_4_0= ruleModelSymbol ) )+
{
- otherlv_3=(Token)match(input,34,FOLLOW_10);
+ otherlv_3=(Token)match(input,35,FOLLOW_12);
newLeafNode(otherlv_3, grammarAccess.getClassInterpretationAccess().getExtendsKeyword_3_0());
- // InternalSolverLanguage.g:2138:4: ( (lv_supertypes_4_0= ruleModelSymbol ) )+
- int cnt33=0;
- loop33:
+ // InternalSolverLanguage.g:2072:4: ( (lv_supertypes_4_0= ruleModelSymbol ) )+
+ int cnt38=0;
+ loop38:
do {
- int alt33=2;
- int LA33_0 = input.LA(1);
+ int alt38=2;
+ int LA38_0 = input.LA(1);
- if ( (LA33_0==RULE_ID) ) {
- alt33=1;
+ if ( (LA38_0==RULE_ID) ) {
+ alt38=1;
}
- switch (alt33) {
+ switch (alt38) {
case 1 :
- // InternalSolverLanguage.g:2139:5: (lv_supertypes_4_0= ruleModelSymbol )
+ // InternalSolverLanguage.g:2073:5: (lv_supertypes_4_0= ruleModelSymbol )
{
- // InternalSolverLanguage.g:2139:5: (lv_supertypes_4_0= ruleModelSymbol )
- // InternalSolverLanguage.g:2140:6: lv_supertypes_4_0= ruleModelSymbol
+ // InternalSolverLanguage.g:2073:5: (lv_supertypes_4_0= ruleModelSymbol )
+ // InternalSolverLanguage.g:2074:6: lv_supertypes_4_0= ruleModelSymbol
{
newCompositeNode(grammarAccess.getClassInterpretationAccess().getSupertypesModelSymbolParserRuleCall_3_1_0());
- pushFollow(FOLLOW_26);
+ pushFollow(FOLLOW_29);
lv_supertypes_4_0=ruleModelSymbol();
state._fsp--;
@@ -6208,12 +6087,12 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
break;
default :
- if ( cnt33 >= 1 ) break loop33;
+ if ( cnt38 >= 1 ) break loop38;
EarlyExitException eee =
- new EarlyExitException(33, input);
+ new EarlyExitException(38, input);
throw eee;
}
- cnt33++;
+ cnt38++;
} while (true);
@@ -6222,32 +6101,32 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- otherlv_5=(Token)match(input,35,FOLLOW_27);
+ otherlv_5=(Token)match(input,36,FOLLOW_30);
newLeafNode(otherlv_5, grammarAccess.getClassInterpretationAccess().getLeftCurlyBracketKeyword_4());
- // InternalSolverLanguage.g:2162:3: ( (lv_fielt_6_0= ruleFieldRelationInterpretation ) )*
- loop35:
+ // InternalSolverLanguage.g:2096:3: ( (lv_fielt_6_0= ruleFieldRelationInterpretation ) )*
+ loop40:
do {
- int alt35=2;
- int LA35_0 = input.LA(1);
+ int alt40=2;
+ int LA40_0 = input.LA(1);
- if ( (LA35_0==38) ) {
- alt35=1;
+ if ( (LA40_0==RULE_ID||LA40_0==39) ) {
+ alt40=1;
}
- switch (alt35) {
+ switch (alt40) {
case 1 :
- // InternalSolverLanguage.g:2163:4: (lv_fielt_6_0= ruleFieldRelationInterpretation )
+ // InternalSolverLanguage.g:2097:4: (lv_fielt_6_0= ruleFieldRelationInterpretation )
{
- // InternalSolverLanguage.g:2163:4: (lv_fielt_6_0= ruleFieldRelationInterpretation )
- // InternalSolverLanguage.g:2164:5: lv_fielt_6_0= ruleFieldRelationInterpretation
+ // InternalSolverLanguage.g:2097:4: (lv_fielt_6_0= ruleFieldRelationInterpretation )
+ // InternalSolverLanguage.g:2098:5: lv_fielt_6_0= ruleFieldRelationInterpretation
{
newCompositeNode(grammarAccess.getClassInterpretationAccess().getFieltFieldRelationInterpretationParserRuleCall_5_0());
- pushFollow(FOLLOW_27);
+ pushFollow(FOLLOW_30);
lv_fielt_6_0=ruleFieldRelationInterpretation();
state._fsp--;
@@ -6271,11 +6150,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
break;
default :
- break loop35;
+ break loop40;
}
} while (true);
- otherlv_7=(Token)match(input,36,FOLLOW_2);
+ otherlv_7=(Token)match(input,37,FOLLOW_2);
newLeafNode(otherlv_7, grammarAccess.getClassInterpretationAccess().getRightCurlyBracketKeyword_6());
@@ -6302,7 +6181,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleEnumInterpretation"
- // InternalSolverLanguage.g:2189:1: entryRuleEnumInterpretation returns [EObject current=null] : iv_ruleEnumInterpretation= ruleEnumInterpretation EOF ;
+ // InternalSolverLanguage.g:2123:1: entryRuleEnumInterpretation returns [EObject current=null] : iv_ruleEnumInterpretation= ruleEnumInterpretation EOF ;
public final EObject entryRuleEnumInterpretation() throws RecognitionException {
EObject current = null;
@@ -6310,8 +6189,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2189:59: (iv_ruleEnumInterpretation= ruleEnumInterpretation EOF )
- // InternalSolverLanguage.g:2190:2: iv_ruleEnumInterpretation= ruleEnumInterpretation EOF
+ // InternalSolverLanguage.g:2123:59: (iv_ruleEnumInterpretation= ruleEnumInterpretation EOF )
+ // InternalSolverLanguage.g:2124:2: iv_ruleEnumInterpretation= ruleEnumInterpretation EOF
{
newCompositeNode(grammarAccess.getEnumInterpretationRule());
pushFollow(FOLLOW_1);
@@ -6338,7 +6217,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleEnumInterpretation"
- // InternalSolverLanguage.g:2196:1: ruleEnumInterpretation returns [EObject current=null] : (otherlv_0= 'enum' ( (lv_Symbol_1_0= ruleModelSymbol ) ) otherlv_2= '{' ( (lv_objects_3_0= ruleNamedObject ) )+ otherlv_4= '}' ) ;
+ // InternalSolverLanguage.g:2130:1: ruleEnumInterpretation returns [EObject current=null] : (otherlv_0= 'enum' ( (lv_Symbol_1_0= ruleModelSymbol ) ) otherlv_2= '{' ( (lv_objects_3_0= ruleNamedObject ) )+ otherlv_4= '}' ) ;
public final EObject ruleEnumInterpretation() throws RecognitionException {
EObject current = null;
@@ -6354,26 +6233,26 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2202:2: ( (otherlv_0= 'enum' ( (lv_Symbol_1_0= ruleModelSymbol ) ) otherlv_2= '{' ( (lv_objects_3_0= ruleNamedObject ) )+ otherlv_4= '}' ) )
- // InternalSolverLanguage.g:2203:2: (otherlv_0= 'enum' ( (lv_Symbol_1_0= ruleModelSymbol ) ) otherlv_2= '{' ( (lv_objects_3_0= ruleNamedObject ) )+ otherlv_4= '}' )
+ // InternalSolverLanguage.g:2136:2: ( (otherlv_0= 'enum' ( (lv_Symbol_1_0= ruleModelSymbol ) ) otherlv_2= '{' ( (lv_objects_3_0= ruleNamedObject ) )+ otherlv_4= '}' ) )
+ // InternalSolverLanguage.g:2137:2: (otherlv_0= 'enum' ( (lv_Symbol_1_0= ruleModelSymbol ) ) otherlv_2= '{' ( (lv_objects_3_0= ruleNamedObject ) )+ otherlv_4= '}' )
{
- // InternalSolverLanguage.g:2203:2: (otherlv_0= 'enum' ( (lv_Symbol_1_0= ruleModelSymbol ) ) otherlv_2= '{' ( (lv_objects_3_0= ruleNamedObject ) )+ otherlv_4= '}' )
- // InternalSolverLanguage.g:2204:3: otherlv_0= 'enum' ( (lv_Symbol_1_0= ruleModelSymbol ) ) otherlv_2= '{' ( (lv_objects_3_0= ruleNamedObject ) )+ otherlv_4= '}'
+ // InternalSolverLanguage.g:2137:2: (otherlv_0= 'enum' ( (lv_Symbol_1_0= ruleModelSymbol ) ) otherlv_2= '{' ( (lv_objects_3_0= ruleNamedObject ) )+ otherlv_4= '}' )
+ // InternalSolverLanguage.g:2138:3: otherlv_0= 'enum' ( (lv_Symbol_1_0= ruleModelSymbol ) ) otherlv_2= '{' ( (lv_objects_3_0= ruleNamedObject ) )+ otherlv_4= '}'
{
- otherlv_0=(Token)match(input,37,FOLLOW_10);
+ otherlv_0=(Token)match(input,38,FOLLOW_12);
newLeafNode(otherlv_0, grammarAccess.getEnumInterpretationAccess().getEnumKeyword_0());
- // InternalSolverLanguage.g:2208:3: ( (lv_Symbol_1_0= ruleModelSymbol ) )
- // InternalSolverLanguage.g:2209:4: (lv_Symbol_1_0= ruleModelSymbol )
+ // InternalSolverLanguage.g:2142:3: ( (lv_Symbol_1_0= ruleModelSymbol ) )
+ // InternalSolverLanguage.g:2143:4: (lv_Symbol_1_0= ruleModelSymbol )
{
- // InternalSolverLanguage.g:2209:4: (lv_Symbol_1_0= ruleModelSymbol )
- // InternalSolverLanguage.g:2210:5: lv_Symbol_1_0= ruleModelSymbol
+ // InternalSolverLanguage.g:2143:4: (lv_Symbol_1_0= ruleModelSymbol )
+ // InternalSolverLanguage.g:2144:5: lv_Symbol_1_0= ruleModelSymbol
{
newCompositeNode(grammarAccess.getEnumInterpretationAccess().getSymbolModelSymbolParserRuleCall_1_0());
- pushFollow(FOLLOW_28);
+ pushFollow(FOLLOW_31);
lv_Symbol_1_0=ruleModelSymbol();
state._fsp--;
@@ -6395,33 +6274,33 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,35,FOLLOW_11);
+ otherlv_2=(Token)match(input,36,FOLLOW_13);
newLeafNode(otherlv_2, grammarAccess.getEnumInterpretationAccess().getLeftCurlyBracketKeyword_2());
- // InternalSolverLanguage.g:2231:3: ( (lv_objects_3_0= ruleNamedObject ) )+
- int cnt36=0;
- loop36:
+ // InternalSolverLanguage.g:2165:3: ( (lv_objects_3_0= ruleNamedObject ) )+
+ int cnt41=0;
+ loop41:
do {
- int alt36=2;
- int LA36_0 = input.LA(1);
+ int alt41=2;
+ int LA41_0 = input.LA(1);
- if ( (LA36_0==26) ) {
- alt36=1;
+ if ( (LA41_0==27) ) {
+ alt41=1;
}
- switch (alt36) {
+ switch (alt41) {
case 1 :
- // InternalSolverLanguage.g:2232:4: (lv_objects_3_0= ruleNamedObject )
+ // InternalSolverLanguage.g:2166:4: (lv_objects_3_0= ruleNamedObject )
{
- // InternalSolverLanguage.g:2232:4: (lv_objects_3_0= ruleNamedObject )
- // InternalSolverLanguage.g:2233:5: lv_objects_3_0= ruleNamedObject
+ // InternalSolverLanguage.g:2166:4: (lv_objects_3_0= ruleNamedObject )
+ // InternalSolverLanguage.g:2167:5: lv_objects_3_0= ruleNamedObject
{
newCompositeNode(grammarAccess.getEnumInterpretationAccess().getObjectsNamedObjectParserRuleCall_3_0());
- pushFollow(FOLLOW_29);
+ pushFollow(FOLLOW_32);
lv_objects_3_0=ruleNamedObject();
state._fsp--;
@@ -6445,15 +6324,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
break;
default :
- if ( cnt36 >= 1 ) break loop36;
+ if ( cnt41 >= 1 ) break loop41;
EarlyExitException eee =
- new EarlyExitException(36, input);
+ new EarlyExitException(41, input);
throw eee;
}
- cnt36++;
+ cnt41++;
} while (true);
- otherlv_4=(Token)match(input,36,FOLLOW_2);
+ otherlv_4=(Token)match(input,37,FOLLOW_2);
newLeafNode(otherlv_4, grammarAccess.getEnumInterpretationAccess().getRightCurlyBracketKeyword_4());
@@ -6480,7 +6359,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleFieldRelationInterpretation"
- // InternalSolverLanguage.g:2258:1: entryRuleFieldRelationInterpretation returns [EObject current=null] : iv_ruleFieldRelationInterpretation= ruleFieldRelationInterpretation EOF ;
+ // InternalSolverLanguage.g:2192:1: entryRuleFieldRelationInterpretation returns [EObject current=null] : iv_ruleFieldRelationInterpretation= ruleFieldRelationInterpretation EOF ;
public final EObject entryRuleFieldRelationInterpretation() throws RecognitionException {
EObject current = null;
@@ -6488,8 +6367,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2258:68: (iv_ruleFieldRelationInterpretation= ruleFieldRelationInterpretation EOF )
- // InternalSolverLanguage.g:2259:2: iv_ruleFieldRelationInterpretation= ruleFieldRelationInterpretation EOF
+ // InternalSolverLanguage.g:2192:68: (iv_ruleFieldRelationInterpretation= ruleFieldRelationInterpretation EOF )
+ // InternalSolverLanguage.g:2193:2: iv_ruleFieldRelationInterpretation= ruleFieldRelationInterpretation EOF
{
newCompositeNode(grammarAccess.getFieldRelationInterpretationRule());
pushFollow(FOLLOW_1);
@@ -6516,7 +6395,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleFieldRelationInterpretation"
- // InternalSolverLanguage.g:2265:1: ruleFieldRelationInterpretation returns [EObject current=null] : ( ( (lv_containment_0_0= 'containment' ) ) ( (lv_symbol_1_0= ruleModelSymbol ) ) otherlv_2= ':' ( (lv_multiplicity_3_0= ruleMultiplicityDefinition ) )? ( (lv_target_4_0= ruleSymbol ) ) ) ;
+ // InternalSolverLanguage.g:2199:1: ruleFieldRelationInterpretation returns [EObject current=null] : ( ( (lv_containment_0_0= 'containment' ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) otherlv_2= ':' ( (lv_multiplicity_3_0= ruleMultiplicityDefinition ) )? ( (lv_target_4_0= ruleSymbol ) ) ) ;
public final EObject ruleFieldRelationInterpretation() throws RecognitionException {
EObject current = null;
@@ -6533,44 +6412,55 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2271:2: ( ( ( (lv_containment_0_0= 'containment' ) ) ( (lv_symbol_1_0= ruleModelSymbol ) ) otherlv_2= ':' ( (lv_multiplicity_3_0= ruleMultiplicityDefinition ) )? ( (lv_target_4_0= ruleSymbol ) ) ) )
- // InternalSolverLanguage.g:2272:2: ( ( (lv_containment_0_0= 'containment' ) ) ( (lv_symbol_1_0= ruleModelSymbol ) ) otherlv_2= ':' ( (lv_multiplicity_3_0= ruleMultiplicityDefinition ) )? ( (lv_target_4_0= ruleSymbol ) ) )
- {
- // InternalSolverLanguage.g:2272:2: ( ( (lv_containment_0_0= 'containment' ) ) ( (lv_symbol_1_0= ruleModelSymbol ) ) otherlv_2= ':' ( (lv_multiplicity_3_0= ruleMultiplicityDefinition ) )? ( (lv_target_4_0= ruleSymbol ) ) )
- // InternalSolverLanguage.g:2273:3: ( (lv_containment_0_0= 'containment' ) ) ( (lv_symbol_1_0= ruleModelSymbol ) ) otherlv_2= ':' ( (lv_multiplicity_3_0= ruleMultiplicityDefinition ) )? ( (lv_target_4_0= ruleSymbol ) )
+ // InternalSolverLanguage.g:2205:2: ( ( ( (lv_containment_0_0= 'containment' ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) otherlv_2= ':' ( (lv_multiplicity_3_0= ruleMultiplicityDefinition ) )? ( (lv_target_4_0= ruleSymbol ) ) ) )
+ // InternalSolverLanguage.g:2206:2: ( ( (lv_containment_0_0= 'containment' ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) otherlv_2= ':' ( (lv_multiplicity_3_0= ruleMultiplicityDefinition ) )? ( (lv_target_4_0= ruleSymbol ) ) )
{
- // InternalSolverLanguage.g:2273:3: ( (lv_containment_0_0= 'containment' ) )
- // InternalSolverLanguage.g:2274:4: (lv_containment_0_0= 'containment' )
+ // InternalSolverLanguage.g:2206:2: ( ( (lv_containment_0_0= 'containment' ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) otherlv_2= ':' ( (lv_multiplicity_3_0= ruleMultiplicityDefinition ) )? ( (lv_target_4_0= ruleSymbol ) ) )
+ // InternalSolverLanguage.g:2207:3: ( (lv_containment_0_0= 'containment' ) )? ( (lv_symbol_1_0= ruleModelSymbol ) ) otherlv_2= ':' ( (lv_multiplicity_3_0= ruleMultiplicityDefinition ) )? ( (lv_target_4_0= ruleSymbol ) )
{
- // InternalSolverLanguage.g:2274:4: (lv_containment_0_0= 'containment' )
- // InternalSolverLanguage.g:2275:5: lv_containment_0_0= 'containment'
- {
- lv_containment_0_0=(Token)match(input,38,FOLLOW_10);
+ // InternalSolverLanguage.g:2207:3: ( (lv_containment_0_0= 'containment' ) )?
+ int alt42=2;
+ int LA42_0 = input.LA(1);
- newLeafNode(lv_containment_0_0, grammarAccess.getFieldRelationInterpretationAccess().getContainmentContainmentKeyword_0_0());
-
+ if ( (LA42_0==39) ) {
+ alt42=1;
+ }
+ switch (alt42) {
+ case 1 :
+ // InternalSolverLanguage.g:2208:4: (lv_containment_0_0= 'containment' )
+ {
+ // InternalSolverLanguage.g:2208:4: (lv_containment_0_0= 'containment' )
+ // InternalSolverLanguage.g:2209:5: lv_containment_0_0= 'containment'
+ {
+ lv_containment_0_0=(Token)match(input,39,FOLLOW_12);
- if (current==null) {
- current = createModelElement(grammarAccess.getFieldRelationInterpretationRule());
- }
- setWithLastConsumed(current, "containment", true, "containment");
-
+ newLeafNode(lv_containment_0_0, grammarAccess.getFieldRelationInterpretationAccess().getContainmentContainmentKeyword_0_0());
+
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getFieldRelationInterpretationRule());
+ }
+ setWithLastConsumed(current, "containment", true, "containment");
+
+ }
+
+
+ }
+ break;
}
- // InternalSolverLanguage.g:2287:3: ( (lv_symbol_1_0= ruleModelSymbol ) )
- // InternalSolverLanguage.g:2288:4: (lv_symbol_1_0= ruleModelSymbol )
+ // InternalSolverLanguage.g:2221:3: ( (lv_symbol_1_0= ruleModelSymbol ) )
+ // InternalSolverLanguage.g:2222:4: (lv_symbol_1_0= ruleModelSymbol )
{
- // InternalSolverLanguage.g:2288:4: (lv_symbol_1_0= ruleModelSymbol )
- // InternalSolverLanguage.g:2289:5: lv_symbol_1_0= ruleModelSymbol
+ // InternalSolverLanguage.g:2222:4: (lv_symbol_1_0= ruleModelSymbol )
+ // InternalSolverLanguage.g:2223:5: lv_symbol_1_0= ruleModelSymbol
{
newCompositeNode(grammarAccess.getFieldRelationInterpretationAccess().getSymbolModelSymbolParserRuleCall_1_0());
- pushFollow(FOLLOW_8);
+ pushFollow(FOLLOW_10);
lv_symbol_1_0=ruleModelSymbol();
state._fsp--;
@@ -6592,28 +6482,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,19,FOLLOW_30);
+ otherlv_2=(Token)match(input,20,FOLLOW_33);
newLeafNode(otherlv_2, grammarAccess.getFieldRelationInterpretationAccess().getColonKeyword_2());
- // InternalSolverLanguage.g:2310:3: ( (lv_multiplicity_3_0= ruleMultiplicityDefinition ) )?
- int alt37=2;
- int LA37_0 = input.LA(1);
+ // InternalSolverLanguage.g:2244:3: ( (lv_multiplicity_3_0= ruleMultiplicityDefinition ) )?
+ int alt43=2;
+ int LA43_0 = input.LA(1);
- if ( (LA37_0==RULE_INT) ) {
- alt37=1;
+ if ( (LA43_0==RULE_INT) ) {
+ alt43=1;
}
- switch (alt37) {
+ switch (alt43) {
case 1 :
- // InternalSolverLanguage.g:2311:4: (lv_multiplicity_3_0= ruleMultiplicityDefinition )
+ // InternalSolverLanguage.g:2245:4: (lv_multiplicity_3_0= ruleMultiplicityDefinition )
{
- // InternalSolverLanguage.g:2311:4: (lv_multiplicity_3_0= ruleMultiplicityDefinition )
- // InternalSolverLanguage.g:2312:5: lv_multiplicity_3_0= ruleMultiplicityDefinition
+ // InternalSolverLanguage.g:2245:4: (lv_multiplicity_3_0= ruleMultiplicityDefinition )
+ // InternalSolverLanguage.g:2246:5: lv_multiplicity_3_0= ruleMultiplicityDefinition
{
newCompositeNode(grammarAccess.getFieldRelationInterpretationAccess().getMultiplicityMultiplicityDefinitionParserRuleCall_3_0());
- pushFollow(FOLLOW_18);
+ pushFollow(FOLLOW_21);
lv_multiplicity_3_0=ruleMultiplicityDefinition();
state._fsp--;
@@ -6638,11 +6528,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- // InternalSolverLanguage.g:2329:3: ( (lv_target_4_0= ruleSymbol ) )
- // InternalSolverLanguage.g:2330:4: (lv_target_4_0= ruleSymbol )
+ // InternalSolverLanguage.g:2263:3: ( (lv_target_4_0= ruleSymbol ) )
+ // InternalSolverLanguage.g:2264:4: (lv_target_4_0= ruleSymbol )
{
- // InternalSolverLanguage.g:2330:4: (lv_target_4_0= ruleSymbol )
- // InternalSolverLanguage.g:2331:5: lv_target_4_0= ruleSymbol
+ // InternalSolverLanguage.g:2264:4: (lv_target_4_0= ruleSymbol )
+ // InternalSolverLanguage.g:2265:5: lv_target_4_0= ruleSymbol
{
newCompositeNode(grammarAccess.getFieldRelationInterpretationAccess().getTargetSymbolParserRuleCall_4_0());
@@ -6692,7 +6582,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleGlobalRelationInterpretation"
- // InternalSolverLanguage.g:2352:1: entryRuleGlobalRelationInterpretation returns [EObject current=null] : iv_ruleGlobalRelationInterpretation= ruleGlobalRelationInterpretation EOF ;
+ // InternalSolverLanguage.g:2286:1: entryRuleGlobalRelationInterpretation returns [EObject current=null] : iv_ruleGlobalRelationInterpretation= ruleGlobalRelationInterpretation EOF ;
public final EObject entryRuleGlobalRelationInterpretation() throws RecognitionException {
EObject current = null;
@@ -6700,8 +6590,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2352:69: (iv_ruleGlobalRelationInterpretation= ruleGlobalRelationInterpretation EOF )
- // InternalSolverLanguage.g:2353:2: iv_ruleGlobalRelationInterpretation= ruleGlobalRelationInterpretation EOF
+ // InternalSolverLanguage.g:2286:69: (iv_ruleGlobalRelationInterpretation= ruleGlobalRelationInterpretation EOF )
+ // InternalSolverLanguage.g:2287:2: iv_ruleGlobalRelationInterpretation= ruleGlobalRelationInterpretation EOF
{
newCompositeNode(grammarAccess.getGlobalRelationInterpretationRule());
pushFollow(FOLLOW_1);
@@ -6728,7 +6618,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleGlobalRelationInterpretation"
- // InternalSolverLanguage.g:2359:1: ruleGlobalRelationInterpretation returns [EObject current=null] : ( ( (lv_containment_0_0= 'containment' ) ) otherlv_1= 'relation' ( (lv_symbol_2_0= ruleModelSymbol ) ) otherlv_3= ':' ( (lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition ) )? ( (lv_source_5_0= ruleSymbol ) ) ( (lv_targetMultiplicity_6_0= ruleMultiplicityDefinition ) )? ( (lv_target_7_0= ruleSymbol ) ) ) ;
+ // InternalSolverLanguage.g:2293:1: ruleGlobalRelationInterpretation returns [EObject current=null] : ( ( (lv_containment_0_0= 'containment' ) )? otherlv_1= 'relation' ( (lv_symbol_2_0= ruleModelSymbol ) ) otherlv_3= ':' ( (lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition ) )? ( (lv_source_5_0= ruleSymbol ) ) ( (lv_targetMultiplicity_6_0= ruleMultiplicityDefinition ) )? ( (lv_target_7_0= ruleSymbol ) ) ) ;
public final EObject ruleGlobalRelationInterpretation() throws RecognitionException {
EObject current = null;
@@ -6750,48 +6640,59 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2365:2: ( ( ( (lv_containment_0_0= 'containment' ) ) otherlv_1= 'relation' ( (lv_symbol_2_0= ruleModelSymbol ) ) otherlv_3= ':' ( (lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition ) )? ( (lv_source_5_0= ruleSymbol ) ) ( (lv_targetMultiplicity_6_0= ruleMultiplicityDefinition ) )? ( (lv_target_7_0= ruleSymbol ) ) ) )
- // InternalSolverLanguage.g:2366:2: ( ( (lv_containment_0_0= 'containment' ) ) otherlv_1= 'relation' ( (lv_symbol_2_0= ruleModelSymbol ) ) otherlv_3= ':' ( (lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition ) )? ( (lv_source_5_0= ruleSymbol ) ) ( (lv_targetMultiplicity_6_0= ruleMultiplicityDefinition ) )? ( (lv_target_7_0= ruleSymbol ) ) )
- {
- // InternalSolverLanguage.g:2366:2: ( ( (lv_containment_0_0= 'containment' ) ) otherlv_1= 'relation' ( (lv_symbol_2_0= ruleModelSymbol ) ) otherlv_3= ':' ( (lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition ) )? ( (lv_source_5_0= ruleSymbol ) ) ( (lv_targetMultiplicity_6_0= ruleMultiplicityDefinition ) )? ( (lv_target_7_0= ruleSymbol ) ) )
- // InternalSolverLanguage.g:2367:3: ( (lv_containment_0_0= 'containment' ) ) otherlv_1= 'relation' ( (lv_symbol_2_0= ruleModelSymbol ) ) otherlv_3= ':' ( (lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition ) )? ( (lv_source_5_0= ruleSymbol ) ) ( (lv_targetMultiplicity_6_0= ruleMultiplicityDefinition ) )? ( (lv_target_7_0= ruleSymbol ) )
- {
- // InternalSolverLanguage.g:2367:3: ( (lv_containment_0_0= 'containment' ) )
- // InternalSolverLanguage.g:2368:4: (lv_containment_0_0= 'containment' )
+ // InternalSolverLanguage.g:2299:2: ( ( ( (lv_containment_0_0= 'containment' ) )? otherlv_1= 'relation' ( (lv_symbol_2_0= ruleModelSymbol ) ) otherlv_3= ':' ( (lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition ) )? ( (lv_source_5_0= ruleSymbol ) ) ( (lv_targetMultiplicity_6_0= ruleMultiplicityDefinition ) )? ( (lv_target_7_0= ruleSymbol ) ) ) )
+ // InternalSolverLanguage.g:2300:2: ( ( (lv_containment_0_0= 'containment' ) )? otherlv_1= 'relation' ( (lv_symbol_2_0= ruleModelSymbol ) ) otherlv_3= ':' ( (lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition ) )? ( (lv_source_5_0= ruleSymbol ) ) ( (lv_targetMultiplicity_6_0= ruleMultiplicityDefinition ) )? ( (lv_target_7_0= ruleSymbol ) ) )
{
- // InternalSolverLanguage.g:2368:4: (lv_containment_0_0= 'containment' )
- // InternalSolverLanguage.g:2369:5: lv_containment_0_0= 'containment'
+ // InternalSolverLanguage.g:2300:2: ( ( (lv_containment_0_0= 'containment' ) )? otherlv_1= 'relation' ( (lv_symbol_2_0= ruleModelSymbol ) ) otherlv_3= ':' ( (lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition ) )? ( (lv_source_5_0= ruleSymbol ) ) ( (lv_targetMultiplicity_6_0= ruleMultiplicityDefinition ) )? ( (lv_target_7_0= ruleSymbol ) ) )
+ // InternalSolverLanguage.g:2301:3: ( (lv_containment_0_0= 'containment' ) )? otherlv_1= 'relation' ( (lv_symbol_2_0= ruleModelSymbol ) ) otherlv_3= ':' ( (lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition ) )? ( (lv_source_5_0= ruleSymbol ) ) ( (lv_targetMultiplicity_6_0= ruleMultiplicityDefinition ) )? ( (lv_target_7_0= ruleSymbol ) )
{
- lv_containment_0_0=(Token)match(input,38,FOLLOW_31);
+ // InternalSolverLanguage.g:2301:3: ( (lv_containment_0_0= 'containment' ) )?
+ int alt44=2;
+ int LA44_0 = input.LA(1);
- newLeafNode(lv_containment_0_0, grammarAccess.getGlobalRelationInterpretationAccess().getContainmentContainmentKeyword_0_0());
-
+ if ( (LA44_0==39) ) {
+ alt44=1;
+ }
+ switch (alt44) {
+ case 1 :
+ // InternalSolverLanguage.g:2302:4: (lv_containment_0_0= 'containment' )
+ {
+ // InternalSolverLanguage.g:2302:4: (lv_containment_0_0= 'containment' )
+ // InternalSolverLanguage.g:2303:5: lv_containment_0_0= 'containment'
+ {
+ lv_containment_0_0=(Token)match(input,39,FOLLOW_34);
- if (current==null) {
- current = createModelElement(grammarAccess.getGlobalRelationInterpretationRule());
- }
- setWithLastConsumed(current, "containment", true, "containment");
-
+ newLeafNode(lv_containment_0_0, grammarAccess.getGlobalRelationInterpretationAccess().getContainmentContainmentKeyword_0_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getGlobalRelationInterpretationRule());
+ }
+ setWithLastConsumed(current, "containment", true, "containment");
+
+
+ }
- }
+ }
+ break;
}
- otherlv_1=(Token)match(input,39,FOLLOW_10);
+ otherlv_1=(Token)match(input,40,FOLLOW_12);
newLeafNode(otherlv_1, grammarAccess.getGlobalRelationInterpretationAccess().getRelationKeyword_1());
- // InternalSolverLanguage.g:2385:3: ( (lv_symbol_2_0= ruleModelSymbol ) )
- // InternalSolverLanguage.g:2386:4: (lv_symbol_2_0= ruleModelSymbol )
+ // InternalSolverLanguage.g:2319:3: ( (lv_symbol_2_0= ruleModelSymbol ) )
+ // InternalSolverLanguage.g:2320:4: (lv_symbol_2_0= ruleModelSymbol )
{
- // InternalSolverLanguage.g:2386:4: (lv_symbol_2_0= ruleModelSymbol )
- // InternalSolverLanguage.g:2387:5: lv_symbol_2_0= ruleModelSymbol
+ // InternalSolverLanguage.g:2320:4: (lv_symbol_2_0= ruleModelSymbol )
+ // InternalSolverLanguage.g:2321:5: lv_symbol_2_0= ruleModelSymbol
{
newCompositeNode(grammarAccess.getGlobalRelationInterpretationAccess().getSymbolModelSymbolParserRuleCall_2_0());
- pushFollow(FOLLOW_8);
+ pushFollow(FOLLOW_10);
lv_symbol_2_0=ruleModelSymbol();
state._fsp--;
@@ -6813,28 +6714,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- otherlv_3=(Token)match(input,19,FOLLOW_30);
+ otherlv_3=(Token)match(input,20,FOLLOW_33);
newLeafNode(otherlv_3, grammarAccess.getGlobalRelationInterpretationAccess().getColonKeyword_3());
- // InternalSolverLanguage.g:2408:3: ( (lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition ) )?
- int alt38=2;
- int LA38_0 = input.LA(1);
+ // InternalSolverLanguage.g:2342:3: ( (lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition ) )?
+ int alt45=2;
+ int LA45_0 = input.LA(1);
- if ( (LA38_0==RULE_INT) ) {
- alt38=1;
+ if ( (LA45_0==RULE_INT) ) {
+ alt45=1;
}
- switch (alt38) {
+ switch (alt45) {
case 1 :
- // InternalSolverLanguage.g:2409:4: (lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition )
+ // InternalSolverLanguage.g:2343:4: (lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition )
{
- // InternalSolverLanguage.g:2409:4: (lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition )
- // InternalSolverLanguage.g:2410:5: lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition
+ // InternalSolverLanguage.g:2343:4: (lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition )
+ // InternalSolverLanguage.g:2344:5: lv_sourceMultiplicity_4_0= ruleMultiplicityDefinition
{
newCompositeNode(grammarAccess.getGlobalRelationInterpretationAccess().getSourceMultiplicityMultiplicityDefinitionParserRuleCall_4_0());
- pushFollow(FOLLOW_18);
+ pushFollow(FOLLOW_21);
lv_sourceMultiplicity_4_0=ruleMultiplicityDefinition();
state._fsp--;
@@ -6859,16 +6760,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- // InternalSolverLanguage.g:2427:3: ( (lv_source_5_0= ruleSymbol ) )
- // InternalSolverLanguage.g:2428:4: (lv_source_5_0= ruleSymbol )
+ // InternalSolverLanguage.g:2361:3: ( (lv_source_5_0= ruleSymbol ) )
+ // InternalSolverLanguage.g:2362:4: (lv_source_5_0= ruleSymbol )
{
- // InternalSolverLanguage.g:2428:4: (lv_source_5_0= ruleSymbol )
- // InternalSolverLanguage.g:2429:5: lv_source_5_0= ruleSymbol
+ // InternalSolverLanguage.g:2362:4: (lv_source_5_0= ruleSymbol )
+ // InternalSolverLanguage.g:2363:5: lv_source_5_0= ruleSymbol
{
newCompositeNode(grammarAccess.getGlobalRelationInterpretationAccess().getSourceSymbolParserRuleCall_5_0());
- pushFollow(FOLLOW_30);
+ pushFollow(FOLLOW_33);
lv_source_5_0=ruleSymbol();
state._fsp--;
@@ -6890,24 +6791,24 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- // InternalSolverLanguage.g:2446:3: ( (lv_targetMultiplicity_6_0= ruleMultiplicityDefinition ) )?
- int alt39=2;
- int LA39_0 = input.LA(1);
+ // InternalSolverLanguage.g:2380:3: ( (lv_targetMultiplicity_6_0= ruleMultiplicityDefinition ) )?
+ int alt46=2;
+ int LA46_0 = input.LA(1);
- if ( (LA39_0==RULE_INT) ) {
- alt39=1;
+ if ( (LA46_0==RULE_INT) ) {
+ alt46=1;
}
- switch (alt39) {
+ switch (alt46) {
case 1 :
- // InternalSolverLanguage.g:2447:4: (lv_targetMultiplicity_6_0= ruleMultiplicityDefinition )
+ // InternalSolverLanguage.g:2381:4: (lv_targetMultiplicity_6_0= ruleMultiplicityDefinition )
{
- // InternalSolverLanguage.g:2447:4: (lv_targetMultiplicity_6_0= ruleMultiplicityDefinition )
- // InternalSolverLanguage.g:2448:5: lv_targetMultiplicity_6_0= ruleMultiplicityDefinition
+ // InternalSolverLanguage.g:2381:4: (lv_targetMultiplicity_6_0= ruleMultiplicityDefinition )
+ // InternalSolverLanguage.g:2382:5: lv_targetMultiplicity_6_0= ruleMultiplicityDefinition
{
newCompositeNode(grammarAccess.getGlobalRelationInterpretationAccess().getTargetMultiplicityMultiplicityDefinitionParserRuleCall_6_0());
- pushFollow(FOLLOW_18);
+ pushFollow(FOLLOW_21);
lv_targetMultiplicity_6_0=ruleMultiplicityDefinition();
state._fsp--;
@@ -6932,11 +6833,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- // InternalSolverLanguage.g:2465:3: ( (lv_target_7_0= ruleSymbol ) )
- // InternalSolverLanguage.g:2466:4: (lv_target_7_0= ruleSymbol )
+ // InternalSolverLanguage.g:2399:3: ( (lv_target_7_0= ruleSymbol ) )
+ // InternalSolverLanguage.g:2400:4: (lv_target_7_0= ruleSymbol )
{
- // InternalSolverLanguage.g:2466:4: (lv_target_7_0= ruleSymbol )
- // InternalSolverLanguage.g:2467:5: lv_target_7_0= ruleSymbol
+ // InternalSolverLanguage.g:2400:4: (lv_target_7_0= ruleSymbol )
+ // InternalSolverLanguage.g:2401:5: lv_target_7_0= ruleSymbol
{
newCompositeNode(grammarAccess.getGlobalRelationInterpretationAccess().getTargetSymbolParserRuleCall_7_0());
@@ -6986,7 +6887,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleMultiplicityDefinition"
- // InternalSolverLanguage.g:2488:1: entryRuleMultiplicityDefinition returns [EObject current=null] : iv_ruleMultiplicityDefinition= ruleMultiplicityDefinition EOF ;
+ // InternalSolverLanguage.g:2422:1: entryRuleMultiplicityDefinition returns [EObject current=null] : iv_ruleMultiplicityDefinition= ruleMultiplicityDefinition EOF ;
public final EObject entryRuleMultiplicityDefinition() throws RecognitionException {
EObject current = null;
@@ -6994,8 +6895,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2488:63: (iv_ruleMultiplicityDefinition= ruleMultiplicityDefinition EOF )
- // InternalSolverLanguage.g:2489:2: iv_ruleMultiplicityDefinition= ruleMultiplicityDefinition EOF
+ // InternalSolverLanguage.g:2422:63: (iv_ruleMultiplicityDefinition= ruleMultiplicityDefinition EOF )
+ // InternalSolverLanguage.g:2423:2: iv_ruleMultiplicityDefinition= ruleMultiplicityDefinition EOF
{
newCompositeNode(grammarAccess.getMultiplicityDefinitionRule());
pushFollow(FOLLOW_1);
@@ -7022,7 +6923,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleMultiplicityDefinition"
- // InternalSolverLanguage.g:2495:1: ruleMultiplicityDefinition returns [EObject current=null] : ( ( (lv_lower_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_upper_2_0= RULE_INT ) ) | ( (lv_unlimitedUpper_3_0= '*' ) ) ) ) ;
+ // InternalSolverLanguage.g:2429:1: ruleMultiplicityDefinition returns [EObject current=null] : ( ( (lv_lower_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_upper_2_0= RULE_INT ) ) | ( (lv_unlimitedUpper_3_0= '*' ) ) ) ) ;
public final EObject ruleMultiplicityDefinition() throws RecognitionException {
EObject current = null;
@@ -7035,19 +6936,19 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2501:2: ( ( ( (lv_lower_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_upper_2_0= RULE_INT ) ) | ( (lv_unlimitedUpper_3_0= '*' ) ) ) ) )
- // InternalSolverLanguage.g:2502:2: ( ( (lv_lower_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_upper_2_0= RULE_INT ) ) | ( (lv_unlimitedUpper_3_0= '*' ) ) ) )
+ // InternalSolverLanguage.g:2435:2: ( ( ( (lv_lower_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_upper_2_0= RULE_INT ) ) | ( (lv_unlimitedUpper_3_0= '*' ) ) ) ) )
+ // InternalSolverLanguage.g:2436:2: ( ( (lv_lower_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_upper_2_0= RULE_INT ) ) | ( (lv_unlimitedUpper_3_0= '*' ) ) ) )
{
- // InternalSolverLanguage.g:2502:2: ( ( (lv_lower_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_upper_2_0= RULE_INT ) ) | ( (lv_unlimitedUpper_3_0= '*' ) ) ) )
- // InternalSolverLanguage.g:2503:3: ( (lv_lower_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_upper_2_0= RULE_INT ) ) | ( (lv_unlimitedUpper_3_0= '*' ) ) )
+ // InternalSolverLanguage.g:2436:2: ( ( (lv_lower_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_upper_2_0= RULE_INT ) ) | ( (lv_unlimitedUpper_3_0= '*' ) ) ) )
+ // InternalSolverLanguage.g:2437:3: ( (lv_lower_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_upper_2_0= RULE_INT ) ) | ( (lv_unlimitedUpper_3_0= '*' ) ) )
{
- // InternalSolverLanguage.g:2503:3: ( (lv_lower_0_0= RULE_INT ) )
- // InternalSolverLanguage.g:2504:4: (lv_lower_0_0= RULE_INT )
+ // InternalSolverLanguage.g:2437:3: ( (lv_lower_0_0= RULE_INT ) )
+ // InternalSolverLanguage.g:2438:4: (lv_lower_0_0= RULE_INT )
{
- // InternalSolverLanguage.g:2504:4: (lv_lower_0_0= RULE_INT )
- // InternalSolverLanguage.g:2505:5: lv_lower_0_0= RULE_INT
+ // InternalSolverLanguage.g:2438:4: (lv_lower_0_0= RULE_INT )
+ // InternalSolverLanguage.g:2439:5: lv_lower_0_0= RULE_INT
{
- lv_lower_0_0=(Token)match(input,RULE_INT,FOLLOW_32);
+ lv_lower_0_0=(Token)match(input,RULE_INT,FOLLOW_35);
newLeafNode(lv_lower_0_0, grammarAccess.getMultiplicityDefinitionAccess().getLowerINTTerminalRuleCall_0_0());
@@ -7067,35 +6968,35 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- otherlv_1=(Token)match(input,40,FOLLOW_33);
+ otherlv_1=(Token)match(input,41,FOLLOW_36);
newLeafNode(otherlv_1, grammarAccess.getMultiplicityDefinitionAccess().getFullStopFullStopKeyword_1());
- // InternalSolverLanguage.g:2525:3: ( ( (lv_upper_2_0= RULE_INT ) ) | ( (lv_unlimitedUpper_3_0= '*' ) ) )
- int alt40=2;
- int LA40_0 = input.LA(1);
+ // InternalSolverLanguage.g:2459:3: ( ( (lv_upper_2_0= RULE_INT ) ) | ( (lv_unlimitedUpper_3_0= '*' ) ) )
+ int alt47=2;
+ int LA47_0 = input.LA(1);
- if ( (LA40_0==RULE_INT) ) {
- alt40=1;
+ if ( (LA47_0==RULE_INT) ) {
+ alt47=1;
}
- else if ( (LA40_0==30) ) {
- alt40=2;
+ else if ( (LA47_0==31) ) {
+ alt47=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 40, 0, input);
+ new NoViableAltException("", 47, 0, input);
throw nvae;
}
- switch (alt40) {
+ switch (alt47) {
case 1 :
- // InternalSolverLanguage.g:2526:4: ( (lv_upper_2_0= RULE_INT ) )
+ // InternalSolverLanguage.g:2460:4: ( (lv_upper_2_0= RULE_INT ) )
{
- // InternalSolverLanguage.g:2526:4: ( (lv_upper_2_0= RULE_INT ) )
- // InternalSolverLanguage.g:2527:5: (lv_upper_2_0= RULE_INT )
+ // InternalSolverLanguage.g:2460:4: ( (lv_upper_2_0= RULE_INT ) )
+ // InternalSolverLanguage.g:2461:5: (lv_upper_2_0= RULE_INT )
{
- // InternalSolverLanguage.g:2527:5: (lv_upper_2_0= RULE_INT )
- // InternalSolverLanguage.g:2528:6: lv_upper_2_0= RULE_INT
+ // InternalSolverLanguage.g:2461:5: (lv_upper_2_0= RULE_INT )
+ // InternalSolverLanguage.g:2462:6: lv_upper_2_0= RULE_INT
{
lv_upper_2_0=(Token)match(input,RULE_INT,FOLLOW_2);
@@ -7121,15 +7022,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:2545:4: ( (lv_unlimitedUpper_3_0= '*' ) )
+ // InternalSolverLanguage.g:2479:4: ( (lv_unlimitedUpper_3_0= '*' ) )
{
- // InternalSolverLanguage.g:2545:4: ( (lv_unlimitedUpper_3_0= '*' ) )
- // InternalSolverLanguage.g:2546:5: (lv_unlimitedUpper_3_0= '*' )
+ // InternalSolverLanguage.g:2479:4: ( (lv_unlimitedUpper_3_0= '*' ) )
+ // InternalSolverLanguage.g:2480:5: (lv_unlimitedUpper_3_0= '*' )
{
- // InternalSolverLanguage.g:2546:5: (lv_unlimitedUpper_3_0= '*' )
- // InternalSolverLanguage.g:2547:6: lv_unlimitedUpper_3_0= '*'
+ // InternalSolverLanguage.g:2480:5: (lv_unlimitedUpper_3_0= '*' )
+ // InternalSolverLanguage.g:2481:6: lv_unlimitedUpper_3_0= '*'
{
- lv_unlimitedUpper_3_0=(Token)match(input,30,FOLLOW_2);
+ lv_unlimitedUpper_3_0=(Token)match(input,31,FOLLOW_2);
newLeafNode(lv_unlimitedUpper_3_0, grammarAccess.getMultiplicityDefinitionAccess().getUnlimitedUpperAsteriskKeyword_2_1_0());
@@ -7175,40 +7076,85 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// Delegated rules
+ protected DFA2 dfa2 = new DFA2(this);
+ static final String dfa_1s = "\11\uffff";
+ static final String dfa_2s = "\1\5\1\21\2\uffff\1\4\1\22\1\24\1\4\1\22";
+ static final String dfa_3s = "\1\50\1\34\2\uffff\1\37\1\24\1\34\1\37\1\24";
+ static final String dfa_4s = "\2\uffff\1\1\1\2\5\uffff";
+ static final String dfa_5s = "\11\uffff}>";
+ static final String[] dfa_6s = {
+ "\1\1\12\uffff\1\3\4\uffff\6\2\5\uffff\3\2\3\uffff\3\2",
+ "\1\4\2\uffff\1\2\7\uffff\1\3",
+ "",
+ "",
+ "\1\2\1\5\1\2\4\uffff\1\2\1\uffff\2\2\4\uffff\1\6\1\2\6\uffff\1\2\3\uffff\1\2",
+ "\1\7\1\6\1\3",
+ "\1\2\7\uffff\1\3",
+ "\1\2\1\10\1\2\4\uffff\1\2\1\uffff\2\2\5\uffff\1\2\6\uffff\1\2\3\uffff\1\2",
+ "\1\7\1\6\1\3"
+ };
+
+ static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s);
+ static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s);
+ static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s);
+ static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s);
+ static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s);
+ static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s);
+
+ class DFA2 extends DFA {
+
+ public DFA2(BaseRecognizer recognizer) {
+ this.recognizer = recognizer;
+ this.decisionNumber = 2;
+ this.eot = dfa_1;
+ this.eof = dfa_1;
+ this.min = dfa_2;
+ this.max = dfa_3;
+ this.accept = dfa_4;
+ this.special = dfa_5;
+ this.transition = dfa_6;
+ }
+ public String getDescription() {
+ return "114:2: (this_Interpretation_0= ruleInterpretation | this_Predicate_1= rulePredicate )";
+ }
+ }
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[]{0x000000618BF10022L});
+ public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x000001C707E10022L});
public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000001000L});
- public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000020000L});
- public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x00000000440C6870L});
- public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x000000000001E000L});
- public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000040020L});
- public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000030007820L});
- public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000010001000L});
- public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000030003820L});
- public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000020020L});
- public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000080002L});
- public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000003F00020L});
- public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000020000822L});
- public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000060020000L});
- public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000004046870L});
- public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000004006870L});
- public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000040000L});
- public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000200000000L});
- public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000C00000000L});
- public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000800000020L});
- public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000005000000000L});
- public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000800000000L});
- public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000001004000000L});
- public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000003F00030L});
- public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000008000000000L});
- public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000010000000000L});
- public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000040000010L});
+ public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000120000L});
+ public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000088186870L});
+ public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x00000000000C0000L});
+ public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000088106870L});
+ public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000100000L});
+ public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x000000000001E000L});
+ public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000008000000L});
+ public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000010020000L});
+ public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000080020L});
+ public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000010000000L});
+ public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x00000000E0007820L});
+ public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000020001000L});
+ public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x00000000E0003820L});
+ public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000100002L});
+ public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000007E00020L});
+ public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x00000000C0000822L});
+ public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000020002L});
+ public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x00000000080C6870L});
+ public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000008006870L});
+ public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000020000L});
+ public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000400000000L});
+ public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000001800000000L});
+ public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000001000000020L});
+ public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x000000A000000020L});
+ public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000001000000000L});
+ public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000002008000000L});
+ public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000007E00030L});
+ public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000010000000000L});
+ public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000020000000000L});
+ public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000080000010L});
}
\ No newline at end of file
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 80f9a02e..1ad39fd7 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
@@ -20,7 +20,6 @@ import org.eclipse.viatra.solver.language.solverLanguage.Constraint;
import org.eclipse.viatra.solver.language.solverLanguage.DefaultInterpretation;
import org.eclipse.viatra.solver.language.solverLanguage.EnumInterpretation;
import org.eclipse.viatra.solver.language.solverLanguage.EqualsSymbol;
-import org.eclipse.viatra.solver.language.solverLanguage.ErrorPredicate;
import org.eclipse.viatra.solver.language.solverLanguage.ExistSymbol;
import org.eclipse.viatra.solver.language.solverLanguage.False;
import org.eclipse.viatra.solver.language.solverLanguage.FieldRelationInterpretation;
@@ -34,7 +33,7 @@ import org.eclipse.viatra.solver.language.solverLanguage.NamedObject;
import org.eclipse.viatra.solver.language.solverLanguage.Negative;
import org.eclipse.viatra.solver.language.solverLanguage.PatternBody;
import org.eclipse.viatra.solver.language.solverLanguage.Positive;
-import org.eclipse.viatra.solver.language.solverLanguage.PredicateSymbol;
+import org.eclipse.viatra.solver.language.solverLanguage.Predicate;
import org.eclipse.viatra.solver.language.solverLanguage.Problem;
import org.eclipse.viatra.solver.language.solverLanguage.RealObject;
import org.eclipse.viatra.solver.language.solverLanguage.RealSymbol;
@@ -107,9 +106,6 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
case SolverLanguagePackage.ERROR:
sequence_TruthValue(context, (org.eclipse.viatra.solver.language.solverLanguage.Error) semanticObject);
return;
- case SolverLanguagePackage.ERROR_PREDICATE:
- sequence_ErrorPredicate(context, (ErrorPredicate) semanticObject);
- return;
case SolverLanguagePackage.EXIST_SYMBOL:
sequence_ExistSymbol(context, (ExistSymbol) semanticObject);
return;
@@ -152,8 +148,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
case SolverLanguagePackage.POSITIVE:
sequence_Polarity(context, (Positive) semanticObject);
return;
- case SolverLanguagePackage.PREDICATE_SYMBOL:
- sequence_PredicateSymbol(context, (PredicateSymbol) semanticObject);
+ case SolverLanguagePackage.PREDICATE:
+ sequence_Predicate(context, (Predicate) semanticObject);
return;
case SolverLanguagePackage.PROBLEM:
sequence_Problem(context, (Problem) semanticObject);
@@ -229,7 +225,7 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
* BasicInterpretation returns BasicInterpretation
*
* Constraint:
- * (symbol=Symbol objects+=ComplexObject* value=TruthValue)
+ * (symbol=Symbol (objects+=ComplexObject objects+=ComplexObject*)? value=TruthValue)
*/
protected void sequence_BasicInterpretation(ISerializationContext context, BasicInterpretation semanticObject) {
genericSequencer.createSequence(context, semanticObject);
@@ -304,7 +300,7 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
* ClassInterpretation returns ClassInterpretation
*
* Constraint:
- * (abstract?='abstract' symbol=ModelSymbol supertypes+=ModelSymbol* fielt+=FieldRelationInterpretation*)
+ * (abstract?='abstract'? symbol=ModelSymbol supertypes+=ModelSymbol* fielt+=FieldRelationInterpretation*)
*/
protected void sequence_ClassInterpretation(ISerializationContext context, ClassInterpretation semanticObject) {
genericSequencer.createSequence(context, semanticObject);
@@ -340,7 +336,7 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
* Constraint returns Constraint
*
* Constraint:
- * (polarity=Polarity? symbol=ModelSymbol (params+=Literal+ | (closureType=ClosureType params+=Literal params+=Literal))?)
+ * ((polarity=Polarity? symbol=ModelSymbol params+=Literal? params+=Literal*) | (closureType=ClosureType params+=Literal? params+=Literal*))
*/
protected void sequence_Constraint(ISerializationContext context, Constraint semanticObject) {
genericSequencer.createSequence(context, semanticObject);
@@ -396,20 +392,6 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
}
- /**
- * Contexts:
- * Statement returns ErrorPredicate
- * Predicate returns ErrorPredicate
- * ErrorPredicate returns ErrorPredicate
- *
- * Constraint:
- * (name=ID? parameters+=Parameter* (bodies+=PatternBody bodies+=PatternBody*)?)
- */
- protected void sequence_ErrorPredicate(ISerializationContext context, ErrorPredicate semanticObject) {
- genericSequencer.createSequence(context, semanticObject);
- }
-
-
/**
* Contexts:
* Symbol returns ExistSymbol
@@ -429,7 +411,7 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
* FieldRelationInterpretation returns FieldRelationInterpretation
*
* Constraint:
- * (containment?='containment' symbol=ModelSymbol multiplicity=MultiplicityDefinition? target=Symbol)
+ * (containment?='containment'? symbol=ModelSymbol multiplicity=MultiplicityDefinition? target=Symbol)
*/
protected void sequence_FieldRelationInterpretation(ISerializationContext context, FieldRelationInterpretation semanticObject) {
genericSequencer.createSequence(context, semanticObject);
@@ -445,7 +427,7 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
*
* Constraint:
* (
- * containment?='containment'
+ * containment?='containment'?
* symbol=ModelSymbol
* sourceMultiplicity=MultiplicityDefinition?
* source=Symbol
@@ -530,6 +512,7 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
* ComplexObject returns NamedObject
* Object returns NamedObject
* NamedObject returns NamedObject
+ * Literal returns NamedObject
*
* Constraint:
* name=ID
@@ -595,14 +578,13 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
/**
* Contexts:
- * Statement returns PredicateSymbol
- * Predicate returns PredicateSymbol
- * PredicateSymbol returns PredicateSymbol
+ * Statement returns Predicate
+ * Predicate returns Predicate
*
* Constraint:
- * (symbol=ModelSymbol parameters+=Parameter* (bodies+=PatternBody bodies+=PatternBody*)?)
+ * (isError?='error'? symbol=ModelSymbol (parameters+=Parameter parameters+=Parameter*)? (bodies+=PatternBody bodies+=PatternBody*)?)
*/
- protected void sequence_PredicateSymbol(ISerializationContext context, PredicateSymbol semanticObject) {
+ protected void sequence_Predicate(ISerializationContext context, Predicate semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
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 5145bfac..8a2d6f62 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
@@ -11,6 +11,7 @@ import org.eclipse.xtext.IGrammarAccess;
import org.eclipse.xtext.RuleCall;
import org.eclipse.xtext.nodemodel.INode;
import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias;
+import org.eclipse.xtext.serializer.analysis.GrammarAlias.GroupAlias;
import org.eclipse.xtext.serializer.analysis.GrammarAlias.TokenAlias;
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable;
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition;
@@ -20,12 +21,18 @@ import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer;
public class SolverLanguageSyntacticSequencer extends AbstractSyntacticSequencer {
protected SolverLanguageGrammarAccess grammarAccess;
+ protected AbstractElementAlias match_BasicInterpretation___LeftParenthesisKeyword_1_0_RightParenthesisKeyword_1_2__q;
+ protected AbstractElementAlias match_Constraint___LeftParenthesisKeyword_0_2_0_RightParenthesisKeyword_0_2_3__q;
protected AbstractElementAlias match_PatternBody_TrueKeyword_1_0_q;
+ protected AbstractElementAlias match_Predicate___LeftParenthesisKeyword_2_0_RightParenthesisKeyword_2_2__q;
@Inject
protected void init(IGrammarAccess access) {
grammarAccess = (SolverLanguageGrammarAccess) access;
+ match_BasicInterpretation___LeftParenthesisKeyword_1_0_RightParenthesisKeyword_1_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getBasicInterpretationAccess().getLeftParenthesisKeyword_1_0()), new TokenAlias(false, false, grammarAccess.getBasicInterpretationAccess().getRightParenthesisKeyword_1_2()));
+ match_Constraint___LeftParenthesisKeyword_0_2_0_RightParenthesisKeyword_0_2_3__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_0_2_0()), new TokenAlias(false, false, grammarAccess.getConstraintAccess().getRightParenthesisKeyword_0_2_3()));
match_PatternBody_TrueKeyword_1_0_q = new TokenAlias(false, true, grammarAccess.getPatternBodyAccess().getTrueKeyword_1_0());
+ match_Predicate___LeftParenthesisKeyword_2_0_RightParenthesisKeyword_2_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getPredicateAccess().getLeftParenthesisKeyword_2_0()), new TokenAlias(false, false, grammarAccess.getPredicateAccess().getRightParenthesisKeyword_2_2()));
}
@Override
@@ -40,12 +47,40 @@ public class SolverLanguageSyntacticSequencer extends AbstractSyntacticSequencer
List transitionNodes = collectNodes(fromNode, toNode);
for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) {
List syntaxNodes = getNodesFor(transitionNodes, syntax);
- if (match_PatternBody_TrueKeyword_1_0_q.equals(syntax))
+ if (match_BasicInterpretation___LeftParenthesisKeyword_1_0_RightParenthesisKeyword_1_2__q.equals(syntax))
+ emit_BasicInterpretation___LeftParenthesisKeyword_1_0_RightParenthesisKeyword_1_2__q(semanticObject, getLastNavigableState(), syntaxNodes);
+ else if (match_Constraint___LeftParenthesisKeyword_0_2_0_RightParenthesisKeyword_0_2_3__q.equals(syntax))
+ emit_Constraint___LeftParenthesisKeyword_0_2_0_RightParenthesisKeyword_0_2_3__q(semanticObject, getLastNavigableState(), syntaxNodes);
+ else if (match_PatternBody_TrueKeyword_1_0_q.equals(syntax))
emit_PatternBody_TrueKeyword_1_0_q(semanticObject, getLastNavigableState(), syntaxNodes);
+ else if (match_Predicate___LeftParenthesisKeyword_2_0_RightParenthesisKeyword_2_2__q.equals(syntax))
+ emit_Predicate___LeftParenthesisKeyword_2_0_RightParenthesisKeyword_2_2__q(semanticObject, getLastNavigableState(), syntaxNodes);
else acceptNodes(getLastNavigableState(), syntaxNodes);
}
}
+ /**
+ * Ambiguous syntax:
+ * ('(' ')')?
+ *
+ * This ambiguous syntax occurs at:
+ * symbol=Symbol (ambiguity) ':' value=TruthValue
+ */
+ protected void emit_BasicInterpretation___LeftParenthesisKeyword_1_0_RightParenthesisKeyword_1_2__q(EObject semanticObject, ISynNavigable transition, List nodes) {
+ acceptNodes(transition, nodes);
+ }
+
+ /**
+ * Ambiguous syntax:
+ * ('(' ')')?
+ *
+ * This ambiguous syntax occurs at:
+ * symbol=ModelSymbol (ambiguity) (rule end)
+ */
+ protected void emit_Constraint___LeftParenthesisKeyword_0_2_0_RightParenthesisKeyword_0_2_3__q(EObject semanticObject, ISynNavigable transition, List nodes) {
+ acceptNodes(transition, nodes);
+ }
+
/**
* Ambiguous syntax:
* 'true'?
@@ -57,4 +92,16 @@ public class SolverLanguageSyntacticSequencer extends AbstractSyntacticSequencer
acceptNodes(transition, nodes);
}
+ /**
+ * Ambiguous syntax:
+ * ('(' ')')?
+ *
+ * This ambiguous syntax occurs at:
+ * symbol=ModelSymbol (ambiguity) ':-' 'false' '.' (rule end)
+ * symbol=ModelSymbol (ambiguity) ':-' bodies+=PatternBody
+ */
+ protected void emit_Predicate___LeftParenthesisKeyword_2_0_RightParenthesisKeyword_2_2__q(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 fb5ea124..e6a8f1d9 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
@@ -228,19 +228,25 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
private final Group cGroup = (Group)rule.eContents().get(1);
private final Assignment cSymbolAssignment_0 = (Assignment)cGroup.eContents().get(0);
private final RuleCall cSymbolSymbolParserRuleCall_0_0 = (RuleCall)cSymbolAssignment_0.eContents().get(0);
- private final Keyword cLeftParenthesisKeyword_1 = (Keyword)cGroup.eContents().get(1);
- private final Assignment cObjectsAssignment_2 = (Assignment)cGroup.eContents().get(2);
- private final RuleCall cObjectsComplexObjectParserRuleCall_2_0 = (RuleCall)cObjectsAssignment_2.eContents().get(0);
- private final Keyword cRightParenthesisKeyword_3 = (Keyword)cGroup.eContents().get(3);
- private final Keyword cColonKeyword_4 = (Keyword)cGroup.eContents().get(4);
- private final Assignment cValueAssignment_5 = (Assignment)cGroup.eContents().get(5);
- private final RuleCall cValueTruthValueParserRuleCall_5_0 = (RuleCall)cValueAssignment_5.eContents().get(0);
+ private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
+ private final Keyword cLeftParenthesisKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
+ private final Group cGroup_1_1 = (Group)cGroup_1.eContents().get(1);
+ private final Assignment cObjectsAssignment_1_1_0 = (Assignment)cGroup_1_1.eContents().get(0);
+ private final RuleCall cObjectsComplexObjectParserRuleCall_1_1_0_0 = (RuleCall)cObjectsAssignment_1_1_0.eContents().get(0);
+ private final Group cGroup_1_1_1 = (Group)cGroup_1_1.eContents().get(1);
+ private final Keyword cCommaKeyword_1_1_1_0 = (Keyword)cGroup_1_1_1.eContents().get(0);
+ private final Assignment cObjectsAssignment_1_1_1_1 = (Assignment)cGroup_1_1_1.eContents().get(1);
+ private final RuleCall cObjectsComplexObjectParserRuleCall_1_1_1_1_0 = (RuleCall)cObjectsAssignment_1_1_1_1.eContents().get(0);
+ private final Keyword cRightParenthesisKeyword_1_2 = (Keyword)cGroup_1.eContents().get(2);
+ private final Keyword cColonKeyword_2 = (Keyword)cGroup.eContents().get(2);
+ private final Assignment cValueAssignment_3 = (Assignment)cGroup.eContents().get(3);
+ private final RuleCall cValueTruthValueParserRuleCall_3_0 = (RuleCall)cValueAssignment_3.eContents().get(0);
//BasicInterpretation:
- // symbol=Symbol '(' objects+=ComplexObject* ')' ':' value=TruthValue;
+ // symbol=Symbol ('(' (objects+=ComplexObject (',' objects+=ComplexObject)*)? ')')? ':' value=TruthValue;
@Override public ParserRule getRule() { return rule; }
- //symbol=Symbol '(' objects+=ComplexObject* ')' ':' value=TruthValue
+ //symbol=Symbol ('(' (objects+=ComplexObject (',' objects+=ComplexObject)*)? ')')? ':' value=TruthValue
public Group getGroup() { return cGroup; }
//symbol=Symbol
@@ -249,26 +255,44 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
//Symbol
public RuleCall getSymbolSymbolParserRuleCall_0_0() { return cSymbolSymbolParserRuleCall_0_0; }
+ //('(' (objects+=ComplexObject (',' objects+=ComplexObject)*)? ')')?
+ public Group getGroup_1() { return cGroup_1; }
+
//'('
- public Keyword getLeftParenthesisKeyword_1() { return cLeftParenthesisKeyword_1; }
+ public Keyword getLeftParenthesisKeyword_1_0() { return cLeftParenthesisKeyword_1_0; }
+
+ //(objects+=ComplexObject (',' objects+=ComplexObject)*)?
+ public Group getGroup_1_1() { return cGroup_1_1; }
+
+ //objects+=ComplexObject
+ public Assignment getObjectsAssignment_1_1_0() { return cObjectsAssignment_1_1_0; }
+
+ //ComplexObject
+ public RuleCall getObjectsComplexObjectParserRuleCall_1_1_0_0() { return cObjectsComplexObjectParserRuleCall_1_1_0_0; }
+
+ //(',' objects+=ComplexObject)*
+ public Group getGroup_1_1_1() { return cGroup_1_1_1; }
- //objects+=ComplexObject*
- public Assignment getObjectsAssignment_2() { return cObjectsAssignment_2; }
+ //','
+ public Keyword getCommaKeyword_1_1_1_0() { return cCommaKeyword_1_1_1_0; }
+
+ //objects+=ComplexObject
+ public Assignment getObjectsAssignment_1_1_1_1() { return cObjectsAssignment_1_1_1_1; }
//ComplexObject
- public RuleCall getObjectsComplexObjectParserRuleCall_2_0() { return cObjectsComplexObjectParserRuleCall_2_0; }
+ public RuleCall getObjectsComplexObjectParserRuleCall_1_1_1_1_0() { return cObjectsComplexObjectParserRuleCall_1_1_1_1_0; }
//')'
- public Keyword getRightParenthesisKeyword_3() { return cRightParenthesisKeyword_3; }
+ public Keyword getRightParenthesisKeyword_1_2() { return cRightParenthesisKeyword_1_2; }
//':'
- public Keyword getColonKeyword_4() { return cColonKeyword_4; }
+ public Keyword getColonKeyword_2() { return cColonKeyword_2; }
//value=TruthValue
- public Assignment getValueAssignment_5() { return cValueAssignment_5; }
+ public Assignment getValueAssignment_3() { return cValueAssignment_3; }
//TruthValue
- public RuleCall getValueTruthValueParserRuleCall_5_0() { return cValueTruthValueParserRuleCall_5_0; }
+ public RuleCall getValueTruthValueParserRuleCall_3_0() { return cValueTruthValueParserRuleCall_3_0; }
}
public class SymbolElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Symbol");
@@ -645,59 +669,50 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
}
public class PredicateElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Predicate");
- private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
- private final RuleCall cPredicateSymbolParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
- private final RuleCall cErrorPredicateParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Assignment cIsErrorAssignment_0 = (Assignment)cGroup.eContents().get(0);
+ private final Keyword cIsErrorErrorKeyword_0_0 = (Keyword)cIsErrorAssignment_0.eContents().get(0);
+ private final Assignment cSymbolAssignment_1 = (Assignment)cGroup.eContents().get(1);
+ private final RuleCall cSymbolModelSymbolParserRuleCall_1_0 = (RuleCall)cSymbolAssignment_1.eContents().get(0);
+ private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
+ private final Keyword cLeftParenthesisKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
+ private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1);
+ private final Assignment cParametersAssignment_2_1_0 = (Assignment)cGroup_2_1.eContents().get(0);
+ private final RuleCall cParametersParameterParserRuleCall_2_1_0_0 = (RuleCall)cParametersAssignment_2_1_0.eContents().get(0);
+ private final Group cGroup_2_1_1 = (Group)cGroup_2_1.eContents().get(1);
+ private final Keyword cCommaKeyword_2_1_1_0 = (Keyword)cGroup_2_1_1.eContents().get(0);
+ private final Assignment cParametersAssignment_2_1_1_1 = (Assignment)cGroup_2_1_1.eContents().get(1);
+ private final RuleCall cParametersParameterParserRuleCall_2_1_1_1_0 = (RuleCall)cParametersAssignment_2_1_1_1.eContents().get(0);
+ private final Keyword cRightParenthesisKeyword_2_2 = (Keyword)cGroup_2.eContents().get(2);
+ private final Keyword cColonHyphenMinusKeyword_3 = (Keyword)cGroup.eContents().get(3);
+ private final Alternatives cAlternatives_4 = (Alternatives)cGroup.eContents().get(4);
+ private final Keyword cFalseKeyword_4_0 = (Keyword)cAlternatives_4.eContents().get(0);
+ private final Group cGroup_4_1 = (Group)cAlternatives_4.eContents().get(1);
+ private final Assignment cBodiesAssignment_4_1_0 = (Assignment)cGroup_4_1.eContents().get(0);
+ private final RuleCall cBodiesPatternBodyParserRuleCall_4_1_0_0 = (RuleCall)cBodiesAssignment_4_1_0.eContents().get(0);
+ private final Group cGroup_4_1_1 = (Group)cGroup_4_1.eContents().get(1);
+ private final Keyword cVerticalLineKeyword_4_1_1_0 = (Keyword)cGroup_4_1_1.eContents().get(0);
+ private final Assignment cBodiesAssignment_4_1_1_1 = (Assignment)cGroup_4_1_1.eContents().get(1);
+ private final RuleCall cBodiesPatternBodyParserRuleCall_4_1_1_1_0 = (RuleCall)cBodiesAssignment_4_1_1_1.eContents().get(0);
+ private final Keyword cFullStopKeyword_5 = (Keyword)cGroup.eContents().get(5);
/////////////////////
//// Predicte grammar
/////////////////////
//Predicate:
- // PredicateSymbol | ErrorPredicate;
+ // isError?='error'? symbol=ModelSymbol ('(' (parameters+=Parameter (',' parameters+=Parameter)*)? ')')? ':-' ('false' |
+ // bodies+=PatternBody ('|' bodies+=PatternBody)*) '.';
@Override public ParserRule getRule() { return rule; }
- //PredicateSymbol | ErrorPredicate
- public Alternatives getAlternatives() { return cAlternatives; }
-
- //PredicateSymbol
- public RuleCall getPredicateSymbolParserRuleCall_0() { return cPredicateSymbolParserRuleCall_0; }
-
- //ErrorPredicate
- public RuleCall getErrorPredicateParserRuleCall_1() { return cErrorPredicateParserRuleCall_1; }
- }
- public class PredicateSymbolElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.PredicateSymbol");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Keyword cPredicateKeyword_0 = (Keyword)cGroup.eContents().get(0);
- private final Assignment cSymbolAssignment_1 = (Assignment)cGroup.eContents().get(1);
- private final RuleCall cSymbolModelSymbolParserRuleCall_1_0 = (RuleCall)cSymbolAssignment_1.eContents().get(0);
- private final Keyword cLeftParenthesisKeyword_2 = (Keyword)cGroup.eContents().get(2);
- private final Assignment cParametersAssignment_3 = (Assignment)cGroup.eContents().get(3);
- private final RuleCall cParametersParameterParserRuleCall_3_0 = (RuleCall)cParametersAssignment_3.eContents().get(0);
- private final Keyword cRightParenthesisKeyword_4 = (Keyword)cGroup.eContents().get(4);
- private final Keyword cColonKeyword_5 = (Keyword)cGroup.eContents().get(5);
- private final Alternatives cAlternatives_6 = (Alternatives)cGroup.eContents().get(6);
- private final Keyword cFalseKeyword_6_0 = (Keyword)cAlternatives_6.eContents().get(0);
- private final Group cGroup_6_1 = (Group)cAlternatives_6.eContents().get(1);
- private final Assignment cBodiesAssignment_6_1_0 = (Assignment)cGroup_6_1.eContents().get(0);
- private final RuleCall cBodiesPatternBodyParserRuleCall_6_1_0_0 = (RuleCall)cBodiesAssignment_6_1_0.eContents().get(0);
- private final Group cGroup_6_1_1 = (Group)cGroup_6_1.eContents().get(1);
- private final Keyword cVerticalLineKeyword_6_1_1_0 = (Keyword)cGroup_6_1_1.eContents().get(0);
- private final Assignment cBodiesAssignment_6_1_1_1 = (Assignment)cGroup_6_1_1.eContents().get(1);
- private final RuleCall cBodiesPatternBodyParserRuleCall_6_1_1_1_0 = (RuleCall)cBodiesAssignment_6_1_1_1.eContents().get(0);
- private final Keyword cFullStopKeyword_7 = (Keyword)cGroup.eContents().get(7);
-
- //PredicateSymbol:
- // 'predicate' symbol=ModelSymbol '(' parameters+=Parameter* ')' ':' ('false' | bodies+=PatternBody ('|'
- // bodies+=PatternBody)*) '.';
- @Override public ParserRule getRule() { return rule; }
-
- //'predicate' symbol=ModelSymbol '(' parameters+=Parameter* ')' ':' ('false' | bodies+=PatternBody ('|'
- //bodies+=PatternBody)*) '.'
+ //isError?='error'? symbol=ModelSymbol ('(' (parameters+=Parameter (',' parameters+=Parameter)*)? ')')? ':-' ('false' |
+ //bodies+=PatternBody ('|' bodies+=PatternBody)*) '.'
public Group getGroup() { return cGroup; }
- //'predicate'
- public Keyword getPredicateKeyword_0() { return cPredicateKeyword_0; }
+ //isError?='error'?
+ public Assignment getIsErrorAssignment_0() { return cIsErrorAssignment_0; }
+
+ //'error'
+ public Keyword getIsErrorErrorKeyword_0_0() { return cIsErrorErrorKeyword_0_0; }
//symbol=ModelSymbol
public Assignment getSymbolAssignment_1() { return cSymbolAssignment_1; }
@@ -705,143 +720,68 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
//ModelSymbol
public RuleCall getSymbolModelSymbolParserRuleCall_1_0() { return cSymbolModelSymbolParserRuleCall_1_0; }
- //'('
- public Keyword getLeftParenthesisKeyword_2() { return cLeftParenthesisKeyword_2; }
-
- //parameters+=Parameter*
- public Assignment getParametersAssignment_3() { return cParametersAssignment_3; }
-
- //Parameter
- public RuleCall getParametersParameterParserRuleCall_3_0() { return cParametersParameterParserRuleCall_3_0; }
-
- //')'
- public Keyword getRightParenthesisKeyword_4() { return cRightParenthesisKeyword_4; }
-
- //':'
- public Keyword getColonKeyword_5() { return cColonKeyword_5; }
-
- //'false' | bodies+=PatternBody ('|' bodies+=PatternBody)*
- public Alternatives getAlternatives_6() { return cAlternatives_6; }
-
- //'false'
- public Keyword getFalseKeyword_6_0() { return cFalseKeyword_6_0; }
-
- //bodies+=PatternBody ('|' bodies+=PatternBody)*
- public Group getGroup_6_1() { return cGroup_6_1; }
-
- //bodies+=PatternBody
- public Assignment getBodiesAssignment_6_1_0() { return cBodiesAssignment_6_1_0; }
-
- //PatternBody
- public RuleCall getBodiesPatternBodyParserRuleCall_6_1_0_0() { return cBodiesPatternBodyParserRuleCall_6_1_0_0; }
-
- //('|' bodies+=PatternBody)*
- public Group getGroup_6_1_1() { return cGroup_6_1_1; }
-
- //'|'
- public Keyword getVerticalLineKeyword_6_1_1_0() { return cVerticalLineKeyword_6_1_1_0; }
-
- //bodies+=PatternBody
- public Assignment getBodiesAssignment_6_1_1_1() { return cBodiesAssignment_6_1_1_1; }
-
- //PatternBody
- public RuleCall getBodiesPatternBodyParserRuleCall_6_1_1_1_0() { return cBodiesPatternBodyParserRuleCall_6_1_1_1_0; }
-
- //'.'
- public Keyword getFullStopKeyword_7() { return cFullStopKeyword_7; }
- }
- public class ErrorPredicateElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ErrorPredicate");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Action cErrorPredicateAction_0 = (Action)cGroup.eContents().get(0);
- private final Keyword cErrorKeyword_1 = (Keyword)cGroup.eContents().get(1);
- private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
- private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
- private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
- private final Keyword cLeftParenthesisKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
- private final Assignment cParametersAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
- private final RuleCall cParametersParameterParserRuleCall_3_1_0 = (RuleCall)cParametersAssignment_3_1.eContents().get(0);
- private final Keyword cRightParenthesisKeyword_3_2 = (Keyword)cGroup_3.eContents().get(2);
- private final Keyword cColonKeyword_4 = (Keyword)cGroup.eContents().get(4);
- private final Alternatives cAlternatives_5 = (Alternatives)cGroup.eContents().get(5);
- private final Keyword cFalseKeyword_5_0 = (Keyword)cAlternatives_5.eContents().get(0);
- private final Group cGroup_5_1 = (Group)cAlternatives_5.eContents().get(1);
- private final Assignment cBodiesAssignment_5_1_0 = (Assignment)cGroup_5_1.eContents().get(0);
- private final RuleCall cBodiesPatternBodyParserRuleCall_5_1_0_0 = (RuleCall)cBodiesAssignment_5_1_0.eContents().get(0);
- private final Group cGroup_5_1_1 = (Group)cGroup_5_1.eContents().get(1);
- private final Keyword cVerticalLineKeyword_5_1_1_0 = (Keyword)cGroup_5_1_1.eContents().get(0);
- private final Assignment cBodiesAssignment_5_1_1_1 = (Assignment)cGroup_5_1_1.eContents().get(1);
- private final RuleCall cBodiesPatternBodyParserRuleCall_5_1_1_1_0 = (RuleCall)cBodiesAssignment_5_1_1_1.eContents().get(0);
- private final Keyword cFullStopKeyword_6 = (Keyword)cGroup.eContents().get(6);
-
- //ErrorPredicate:
- // {ErrorPredicate} 'error' name=ID? ('(' parameters+=Parameter* ')') ':' ('false' | bodies+=PatternBody ('|'
- // bodies+=PatternBody)*) '.';
- @Override public ParserRule getRule() { return rule; }
-
- //{ErrorPredicate} 'error' name=ID? ('(' parameters+=Parameter* ')') ':' ('false' | bodies+=PatternBody ('|'
- //bodies+=PatternBody)*) '.'
- public Group getGroup() { return cGroup; }
+ //('(' (parameters+=Parameter (',' parameters+=Parameter)*)? ')')?
+ public Group getGroup_2() { return cGroup_2; }
- //{ErrorPredicate}
- public Action getErrorPredicateAction_0() { return cErrorPredicateAction_0; }
+ //'('
+ public Keyword getLeftParenthesisKeyword_2_0() { return cLeftParenthesisKeyword_2_0; }
- //'error'
- public Keyword getErrorKeyword_1() { return cErrorKeyword_1; }
+ //(parameters+=Parameter (',' parameters+=Parameter)*)?
+ public Group getGroup_2_1() { return cGroup_2_1; }
- //name=ID?
- public Assignment getNameAssignment_2() { return cNameAssignment_2; }
+ //parameters+=Parameter
+ public Assignment getParametersAssignment_2_1_0() { return cParametersAssignment_2_1_0; }
- //ID
- public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; }
+ //Parameter
+ public RuleCall getParametersParameterParserRuleCall_2_1_0_0() { return cParametersParameterParserRuleCall_2_1_0_0; }
- //'(' parameters+=Parameter* ')'
- public Group getGroup_3() { return cGroup_3; }
+ //(',' parameters+=Parameter)*
+ public Group getGroup_2_1_1() { return cGroup_2_1_1; }
- //'('
- public Keyword getLeftParenthesisKeyword_3_0() { return cLeftParenthesisKeyword_3_0; }
+ //','
+ public Keyword getCommaKeyword_2_1_1_0() { return cCommaKeyword_2_1_1_0; }
- //parameters+=Parameter*
- public Assignment getParametersAssignment_3_1() { return cParametersAssignment_3_1; }
+ //parameters+=Parameter
+ public Assignment getParametersAssignment_2_1_1_1() { return cParametersAssignment_2_1_1_1; }
//Parameter
- public RuleCall getParametersParameterParserRuleCall_3_1_0() { return cParametersParameterParserRuleCall_3_1_0; }
+ public RuleCall getParametersParameterParserRuleCall_2_1_1_1_0() { return cParametersParameterParserRuleCall_2_1_1_1_0; }
//')'
- public Keyword getRightParenthesisKeyword_3_2() { return cRightParenthesisKeyword_3_2; }
+ public Keyword getRightParenthesisKeyword_2_2() { return cRightParenthesisKeyword_2_2; }
- //':'
- public Keyword getColonKeyword_4() { return cColonKeyword_4; }
+ //':-'
+ public Keyword getColonHyphenMinusKeyword_3() { return cColonHyphenMinusKeyword_3; }
//'false' | bodies+=PatternBody ('|' bodies+=PatternBody)*
- public Alternatives getAlternatives_5() { return cAlternatives_5; }
+ public Alternatives getAlternatives_4() { return cAlternatives_4; }
//'false'
- public Keyword getFalseKeyword_5_0() { return cFalseKeyword_5_0; }
+ public Keyword getFalseKeyword_4_0() { return cFalseKeyword_4_0; }
//bodies+=PatternBody ('|' bodies+=PatternBody)*
- public Group getGroup_5_1() { return cGroup_5_1; }
+ public Group getGroup_4_1() { return cGroup_4_1; }
//bodies+=PatternBody
- public Assignment getBodiesAssignment_5_1_0() { return cBodiesAssignment_5_1_0; }
+ public Assignment getBodiesAssignment_4_1_0() { return cBodiesAssignment_4_1_0; }
//PatternBody
- public RuleCall getBodiesPatternBodyParserRuleCall_5_1_0_0() { return cBodiesPatternBodyParserRuleCall_5_1_0_0; }
+ public RuleCall getBodiesPatternBodyParserRuleCall_4_1_0_0() { return cBodiesPatternBodyParserRuleCall_4_1_0_0; }
//('|' bodies+=PatternBody)*
- public Group getGroup_5_1_1() { return cGroup_5_1_1; }
+ public Group getGroup_4_1_1() { return cGroup_4_1_1; }
//'|'
- public Keyword getVerticalLineKeyword_5_1_1_0() { return cVerticalLineKeyword_5_1_1_0; }
+ public Keyword getVerticalLineKeyword_4_1_1_0() { return cVerticalLineKeyword_4_1_1_0; }
//bodies+=PatternBody
- public Assignment getBodiesAssignment_5_1_1_1() { return cBodiesAssignment_5_1_1_1; }
+ public Assignment getBodiesAssignment_4_1_1_1() { return cBodiesAssignment_4_1_1_1; }
//PatternBody
- public RuleCall getBodiesPatternBodyParserRuleCall_5_1_1_1_0() { return cBodiesPatternBodyParserRuleCall_5_1_1_1_0; }
+ public RuleCall getBodiesPatternBodyParserRuleCall_4_1_1_1_0() { return cBodiesPatternBodyParserRuleCall_4_1_1_1_0; }
//'.'
- public Keyword getFullStopKeyword_6() { return cFullStopKeyword_6; }
+ public Keyword getFullStopKeyword_5() { return cFullStopKeyword_5; }
}
public class ParameterElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Parameter");
@@ -946,92 +886,116 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
}
public class ConstraintElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Constraint");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Assignment cPolarityAssignment_0 = (Assignment)cGroup.eContents().get(0);
- private final RuleCall cPolarityPolarityParserRuleCall_0_0 = (RuleCall)cPolarityAssignment_0.eContents().get(0);
- private final Assignment cSymbolAssignment_1 = (Assignment)cGroup.eContents().get(1);
- private final RuleCall cSymbolModelSymbolParserRuleCall_1_0 = (RuleCall)cSymbolAssignment_1.eContents().get(0);
- private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2);
- private final Group cGroup_2_0 = (Group)cAlternatives_2.eContents().get(0);
- private final Keyword cLeftParenthesisKeyword_2_0_0 = (Keyword)cGroup_2_0.eContents().get(0);
- private final Assignment cParamsAssignment_2_0_1 = (Assignment)cGroup_2_0.eContents().get(1);
- private final RuleCall cParamsLiteralParserRuleCall_2_0_1_0 = (RuleCall)cParamsAssignment_2_0_1.eContents().get(0);
- private final Keyword cRightParenthesisKeyword_2_0_2 = (Keyword)cGroup_2_0.eContents().get(2);
- private final Group cGroup_2_1 = (Group)cAlternatives_2.eContents().get(1);
- private final Assignment cClosureTypeAssignment_2_1_0 = (Assignment)cGroup_2_1.eContents().get(0);
- private final RuleCall cClosureTypeClosureTypeParserRuleCall_2_1_0_0 = (RuleCall)cClosureTypeAssignment_2_1_0.eContents().get(0);
- private final Keyword cLeftParenthesisKeyword_2_1_1 = (Keyword)cGroup_2_1.eContents().get(1);
- private final Assignment cParamsAssignment_2_1_2 = (Assignment)cGroup_2_1.eContents().get(2);
- private final RuleCall cParamsLiteralParserRuleCall_2_1_2_0 = (RuleCall)cParamsAssignment_2_1_2.eContents().get(0);
- private final Assignment cParamsAssignment_2_1_3 = (Assignment)cGroup_2_1.eContents().get(3);
- private final RuleCall cParamsLiteralParserRuleCall_2_1_3_0 = (RuleCall)cParamsAssignment_2_1_3.eContents().get(0);
- private final Keyword cRightParenthesisKeyword_2_1_4 = (Keyword)cGroup_2_1.eContents().get(4);
+ private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
+ private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0);
+ private final Assignment cPolarityAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0);
+ private final RuleCall cPolarityPolarityParserRuleCall_0_0_0 = (RuleCall)cPolarityAssignment_0_0.eContents().get(0);
+ private final Assignment cSymbolAssignment_0_1 = (Assignment)cGroup_0.eContents().get(1);
+ private final RuleCall cSymbolModelSymbolParserRuleCall_0_1_0 = (RuleCall)cSymbolAssignment_0_1.eContents().get(0);
+ private final Group cGroup_0_2 = (Group)cGroup_0.eContents().get(2);
+ private final Keyword cLeftParenthesisKeyword_0_2_0 = (Keyword)cGroup_0_2.eContents().get(0);
+ private final Assignment cParamsAssignment_0_2_1 = (Assignment)cGroup_0_2.eContents().get(1);
+ private final RuleCall cParamsLiteralParserRuleCall_0_2_1_0 = (RuleCall)cParamsAssignment_0_2_1.eContents().get(0);
+ private final Group cGroup_0_2_2 = (Group)cGroup_0_2.eContents().get(2);
+ private final Keyword cCommaKeyword_0_2_2_0 = (Keyword)cGroup_0_2_2.eContents().get(0);
+ private final Assignment cParamsAssignment_0_2_2_1 = (Assignment)cGroup_0_2_2.eContents().get(1);
+ private final RuleCall cParamsLiteralParserRuleCall_0_2_2_1_0 = (RuleCall)cParamsAssignment_0_2_2_1.eContents().get(0);
+ private final Keyword cRightParenthesisKeyword_0_2_3 = (Keyword)cGroup_0_2.eContents().get(3);
+ private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1);
+ private final Assignment cClosureTypeAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0);
+ private final RuleCall cClosureTypeClosureTypeParserRuleCall_1_0_0 = (RuleCall)cClosureTypeAssignment_1_0.eContents().get(0);
+ private final Keyword cLeftParenthesisKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
+ private final Assignment cParamsAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2);
+ private final RuleCall cParamsLiteralParserRuleCall_1_2_0 = (RuleCall)cParamsAssignment_1_2.eContents().get(0);
+ private final Group cGroup_1_3 = (Group)cGroup_1.eContents().get(3);
+ private final Keyword cCommaKeyword_1_3_0 = (Keyword)cGroup_1_3.eContents().get(0);
+ private final Assignment cParamsAssignment_1_3_1 = (Assignment)cGroup_1_3.eContents().get(1);
+ private final RuleCall cParamsLiteralParserRuleCall_1_3_1_0 = (RuleCall)cParamsAssignment_1_3_1.eContents().get(0);
+ private final Keyword cRightParenthesisKeyword_1_4 = (Keyword)cGroup_1.eContents().get(4);
//Constraint:
- // polarity=Polarity? symbol=ModelSymbol ('(' params+=Literal* ')' | closureType=ClosureType '(' params+=Literal
- // params+=Literal ')');
+ // polarity=Polarity? symbol=ModelSymbol ('(' params+=Literal? (',' params+=Literal)* ')')? | closureType=ClosureType
+ // '(' params+=Literal? (',' params+=Literal)* ')';
@Override public ParserRule getRule() { return rule; }
- //polarity=Polarity? symbol=ModelSymbol ('(' params+=Literal* ')' | closureType=ClosureType '(' params+=Literal
- //params+=Literal ')')
- public Group getGroup() { return cGroup; }
+ //polarity=Polarity? symbol=ModelSymbol ('(' params+=Literal? (',' params+=Literal)* ')')? | closureType=ClosureType '('
+ //params+=Literal? (',' params+=Literal)* ')'
+ public Alternatives getAlternatives() { return cAlternatives; }
+
+ //polarity=Polarity? symbol=ModelSymbol ('(' params+=Literal? (',' params+=Literal)* ')')?
+ public Group getGroup_0() { return cGroup_0; }
//polarity=Polarity?
- public Assignment getPolarityAssignment_0() { return cPolarityAssignment_0; }
+ public Assignment getPolarityAssignment_0_0() { return cPolarityAssignment_0_0; }
//Polarity
- public RuleCall getPolarityPolarityParserRuleCall_0_0() { return cPolarityPolarityParserRuleCall_0_0; }
+ public RuleCall getPolarityPolarityParserRuleCall_0_0_0() { return cPolarityPolarityParserRuleCall_0_0_0; }
//symbol=ModelSymbol
- public Assignment getSymbolAssignment_1() { return cSymbolAssignment_1; }
+ public Assignment getSymbolAssignment_0_1() { return cSymbolAssignment_0_1; }
//ModelSymbol
- public RuleCall getSymbolModelSymbolParserRuleCall_1_0() { return cSymbolModelSymbolParserRuleCall_1_0; }
+ public RuleCall getSymbolModelSymbolParserRuleCall_0_1_0() { return cSymbolModelSymbolParserRuleCall_0_1_0; }
- //'(' params+=Literal* ')' | closureType=ClosureType '(' params+=Literal params+=Literal ')'
- public Alternatives getAlternatives_2() { return cAlternatives_2; }
-
- //'(' params+=Literal* ')'
- public Group getGroup_2_0() { return cGroup_2_0; }
+ //('(' params+=Literal? (',' params+=Literal)* ')')?
+ public Group getGroup_0_2() { return cGroup_0_2; }
//'('
- public Keyword getLeftParenthesisKeyword_2_0_0() { return cLeftParenthesisKeyword_2_0_0; }
+ public Keyword getLeftParenthesisKeyword_0_2_0() { return cLeftParenthesisKeyword_0_2_0; }
- //params+=Literal*
- public Assignment getParamsAssignment_2_0_1() { return cParamsAssignment_2_0_1; }
+ //params+=Literal?
+ public Assignment getParamsAssignment_0_2_1() { return cParamsAssignment_0_2_1; }
//Literal
- public RuleCall getParamsLiteralParserRuleCall_2_0_1_0() { return cParamsLiteralParserRuleCall_2_0_1_0; }
+ public RuleCall getParamsLiteralParserRuleCall_0_2_1_0() { return cParamsLiteralParserRuleCall_0_2_1_0; }
+
+ //(',' params+=Literal)*
+ public Group getGroup_0_2_2() { return cGroup_0_2_2; }
+
+ //','
+ public Keyword getCommaKeyword_0_2_2_0() { return cCommaKeyword_0_2_2_0; }
+
+ //params+=Literal
+ public Assignment getParamsAssignment_0_2_2_1() { return cParamsAssignment_0_2_2_1; }
+
+ //Literal
+ public RuleCall getParamsLiteralParserRuleCall_0_2_2_1_0() { return cParamsLiteralParserRuleCall_0_2_2_1_0; }
//')'
- public Keyword getRightParenthesisKeyword_2_0_2() { return cRightParenthesisKeyword_2_0_2; }
+ public Keyword getRightParenthesisKeyword_0_2_3() { return cRightParenthesisKeyword_0_2_3; }
- //closureType=ClosureType '(' params+=Literal params+=Literal ')'
- public Group getGroup_2_1() { return cGroup_2_1; }
+ //closureType=ClosureType '(' params+=Literal? (',' params+=Literal)* ')'
+ public Group getGroup_1() { return cGroup_1; }
//closureType=ClosureType
- public Assignment getClosureTypeAssignment_2_1_0() { return cClosureTypeAssignment_2_1_0; }
+ public Assignment getClosureTypeAssignment_1_0() { return cClosureTypeAssignment_1_0; }
//ClosureType
- public RuleCall getClosureTypeClosureTypeParserRuleCall_2_1_0_0() { return cClosureTypeClosureTypeParserRuleCall_2_1_0_0; }
+ public RuleCall getClosureTypeClosureTypeParserRuleCall_1_0_0() { return cClosureTypeClosureTypeParserRuleCall_1_0_0; }
//'('
- public Keyword getLeftParenthesisKeyword_2_1_1() { return cLeftParenthesisKeyword_2_1_1; }
+ public Keyword getLeftParenthesisKeyword_1_1() { return cLeftParenthesisKeyword_1_1; }
- //params+=Literal
- public Assignment getParamsAssignment_2_1_2() { return cParamsAssignment_2_1_2; }
+ //params+=Literal?
+ public Assignment getParamsAssignment_1_2() { return cParamsAssignment_1_2; }
//Literal
- public RuleCall getParamsLiteralParserRuleCall_2_1_2_0() { return cParamsLiteralParserRuleCall_2_1_2_0; }
+ public RuleCall getParamsLiteralParserRuleCall_1_2_0() { return cParamsLiteralParserRuleCall_1_2_0; }
+
+ //(',' params+=Literal)*
+ public Group getGroup_1_3() { return cGroup_1_3; }
+
+ //','
+ public Keyword getCommaKeyword_1_3_0() { return cCommaKeyword_1_3_0; }
//params+=Literal
- public Assignment getParamsAssignment_2_1_3() { return cParamsAssignment_2_1_3; }
+ public Assignment getParamsAssignment_1_3_1() { return cParamsAssignment_1_3_1; }
//Literal
- public RuleCall getParamsLiteralParserRuleCall_2_1_3_0() { return cParamsLiteralParserRuleCall_2_1_3_0; }
+ public RuleCall getParamsLiteralParserRuleCall_1_3_1_0() { return cParamsLiteralParserRuleCall_1_3_1_0; }
//')'
- public Keyword getRightParenthesisKeyword_2_1_4() { return cRightParenthesisKeyword_2_1_4; }
+ public Keyword getRightParenthesisKeyword_1_4() { return cRightParenthesisKeyword_1_4; }
}
public class ClosureTypeElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ClosureType");
@@ -1073,12 +1037,13 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cVariableParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cDataObjectParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
+ private final RuleCall cNamedObjectParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
//Literal:
- // Variable | DataObject;
+ // Variable | DataObject | NamedObject;
@Override public ParserRule getRule() { return rule; }
- //Variable | DataObject
+ //Variable | DataObject | NamedObject
public Alternatives getAlternatives() { return cAlternatives; }
//Variable
@@ -1086,6 +1051,9 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
//DataObject
public RuleCall getDataObjectParserRuleCall_1() { return cDataObjectParserRuleCall_1; }
+
+ //NamedObject
+ public RuleCall getNamedObjectParserRuleCall_2() { return cNamedObjectParserRuleCall_2; }
}
public class VariableElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Variable");
@@ -1217,16 +1185,16 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6);
//ClassInterpretation:
- // abstract?='abstract' 'class' symbol=ModelSymbol ('extends' supertypes+=ModelSymbol+)? '{'
+ // abstract?='abstract'? 'class' symbol=ModelSymbol ('extends' supertypes+=ModelSymbol+)? '{'
// fielt+=FieldRelationInterpretation*
// '}';
@Override public ParserRule getRule() { return rule; }
- //abstract?='abstract' 'class' symbol=ModelSymbol ('extends' supertypes+=ModelSymbol+)? '{'
+ //abstract?='abstract'? 'class' symbol=ModelSymbol ('extends' supertypes+=ModelSymbol+)? '{'
//fielt+=FieldRelationInterpretation* '}'
public Group getGroup() { return cGroup; }
- //abstract?='abstract'
+ //abstract?='abstract'?
public Assignment getAbstractAssignment_0() { return cAbstractAssignment_0; }
//'abstract'
@@ -1318,13 +1286,13 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
private final RuleCall cTargetSymbolParserRuleCall_4_0 = (RuleCall)cTargetAssignment_4.eContents().get(0);
//FieldRelationInterpretation:
- // containment?='containment' symbol=ModelSymbol ':' multiplicity=MultiplicityDefinition? target=Symbol;
+ // containment?='containment'? symbol=ModelSymbol ':' multiplicity=MultiplicityDefinition? target=Symbol;
@Override public ParserRule getRule() { return rule; }
- //containment?='containment' symbol=ModelSymbol ':' multiplicity=MultiplicityDefinition? target=Symbol
+ //containment?='containment'? symbol=ModelSymbol ':' multiplicity=MultiplicityDefinition? target=Symbol
public Group getGroup() { return cGroup; }
- //containment?='containment'
+ //containment?='containment'?
public Assignment getContainmentAssignment_0() { return cContainmentAssignment_0; }
//'containment'
@@ -1370,15 +1338,15 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
private final RuleCall cTargetSymbolParserRuleCall_7_0 = (RuleCall)cTargetAssignment_7.eContents().get(0);
//GlobalRelationInterpretation:
- // containment?='containment' 'relation' symbol=ModelSymbol ':' sourceMultiplicity=MultiplicityDefinition? source=Symbol
- // targetMultiplicity=MultiplicityDefinition? target=Symbol;
+ // containment?='containment'? 'relation' symbol=ModelSymbol ':' sourceMultiplicity=MultiplicityDefinition?
+ // source=Symbol targetMultiplicity=MultiplicityDefinition? target=Symbol;
@Override public ParserRule getRule() { return rule; }
- //containment?='containment' 'relation' symbol=ModelSymbol ':' sourceMultiplicity=MultiplicityDefinition? source=Symbol
+ //containment?='containment'? 'relation' symbol=ModelSymbol ':' sourceMultiplicity=MultiplicityDefinition? source=Symbol
//targetMultiplicity=MultiplicityDefinition? target=Symbol
public Group getGroup() { return cGroup; }
- //containment?='containment'
+ //containment?='containment'?
public Assignment getContainmentAssignment_0() { return cContainmentAssignment_0; }
//'containment'
@@ -1494,8 +1462,6 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
private final RealObjectElements pRealObject;
private final StringObjectElements pStringObject;
private final PredicateElements pPredicate;
- private final PredicateSymbolElements pPredicateSymbol;
- private final ErrorPredicateElements pErrorPredicate;
private final ParameterElements pParameter;
private final PatternBodyElements pPatternBody;
private final PolarityElements pPolarity;
@@ -1551,8 +1517,6 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
this.pRealObject = new RealObjectElements();
this.pStringObject = new StringObjectElements();
this.pPredicate = new PredicateElements();
- this.pPredicateSymbol = new PredicateSymbolElements();
- this.pErrorPredicate = new ErrorPredicateElements();
this.pParameter = new ParameterElements();
this.pPatternBody = new PatternBodyElements();
this.pPolarity = new PolarityElements();
@@ -1679,7 +1643,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
}
//BasicInterpretation:
- // symbol=Symbol '(' objects+=ComplexObject* ')' ':' value=TruthValue;
+ // symbol=Symbol ('(' (objects+=ComplexObject (',' objects+=ComplexObject)*)? ')')? ':' value=TruthValue;
public BasicInterpretationElements getBasicInterpretationAccess() {
return pBasicInterpretation;
}
@@ -1882,7 +1846,8 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
//// Predicte grammar
/////////////////////
//Predicate:
- // PredicateSymbol | ErrorPredicate;
+ // isError?='error'? symbol=ModelSymbol ('(' (parameters+=Parameter (',' parameters+=Parameter)*)? ')')? ':-' ('false' |
+ // bodies+=PatternBody ('|' bodies+=PatternBody)*) '.';
public PredicateElements getPredicateAccess() {
return pPredicate;
}
@@ -1891,28 +1856,6 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
return getPredicateAccess().getRule();
}
- //PredicateSymbol:
- // 'predicate' symbol=ModelSymbol '(' parameters+=Parameter* ')' ':' ('false' | bodies+=PatternBody ('|'
- // bodies+=PatternBody)*) '.';
- public PredicateSymbolElements getPredicateSymbolAccess() {
- return pPredicateSymbol;
- }
-
- public ParserRule getPredicateSymbolRule() {
- return getPredicateSymbolAccess().getRule();
- }
-
- //ErrorPredicate:
- // {ErrorPredicate} 'error' name=ID? ('(' parameters+=Parameter* ')') ':' ('false' | bodies+=PatternBody ('|'
- // bodies+=PatternBody)*) '.';
- public ErrorPredicateElements getErrorPredicateAccess() {
- return pErrorPredicate;
- }
-
- public ParserRule getErrorPredicateRule() {
- return getErrorPredicateAccess().getRule();
- }
-
//Parameter:
// variable=Variable (':' type=Symbol)?;
public ParameterElements getParameterAccess() {
@@ -1944,8 +1887,8 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
}
//Constraint:
- // polarity=Polarity? symbol=ModelSymbol ('(' params+=Literal* ')' | closureType=ClosureType '(' params+=Literal
- // params+=Literal ')');
+ // polarity=Polarity? symbol=ModelSymbol ('(' params+=Literal? (',' params+=Literal)* ')')? | closureType=ClosureType
+ // '(' params+=Literal? (',' params+=Literal)* ')';
public ConstraintElements getConstraintAccess() {
return pConstraint;
}
@@ -1965,7 +1908,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
}
//Literal:
- // Variable | DataObject;
+ // Variable | DataObject | NamedObject;
public LiteralElements getLiteralAccess() {
return pLiteral;
}
@@ -2034,7 +1977,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
}
//ClassInterpretation:
- // abstract?='abstract' 'class' symbol=ModelSymbol ('extends' supertypes+=ModelSymbol+)? '{'
+ // abstract?='abstract'? 'class' symbol=ModelSymbol ('extends' supertypes+=ModelSymbol+)? '{'
// fielt+=FieldRelationInterpretation*
// '}';
public ClassInterpretationElements getClassInterpretationAccess() {
@@ -2056,7 +1999,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
}
//FieldRelationInterpretation:
- // containment?='containment' symbol=ModelSymbol ':' multiplicity=MultiplicityDefinition? target=Symbol;
+ // containment?='containment'? symbol=ModelSymbol ':' multiplicity=MultiplicityDefinition? target=Symbol;
public FieldRelationInterpretationElements getFieldRelationInterpretationAccess() {
return pFieldRelationInterpretation;
}
@@ -2066,8 +2009,8 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
}
//GlobalRelationInterpretation:
- // containment?='containment' 'relation' symbol=ModelSymbol ':' sourceMultiplicity=MultiplicityDefinition? source=Symbol
- // targetMultiplicity=MultiplicityDefinition? target=Symbol;
+ // containment?='containment'? 'relation' symbol=ModelSymbol ':' sourceMultiplicity=MultiplicityDefinition?
+ // source=Symbol targetMultiplicity=MultiplicityDefinition? target=Symbol;
public GlobalRelationInterpretationElements getGlobalRelationInterpretationAccess() {
return pGlobalRelationInterpretation;
}
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedObject.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedObject.java
index a6deaea8..b44ef060 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedObject.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedObject.java
@@ -20,7 +20,7 @@ package org.eclipse.viatra.solver.language.solverLanguage;
* @model
* @generated
*/
-public interface NamedObject extends org.eclipse.viatra.solver.language.solverLanguage.Object
+public interface NamedObject extends org.eclipse.viatra.solver.language.solverLanguage.Object, Literal
{
/**
* Returns the value of the 'Name' attribute.
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java
index fc61ea86..7892fd57 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java
@@ -14,6 +14,8 @@ import org.eclipse.emf.common.util.EList;
* The following features are supported:
*
*
+ * - {@link org.eclipse.viatra.solver.language.solverLanguage.Predicate#isIsError Is Error}
+ * - {@link org.eclipse.viatra.solver.language.solverLanguage.Predicate#getSymbol Symbol}
* - {@link org.eclipse.viatra.solver.language.solverLanguage.Predicate#getParameters Parameters}
* - {@link org.eclipse.viatra.solver.language.solverLanguage.Predicate#getBodies Bodies}
*
@@ -24,6 +26,50 @@ import org.eclipse.emf.common.util.EList;
*/
public interface Predicate extends Statement
{
+ /**
+ * Returns the value of the 'Is Error' attribute.
+ *
+ *
+ * @return the value of the 'Is Error' attribute.
+ * @see #setIsError(boolean)
+ * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicate_IsError()
+ * @model
+ * @generated
+ */
+ boolean isIsError();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Predicate#isIsError Is Error}' attribute.
+ *
+ *
+ * @param value the new value of the 'Is Error' attribute.
+ * @see #isIsError()
+ * @generated
+ */
+ void setIsError(boolean value);
+
+ /**
+ * Returns the value of the 'Symbol' containment reference.
+ *
+ *
+ * @return the value of the 'Symbol' containment reference.
+ * @see #setSymbol(ModelSymbol)
+ * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicate_Symbol()
+ * @model containment="true"
+ * @generated
+ */
+ ModelSymbol getSymbol();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Predicate#getSymbol Symbol}' containment reference.
+ *
+ *
+ * @param value the new value of the 'Symbol' containment reference.
+ * @see #getSymbol()
+ * @generated
+ */
+ void setSymbol(ModelSymbol value);
+
/**
* Returns the value of the 'Parameters' containment reference list.
* The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Parameter}.
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 ebe2abdb..c5d4cbff 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
@@ -257,24 +257,6 @@ public interface SolverLanguageFactory extends EFactory
*/
Predicate createPredicate();
- /**
- * Returns a new object of class 'Predicate Symbol'.
- *
- *
- * @return a new object of class 'Predicate Symbol'.
- * @generated
- */
- PredicateSymbol createPredicateSymbol();
-
- /**
- * Returns a new object of class 'Error Predicate'.
- *
- *
- * @return a new object of class 'Error Predicate'.
- * @generated
- */
- ErrorPredicate createErrorPredicate();
-
/**
* Returns a new object of class 'Parameter'.
*
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 3bd01417..9767d002 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
@@ -642,59 +642,13 @@ public interface SolverLanguagePackage extends EPackage
int PREDICATE = 25;
/**
- * The feature id for the 'Parameters' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int PREDICATE__PARAMETERS = STATEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the 'Bodies' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int PREDICATE__BODIES = STATEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the 'Predicate' class.
- *
- *
- * @generated
- * @ordered
- */
- int PREDICATE_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateSymbolImpl Predicate Symbol}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateSymbolImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicateSymbol()
- * @generated
- */
- int PREDICATE_SYMBOL = 26;
-
- /**
- * The feature id for the 'Parameters' containment reference list.
+ * The feature id for the 'Is Error' attribute.
*
*
* @generated
* @ordered
*/
- int PREDICATE_SYMBOL__PARAMETERS = PREDICATE__PARAMETERS;
-
- /**
- * The feature id for the 'Bodies' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int PREDICATE_SYMBOL__BODIES = PREDICATE__BODIES;
+ int PREDICATE__IS_ERROR = STATEMENT_FEATURE_COUNT + 0;
/**
* The feature id for the 'Symbol' containment reference.
@@ -703,26 +657,7 @@ public interface SolverLanguagePackage extends EPackage
* @generated
* @ordered
*/
- int PREDICATE_SYMBOL__SYMBOL = PREDICATE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the 'Predicate Symbol' class.
- *
- *
- * @generated
- * @ordered
- */
- int PREDICATE_SYMBOL_FEATURE_COUNT = PREDICATE_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ErrorPredicateImpl Error Predicate}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ErrorPredicateImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getErrorPredicate()
- * @generated
- */
- int ERROR_PREDICATE = 27;
+ int PREDICATE__SYMBOL = STATEMENT_FEATURE_COUNT + 1;
/**
* The feature id for the 'Parameters' containment reference list.
@@ -731,7 +666,7 @@ public interface SolverLanguagePackage extends EPackage
* @generated
* @ordered
*/
- int ERROR_PREDICATE__PARAMETERS = PREDICATE__PARAMETERS;
+ int PREDICATE__PARAMETERS = STATEMENT_FEATURE_COUNT + 2;
/**
* The feature id for the 'Bodies' containment reference list.
@@ -740,25 +675,16 @@ public interface SolverLanguagePackage extends EPackage
* @generated
* @ordered
*/
- int ERROR_PREDICATE__BODIES = PREDICATE__BODIES;
+ int PREDICATE__BODIES = STATEMENT_FEATURE_COUNT + 3;
/**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int ERROR_PREDICATE__NAME = PREDICATE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the 'Error Predicate' class.
+ * The number of structural features of the 'Predicate' class.
*
*
* @generated
* @ordered
*/
- int ERROR_PREDICATE_FEATURE_COUNT = PREDICATE_FEATURE_COUNT + 1;
+ int PREDICATE_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 4;
/**
* The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ParameterImpl Parameter}' class.
@@ -768,7 +694,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getParameter()
* @generated
*/
- int PARAMETER = 28;
+ int PARAMETER = 26;
/**
* The feature id for the 'Variable' containment reference.
@@ -805,7 +731,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPatternBody()
* @generated
*/
- int PATTERN_BODY = 29;
+ int PATTERN_BODY = 27;
/**
* The feature id for the 'Constraints' containment reference list.
@@ -833,7 +759,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPolarity()
* @generated
*/
- int POLARITY = 30;
+ int POLARITY = 28;
/**
* The number of structural features of the 'Polarity' class.
@@ -852,7 +778,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getConstraint()
* @generated
*/
- int CONSTRAINT = 31;
+ int CONSTRAINT = 29;
/**
* The feature id for the 'Polarity' containment reference.
@@ -907,7 +833,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getClosureType()
* @generated
*/
- int CLOSURE_TYPE = 32;
+ int CLOSURE_TYPE = 30;
/**
* The number of structural features of the 'Closure Type' class.
@@ -926,7 +852,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLiteral()
* @generated
*/
- int LITERAL = 33;
+ int LITERAL = 31;
/**
* The number of structural features of the 'Literal' class.
@@ -945,7 +871,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getVariable()
* @generated
*/
- int VARIABLE = 34;
+ int VARIABLE = 32;
/**
* The feature id for the 'Name' attribute.
@@ -973,7 +899,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAllInstances()
* @generated
*/
- int ALL_INSTANCES = 35;
+ int ALL_INSTANCES = 33;
/**
* The feature id for the 'Symbol' containment reference.
@@ -1001,7 +927,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAllObjects()
* @generated
*/
- int ALL_OBJECTS = 36;
+ int ALL_OBJECTS = 34;
/**
* The number of structural features of the 'All Objects' class.
@@ -1020,7 +946,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDefaultInterpretation()
* @generated
*/
- int DEFAULT_INTERPRETATION = 37;
+ int DEFAULT_INTERPRETATION = 35;
/**
* The feature id for the 'Interpretation' containment reference.
@@ -1048,7 +974,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCDInterpretation()
* @generated
*/
- int CD_INTERPRETATION = 38;
+ int CD_INTERPRETATION = 36;
/**
* The number of structural features of the 'CD Interpretation' class.
@@ -1067,7 +993,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getClassInterpretation()
* @generated
*/
- int CLASS_INTERPRETATION = 39;
+ int CLASS_INTERPRETATION = 37;
/**
* The feature id for the 'Abstract' attribute.
@@ -1122,7 +1048,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getEnumInterpretation()
* @generated
*/
- int ENUM_INTERPRETATION = 40;
+ int ENUM_INTERPRETATION = 38;
/**
* The feature id for the 'Symbol' containment reference.
@@ -1159,7 +1085,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getFieldRelationInterpretation()
* @generated
*/
- int FIELD_RELATION_INTERPRETATION = 41;
+ int FIELD_RELATION_INTERPRETATION = 39;
/**
* The feature id for the 'Containment' attribute.
@@ -1214,7 +1140,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getGlobalRelationInterpretation()
* @generated
*/
- int GLOBAL_RELATION_INTERPRETATION = 42;
+ int GLOBAL_RELATION_INTERPRETATION = 40;
/**
* The feature id for the 'Containment' attribute.
@@ -1287,7 +1213,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMultiplicityDefinition()
* @generated
*/
- int MULTIPLICITY_DEFINITION = 43;
+ int MULTIPLICITY_DEFINITION = 41;
/**
* The feature id for the 'Lower' attribute.
@@ -1333,7 +1259,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBooleanTrue()
* @generated
*/
- int BOOLEAN_TRUE = 44;
+ int BOOLEAN_TRUE = 42;
/**
* The number of structural features of the 'Boolean True' class.
@@ -1352,7 +1278,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBooleanFalse()
* @generated
*/
- int BOOLEAN_FALSE = 45;
+ int BOOLEAN_FALSE = 43;
/**
* The number of structural features of the 'Boolean False' class.
@@ -1371,7 +1297,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTrue()
* @generated
*/
- int TRUE = 46;
+ int TRUE = 44;
/**
* The number of structural features of the 'True' class.
@@ -1390,7 +1316,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getFalse()
* @generated
*/
- int FALSE = 47;
+ int FALSE = 45;
/**
* The number of structural features of the 'False' class.
@@ -1409,7 +1335,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnknown()
* @generated
*/
- int UNKNOWN = 48;
+ int UNKNOWN = 46;
/**
* The number of structural features of the 'Unknown' class.
@@ -1428,7 +1354,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getError()
* @generated
*/
- int ERROR = 49;
+ int ERROR = 47;
/**
* The number of structural features of the 'Error' class.
@@ -1447,7 +1373,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPositive()
* @generated
*/
- int POSITIVE = 50;
+ int POSITIVE = 48;
/**
* The number of structural features of the 'Positive' class.
@@ -1466,7 +1392,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNegative()
* @generated
*/
- int NEGATIVE = 51;
+ int NEGATIVE = 49;
/**
* The number of structural features of the 'Negative' class.
@@ -1485,7 +1411,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getReflexiveClosure()
* @generated
*/
- int REFLEXIVE_CLOSURE = 52;
+ int REFLEXIVE_CLOSURE = 50;
/**
* The number of structural features of the 'Reflexive Closure' class.
@@ -1504,7 +1430,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getIrreflexiveClosure()
* @generated
*/
- int IRREFLEXIVE_CLOSURE = 53;
+ int IRREFLEXIVE_CLOSURE = 51;
/**
* The number of structural features of the 'Irreflexive Closure' class.
@@ -1898,68 +1824,48 @@ public interface SolverLanguagePackage extends EPackage
EClass getPredicate();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Predicate#getParameters Parameters}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Predicate#isIsError Is Error}'.
*
*
- * @return the meta object for the containment reference list 'Parameters'.
- * @see org.eclipse.viatra.solver.language.solverLanguage.Predicate#getParameters()
+ * @return the meta object for the attribute 'Is Error'.
+ * @see org.eclipse.viatra.solver.language.solverLanguage.Predicate#isIsError()
* @see #getPredicate()
* @generated
*/
- EReference getPredicate_Parameters();
+ EAttribute getPredicate_IsError();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Predicate#getBodies Bodies}'.
- *
- *
- * @return the meta object for the containment reference list 'Bodies'.
- * @see org.eclipse.viatra.solver.language.solverLanguage.Predicate#getBodies()
- * @see #getPredicate()
- * @generated
- */
- EReference getPredicate_Bodies();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateSymbol Predicate Symbol}'.
- *
- *
- * @return the meta object for class 'Predicate Symbol'.
- * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateSymbol
- * @generated
- */
- EClass getPredicateSymbol();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateSymbol#getSymbol Symbol}'.
+ * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Predicate#getSymbol Symbol}'.
*
*
* @return the meta object for the containment reference 'Symbol'.
- * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateSymbol#getSymbol()
- * @see #getPredicateSymbol()
+ * @see org.eclipse.viatra.solver.language.solverLanguage.Predicate#getSymbol()
+ * @see #getPredicate()
* @generated
*/
- EReference getPredicateSymbol_Symbol();
+ EReference getPredicate_Symbol();
/**
- * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ErrorPredicate Error Predicate}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Predicate#getParameters Parameters}'.
*
*
- * @return the meta object for class 'Error Predicate'.
- * @see org.eclipse.viatra.solver.language.solverLanguage.ErrorPredicate
+ * @return the meta object for the containment reference list 'Parameters'.
+ * @see org.eclipse.viatra.solver.language.solverLanguage.Predicate#getParameters()
+ * @see #getPredicate()
* @generated
*/
- EClass getErrorPredicate();
+ EReference getPredicate_Parameters();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ErrorPredicate#getName Name}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Predicate#getBodies Bodies}'.
*
*
- * @return the meta object for the attribute 'Name'.
- * @see org.eclipse.viatra.solver.language.solverLanguage.ErrorPredicate#getName()
- * @see #getErrorPredicate()
+ * @return the meta object for the containment reference list 'Bodies'.
+ * @see org.eclipse.viatra.solver.language.solverLanguage.Predicate#getBodies()
+ * @see #getPredicate()
* @generated
*/
- EAttribute getErrorPredicate_Name();
+ EReference getPredicate_Bodies();
/**
* Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Parameter Parameter}'.
@@ -2912,30 +2818,12 @@ public interface SolverLanguagePackage extends EPackage
EClass PREDICATE = eINSTANCE.getPredicate();
/**
- * The meta object literal for the 'Parameters' containment reference list feature.
- *
- *
- * @generated
- */
- EReference PREDICATE__PARAMETERS = eINSTANCE.getPredicate_Parameters();
-
- /**
- * The meta object literal for the 'Bodies' containment reference list feature.
- *
- *
- * @generated
- */
- EReference PREDICATE__BODIES = eINSTANCE.getPredicate_Bodies();
-
- /**
- * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateSymbolImpl Predicate Symbol}' class.
+ * The meta object literal for the 'Is Error' attribute feature.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateSymbolImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicateSymbol()
* @generated
*/
- EClass PREDICATE_SYMBOL = eINSTANCE.getPredicateSymbol();
+ EAttribute PREDICATE__IS_ERROR = eINSTANCE.getPredicate_IsError();
/**
* The meta object literal for the 'Symbol' containment reference feature.
@@ -2943,25 +2831,23 @@ public interface SolverLanguagePackage extends EPackage
*
* @generated
*/
- EReference PREDICATE_SYMBOL__SYMBOL = eINSTANCE.getPredicateSymbol_Symbol();
+ EReference PREDICATE__SYMBOL = eINSTANCE.getPredicate_Symbol();
/**
- * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ErrorPredicateImpl Error Predicate}' class.
+ * The meta object literal for the 'Parameters' containment reference list feature.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ErrorPredicateImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getErrorPredicate()
* @generated
*/
- EClass ERROR_PREDICATE = eINSTANCE.getErrorPredicate();
+ EReference PREDICATE__PARAMETERS = eINSTANCE.getPredicate_Parameters();
/**
- * The meta object literal for the 'Name' attribute feature.
+ * The meta object literal for the 'Bodies' containment reference list feature.
*
*
* @generated
*/
- EAttribute ERROR_PREDICATE__NAME = eINSTANCE.getErrorPredicate_Name();
+ EReference PREDICATE__BODIES = eINSTANCE.getPredicate_Bodies();
/**
* The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ParameterImpl Parameter}' class.
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java
index 947d74bb..d3c7366d 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java
@@ -5,6 +5,7 @@ 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;
@@ -12,9 +13,12 @@ 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.InternalEList;
+import org.eclipse.viatra.solver.language.solverLanguage.ModelSymbol;
import org.eclipse.viatra.solver.language.solverLanguage.Parameter;
import org.eclipse.viatra.solver.language.solverLanguage.PatternBody;
import org.eclipse.viatra.solver.language.solverLanguage.Predicate;
@@ -28,6 +32,8 @@ import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage;
* The following features are implemented:
*
*
+ * - {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl#isIsError Is Error}
+ * - {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl#getSymbol Symbol}
* - {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl#getParameters Parameters}
* - {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl#getBodies Bodies}
*
@@ -36,6 +42,36 @@ import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage;
*/
public class PredicateImpl extends StatementImpl implements Predicate
{
+ /**
+ * The default value of the '{@link #isIsError() Is Error}' attribute.
+ *
+ *
+ * @see #isIsError()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_ERROR_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsError() Is Error}' attribute.
+ *
+ *
+ * @see #isIsError()
+ * @generated
+ * @ordered
+ */
+ protected boolean isError = IS_ERROR_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getSymbol() Symbol}' containment reference.
+ *
+ *
+ * @see #getSymbol()
+ * @generated
+ * @ordered
+ */
+ protected ModelSymbol symbol;
+
/**
* The cached value of the '{@link #getParameters() Parameters}' containment reference list.
*
@@ -77,6 +113,81 @@ public class PredicateImpl extends StatementImpl implements Predicate
return SolverLanguagePackage.Literals.PREDICATE;
}
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public boolean isIsError()
+ {
+ return isError;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void setIsError(boolean newIsError)
+ {
+ boolean oldIsError = isError;
+ isError = newIsError;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE__IS_ERROR, oldIsError, isError));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public ModelSymbol getSymbol()
+ {
+ return symbol;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public NotificationChain basicSetSymbol(ModelSymbol newSymbol, NotificationChain msgs)
+ {
+ ModelSymbol oldSymbol = symbol;
+ symbol = newSymbol;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE__SYMBOL, oldSymbol, newSymbol);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void setSymbol(ModelSymbol newSymbol)
+ {
+ if (newSymbol != symbol)
+ {
+ NotificationChain msgs = null;
+ if (symbol != null)
+ msgs = ((InternalEObject)symbol).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE__SYMBOL, null, msgs);
+ if (newSymbol != null)
+ msgs = ((InternalEObject)newSymbol).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE__SYMBOL, null, msgs);
+ msgs = basicSetSymbol(newSymbol, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE__SYMBOL, newSymbol, newSymbol));
+ }
+
/**
*
*
@@ -117,6 +228,8 @@ public class PredicateImpl extends StatementImpl implements Predicate
{
switch (featureID)
{
+ case SolverLanguagePackage.PREDICATE__SYMBOL:
+ return basicSetSymbol(null, msgs);
case SolverLanguagePackage.PREDICATE__PARAMETERS:
return ((InternalEList>)getParameters()).basicRemove(otherEnd, msgs);
case SolverLanguagePackage.PREDICATE__BODIES:
@@ -135,6 +248,10 @@ public class PredicateImpl extends StatementImpl implements Predicate
{
switch (featureID)
{
+ case SolverLanguagePackage.PREDICATE__IS_ERROR:
+ return isIsError();
+ case SolverLanguagePackage.PREDICATE__SYMBOL:
+ return getSymbol();
case SolverLanguagePackage.PREDICATE__PARAMETERS:
return getParameters();
case SolverLanguagePackage.PREDICATE__BODIES:
@@ -154,6 +271,12 @@ public class PredicateImpl extends StatementImpl implements Predicate
{
switch (featureID)
{
+ case SolverLanguagePackage.PREDICATE__IS_ERROR:
+ setIsError((Boolean)newValue);
+ return;
+ case SolverLanguagePackage.PREDICATE__SYMBOL:
+ setSymbol((ModelSymbol)newValue);
+ return;
case SolverLanguagePackage.PREDICATE__PARAMETERS:
getParameters().clear();
getParameters().addAll((Collection extends Parameter>)newValue);
@@ -176,6 +299,12 @@ public class PredicateImpl extends StatementImpl implements Predicate
{
switch (featureID)
{
+ case SolverLanguagePackage.PREDICATE__IS_ERROR:
+ setIsError(IS_ERROR_EDEFAULT);
+ return;
+ case SolverLanguagePackage.PREDICATE__SYMBOL:
+ setSymbol((ModelSymbol)null);
+ return;
case SolverLanguagePackage.PREDICATE__PARAMETERS:
getParameters().clear();
return;
@@ -196,6 +325,10 @@ public class PredicateImpl extends StatementImpl implements Predicate
{
switch (featureID)
{
+ case SolverLanguagePackage.PREDICATE__IS_ERROR:
+ return isError != IS_ERROR_EDEFAULT;
+ case SolverLanguagePackage.PREDICATE__SYMBOL:
+ return symbol != null;
case SolverLanguagePackage.PREDICATE__PARAMETERS:
return parameters != null && !parameters.isEmpty();
case SolverLanguagePackage.PREDICATE__BODIES:
@@ -204,4 +337,21 @@ public class PredicateImpl extends StatementImpl implements Predicate
return super.eIsSet(featureID);
}
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuilder result = new StringBuilder(super.toString());
+ result.append(" (isError: ");
+ result.append(isError);
+ result.append(')');
+ return result.toString();
+ }
+
} //PredicateImpl
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 12ffc551..5cb1dcdc 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
@@ -29,7 +29,6 @@ import org.eclipse.viatra.solver.language.solverLanguage.DataSymbol;
import org.eclipse.viatra.solver.language.solverLanguage.DefaultInterpretation;
import org.eclipse.viatra.solver.language.solverLanguage.EnumInterpretation;
import org.eclipse.viatra.solver.language.solverLanguage.EqualsSymbol;
-import org.eclipse.viatra.solver.language.solverLanguage.ErrorPredicate;
import org.eclipse.viatra.solver.language.solverLanguage.ExistSymbol;
import org.eclipse.viatra.solver.language.solverLanguage.False;
import org.eclipse.viatra.solver.language.solverLanguage.FieldRelationInterpretation;
@@ -49,7 +48,6 @@ import org.eclipse.viatra.solver.language.solverLanguage.PatternBody;
import org.eclipse.viatra.solver.language.solverLanguage.Polarity;
import org.eclipse.viatra.solver.language.solverLanguage.Positive;
import org.eclipse.viatra.solver.language.solverLanguage.Predicate;
-import org.eclipse.viatra.solver.language.solverLanguage.PredicateSymbol;
import org.eclipse.viatra.solver.language.solverLanguage.Problem;
import org.eclipse.viatra.solver.language.solverLanguage.RealObject;
import org.eclipse.viatra.solver.language.solverLanguage.RealSymbol;
@@ -144,8 +142,6 @@ public class SolverLanguageFactoryImpl extends EFactoryImpl implements SolverLan
case SolverLanguagePackage.REAL_OBJECT: return createRealObject();
case SolverLanguagePackage.STRING_OBJECT: return createStringObject();
case SolverLanguagePackage.PREDICATE: return createPredicate();
- case SolverLanguagePackage.PREDICATE_SYMBOL: return createPredicateSymbol();
- case SolverLanguagePackage.ERROR_PREDICATE: return createErrorPredicate();
case SolverLanguagePackage.PARAMETER: return createParameter();
case SolverLanguagePackage.PATTERN_BODY: return createPatternBody();
case SolverLanguagePackage.POLARITY: return createPolarity();
@@ -489,30 +485,6 @@ public class SolverLanguageFactoryImpl extends EFactoryImpl implements SolverLan
return predicate;
}
- /**
- *
- *
- * @generated
- */
- @Override
- public PredicateSymbol createPredicateSymbol()
- {
- PredicateSymbolImpl predicateSymbol = new PredicateSymbolImpl();
- return predicateSymbol;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public ErrorPredicate createErrorPredicate()
- {
- ErrorPredicateImpl errorPredicate = new ErrorPredicateImpl();
- return errorPredicate;
- }
-
/**
*
*
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 9e5d391b..f617be3f 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
@@ -28,7 +28,6 @@ import org.eclipse.viatra.solver.language.solverLanguage.DataSymbol;
import org.eclipse.viatra.solver.language.solverLanguage.DefaultInterpretation;
import org.eclipse.viatra.solver.language.solverLanguage.EnumInterpretation;
import org.eclipse.viatra.solver.language.solverLanguage.EqualsSymbol;
-import org.eclipse.viatra.solver.language.solverLanguage.ErrorPredicate;
import org.eclipse.viatra.solver.language.solverLanguage.ExistSymbol;
import org.eclipse.viatra.solver.language.solverLanguage.False;
import org.eclipse.viatra.solver.language.solverLanguage.FieldRelationInterpretation;
@@ -48,7 +47,6 @@ import org.eclipse.viatra.solver.language.solverLanguage.PatternBody;
import org.eclipse.viatra.solver.language.solverLanguage.Polarity;
import org.eclipse.viatra.solver.language.solverLanguage.Positive;
import org.eclipse.viatra.solver.language.solverLanguage.Predicate;
-import org.eclipse.viatra.solver.language.solverLanguage.PredicateSymbol;
import org.eclipse.viatra.solver.language.solverLanguage.Problem;
import org.eclipse.viatra.solver.language.solverLanguage.RealObject;
import org.eclipse.viatra.solver.language.solverLanguage.RealSymbol;
@@ -255,20 +253,6 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
*/
private EClass predicateEClass = null;
- /**
- *
- *
- * @generated
- */
- private EClass predicateSymbolEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass errorPredicateEClass = null;
-
/**
*
*
@@ -927,9 +911,9 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
* @generated
*/
@Override
- public EReference getPredicate_Parameters()
+ public EAttribute getPredicate_IsError()
{
- return (EReference)predicateEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)predicateEClass.getEStructuralFeatures().get(0);
}
/**
@@ -938,7 +922,7 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
* @generated
*/
@Override
- public EReference getPredicate_Bodies()
+ public EReference getPredicate_Symbol()
{
return (EReference)predicateEClass.getEStructuralFeatures().get(1);
}
@@ -949,31 +933,9 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
* @generated
*/
@Override
- public EClass getPredicateSymbol()
- {
- return predicateSymbolEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getPredicateSymbol_Symbol()
- {
- return (EReference)predicateSymbolEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getErrorPredicate()
+ public EReference getPredicate_Parameters()
{
- return errorPredicateEClass;
+ return (EReference)predicateEClass.getEStructuralFeatures().get(2);
}
/**
@@ -982,9 +944,9 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
* @generated
*/
@Override
- public EAttribute getErrorPredicate_Name()
+ public EReference getPredicate_Bodies()
{
- return (EAttribute)errorPredicateEClass.getEStructuralFeatures().get(0);
+ return (EReference)predicateEClass.getEStructuralFeatures().get(3);
}
/**
@@ -1685,15 +1647,11 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
createEAttribute(stringObjectEClass, STRING_OBJECT__VALUE);
predicateEClass = createEClass(PREDICATE);
+ createEAttribute(predicateEClass, PREDICATE__IS_ERROR);
+ createEReference(predicateEClass, PREDICATE__SYMBOL);
createEReference(predicateEClass, PREDICATE__PARAMETERS);
createEReference(predicateEClass, PREDICATE__BODIES);
- predicateSymbolEClass = createEClass(PREDICATE_SYMBOL);
- createEReference(predicateSymbolEClass, PREDICATE_SYMBOL__SYMBOL);
-
- errorPredicateEClass = createEClass(ERROR_PREDICATE);
- createEAttribute(errorPredicateEClass, ERROR_PREDICATE__NAME);
-
parameterEClass = createEClass(PARAMETER);
createEReference(parameterEClass, PARAMETER__VARIABLE);
createEReference(parameterEClass, PARAMETER__TYPE);
@@ -1818,6 +1776,7 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
stringSymbolEClass.getESuperTypes().add(this.getDataSymbol());
objectEClass.getESuperTypes().add(this.getComplexObject());
namedObjectEClass.getESuperTypes().add(this.getObject());
+ namedObjectEClass.getESuperTypes().add(this.getLiteral());
unnamedObjectEClass.getESuperTypes().add(this.getObject());
dataObjectEClass.getESuperTypes().add(this.getObject());
dataObjectEClass.getESuperTypes().add(this.getLiteral());
@@ -1826,8 +1785,6 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
realObjectEClass.getESuperTypes().add(this.getDataObject());
stringObjectEClass.getESuperTypes().add(this.getDataObject());
predicateEClass.getESuperTypes().add(this.getStatement());
- predicateSymbolEClass.getESuperTypes().add(this.getPredicate());
- errorPredicateEClass.getESuperTypes().add(this.getPredicate());
variableEClass.getESuperTypes().add(this.getLiteral());
allInstancesEClass.getESuperTypes().add(this.getComplexObject());
allObjectsEClass.getESuperTypes().add(this.getComplexObject());
@@ -1910,15 +1867,11 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
initEAttribute(getStringObject_Value(), ecorePackage.getEString(), "value", null, 0, 1, StringObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(predicateEClass, Predicate.class, "Predicate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getPredicate_IsError(), ecorePackage.getEBoolean(), "isError", null, 0, 1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getPredicate_Symbol(), this.getModelSymbol(), null, "symbol", null, 0, 1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getPredicate_Parameters(), this.getParameter(), null, "parameters", null, 0, -1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getPredicate_Bodies(), this.getPatternBody(), null, "bodies", null, 0, -1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(predicateSymbolEClass, PredicateSymbol.class, "PredicateSymbol", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPredicateSymbol_Symbol(), this.getModelSymbol(), null, "symbol", null, 0, 1, PredicateSymbol.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(errorPredicateEClass, ErrorPredicate.class, "ErrorPredicate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getErrorPredicate_Name(), ecorePackage.getEString(), "name", null, 0, 1, ErrorPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
initEClass(parameterEClass, Parameter.class, "Parameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getParameter_Variable(), this.getVariable(), null, "variable", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getParameter_Type(), this.getSymbol(), null, "type", null, 0, 1, Parameter.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/util/SolverLanguageAdapterFactory.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java
index e76e359a..9931598c 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
@@ -28,7 +28,6 @@ import org.eclipse.viatra.solver.language.solverLanguage.DataSymbol;
import org.eclipse.viatra.solver.language.solverLanguage.DefaultInterpretation;
import org.eclipse.viatra.solver.language.solverLanguage.EnumInterpretation;
import org.eclipse.viatra.solver.language.solverLanguage.EqualsSymbol;
-import org.eclipse.viatra.solver.language.solverLanguage.ErrorPredicate;
import org.eclipse.viatra.solver.language.solverLanguage.ExistSymbol;
import org.eclipse.viatra.solver.language.solverLanguage.False;
import org.eclipse.viatra.solver.language.solverLanguage.FieldRelationInterpretation;
@@ -48,7 +47,6 @@ import org.eclipse.viatra.solver.language.solverLanguage.PatternBody;
import org.eclipse.viatra.solver.language.solverLanguage.Polarity;
import org.eclipse.viatra.solver.language.solverLanguage.Positive;
import org.eclipse.viatra.solver.language.solverLanguage.Predicate;
-import org.eclipse.viatra.solver.language.solverLanguage.PredicateSymbol;
import org.eclipse.viatra.solver.language.solverLanguage.Problem;
import org.eclipse.viatra.solver.language.solverLanguage.RealObject;
import org.eclipse.viatra.solver.language.solverLanguage.RealSymbol;
@@ -258,16 +256,6 @@ public class SolverLanguageAdapterFactory extends AdapterFactoryImpl
return createPredicateAdapter();
}
@Override
- public Adapter casePredicateSymbol(PredicateSymbol object)
- {
- return createPredicateSymbolAdapter();
- }
- @Override
- public Adapter caseErrorPredicate(ErrorPredicate object)
- {
- return createErrorPredicateAdapter();
- }
- @Override
public Adapter caseParameter(Parameter object)
{
return createParameterAdapter();
@@ -809,36 +797,6 @@ public class SolverLanguageAdapterFactory extends AdapterFactoryImpl
return null;
}
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateSymbol Predicate Symbol}'.
- *
- * 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.PredicateSymbol
- * @generated
- */
- public Adapter createPredicateSymbolAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ErrorPredicate Error Predicate}'.
- *
- * 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.ErrorPredicate
- * @generated
- */
- public Adapter createErrorPredicateAdapter()
- {
- return null;
- }
-
/**
* Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Parameter Parameter}'.
*
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 9bc874e3..6f6bcd17 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
@@ -26,7 +26,6 @@ import org.eclipse.viatra.solver.language.solverLanguage.DataSymbol;
import org.eclipse.viatra.solver.language.solverLanguage.DefaultInterpretation;
import org.eclipse.viatra.solver.language.solverLanguage.EnumInterpretation;
import org.eclipse.viatra.solver.language.solverLanguage.EqualsSymbol;
-import org.eclipse.viatra.solver.language.solverLanguage.ErrorPredicate;
import org.eclipse.viatra.solver.language.solverLanguage.ExistSymbol;
import org.eclipse.viatra.solver.language.solverLanguage.False;
import org.eclipse.viatra.solver.language.solverLanguage.FieldRelationInterpretation;
@@ -46,7 +45,6 @@ import org.eclipse.viatra.solver.language.solverLanguage.PatternBody;
import org.eclipse.viatra.solver.language.solverLanguage.Polarity;
import org.eclipse.viatra.solver.language.solverLanguage.Positive;
import org.eclipse.viatra.solver.language.solverLanguage.Predicate;
-import org.eclipse.viatra.solver.language.solverLanguage.PredicateSymbol;
import org.eclipse.viatra.solver.language.solverLanguage.Problem;
import org.eclipse.viatra.solver.language.solverLanguage.RealObject;
import org.eclipse.viatra.solver.language.solverLanguage.RealSymbol;
@@ -275,6 +273,7 @@ public class SolverLanguageSwitch extends Switch
NamedObject namedObject = (NamedObject)theEObject;
T result = caseNamedObject(namedObject);
if (result == null) result = caseObject(namedObject);
+ if (result == null) result = caseLiteral(namedObject);
if (result == null) result = caseComplexObject(namedObject);
if (result == null) result = defaultCase(theEObject);
return result;
@@ -350,24 +349,6 @@ public class SolverLanguageSwitch extends Switch
if (result == null) result = defaultCase(theEObject);
return result;
}
- case SolverLanguagePackage.PREDICATE_SYMBOL:
- {
- PredicateSymbol predicateSymbol = (PredicateSymbol)theEObject;
- T result = casePredicateSymbol(predicateSymbol);
- if (result == null) result = casePredicate(predicateSymbol);
- if (result == null) result = caseStatement(predicateSymbol);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SolverLanguagePackage.ERROR_PREDICATE:
- {
- ErrorPredicate errorPredicate = (ErrorPredicate)theEObject;
- T result = caseErrorPredicate(errorPredicate);
- if (result == null) result = casePredicate(errorPredicate);
- if (result == null) result = caseStatement(errorPredicate);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
case SolverLanguagePackage.PARAMETER:
{
Parameter parameter = (Parameter)theEObject;
@@ -996,38 +977,6 @@ public class SolverLanguageSwitch extends Switch
return null;
}
- /**
- * Returns the result of interpreting the object as an instance of 'Predicate Symbol'.
- *
- * 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 'Predicate Symbol'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePredicateSymbol(PredicateSymbol object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Error Predicate'.
- *
- * 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 'Error Predicate'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseErrorPredicate(ErrorPredicate object)
- {
- return null;
- }
-
/**
* Returns the result of interpreting the object as an instance of 'Parameter'.
*
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 17a329ad..8a510a19 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
@@ -18,7 +18,7 @@ TruthValue: {True} 'true' | {False} 'false' | {Unknown} 'unknown' | {Error} '
///////////////////
Interpretation: BasicInterpretation | DefaultInterpretation | CDInterpretation;
-BasicInterpretation: symbol=Symbol '(' objects+=ComplexObject* ')' ':' value = TruthValue;
+BasicInterpretation: symbol=Symbol ('(' (objects+=ComplexObject (',' objects+=ComplexObject)*)? ')')? ':' value = TruthValue;
Symbol: ModelSymbol | PartialitySymbol | DataSymbol;
@@ -48,22 +48,20 @@ StringObject: value = STRING;
///////////////////
// Predicte grammar
///////////////////
-Predicate: PredicateSymbol | ErrorPredicate;
-PredicateSymbol:
- 'predicate' symbol = ModelSymbol '(' parameters += Parameter* ')' ':' ('false' | (bodies += PatternBody ('|' bodies += PatternBody)*)) '.'
-;
-ErrorPredicate:
- {ErrorPredicate} 'error' (name = ID)? ('(' parameters += Parameter* ')') ':' ('false' | (bodies += PatternBody ('|' bodies += PatternBody)*)) '.'
+
+Predicate:
+ (isError?='error')? symbol = ModelSymbol ('(' (parameters += Parameter (',' parameters += Parameter)*)? ')')? ':-' ('false' | (bodies += PatternBody ('|' bodies += PatternBody)*)) '.'
;
Parameter: variable = Variable (':' type = Symbol)?;
PatternBody: {PatternBody} ('true' | constraints += Constraint*) ;
Polarity: {Positive} '+' | {Negative} '-';
-Constraint: (polarity = Polarity)? symbol = ModelSymbol (
- ( '(' params += Literal* ')') | (closureType = ClosureType '(' params += Literal params += Literal ')'));
-
+Constraint: (polarity = Polarity)? symbol = ModelSymbol
+ (('(' params += Literal? (',' params += Literal)* ')')?)
+ |
+ (closureType=ClosureType '(' params += Literal? (',' params += Literal)* ')');
ClosureType: {ReflexiveClosure} '*' | {IrreflexiveClosure} '+';
-Literal: Variable | DataObject;
+Literal: Variable | DataObject | NamedObject;
Variable: name = ID;
///////////////////
@@ -83,13 +81,13 @@ DefaultInterpretation: 'default' interpretation = BasicInterpretation;
///////////////////
CDInterpretation: ClassInterpretation | EnumInterpretation| GlobalRelationInterpretation;
ClassInterpretation:
- abstract?='abstract' 'class' symbol = ModelSymbol ('extends' supertypes += ModelSymbol+)?'{'
+ (abstract?='abstract')? 'class' symbol = ModelSymbol ('extends' supertypes += ModelSymbol+)?'{'
fielt += FieldRelationInterpretation*
'}'
;
EnumInterpretation: 'enum' Symbol = ModelSymbol '{' objects+=NamedObject+ '}';
-FieldRelationInterpretation: containment ?= 'containment' symbol = ModelSymbol ':' multiplicity = MultiplicityDefinition? target = Symbol;
-GlobalRelationInterpretation: containment ?= 'containment' 'relation' symbol = ModelSymbol ':' sourceMultiplicity = MultiplicityDefinition? source = Symbol targetMultiplicity = MultiplicityDefinition? target = Symbol;
+FieldRelationInterpretation: (containment ?= 'containment')? symbol = ModelSymbol ':' multiplicity = MultiplicityDefinition? target = Symbol;
+GlobalRelationInterpretation: (containment ?= 'containment')? 'relation' symbol = ModelSymbol ':' sourceMultiplicity = MultiplicityDefinition? source = Symbol targetMultiplicity = MultiplicityDefinition? target = Symbol;
MultiplicityDefinition: lower = INT '..' (upper = INT | unlimitedUpper?='*');
////SymbolIntroduction : Type | GlobalRelation | Predicate;
--
cgit v1.2.3-70-g09d2