From 419e76265ecbdf65e960e0624be006d31ed1e191 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Fri, 8 May 2020 18:28:19 +0200 Subject: Update solver language grammar First version, still needs TokenSource and Linker to work. --- .../ide/AbstractSolverLanguageIdeModule.java | 2 +- .../PartialSolverLanguageContentAssistParser.java | 2 +- .../contentassist/antlr/SolverLanguageParser.java | 296 +- .../antlr/internal/InternalSolverLanguage.g | 7061 ++++-- .../antlr/internal/InternalSolverLanguage.tokens | 144 +- .../internal/InternalSolverLanguageLexer.java | 2451 +- .../internal/InternalSolverLanguageParser.java | 25414 ++++++++++++++----- 7 files changed, 25973 insertions(+), 9397 deletions(-) (limited to 'Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver') diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/AbstractSolverLanguageIdeModule.java b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/AbstractSolverLanguageIdeModule.java index 2962a81a..71f91821 100644 --- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/AbstractSolverLanguageIdeModule.java +++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/AbstractSolverLanguageIdeModule.java @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.18.0.M3 + * generated by Xtext 2.21.0 */ package org.eclipse.viatra.solver.language.ide; diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/PartialSolverLanguageContentAssistParser.java b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/PartialSolverLanguageContentAssistParser.java index ee6e19b9..2d8e8dcb 100644 --- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/PartialSolverLanguageContentAssistParser.java +++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/PartialSolverLanguageContentAssistParser.java @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.18.0.M3 + * generated by Xtext 2.21.0 */ package org.eclipse.viatra.solver.language.ide.contentassist.antlr; 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 7f135fb2..fa130139 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 @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.18.0.M3 + * generated by Xtext 2.21.0 */ package org.eclipse.viatra.solver.language.ide.contentassist.antlr; @@ -31,120 +31,190 @@ public class SolverLanguageParser extends AbstractContentAssistParser { } private static void init(ImmutableMap.Builder builder, SolverLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getStatementAccess().getAlternatives(), "rule__Statement__Alternatives"); - builder.put(grammarAccess.getBooleanValueAccess().getAlternatives(), "rule__BooleanValue__Alternatives"); - builder.put(grammarAccess.getTruthValueAccess().getAlternatives(), "rule__TruthValue__Alternatives"); - builder.put(grammarAccess.getInterpretationAccess().getAlternatives(), "rule__Interpretation__Alternatives"); - builder.put(grammarAccess.getSymbolAccess().getAlternatives(), "rule__Symbol__Alternatives"); - builder.put(grammarAccess.getPartialitySymbolAccess().getAlternatives(), "rule__PartialitySymbol__Alternatives"); - builder.put(grammarAccess.getDataSymbolAccess().getAlternatives(), "rule__DataSymbol__Alternatives"); - 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_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(), "rule__Constraint__Alternatives"); - builder.put(grammarAccess.getClosureTypeAccess().getAlternatives(), "rule__ClosureType__Alternatives"); + builder.put(grammarAccess.getStatementAccess().getAlternatives_0(), "rule__Statement__Alternatives_0"); + builder.put(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1(), "rule__AssertionOrDefinition__Alternatives_1"); + builder.put(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0(), "rule__PredicateDefinition__Alternatives_0"); + builder.put(grammarAccess.getExpressionAccess().getAlternatives(), "rule__Expression__Alternatives"); + builder.put(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1(), "rule__DisjunctiveExpression__Alternatives_1"); + builder.put(grammarAccess.getUnaryExpressionAccess().getAlternatives(), "rule__UnaryExpression__Alternatives"); + builder.put(grammarAccess.getAggregationExpressionAccess().getAlternatives(), "rule__AggregationExpression__Alternatives"); + builder.put(grammarAccess.getAtomicExpressionAccess().getAlternatives(), "rule__AtomicExpression__Alternatives"); + builder.put(grammarAccess.getCallAccess().getAlternatives_1(), "rule__Call__Alternatives_1"); + builder.put(grammarAccess.getArgumentAccess().getAlternatives(), "rule__Argument__Alternatives"); builder.put(grammarAccess.getLiteralAccess().getAlternatives(), "rule__Literal__Alternatives"); - builder.put(grammarAccess.getCDInterpretationAccess().getAlternatives(), "rule__CDInterpretation__Alternatives"); - builder.put(grammarAccess.getMultiplicityDefinitionAccess().getAlternatives_2(), "rule__MultiplicityDefinition__Alternatives_2"); - builder.put(grammarAccess.getREALLiteralAccess().getGroup(), "rule__REALLiteral__Group__0"); - builder.put(grammarAccess.getINTLiteralAccess().getGroup(), "rule__INTLiteral__Group__0"); - builder.put(grammarAccess.getBooleanValueAccess().getGroup_0(), "rule__BooleanValue__Group_0__0"); - builder.put(grammarAccess.getBooleanValueAccess().getGroup_1(), "rule__BooleanValue__Group_1__0"); - builder.put(grammarAccess.getTruthValueAccess().getGroup_0(), "rule__TruthValue__Group_0__0"); - builder.put(grammarAccess.getTruthValueAccess().getGroup_1(), "rule__TruthValue__Group_1__0"); - 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"); - builder.put(grammarAccess.getIntegerSymbolAccess().getGroup(), "rule__IntegerSymbol__Group__0"); - 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.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_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"); - builder.put(grammarAccess.getAllObjectsAccess().getGroup(), "rule__AllObjects__Group__0"); - builder.put(grammarAccess.getDefaultInterpretationAccess().getGroup(), "rule__DefaultInterpretation__Group__0"); - builder.put(grammarAccess.getClassInterpretationAccess().getGroup(), "rule__ClassInterpretation__Group__0"); - builder.put(grammarAccess.getClassInterpretationAccess().getGroup_3(), "rule__ClassInterpretation__Group_3__0"); - builder.put(grammarAccess.getEnumInterpretationAccess().getGroup(), "rule__EnumInterpretation__Group__0"); - builder.put(grammarAccess.getFieldRelationInterpretationAccess().getGroup(), "rule__FieldRelationInterpretation__Group__0"); - builder.put(grammarAccess.getGlobalRelationInterpretationAccess().getGroup(), "rule__GlobalRelationInterpretation__Group__0"); - builder.put(grammarAccess.getMultiplicityDefinitionAccess().getGroup(), "rule__MultiplicityDefinition__Group__0"); + builder.put(grammarAccess.getMultiplicityAccess().getAlternatives(), "rule__Multiplicity__Alternatives"); + builder.put(grammarAccess.getScopeDefinitionAccess().getAlternatives(), "rule__ScopeDefinition__Alternatives"); + builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1(), "rule__BoundedScopeDefinition__Alternatives_1"); + builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1(), "rule__LowerBoundedScopeDefinition__Alternatives_1"); + builder.put(grammarAccess.getUpperMultiplictyAccess().getAlternatives(), "rule__UpperMultiplicty__Alternatives"); + builder.put(grammarAccess.getQualifiedNameAccess().getAlternatives(), "rule__QualifiedName__Alternatives"); + builder.put(grammarAccess.getMetricTypeAccess().getAlternatives(), "rule__MetricType__Alternatives"); + builder.put(grammarAccess.getBinaryOperatorAccess().getAlternatives(), "rule__BinaryOperator__Alternatives"); + builder.put(grammarAccess.getComparisonOperatorAccess().getAlternatives(), "rule__ComparisonOperator__Alternatives"); + builder.put(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives(), "rule__AdditiveBinaryOperator__Alternatives"); + builder.put(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives(), "rule__MultiplicativeBinaryOperator__Alternatives"); + builder.put(grammarAccess.getUnaryOpAccess().getAlternatives(), "rule__UnaryOp__Alternatives"); + builder.put(grammarAccess.getAggregationOpAccess().getAlternatives(), "rule__AggregationOp__Alternatives"); + builder.put(grammarAccess.getLogicValueAccess().getAlternatives(), "rule__LogicValue__Alternatives"); + builder.put(grammarAccess.getObjectiveKindAccess().getAlternatives(), "rule__ObjectiveKind__Alternatives"); + builder.put(grammarAccess.getStatementAccess().getGroup(), "rule__Statement__Group__0"); + builder.put(grammarAccess.getAssertionOrDefinitionAccess().getGroup(), "rule__AssertionOrDefinition__Group__0"); + builder.put(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0(), "rule__AssertionOrDefinition__Group_1_0__0"); + builder.put(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1(), "rule__AssertionOrDefinition__Group_1_0_1__0"); + builder.put(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1(), "rule__AssertionOrDefinition__Group_1_1__0"); + builder.put(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2(), "rule__AssertionOrDefinition__Group_1_2__0"); + builder.put(grammarAccess.getPredicateDefinitionAccess().getGroup(), "rule__PredicateDefinition__Group__0"); + builder.put(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0(), "rule__PredicateDefinition__Group_0_0__0"); + builder.put(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1(), "rule__PredicateDefinition__Group_0_1__0"); + builder.put(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup(), "rule__UnnamedErrorPrediateDefinition__Group__0"); + builder.put(grammarAccess.getDefaultDefinitionAccess().getGroup(), "rule__DefaultDefinition__Group__0"); + builder.put(grammarAccess.getExternPredicateDefinitionAccess().getGroup(), "rule__ExternPredicateDefinition__Group__0"); + builder.put(grammarAccess.getMetricDefinitionAccess().getGroup(), "rule__MetricDefinition__Group__0"); + builder.put(grammarAccess.getExternMetricDefinitionAccess().getGroup(), "rule__ExternMetricDefinition__Group__0"); + builder.put(grammarAccess.getIfElseAccess().getGroup(), "rule__IfElse__Group__0"); + builder.put(grammarAccess.getDisjunctiveExpressionAccess().getGroup(), "rule__DisjunctiveExpression__Group__0"); + builder.put(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0(), "rule__DisjunctiveExpression__Group_1_0__0"); + builder.put(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1(), "rule__DisjunctiveExpression__Group_1_0_1__0"); + builder.put(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1(), "rule__DisjunctiveExpression__Group_1_1__0"); + builder.put(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4(), "rule__DisjunctiveExpression__Group_1_1_4__0"); + builder.put(grammarAccess.getCaseAccess().getGroup(), "rule__Case__Group__0"); + builder.put(grammarAccess.getConjunctiveExpressionAccess().getGroup(), "rule__ConjunctiveExpression__Group__0"); + builder.put(grammarAccess.getConjunctiveExpressionAccess().getGroup_1(), "rule__ConjunctiveExpression__Group_1__0"); + builder.put(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1(), "rule__ConjunctiveExpression__Group_1_1__0"); + builder.put(grammarAccess.getComparisonExpressionAccess().getGroup(), "rule__ComparisonExpression__Group__0"); + builder.put(grammarAccess.getComparisonExpressionAccess().getGroup_1(), "rule__ComparisonExpression__Group_1__0"); + builder.put(grammarAccess.getAdditiveExpressionAccess().getGroup(), "rule__AdditiveExpression__Group__0"); + builder.put(grammarAccess.getAdditiveExpressionAccess().getGroup_1(), "rule__AdditiveExpression__Group_1__0"); + builder.put(grammarAccess.getMultiplicativeExpressionAccess().getGroup(), "rule__MultiplicativeExpression__Group__0"); + builder.put(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1(), "rule__MultiplicativeExpression__Group_1__0"); + builder.put(grammarAccess.getExponentialExpressionAccess().getGroup(), "rule__ExponentialExpression__Group__0"); + builder.put(grammarAccess.getExponentialExpressionAccess().getGroup_1(), "rule__ExponentialExpression__Group_1__0"); + builder.put(grammarAccess.getUnaryExpressionAccess().getGroup_1(), "rule__UnaryExpression__Group_1__0"); + builder.put(grammarAccess.getCountAccess().getGroup(), "rule__Count__Group__0"); + builder.put(grammarAccess.getAggregationAccess().getGroup(), "rule__Aggregation__Group__0"); + builder.put(grammarAccess.getAtomicExpressionAccess().getGroup_0(), "rule__AtomicExpression__Group_0__0"); + builder.put(grammarAccess.getAtomicExpressionAccess().getGroup_0_1(), "rule__AtomicExpression__Group_0_1__0"); + builder.put(grammarAccess.getAtomicExpressionAccess().getGroup_3(), "rule__AtomicExpression__Group_3__0"); + builder.put(grammarAccess.getCallAccess().getGroup(), "rule__Call__Group__0"); + builder.put(grammarAccess.getArgumentListAccess().getGroup(), "rule__ArgumentList__Group__0"); + builder.put(grammarAccess.getArgumentListAccess().getGroup_2(), "rule__ArgumentList__Group_2__0"); + builder.put(grammarAccess.getArgumentListAccess().getGroup_2_1(), "rule__ArgumentList__Group_2_1__0"); + builder.put(grammarAccess.getStarArgumentAccess().getGroup(), "rule__StarArgument__Group__0"); + builder.put(grammarAccess.getTypedArgumentAccess().getGroup(), "rule__TypedArgument__Group__0"); + builder.put(grammarAccess.getTypedStarArgumentAccess().getGroup(), "rule__TypedStarArgument__Group__0"); + builder.put(grammarAccess.getIntervalAccess().getGroup(), "rule__Interval__Group__0"); + builder.put(grammarAccess.getInfinityLiteralAccess().getGroup(), "rule__InfinityLiteral__Group__0"); + builder.put(grammarAccess.getEmptyIntervalLiteralAccess().getGroup(), "rule__EmptyIntervalLiteral__Group__0"); + builder.put(grammarAccess.getClassDefinitionAccess().getGroup(), "rule__ClassDefinition__Group__0"); + builder.put(grammarAccess.getClassDefinitionAccess().getGroup_3(), "rule__ClassDefinition__Group_3__0"); + builder.put(grammarAccess.getClassDefinitionAccess().getGroup_3_2(), "rule__ClassDefinition__Group_3_2__0"); + builder.put(grammarAccess.getMemberDefinitionAccess().getGroup(), "rule__MemberDefinition__Group__0"); + builder.put(grammarAccess.getMemberDefinitionAccess().getGroup_4(), "rule__MemberDefinition__Group_4__0"); + builder.put(grammarAccess.getManyMultiplicityAccess().getGroup(), "rule__ManyMultiplicity__Group__0"); + builder.put(grammarAccess.getExactMultiplicityAccess().getGroup(), "rule__ExactMultiplicity__Group__0"); + builder.put(grammarAccess.getBoundedMultiplicityAccess().getGroup(), "rule__BoundedMultiplicity__Group__0"); + builder.put(grammarAccess.getExactScopeDefinitionAccess().getGroup(), "rule__ExactScopeDefinition__Group__0"); + builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getGroup(), "rule__BoundedScopeDefinition__Group__0"); + builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0(), "rule__BoundedScopeDefinition__Group_1_0__0"); + builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0(), "rule__BoundedScopeDefinition__Group_1_0_0__0"); + builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1(), "rule__BoundedScopeDefinition__Group_1_1__0"); + builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3(), "rule__BoundedScopeDefinition__Group_1_1_3__0"); + builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup(), "rule__LowerBoundedScopeDefinition__Group__0"); + builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0(), "rule__LowerBoundedScopeDefinition__Group_1_0__0"); + builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1(), "rule__LowerBoundedScopeDefinition__Group_1_1__0"); + builder.put(grammarAccess.getObjectiveDefinitionAccess().getGroup(), "rule__ObjectiveDefinition__Group__0"); + builder.put(grammarAccess.getRealAccess().getGroup(), "rule__Real__Group__0"); + builder.put(grammarAccess.getRealAccess().getGroup_1(), "rule__Real__Group_1__0"); + builder.put(grammarAccess.getQualifiedNameAccess().getGroup_0(), "rule__QualifiedName__Group_0__0"); + builder.put(grammarAccess.getQualifiedNameAccess().getGroup_0_1(), "rule__QualifiedName__Group_0_1__0"); builder.put(grammarAccess.getProblemAccess().getStatementsAssignment(), "rule__Problem__StatementsAssignment"); - builder.put(grammarAccess.getBasicInterpretationAccess().getSymbolAssignment_0(), "rule__BasicInterpretation__SymbolAssignment_0"); - 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"); - builder.put(grammarAccess.getBooleanObjectAccess().getValueAssignment(), "rule__BooleanObject__ValueAssignment"); - 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.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_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"); - builder.put(grammarAccess.getClassInterpretationAccess().getAbstractAssignment_0(), "rule__ClassInterpretation__AbstractAssignment_0"); - builder.put(grammarAccess.getClassInterpretationAccess().getSymbolAssignment_2(), "rule__ClassInterpretation__SymbolAssignment_2"); - builder.put(grammarAccess.getClassInterpretationAccess().getSupertypesAssignment_3_1(), "rule__ClassInterpretation__SupertypesAssignment_3_1"); - builder.put(grammarAccess.getClassInterpretationAccess().getFieltAssignment_5(), "rule__ClassInterpretation__FieltAssignment_5"); - builder.put(grammarAccess.getEnumInterpretationAccess().getSymbolAssignment_1(), "rule__EnumInterpretation__SymbolAssignment_1"); - builder.put(grammarAccess.getEnumInterpretationAccess().getObjectsAssignment_3(), "rule__EnumInterpretation__ObjectsAssignment_3"); - builder.put(grammarAccess.getFieldRelationInterpretationAccess().getContainmentAssignment_0(), "rule__FieldRelationInterpretation__ContainmentAssignment_0"); - builder.put(grammarAccess.getFieldRelationInterpretationAccess().getSymbolAssignment_1(), "rule__FieldRelationInterpretation__SymbolAssignment_1"); - builder.put(grammarAccess.getFieldRelationInterpretationAccess().getMultiplicityAssignment_3(), "rule__FieldRelationInterpretation__MultiplicityAssignment_3"); - builder.put(grammarAccess.getFieldRelationInterpretationAccess().getTargetAssignment_4(), "rule__FieldRelationInterpretation__TargetAssignment_4"); - builder.put(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentAssignment_0(), "rule__GlobalRelationInterpretation__ContainmentAssignment_0"); - builder.put(grammarAccess.getGlobalRelationInterpretationAccess().getSymbolAssignment_2(), "rule__GlobalRelationInterpretation__SymbolAssignment_2"); - builder.put(grammarAccess.getGlobalRelationInterpretationAccess().getSourceMultiplicityAssignment_4(), "rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4"); - builder.put(grammarAccess.getGlobalRelationInterpretationAccess().getSourceAssignment_5(), "rule__GlobalRelationInterpretation__SourceAssignment_5"); - builder.put(grammarAccess.getGlobalRelationInterpretationAccess().getTargetMultiplicityAssignment_6(), "rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6"); - builder.put(grammarAccess.getGlobalRelationInterpretationAccess().getTargetAssignment_7(), "rule__GlobalRelationInterpretation__TargetAssignment_7"); - builder.put(grammarAccess.getMultiplicityDefinitionAccess().getLowerAssignment_0(), "rule__MultiplicityDefinition__LowerAssignment_0"); - builder.put(grammarAccess.getMultiplicityDefinitionAccess().getUpperAssignment_2_0(), "rule__MultiplicityDefinition__UpperAssignment_2_0"); - builder.put(grammarAccess.getMultiplicityDefinitionAccess().getUnlimitedUpperAssignment_2_1(), "rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1"); + builder.put(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1(), "rule__AssertionOrDefinition__RangeAssignment_1_0_1_1"); + builder.put(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2(), "rule__AssertionOrDefinition__BodyAssignment_1_1_2"); + builder.put(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2(), "rule__AssertionOrDefinition__BodyAssignment_1_2_2"); + builder.put(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0(), "rule__PredicateDefinition__FunctionalAssignment_0_0_0"); + builder.put(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1(), "rule__PredicateDefinition__ErrorAssignment_0_0_1"); + builder.put(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0(), "rule__PredicateDefinition__ErrorAssignment_0_1_0"); + builder.put(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1(), "rule__PredicateDefinition__FunctionalAssignment_0_1_1"); + builder.put(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1(), "rule__PredicateDefinition__HeadAssignment_1"); + builder.put(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3(), "rule__PredicateDefinition__BodyAssignment_3"); + builder.put(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1(), "rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1"); + builder.put(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3(), "rule__UnnamedErrorPrediateDefinition__BodyAssignment_3"); + builder.put(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1(), "rule__DefaultDefinition__HeadAssignment_1"); + builder.put(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3(), "rule__DefaultDefinition__RangeAssignment_3"); + builder.put(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1(), "rule__ExternPredicateDefinition__HeadAssignment_1"); + builder.put(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0(), "rule__MetricDefinition__TypeAssignment_0"); + builder.put(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1(), "rule__MetricDefinition__HeadAssignment_1"); + builder.put(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3(), "rule__MetricDefinition__BodyAssignment_3"); + builder.put(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1(), "rule__ExternMetricDefinition__TypeAssignment_1"); + builder.put(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2(), "rule__ExternMetricDefinition__HeadAssignment_2"); + builder.put(grammarAccess.getIfElseAccess().getConditionAssignment_1(), "rule__IfElse__ConditionAssignment_1"); + builder.put(grammarAccess.getIfElseAccess().getThenAssignment_3(), "rule__IfElse__ThenAssignment_3"); + builder.put(grammarAccess.getIfElseAccess().getElseAssignment_5(), "rule__IfElse__ElseAssignment_5"); + builder.put(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1(), "rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1"); + builder.put(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2(), "rule__DisjunctiveExpression__BodyAssignment_1_1_2"); + builder.put(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1(), "rule__DisjunctiveExpression__CasesAssignment_1_1_4_1"); + builder.put(grammarAccess.getCaseAccess().getConditionAssignment_0(), "rule__Case__ConditionAssignment_0"); + builder.put(grammarAccess.getCaseAccess().getBodyAssignment_2(), "rule__Case__BodyAssignment_2"); + builder.put(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1(), "rule__ConjunctiveExpression__ChildrenAssignment_1_1_1"); + builder.put(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1(), "rule__ComparisonExpression__OpAssignment_1_1"); + builder.put(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2(), "rule__ComparisonExpression__RightAssignment_1_2"); + builder.put(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1(), "rule__AdditiveExpression__OpAssignment_1_1"); + builder.put(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2(), "rule__AdditiveExpression__RightAssignment_1_2"); + builder.put(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1(), "rule__MultiplicativeExpression__OpAssignment_1_1"); + builder.put(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2(), "rule__MultiplicativeExpression__RightAssignment_1_2"); + builder.put(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1(), "rule__ExponentialExpression__OpAssignment_1_1"); + builder.put(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2(), "rule__ExponentialExpression__RightAssignment_1_2"); + builder.put(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1(), "rule__UnaryExpression__OpAssignment_1_1"); + builder.put(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2(), "rule__UnaryExpression__BodyAssignment_1_2"); + builder.put(grammarAccess.getCountAccess().getBodyAssignment_2(), "rule__Count__BodyAssignment_2"); + builder.put(grammarAccess.getAggregationAccess().getOpAssignment_0(), "rule__Aggregation__OpAssignment_0"); + builder.put(grammarAccess.getAggregationAccess().getBodyAssignment_2(), "rule__Aggregation__BodyAssignment_2"); + builder.put(grammarAccess.getAggregationAccess().getConditionAssignment_4(), "rule__Aggregation__ConditionAssignment_4"); + builder.put(grammarAccess.getAtomicExpressionAccess().getArgumentListAssignment_0_1_1(), "rule__AtomicExpression__ArgumentListAssignment_0_1_1"); + builder.put(grammarAccess.getCallAccess().getFunctorAssignment_0(), "rule__Call__FunctorAssignment_0"); + builder.put(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0(), "rule__Call__TransitiveClosureAssignment_1_0"); + builder.put(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1(), "rule__Call__ReflexiveTransitiveClosureAssignment_1_1"); + builder.put(grammarAccess.getCallAccess().getArgumentListAssignment_2(), "rule__Call__ArgumentListAssignment_2"); + builder.put(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0(), "rule__ArgumentList__ArgumentsAssignment_2_0"); + builder.put(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1(), "rule__ArgumentList__ArgumentsAssignment_2_1_1"); + builder.put(grammarAccess.getExpressionArgumentAccess().getBodyAssignment(), "rule__ExpressionArgument__BodyAssignment"); + builder.put(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0(), "rule__TypedArgument__TypeAssignment_0"); + builder.put(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1(), "rule__TypedArgument__VariableAssignment_1"); + builder.put(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0(), "rule__TypedStarArgument__TypeAssignment_0"); + builder.put(grammarAccess.getReferenceAccess().getReferredAssignment(), "rule__Reference__ReferredAssignment"); + builder.put(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1(), "rule__Interval__LowerBoundAssignment_1"); + builder.put(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3(), "rule__Interval__UpperBoundAssignment_3"); + builder.put(grammarAccess.getLogicLiteralAccess().getValueAssignment(), "rule__LogicLiteral__ValueAssignment"); + builder.put(grammarAccess.getNumericLiteralAccess().getValueAssignment(), "rule__NumericLiteral__ValueAssignment"); + builder.put(grammarAccess.getStringLiteralAccess().getValueAssignment(), "rule__StringLiteral__ValueAssignment"); + builder.put(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0(), "rule__ClassDefinition__AbstractAssignment_0"); + builder.put(grammarAccess.getClassDefinitionAccess().getNameAssignment_2(), "rule__ClassDefinition__NameAssignment_2"); + builder.put(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1(), "rule__ClassDefinition__SuperclassesAssignment_3_1"); + builder.put(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1(), "rule__ClassDefinition__SuperclassesAssignment_3_2_1"); + builder.put(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5(), "rule__ClassDefinition__MembersAssignment_5"); + builder.put(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0(), "rule__MemberDefinition__ContainmentAssignment_0"); + builder.put(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1(), "rule__MemberDefinition__TypeAssignment_1"); + builder.put(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2(), "rule__MemberDefinition__MultiplicityAssignment_2"); + builder.put(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3(), "rule__MemberDefinition__NameAssignment_3"); + builder.put(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1(), "rule__MemberDefinition__OppositeAssignment_4_1"); + builder.put(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1(), "rule__ExactMultiplicity__MultiplicityAssignment_1"); + builder.put(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1(), "rule__BoundedMultiplicity__LowerBoundAssignment_1"); + builder.put(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3(), "rule__BoundedMultiplicity__UpperBoundAssignment_3"); + builder.put(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1(), "rule__ExactScopeDefinition__TypeAssignment_1"); + builder.put(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3(), "rule__ExactScopeDefinition__ExactScopeAssignment_3"); + builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0(), "rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0"); + builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1(), "rule__BoundedScopeDefinition__TypeAssignment_1_0_1"); + builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3(), "rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3"); + builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0(), "rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0"); + builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2(), "rule__BoundedScopeDefinition__TypeAssignment_1_1_2"); + builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1(), "rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1"); + builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0(), "rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0"); + builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2(), "rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2"); + builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0(), "rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0"); + builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2(), "rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2"); + builder.put(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0(), "rule__ObjectiveDefinition__KindAssignment_0"); + builder.put(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1(), "rule__ObjectiveDefinition__ObjectiveAssignment_1"); + builder.put(grammarAccess.getNamedElementAccess().getNameAssignment(), "rule__NamedElement__NameAssignment"); } } 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 df8f4ea3..2e277376 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 @@ -1,10 +1,11 @@ /* - * generated by Xtext 2.18.0.M3 + * generated by Xtext 2.21.0 */ grammar InternalSolverLanguage; options { superClass=AbstractInternalContentAssistParser; + backtrack=true; } @lexer::header { @@ -90,1670 +91,4888 @@ ruleStatement } : ( - { before(grammarAccess.getStatementAccess().getAlternatives()); } - (rule__Statement__Alternatives) - { after(grammarAccess.getStatementAccess().getAlternatives()); } + { before(grammarAccess.getStatementAccess().getGroup()); } + (rule__Statement__Group__0) + { after(grammarAccess.getStatementAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleREALLiteral -entryRuleREALLiteral +// Entry rule entryRuleAssertionOrDefinition +entryRuleAssertionOrDefinition : -{ before(grammarAccess.getREALLiteralRule()); } - ruleREALLiteral -{ after(grammarAccess.getREALLiteralRule()); } +{ before(grammarAccess.getAssertionOrDefinitionRule()); } + ruleAssertionOrDefinition +{ after(grammarAccess.getAssertionOrDefinitionRule()); } EOF ; -// Rule REALLiteral -ruleREALLiteral +// Rule AssertionOrDefinition +ruleAssertionOrDefinition @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getREALLiteralAccess().getGroup()); } - (rule__REALLiteral__Group__0) - { after(grammarAccess.getREALLiteralAccess().getGroup()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup()); } + (rule__AssertionOrDefinition__Group__0) + { after(grammarAccess.getAssertionOrDefinitionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleINTLiteral -entryRuleINTLiteral +// Entry rule entryRulePredicateDefinition +entryRulePredicateDefinition : -{ before(grammarAccess.getINTLiteralRule()); } - ruleINTLiteral -{ after(grammarAccess.getINTLiteralRule()); } +{ before(grammarAccess.getPredicateDefinitionRule()); } + rulePredicateDefinition +{ after(grammarAccess.getPredicateDefinitionRule()); } EOF ; -// Rule INTLiteral -ruleINTLiteral +// Rule PredicateDefinition +rulePredicateDefinition @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getINTLiteralAccess().getGroup()); } - (rule__INTLiteral__Group__0) - { after(grammarAccess.getINTLiteralAccess().getGroup()); } + { before(grammarAccess.getPredicateDefinitionAccess().getGroup()); } + (rule__PredicateDefinition__Group__0) + { after(grammarAccess.getPredicateDefinitionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleBooleanValue -entryRuleBooleanValue +// Entry rule entryRuleUnnamedErrorPrediateDefinition +entryRuleUnnamedErrorPrediateDefinition : -{ before(grammarAccess.getBooleanValueRule()); } - ruleBooleanValue -{ after(grammarAccess.getBooleanValueRule()); } +{ before(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); } + ruleUnnamedErrorPrediateDefinition +{ after(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); } EOF ; -// Rule BooleanValue -ruleBooleanValue +// Rule UnnamedErrorPrediateDefinition +ruleUnnamedErrorPrediateDefinition @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBooleanValueAccess().getAlternatives()); } - (rule__BooleanValue__Alternatives) - { after(grammarAccess.getBooleanValueAccess().getAlternatives()); } + { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup()); } + (rule__UnnamedErrorPrediateDefinition__Group__0) + { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleTruthValue -entryRuleTruthValue +// Entry rule entryRuleDefaultDefinition +entryRuleDefaultDefinition : -{ before(grammarAccess.getTruthValueRule()); } - ruleTruthValue -{ after(grammarAccess.getTruthValueRule()); } +{ before(grammarAccess.getDefaultDefinitionRule()); } + ruleDefaultDefinition +{ after(grammarAccess.getDefaultDefinitionRule()); } EOF ; -// Rule TruthValue -ruleTruthValue +// Rule DefaultDefinition +ruleDefaultDefinition @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getTruthValueAccess().getAlternatives()); } - (rule__TruthValue__Alternatives) - { after(grammarAccess.getTruthValueAccess().getAlternatives()); } + { before(grammarAccess.getDefaultDefinitionAccess().getGroup()); } + (rule__DefaultDefinition__Group__0) + { after(grammarAccess.getDefaultDefinitionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleInterpretation -entryRuleInterpretation +// Entry rule entryRuleExternPredicateDefinition +entryRuleExternPredicateDefinition : -{ before(grammarAccess.getInterpretationRule()); } - ruleInterpretation -{ after(grammarAccess.getInterpretationRule()); } +{ before(grammarAccess.getExternPredicateDefinitionRule()); } + ruleExternPredicateDefinition +{ after(grammarAccess.getExternPredicateDefinitionRule()); } EOF ; -// Rule Interpretation -ruleInterpretation +// Rule ExternPredicateDefinition +ruleExternPredicateDefinition @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getInterpretationAccess().getAlternatives()); } - (rule__Interpretation__Alternatives) - { after(grammarAccess.getInterpretationAccess().getAlternatives()); } + { before(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); } + (rule__ExternPredicateDefinition__Group__0) + { after(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleBasicInterpretation -entryRuleBasicInterpretation +// Entry rule entryRuleMetricDefinition +entryRuleMetricDefinition : -{ before(grammarAccess.getBasicInterpretationRule()); } - ruleBasicInterpretation -{ after(grammarAccess.getBasicInterpretationRule()); } +{ before(grammarAccess.getMetricDefinitionRule()); } + ruleMetricDefinition +{ after(grammarAccess.getMetricDefinitionRule()); } EOF ; -// Rule BasicInterpretation -ruleBasicInterpretation +// Rule MetricDefinition +ruleMetricDefinition @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBasicInterpretationAccess().getGroup()); } - (rule__BasicInterpretation__Group__0) - { after(grammarAccess.getBasicInterpretationAccess().getGroup()); } + { before(grammarAccess.getMetricDefinitionAccess().getGroup()); } + (rule__MetricDefinition__Group__0) + { after(grammarAccess.getMetricDefinitionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleSymbol -entryRuleSymbol +// Entry rule entryRuleExternMetricDefinition +entryRuleExternMetricDefinition : -{ before(grammarAccess.getSymbolRule()); } - ruleSymbol -{ after(grammarAccess.getSymbolRule()); } +{ before(grammarAccess.getExternMetricDefinitionRule()); } + ruleExternMetricDefinition +{ after(grammarAccess.getExternMetricDefinitionRule()); } EOF ; -// Rule Symbol -ruleSymbol +// Rule ExternMetricDefinition +ruleExternMetricDefinition @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getSymbolAccess().getAlternatives()); } - (rule__Symbol__Alternatives) - { after(grammarAccess.getSymbolAccess().getAlternatives()); } + { before(grammarAccess.getExternMetricDefinitionAccess().getGroup()); } + (rule__ExternMetricDefinition__Group__0) + { after(grammarAccess.getExternMetricDefinitionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleModelSymbol -entryRuleModelSymbol +// Entry rule entryRuleExpression +entryRuleExpression : -{ before(grammarAccess.getModelSymbolRule()); } - ruleModelSymbol -{ after(grammarAccess.getModelSymbolRule()); } +{ before(grammarAccess.getExpressionRule()); } + ruleExpression +{ after(grammarAccess.getExpressionRule()); } EOF ; -// Rule ModelSymbol -ruleModelSymbol +// Rule Expression +ruleExpression @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getModelSymbolAccess().getNameAssignment()); } - (rule__ModelSymbol__NameAssignment) - { after(grammarAccess.getModelSymbolAccess().getNameAssignment()); } + { before(grammarAccess.getExpressionAccess().getAlternatives()); } + (rule__Expression__Alternatives) + { after(grammarAccess.getExpressionAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRulePartialitySymbol -entryRulePartialitySymbol +// Entry rule entryRuleIfElse +entryRuleIfElse : -{ before(grammarAccess.getPartialitySymbolRule()); } - rulePartialitySymbol -{ after(grammarAccess.getPartialitySymbolRule()); } +{ before(grammarAccess.getIfElseRule()); } + ruleIfElse +{ after(grammarAccess.getIfElseRule()); } EOF ; -// Rule PartialitySymbol -rulePartialitySymbol +// Rule IfElse +ruleIfElse @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPartialitySymbolAccess().getAlternatives()); } - (rule__PartialitySymbol__Alternatives) - { after(grammarAccess.getPartialitySymbolAccess().getAlternatives()); } + { before(grammarAccess.getIfElseAccess().getGroup()); } + (rule__IfElse__Group__0) + { after(grammarAccess.getIfElseAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleExistSymbol -entryRuleExistSymbol +// Entry rule entryRuleDisjunctiveExpression +entryRuleDisjunctiveExpression : -{ before(grammarAccess.getExistSymbolRule()); } - ruleExistSymbol -{ after(grammarAccess.getExistSymbolRule()); } +{ before(grammarAccess.getDisjunctiveExpressionRule()); } + ruleDisjunctiveExpression +{ after(grammarAccess.getDisjunctiveExpressionRule()); } EOF ; -// Rule ExistSymbol -ruleExistSymbol +// Rule DisjunctiveExpression +ruleDisjunctiveExpression @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExistSymbolAccess().getGroup()); } - (rule__ExistSymbol__Group__0) - { after(grammarAccess.getExistSymbolAccess().getGroup()); } + { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup()); } + (rule__DisjunctiveExpression__Group__0) + { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleEqualsSymbol -entryRuleEqualsSymbol +// Entry rule entryRuleCase +entryRuleCase : -{ before(grammarAccess.getEqualsSymbolRule()); } - ruleEqualsSymbol -{ after(grammarAccess.getEqualsSymbolRule()); } +{ before(grammarAccess.getCaseRule()); } + ruleCase +{ after(grammarAccess.getCaseRule()); } EOF ; -// Rule EqualsSymbol -ruleEqualsSymbol +// Rule Case +ruleCase @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getEqualsSymbolAccess().getGroup()); } - (rule__EqualsSymbol__Group__0) - { after(grammarAccess.getEqualsSymbolAccess().getGroup()); } + { before(grammarAccess.getCaseAccess().getGroup()); } + (rule__Case__Group__0) + { after(grammarAccess.getCaseAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleDataSymbol -entryRuleDataSymbol +// Entry rule entryRuleConjunctiveExpression +entryRuleConjunctiveExpression : -{ before(grammarAccess.getDataSymbolRule()); } - ruleDataSymbol -{ after(grammarAccess.getDataSymbolRule()); } +{ before(grammarAccess.getConjunctiveExpressionRule()); } + ruleConjunctiveExpression +{ after(grammarAccess.getConjunctiveExpressionRule()); } EOF ; -// Rule DataSymbol -ruleDataSymbol +// Rule ConjunctiveExpression +ruleConjunctiveExpression @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDataSymbolAccess().getAlternatives()); } - (rule__DataSymbol__Alternatives) - { after(grammarAccess.getDataSymbolAccess().getAlternatives()); } + { before(grammarAccess.getConjunctiveExpressionAccess().getGroup()); } + (rule__ConjunctiveExpression__Group__0) + { after(grammarAccess.getConjunctiveExpressionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleBooleanSymbol -entryRuleBooleanSymbol +// Entry rule entryRuleComparisonExpression +entryRuleComparisonExpression : -{ before(grammarAccess.getBooleanSymbolRule()); } - ruleBooleanSymbol -{ after(grammarAccess.getBooleanSymbolRule()); } +{ before(grammarAccess.getComparisonExpressionRule()); } + ruleComparisonExpression +{ after(grammarAccess.getComparisonExpressionRule()); } EOF ; -// Rule BooleanSymbol -ruleBooleanSymbol +// Rule ComparisonExpression +ruleComparisonExpression @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBooleanSymbolAccess().getGroup()); } - (rule__BooleanSymbol__Group__0) - { after(grammarAccess.getBooleanSymbolAccess().getGroup()); } + { before(grammarAccess.getComparisonExpressionAccess().getGroup()); } + (rule__ComparisonExpression__Group__0) + { after(grammarAccess.getComparisonExpressionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleIntegerSymbol -entryRuleIntegerSymbol +// Entry rule entryRuleAdditiveExpression +entryRuleAdditiveExpression : -{ before(grammarAccess.getIntegerSymbolRule()); } - ruleIntegerSymbol -{ after(grammarAccess.getIntegerSymbolRule()); } +{ before(grammarAccess.getAdditiveExpressionRule()); } + ruleAdditiveExpression +{ after(grammarAccess.getAdditiveExpressionRule()); } EOF ; -// Rule IntegerSymbol -ruleIntegerSymbol +// Rule AdditiveExpression +ruleAdditiveExpression @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIntegerSymbolAccess().getGroup()); } - (rule__IntegerSymbol__Group__0) - { after(grammarAccess.getIntegerSymbolAccess().getGroup()); } + { before(grammarAccess.getAdditiveExpressionAccess().getGroup()); } + (rule__AdditiveExpression__Group__0) + { after(grammarAccess.getAdditiveExpressionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleRealSymbol -entryRuleRealSymbol +// Entry rule entryRuleMultiplicativeExpression +entryRuleMultiplicativeExpression : -{ before(grammarAccess.getRealSymbolRule()); } - ruleRealSymbol -{ after(grammarAccess.getRealSymbolRule()); } +{ before(grammarAccess.getMultiplicativeExpressionRule()); } + ruleMultiplicativeExpression +{ after(grammarAccess.getMultiplicativeExpressionRule()); } EOF ; -// Rule RealSymbol -ruleRealSymbol +// Rule MultiplicativeExpression +ruleMultiplicativeExpression @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getRealSymbolAccess().getGroup()); } - (rule__RealSymbol__Group__0) - { after(grammarAccess.getRealSymbolAccess().getGroup()); } + { before(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); } + (rule__MultiplicativeExpression__Group__0) + { after(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleStringSymbol -entryRuleStringSymbol +// Entry rule entryRuleExponentialExpression +entryRuleExponentialExpression : -{ before(grammarAccess.getStringSymbolRule()); } - ruleStringSymbol -{ after(grammarAccess.getStringSymbolRule()); } +{ before(grammarAccess.getExponentialExpressionRule()); } + ruleExponentialExpression +{ after(grammarAccess.getExponentialExpressionRule()); } EOF ; -// Rule StringSymbol -ruleStringSymbol +// Rule ExponentialExpression +ruleExponentialExpression @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getStringSymbolAccess().getGroup()); } - (rule__StringSymbol__Group__0) - { after(grammarAccess.getStringSymbolAccess().getGroup()); } + { before(grammarAccess.getExponentialExpressionAccess().getGroup()); } + (rule__ExponentialExpression__Group__0) + { after(grammarAccess.getExponentialExpressionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleComplexObject -entryRuleComplexObject +// Entry rule entryRuleUnaryExpression +entryRuleUnaryExpression : -{ before(grammarAccess.getComplexObjectRule()); } - ruleComplexObject -{ after(grammarAccess.getComplexObjectRule()); } +{ before(grammarAccess.getUnaryExpressionRule()); } + ruleUnaryExpression +{ after(grammarAccess.getUnaryExpressionRule()); } EOF ; -// Rule ComplexObject -ruleComplexObject +// Rule UnaryExpression +ruleUnaryExpression @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getComplexObjectAccess().getAlternatives()); } - (rule__ComplexObject__Alternatives) - { after(grammarAccess.getComplexObjectAccess().getAlternatives()); } + { before(grammarAccess.getUnaryExpressionAccess().getAlternatives()); } + (rule__UnaryExpression__Alternatives) + { after(grammarAccess.getUnaryExpressionAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleObject -entryRuleObject +// Entry rule entryRuleAggregationExpression +entryRuleAggregationExpression : -{ before(grammarAccess.getObjectRule()); } - ruleObject -{ after(grammarAccess.getObjectRule()); } +{ before(grammarAccess.getAggregationExpressionRule()); } + ruleAggregationExpression +{ after(grammarAccess.getAggregationExpressionRule()); } EOF ; -// Rule Object -ruleObject +// Rule AggregationExpression +ruleAggregationExpression @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getObjectAccess().getAlternatives()); } - (rule__Object__Alternatives) - { after(grammarAccess.getObjectAccess().getAlternatives()); } + { before(grammarAccess.getAggregationExpressionAccess().getAlternatives()); } + (rule__AggregationExpression__Alternatives) + { after(grammarAccess.getAggregationExpressionAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleNamedObject -entryRuleNamedObject +// Entry rule entryRuleCount +entryRuleCount : -{ before(grammarAccess.getNamedObjectRule()); } - ruleNamedObject -{ after(grammarAccess.getNamedObjectRule()); } +{ before(grammarAccess.getCountRule()); } + ruleCount +{ after(grammarAccess.getCountRule()); } EOF ; -// Rule NamedObject -ruleNamedObject +// Rule Count +ruleCount @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getNamedObjectAccess().getGroup()); } - (rule__NamedObject__Group__0) - { after(grammarAccess.getNamedObjectAccess().getGroup()); } + { before(grammarAccess.getCountAccess().getGroup()); } + (rule__Count__Group__0) + { after(grammarAccess.getCountAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleUnnamedObject -entryRuleUnnamedObject +// Entry rule entryRuleAggregation +entryRuleAggregation : -{ before(grammarAccess.getUnnamedObjectRule()); } - ruleUnnamedObject -{ after(grammarAccess.getUnnamedObjectRule()); } +{ before(grammarAccess.getAggregationRule()); } + ruleAggregation +{ after(grammarAccess.getAggregationRule()); } EOF ; -// Rule UnnamedObject -ruleUnnamedObject +// Rule Aggregation +ruleAggregation @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnnamedObjectAccess().getNameAssignment()); } - (rule__UnnamedObject__NameAssignment) - { after(grammarAccess.getUnnamedObjectAccess().getNameAssignment()); } + { before(grammarAccess.getAggregationAccess().getGroup()); } + (rule__Aggregation__Group__0) + { after(grammarAccess.getAggregationAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleDataObject -entryRuleDataObject +// Entry rule entryRuleAtomicExpression +entryRuleAtomicExpression : -{ before(grammarAccess.getDataObjectRule()); } - ruleDataObject -{ after(grammarAccess.getDataObjectRule()); } +{ before(grammarAccess.getAtomicExpressionRule()); } + ruleAtomicExpression +{ after(grammarAccess.getAtomicExpressionRule()); } EOF ; -// Rule DataObject -ruleDataObject +// Rule AtomicExpression +ruleAtomicExpression @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDataObjectAccess().getAlternatives()); } - (rule__DataObject__Alternatives) - { after(grammarAccess.getDataObjectAccess().getAlternatives()); } + { before(grammarAccess.getAtomicExpressionAccess().getAlternatives()); } + (rule__AtomicExpression__Alternatives) + { after(grammarAccess.getAtomicExpressionAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleBooleanObject -entryRuleBooleanObject +// Entry rule entryRuleCall +entryRuleCall : -{ before(grammarAccess.getBooleanObjectRule()); } - ruleBooleanObject -{ after(grammarAccess.getBooleanObjectRule()); } +{ before(grammarAccess.getCallRule()); } + ruleCall +{ after(grammarAccess.getCallRule()); } EOF ; -// Rule BooleanObject -ruleBooleanObject +// Rule Call +ruleCall @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBooleanObjectAccess().getValueAssignment()); } - (rule__BooleanObject__ValueAssignment) - { after(grammarAccess.getBooleanObjectAccess().getValueAssignment()); } + { before(grammarAccess.getCallAccess().getGroup()); } + (rule__Call__Group__0) + { after(grammarAccess.getCallAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleIntObject -entryRuleIntObject +// Entry rule entryRuleArgumentList +entryRuleArgumentList : -{ before(grammarAccess.getIntObjectRule()); } - ruleIntObject -{ after(grammarAccess.getIntObjectRule()); } +{ before(grammarAccess.getArgumentListRule()); } + ruleArgumentList +{ after(grammarAccess.getArgumentListRule()); } EOF ; -// Rule IntObject -ruleIntObject +// Rule ArgumentList +ruleArgumentList @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIntObjectAccess().getValueAssignment()); } - (rule__IntObject__ValueAssignment) - { after(grammarAccess.getIntObjectAccess().getValueAssignment()); } + { before(grammarAccess.getArgumentListAccess().getGroup()); } + (rule__ArgumentList__Group__0) + { after(grammarAccess.getArgumentListAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleRealObject -entryRuleRealObject +// Entry rule entryRuleArgument +entryRuleArgument : -{ before(grammarAccess.getRealObjectRule()); } - ruleRealObject -{ after(grammarAccess.getRealObjectRule()); } +{ before(grammarAccess.getArgumentRule()); } + ruleArgument +{ after(grammarAccess.getArgumentRule()); } EOF ; -// Rule RealObject -ruleRealObject +// Rule Argument +ruleArgument @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getRealObjectAccess().getValueAssignment()); } - (rule__RealObject__ValueAssignment) - { after(grammarAccess.getRealObjectAccess().getValueAssignment()); } + { before(grammarAccess.getArgumentAccess().getAlternatives()); } + (rule__Argument__Alternatives) + { after(grammarAccess.getArgumentAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleStringObject -entryRuleStringObject +// Entry rule entryRuleExpressionArgument +entryRuleExpressionArgument : -{ before(grammarAccess.getStringObjectRule()); } - ruleStringObject -{ after(grammarAccess.getStringObjectRule()); } +{ before(grammarAccess.getExpressionArgumentRule()); } + ruleExpressionArgument +{ after(grammarAccess.getExpressionArgumentRule()); } EOF ; -// Rule StringObject -ruleStringObject +// Rule ExpressionArgument +ruleExpressionArgument @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getStringObjectAccess().getValueAssignment()); } - (rule__StringObject__ValueAssignment) - { after(grammarAccess.getStringObjectAccess().getValueAssignment()); } + { before(grammarAccess.getExpressionArgumentAccess().getBodyAssignment()); } + (rule__ExpressionArgument__BodyAssignment) + { after(grammarAccess.getExpressionArgumentAccess().getBodyAssignment()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRulePredicate -entryRulePredicate +// Entry rule entryRuleStarArgument +entryRuleStarArgument : -{ before(grammarAccess.getPredicateRule()); } - rulePredicate -{ after(grammarAccess.getPredicateRule()); } +{ before(grammarAccess.getStarArgumentRule()); } + ruleStarArgument +{ after(grammarAccess.getStarArgumentRule()); } EOF ; -// Rule Predicate -rulePredicate +// Rule StarArgument +ruleStarArgument @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getGroup()); } - (rule__Predicate__Group__0) - { after(grammarAccess.getPredicateAccess().getGroup()); } + { before(grammarAccess.getStarArgumentAccess().getGroup()); } + (rule__StarArgument__Group__0) + { after(grammarAccess.getStarArgumentAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleParameter -entryRuleParameter +// Entry rule entryRuleTypedArgument +entryRuleTypedArgument : -{ before(grammarAccess.getParameterRule()); } - ruleParameter -{ after(grammarAccess.getParameterRule()); } +{ before(grammarAccess.getTypedArgumentRule()); } + ruleTypedArgument +{ after(grammarAccess.getTypedArgumentRule()); } EOF ; -// Rule Parameter -ruleParameter +// Rule TypedArgument +ruleTypedArgument @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getParameterAccess().getGroup()); } - (rule__Parameter__Group__0) - { after(grammarAccess.getParameterAccess().getGroup()); } + { before(grammarAccess.getTypedArgumentAccess().getGroup()); } + (rule__TypedArgument__Group__0) + { after(grammarAccess.getTypedArgumentAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRulePatternBody -entryRulePatternBody +// Entry rule entryRuleTypedStarArgument +entryRuleTypedStarArgument : -{ before(grammarAccess.getPatternBodyRule()); } - rulePatternBody -{ after(grammarAccess.getPatternBodyRule()); } +{ before(grammarAccess.getTypedStarArgumentRule()); } + ruleTypedStarArgument +{ after(grammarAccess.getTypedStarArgumentRule()); } EOF ; -// Rule PatternBody -rulePatternBody +// Rule TypedStarArgument +ruleTypedStarArgument @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPatternBodyAccess().getGroup()); } - (rule__PatternBody__Group__0) - { after(grammarAccess.getPatternBodyAccess().getGroup()); } + { before(grammarAccess.getTypedStarArgumentAccess().getGroup()); } + (rule__TypedStarArgument__Group__0) + { after(grammarAccess.getTypedStarArgumentAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRulePolarity -entryRulePolarity +// Entry rule entryRuleReference +entryRuleReference : -{ before(grammarAccess.getPolarityRule()); } - rulePolarity -{ after(grammarAccess.getPolarityRule()); } +{ before(grammarAccess.getReferenceRule()); } + ruleReference +{ after(grammarAccess.getReferenceRule()); } EOF ; -// Rule Polarity -rulePolarity +// Rule Reference +ruleReference @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPolarityAccess().getAlternatives()); } - (rule__Polarity__Alternatives) - { after(grammarAccess.getPolarityAccess().getAlternatives()); } + { before(grammarAccess.getReferenceAccess().getReferredAssignment()); } + (rule__Reference__ReferredAssignment) + { after(grammarAccess.getReferenceAccess().getReferredAssignment()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleConstraint -entryRuleConstraint +// Entry rule entryRuleInterval +entryRuleInterval : -{ before(grammarAccess.getConstraintRule()); } - ruleConstraint -{ after(grammarAccess.getConstraintRule()); } +{ before(grammarAccess.getIntervalRule()); } + ruleInterval +{ after(grammarAccess.getIntervalRule()); } EOF ; -// Rule Constraint -ruleConstraint +// Rule Interval +ruleInterval @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getAlternatives()); } - (rule__Constraint__Alternatives) - { after(grammarAccess.getConstraintAccess().getAlternatives()); } + { before(grammarAccess.getIntervalAccess().getGroup()); } + (rule__Interval__Group__0) + { after(grammarAccess.getIntervalAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleClosureType -entryRuleClosureType +// Entry rule entryRuleLiteral +entryRuleLiteral : -{ before(grammarAccess.getClosureTypeRule()); } - ruleClosureType -{ after(grammarAccess.getClosureTypeRule()); } +{ before(grammarAccess.getLiteralRule()); } + ruleLiteral +{ after(grammarAccess.getLiteralRule()); } EOF ; -// Rule ClosureType -ruleClosureType +// Rule Literal +ruleLiteral @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClosureTypeAccess().getAlternatives()); } - (rule__ClosureType__Alternatives) - { after(grammarAccess.getClosureTypeAccess().getAlternatives()); } + { before(grammarAccess.getLiteralAccess().getAlternatives()); } + (rule__Literal__Alternatives) + { after(grammarAccess.getLiteralAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleLiteral -entryRuleLiteral +// Entry rule entryRuleLogicLiteral +entryRuleLogicLiteral : -{ before(grammarAccess.getLiteralRule()); } - ruleLiteral -{ after(grammarAccess.getLiteralRule()); } +{ before(grammarAccess.getLogicLiteralRule()); } + ruleLogicLiteral +{ after(grammarAccess.getLogicLiteralRule()); } EOF ; -// Rule Literal -ruleLiteral +// Rule LogicLiteral +ruleLogicLiteral @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLiteralAccess().getAlternatives()); } - (rule__Literal__Alternatives) - { after(grammarAccess.getLiteralAccess().getAlternatives()); } + { before(grammarAccess.getLogicLiteralAccess().getValueAssignment()); } + (rule__LogicLiteral__ValueAssignment) + { after(grammarAccess.getLogicLiteralAccess().getValueAssignment()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleNumericLiteral +entryRuleNumericLiteral +: +{ before(grammarAccess.getNumericLiteralRule()); } + ruleNumericLiteral +{ after(grammarAccess.getNumericLiteralRule()); } + EOF +; + +// Rule NumericLiteral +ruleNumericLiteral + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getNumericLiteralAccess().getValueAssignment()); } + (rule__NumericLiteral__ValueAssignment) + { after(grammarAccess.getNumericLiteralAccess().getValueAssignment()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleInfinityLiteral +entryRuleInfinityLiteral +: +{ before(grammarAccess.getInfinityLiteralRule()); } + ruleInfinityLiteral +{ after(grammarAccess.getInfinityLiteralRule()); } + EOF +; + +// Rule InfinityLiteral +ruleInfinityLiteral + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getInfinityLiteralAccess().getGroup()); } + (rule__InfinityLiteral__Group__0) + { after(grammarAccess.getInfinityLiteralAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleEmptyIntervalLiteral +entryRuleEmptyIntervalLiteral +: +{ before(grammarAccess.getEmptyIntervalLiteralRule()); } + ruleEmptyIntervalLiteral +{ after(grammarAccess.getEmptyIntervalLiteralRule()); } + EOF +; + +// Rule EmptyIntervalLiteral +ruleEmptyIntervalLiteral + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getEmptyIntervalLiteralAccess().getGroup()); } + (rule__EmptyIntervalLiteral__Group__0) + { after(grammarAccess.getEmptyIntervalLiteralAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleStringLiteral +entryRuleStringLiteral +: +{ before(grammarAccess.getStringLiteralRule()); } + ruleStringLiteral +{ after(grammarAccess.getStringLiteralRule()); } + EOF +; + +// Rule StringLiteral +ruleStringLiteral + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getStringLiteralAccess().getValueAssignment()); } + (rule__StringLiteral__ValueAssignment) + { after(grammarAccess.getStringLiteralAccess().getValueAssignment()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleClassDefinition +entryRuleClassDefinition +: +{ before(grammarAccess.getClassDefinitionRule()); } + ruleClassDefinition +{ after(grammarAccess.getClassDefinitionRule()); } + EOF +; + +// Rule ClassDefinition +ruleClassDefinition + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getClassDefinitionAccess().getGroup()); } + (rule__ClassDefinition__Group__0) + { after(grammarAccess.getClassDefinitionAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleMemberDefinition +entryRuleMemberDefinition +: +{ before(grammarAccess.getMemberDefinitionRule()); } + ruleMemberDefinition +{ after(grammarAccess.getMemberDefinitionRule()); } + EOF +; + +// Rule MemberDefinition +ruleMemberDefinition + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getMemberDefinitionAccess().getGroup()); } + (rule__MemberDefinition__Group__0) + { after(grammarAccess.getMemberDefinitionAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleMultiplicity +entryRuleMultiplicity +: +{ before(grammarAccess.getMultiplicityRule()); } + ruleMultiplicity +{ after(grammarAccess.getMultiplicityRule()); } + EOF +; + +// Rule Multiplicity +ruleMultiplicity + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getMultiplicityAccess().getAlternatives()); } + (rule__Multiplicity__Alternatives) + { after(grammarAccess.getMultiplicityAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleManyMultiplicity +entryRuleManyMultiplicity +: +{ before(grammarAccess.getManyMultiplicityRule()); } + ruleManyMultiplicity +{ after(grammarAccess.getManyMultiplicityRule()); } + EOF +; + +// Rule ManyMultiplicity +ruleManyMultiplicity + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getManyMultiplicityAccess().getGroup()); } + (rule__ManyMultiplicity__Group__0) + { after(grammarAccess.getManyMultiplicityAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleExactMultiplicity +entryRuleExactMultiplicity +: +{ before(grammarAccess.getExactMultiplicityRule()); } + ruleExactMultiplicity +{ after(grammarAccess.getExactMultiplicityRule()); } + EOF +; + +// Rule ExactMultiplicity +ruleExactMultiplicity + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getExactMultiplicityAccess().getGroup()); } + (rule__ExactMultiplicity__Group__0) + { after(grammarAccess.getExactMultiplicityAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleBoundedMultiplicity +entryRuleBoundedMultiplicity +: +{ before(grammarAccess.getBoundedMultiplicityRule()); } + ruleBoundedMultiplicity +{ after(grammarAccess.getBoundedMultiplicityRule()); } + EOF +; + +// Rule BoundedMultiplicity +ruleBoundedMultiplicity + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getBoundedMultiplicityAccess().getGroup()); } + (rule__BoundedMultiplicity__Group__0) + { after(grammarAccess.getBoundedMultiplicityAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleVariable -entryRuleVariable +// Entry rule entryRuleScopeDefinition +entryRuleScopeDefinition : -{ before(grammarAccess.getVariableRule()); } - ruleVariable -{ after(grammarAccess.getVariableRule()); } +{ before(grammarAccess.getScopeDefinitionRule()); } + ruleScopeDefinition +{ after(grammarAccess.getScopeDefinitionRule()); } EOF ; -// Rule Variable -ruleVariable +// Rule ScopeDefinition +ruleScopeDefinition @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getVariableAccess().getNameAssignment()); } - (rule__Variable__NameAssignment) - { after(grammarAccess.getVariableAccess().getNameAssignment()); } + { before(grammarAccess.getScopeDefinitionAccess().getAlternatives()); } + (rule__ScopeDefinition__Alternatives) + { after(grammarAccess.getScopeDefinitionAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleAllInstances -entryRuleAllInstances +// Entry rule entryRuleExactScopeDefinition +entryRuleExactScopeDefinition : -{ before(grammarAccess.getAllInstancesRule()); } - ruleAllInstances -{ after(grammarAccess.getAllInstancesRule()); } +{ before(grammarAccess.getExactScopeDefinitionRule()); } + ruleExactScopeDefinition +{ after(grammarAccess.getExactScopeDefinitionRule()); } EOF ; -// Rule AllInstances -ruleAllInstances +// Rule ExactScopeDefinition +ruleExactScopeDefinition @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAllInstancesAccess().getGroup()); } - (rule__AllInstances__Group__0) - { after(grammarAccess.getAllInstancesAccess().getGroup()); } + { before(grammarAccess.getExactScopeDefinitionAccess().getGroup()); } + (rule__ExactScopeDefinition__Group__0) + { after(grammarAccess.getExactScopeDefinitionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleAllObjects -entryRuleAllObjects +// Entry rule entryRuleBoundedScopeDefinition +entryRuleBoundedScopeDefinition : -{ before(grammarAccess.getAllObjectsRule()); } - ruleAllObjects -{ after(grammarAccess.getAllObjectsRule()); } +{ before(grammarAccess.getBoundedScopeDefinitionRule()); } + ruleBoundedScopeDefinition +{ after(grammarAccess.getBoundedScopeDefinitionRule()); } EOF ; -// Rule AllObjects -ruleAllObjects +// Rule BoundedScopeDefinition +ruleBoundedScopeDefinition @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAllObjectsAccess().getGroup()); } - (rule__AllObjects__Group__0) - { after(grammarAccess.getAllObjectsAccess().getGroup()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup()); } + (rule__BoundedScopeDefinition__Group__0) + { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleDefaultInterpretation -entryRuleDefaultInterpretation +// Entry rule entryRuleLowerBoundedScopeDefinition +entryRuleLowerBoundedScopeDefinition : -{ before(grammarAccess.getDefaultInterpretationRule()); } - ruleDefaultInterpretation -{ after(grammarAccess.getDefaultInterpretationRule()); } +{ before(grammarAccess.getLowerBoundedScopeDefinitionRule()); } + ruleLowerBoundedScopeDefinition +{ after(grammarAccess.getLowerBoundedScopeDefinitionRule()); } EOF ; -// Rule DefaultInterpretation -ruleDefaultInterpretation +// Rule LowerBoundedScopeDefinition +ruleLowerBoundedScopeDefinition @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDefaultInterpretationAccess().getGroup()); } - (rule__DefaultInterpretation__Group__0) - { after(grammarAccess.getDefaultInterpretationAccess().getGroup()); } + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup()); } + (rule__LowerBoundedScopeDefinition__Group__0) + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleCDInterpretation -entryRuleCDInterpretation +// Entry rule entryRuleObjectiveDefinition +entryRuleObjectiveDefinition : -{ before(grammarAccess.getCDInterpretationRule()); } - ruleCDInterpretation -{ after(grammarAccess.getCDInterpretationRule()); } +{ before(grammarAccess.getObjectiveDefinitionRule()); } + ruleObjectiveDefinition +{ after(grammarAccess.getObjectiveDefinitionRule()); } EOF ; -// Rule CDInterpretation -ruleCDInterpretation +// Rule ObjectiveDefinition +ruleObjectiveDefinition @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCDInterpretationAccess().getAlternatives()); } - (rule__CDInterpretation__Alternatives) - { after(grammarAccess.getCDInterpretationAccess().getAlternatives()); } + { before(grammarAccess.getObjectiveDefinitionAccess().getGroup()); } + (rule__ObjectiveDefinition__Group__0) + { after(grammarAccess.getObjectiveDefinitionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleClassInterpretation -entryRuleClassInterpretation +// Entry rule entryRuleUpperMultiplicty +entryRuleUpperMultiplicty : -{ before(grammarAccess.getClassInterpretationRule()); } - ruleClassInterpretation -{ after(grammarAccess.getClassInterpretationRule()); } +{ before(grammarAccess.getUpperMultiplictyRule()); } + ruleUpperMultiplicty +{ after(grammarAccess.getUpperMultiplictyRule()); } EOF ; -// Rule ClassInterpretation -ruleClassInterpretation +// Rule UpperMultiplicty +ruleUpperMultiplicty @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassInterpretationAccess().getGroup()); } - (rule__ClassInterpretation__Group__0) - { after(grammarAccess.getClassInterpretationAccess().getGroup()); } + { before(grammarAccess.getUpperMultiplictyAccess().getAlternatives()); } + (rule__UpperMultiplicty__Alternatives) + { after(grammarAccess.getUpperMultiplictyAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleEnumInterpretation -entryRuleEnumInterpretation +// Entry rule entryRuleReal +entryRuleReal +@init { + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); +} : -{ before(grammarAccess.getEnumInterpretationRule()); } - ruleEnumInterpretation -{ after(grammarAccess.getEnumInterpretationRule()); } +{ before(grammarAccess.getRealRule()); } + ruleReal +{ after(grammarAccess.getRealRule()); } EOF ; +finally { + myHiddenTokenState.restore(); +} -// Rule EnumInterpretation -ruleEnumInterpretation +// Rule Real +ruleReal @init { + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getEnumInterpretationAccess().getGroup()); } - (rule__EnumInterpretation__Group__0) - { after(grammarAccess.getEnumInterpretationAccess().getGroup()); } + { before(grammarAccess.getRealAccess().getGroup()); } + (rule__Real__Group__0) + { after(grammarAccess.getRealAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); + myHiddenTokenState.restore(); } -// Entry rule entryRuleFieldRelationInterpretation -entryRuleFieldRelationInterpretation +// Entry rule entryRuleQualifiedName +entryRuleQualifiedName +@init { + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); +} : -{ before(grammarAccess.getFieldRelationInterpretationRule()); } - ruleFieldRelationInterpretation -{ after(grammarAccess.getFieldRelationInterpretationRule()); } +{ before(grammarAccess.getQualifiedNameRule()); } + ruleQualifiedName +{ after(grammarAccess.getQualifiedNameRule()); } EOF ; +finally { + myHiddenTokenState.restore(); +} + +// Rule QualifiedName +ruleQualifiedName + @init { + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getQualifiedNameAccess().getAlternatives()); } + (rule__QualifiedName__Alternatives) + { after(grammarAccess.getQualifiedNameAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); + myHiddenTokenState.restore(); +} + +// Rule MetricType +ruleMetricType + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetricTypeAccess().getAlternatives()); } + (rule__MetricType__Alternatives) + { after(grammarAccess.getMetricTypeAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule ComparisonOperator +ruleComparisonOperator + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComparisonOperatorAccess().getAlternatives()); } + (rule__ComparisonOperator__Alternatives) + { after(grammarAccess.getComparisonOperatorAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule AdditiveBinaryOperator +ruleAdditiveBinaryOperator + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives()); } + (rule__AdditiveBinaryOperator__Alternatives) + { after(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule MultiplicativeBinaryOperator +ruleMultiplicativeBinaryOperator + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives()); } + (rule__MultiplicativeBinaryOperator__Alternatives) + { after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule ExponentialOp +ruleExponentialOp + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration()); } + ('^') + { after(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule UnaryOp +ruleUnaryOp + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getUnaryOpAccess().getAlternatives()); } + (rule__UnaryOp__Alternatives) + { after(grammarAccess.getUnaryOpAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule AggregationOp +ruleAggregationOp + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAggregationOpAccess().getAlternatives()); } + (rule__AggregationOp__Alternatives) + { after(grammarAccess.getAggregationOpAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule LogicValue +ruleLogicValue + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getLogicValueAccess().getAlternatives()); } + (rule__LogicValue__Alternatives) + { after(grammarAccess.getLogicValueAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule ObjectiveKind +ruleObjectiveKind + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getObjectiveKindAccess().getAlternatives()); } + (rule__ObjectiveKind__Alternatives) + { after(grammarAccess.getObjectiveKindAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Statement__Alternatives_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); } + ruleAssertionOrDefinition + { after(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); } + ) + | + ( + { before(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); } + rulePredicateDefinition + { after(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); } + ) + | + ( + { before(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); } + ruleUnnamedErrorPrediateDefinition + { after(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); } + ) + | + ( + { before(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); } + ruleDefaultDefinition + { after(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); } + ) + | + ( + { before(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4()); } + ruleExternPredicateDefinition + { after(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4()); } + ) + | + ( + { before(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5()); } + ruleMetricDefinition + { after(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5()); } + ) + | + ( + { before(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); } + ruleExternMetricDefinition + { after(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); } + ) + | + ( + { before(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7()); } + ruleClassDefinition + { after(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7()); } + ) + | + ( + { before(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8()); } + ruleScopeDefinition + { after(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8()); } + ) + | + ( + { before(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9()); } + ruleObjectiveDefinition + { after(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Alternatives_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0()); } + (rule__AssertionOrDefinition__Group_1_0__0) + { after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0()); } + ) + | + ( + { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1()); } + (rule__AssertionOrDefinition__Group_1_1__0) + { after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1()); } + ) + | + ( + { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2()); } + (rule__AssertionOrDefinition__Group_1_2__0) + { after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__Alternatives_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); } + (rule__PredicateDefinition__Group_0_0__0) + { after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); } + ) + | + ( + { before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1()); } + (rule__PredicateDefinition__Group_0_1__0) + { after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Expression__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); } + ruleIfElse + { after(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1()); } + ruleDisjunctiveExpression + { after(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Alternatives_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0()); } + (rule__DisjunctiveExpression__Group_1_0__0) + { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0()); } + ) + | + ( + { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1()); } + (rule__DisjunctiveExpression__Group_1_1__0) + { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__UnaryExpression__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); } + ruleAggregationExpression + { after(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getUnaryExpressionAccess().getGroup_1()); } + (rule__UnaryExpression__Group_1__0) + { after(grammarAccess.getUnaryExpressionAccess().getGroup_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AggregationExpression__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); } + ruleAtomicExpression + { after(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1()); } + ruleCount + { after(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1()); } + ) + | + ( + { before(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); } + ruleAggregation + { after(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AtomicExpression__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAtomicExpressionAccess().getGroup_0()); } + (rule__AtomicExpression__Group_0__0) + { after(grammarAccess.getAtomicExpressionAccess().getGroup_0()); } + ) + | + ( + { before(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_1()); } + ruleInterval + { after(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_1()); } + ) + | + ( + { before(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_2()); } + ruleLiteral + { after(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_2()); } + ) + | + ( + { before(grammarAccess.getAtomicExpressionAccess().getGroup_3()); } + (rule__AtomicExpression__Group_3__0) + { after(grammarAccess.getAtomicExpressionAccess().getGroup_3()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Call__Alternatives_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0()); } + (rule__Call__TransitiveClosureAssignment_1_0) + { after(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0()); } + ) + | + ( + { before(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1()); } + (rule__Call__ReflexiveTransitiveClosureAssignment_1_1) + { after(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Argument__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); } + ruleExpressionArgument + { after(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); } + ruleStarArgument + { after(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); } + ) + | + ( + { before(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); } + ruleTypedArgument + { after(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); } + ) + | + ( + { before(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); } + ruleTypedStarArgument + { after(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Literal__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0()); } + ruleLogicLiteral + { after(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); } + ruleNumericLiteral + { after(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); } + ) + | + ( + { before(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); } + ruleInfinityLiteral + { after(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); } + ) + | + ( + { before(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); } + ruleEmptyIntervalLiteral + { after(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); } + ) + | + ( + { before(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); } + ruleStringLiteral + { after(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Multiplicity__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); } + ruleManyMultiplicity + { after(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); } + ruleExactMultiplicity + { after(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); } + ) + | + ( + { before(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2()); } + ruleBoundedMultiplicity + { after(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeDefinition__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); } + ruleExactScopeDefinition + { after(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); } + ruleBoundedScopeDefinition + { after(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); } + ) + | + ( + { before(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); } + ruleLowerBoundedScopeDefinition + { after(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__BoundedScopeDefinition__Alternatives_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0()); } + (rule__BoundedScopeDefinition__Group_1_0__0) + { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0()); } + ) + | + ( + { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1()); } + (rule__BoundedScopeDefinition__Group_1_1__0) + { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__LowerBoundedScopeDefinition__Alternatives_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0()); } + (rule__LowerBoundedScopeDefinition__Group_1_0__0) + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0()); } + ) + | + ( + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1()); } + (rule__LowerBoundedScopeDefinition__Group_1_1__0) + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__UpperMultiplicty__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0()); } + RULE_INT + { after(grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1()); } + '*' + { after(grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__QualifiedName__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getQualifiedNameAccess().getGroup_0()); } + (rule__QualifiedName__Group_0__0) + { after(grammarAccess.getQualifiedNameAccess().getGroup_0()); } + ) + | + ( + { before(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); } + RULE_QUOTED_ID + { after(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetricType__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0()); } + ('int') + { after(grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1()); } + ('real') + { after(grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonOperator__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); } + ('==') + { after(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); } + ('!=') + { after(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); } + ) + | + ( + { before(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2()); } + ('<') + { after(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2()); } + ) + | + ( + { before(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); } + ('<=') + { after(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); } + ) + | + ( + { before(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4()); } + ('>') + { after(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4()); } + ) + | + ( + { before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); } + ('>=') + { after(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); } + ) + | + ( + { before(grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6()); } + ('in') + { after(grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveBinaryOperator__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); } + ('+') + { after(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); } + ('-') + { after(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeBinaryOperator__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); } + ('*') + { after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); } + ('/') + { after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__UnaryOp__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); } + ('!') + { after(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); } + ('+') + { after(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); } + ) + | + ( + { before(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); } + ('-') + { after(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); } + ) + | + ( + { before(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); } + ('may') + { after(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); } + ) + | + ( + { before(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); } + ('must') + { after(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); } + ) + | + ( + { before(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); } + ('current') + { after(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AggregationOp__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0()); } + ('only') + { after(grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1()); } + ('sum') + { after(grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1()); } + ) + | + ( + { before(grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2()); } + ('prod') + { after(grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2()); } + ) + | + ( + { before(grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3()); } + ('avg') + { after(grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3()); } + ) + | + ( + { before(grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4()); } + ('min') + { after(grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4()); } + ) + | + ( + { before(grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5()); } + ('max') + { after(grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__LogicValue__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); } + ('true') + { after(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); } + ('false') + { after(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); } + ) + | + ( + { before(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); } + ('unknown') + { after(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); } + ) + | + ( + { before(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3()); } + ('error') + { after(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveKind__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); } + ('minimize') + { after(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); } + ('maximize') + { after(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Statement__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Statement__Group__0__Impl + rule__Statement__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Statement__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getStatementAccess().getAlternatives_0()); } + (rule__Statement__Alternatives_0) + { after(grammarAccess.getStatementAccess().getAlternatives_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Statement__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Statement__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Statement__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getStatementAccess().getDOTTerminalRuleCall_1()); } + RULE_DOT + { after(grammarAccess.getStatementAccess().getDOTTerminalRuleCall_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AssertionOrDefinition__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AssertionOrDefinition__Group__0__Impl + rule__AssertionOrDefinition__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); } + ruleExpression + { after(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AssertionOrDefinition__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); } + (rule__AssertionOrDefinition__Alternatives_1) + { after(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AssertionOrDefinition__Group_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AssertionOrDefinition__Group_1_0__0__Impl + rule__AssertionOrDefinition__Group_1_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0()); } + () + { after(grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group_1_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AssertionOrDefinition__Group_1_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group_1_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1()); } + (rule__AssertionOrDefinition__Group_1_0_1__0)? + { after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AssertionOrDefinition__Group_1_0_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AssertionOrDefinition__Group_1_0_1__0__Impl + rule__AssertionOrDefinition__Group_1_0_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group_1_0_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); } + ':' + { after(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group_1_0_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AssertionOrDefinition__Group_1_0_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group_1_0_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1()); } + (rule__AssertionOrDefinition__RangeAssignment_1_0_1_1) + { after(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AssertionOrDefinition__Group_1_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AssertionOrDefinition__Group_1_1__0__Impl + rule__AssertionOrDefinition__Group_1_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group_1_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); } + () + { after(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group_1_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AssertionOrDefinition__Group_1_1__1__Impl + rule__AssertionOrDefinition__Group_1_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group_1_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); } + ':-' + { after(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group_1_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__AssertionOrDefinition__Group_1_1__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group_1_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); } + (rule__AssertionOrDefinition__BodyAssignment_1_1_2) + { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AssertionOrDefinition__Group_1_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AssertionOrDefinition__Group_1_2__0__Impl + rule__AssertionOrDefinition__Group_1_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group_1_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0()); } + () + { after(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group_1_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AssertionOrDefinition__Group_1_2__1__Impl + rule__AssertionOrDefinition__Group_1_2__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group_1_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); } + '=' + { after(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group_1_2__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__AssertionOrDefinition__Group_1_2__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__Group_1_2__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); } + (rule__AssertionOrDefinition__BodyAssignment_1_2_2) + { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PredicateDefinition__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PredicateDefinition__Group__0__Impl + rule__PredicateDefinition__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); } + (rule__PredicateDefinition__Alternatives_0) + { after(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PredicateDefinition__Group__1__Impl + rule__PredicateDefinition__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); } + (rule__PredicateDefinition__HeadAssignment_1) + { after(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__PredicateDefinition__Group__2__Impl + rule__PredicateDefinition__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); } + ':-' + { after(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__PredicateDefinition__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); } + (rule__PredicateDefinition__BodyAssignment_3) + { after(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PredicateDefinition__Group_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PredicateDefinition__Group_0_0__0__Impl + rule__PredicateDefinition__Group_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__Group_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); } + (rule__PredicateDefinition__FunctionalAssignment_0_0_0) + { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__Group_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PredicateDefinition__Group_0_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__Group_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); } + (rule__PredicateDefinition__ErrorAssignment_0_0_1)? + { after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PredicateDefinition__Group_0_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PredicateDefinition__Group_0_1__0__Impl + rule__PredicateDefinition__Group_0_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__Group_0_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); } + (rule__PredicateDefinition__ErrorAssignment_0_1_0) + { after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__Group_0_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PredicateDefinition__Group_0_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__Group_0_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); } + (rule__PredicateDefinition__FunctionalAssignment_0_1_1)? + { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__UnnamedErrorPrediateDefinition__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__UnnamedErrorPrediateDefinition__Group__0__Impl + rule__UnnamedErrorPrediateDefinition__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__UnnamedErrorPrediateDefinition__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); } + 'error' + { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__UnnamedErrorPrediateDefinition__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__UnnamedErrorPrediateDefinition__Group__1__Impl + rule__UnnamedErrorPrediateDefinition__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__UnnamedErrorPrediateDefinition__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1()); } + (rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1) + { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__UnnamedErrorPrediateDefinition__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__UnnamedErrorPrediateDefinition__Group__2__Impl + rule__UnnamedErrorPrediateDefinition__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__UnnamedErrorPrediateDefinition__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); } + ':-' + { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__UnnamedErrorPrediateDefinition__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__UnnamedErrorPrediateDefinition__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__UnnamedErrorPrediateDefinition__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3()); } + (rule__UnnamedErrorPrediateDefinition__BodyAssignment_3) + { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__DefaultDefinition__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DefaultDefinition__Group__0__Impl + rule__DefaultDefinition__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DefaultDefinition__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); } + 'default' + { after(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DefaultDefinition__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DefaultDefinition__Group__1__Impl + rule__DefaultDefinition__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__DefaultDefinition__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1()); } + (rule__DefaultDefinition__HeadAssignment_1) + { after(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DefaultDefinition__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__DefaultDefinition__Group__2__Impl + rule__DefaultDefinition__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__DefaultDefinition__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); } + ':' + { after(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DefaultDefinition__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__DefaultDefinition__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DefaultDefinition__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3()); } + (rule__DefaultDefinition__RangeAssignment_3) + { after(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ExternPredicateDefinition__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExternPredicateDefinition__Group__0__Impl + rule__ExternPredicateDefinition__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ExternPredicateDefinition__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); } + 'extern' + { after(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExternPredicateDefinition__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExternPredicateDefinition__Group__1__Impl + rule__ExternPredicateDefinition__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ExternPredicateDefinition__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1()); } + (rule__ExternPredicateDefinition__HeadAssignment_1) + { after(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExternPredicateDefinition__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExternPredicateDefinition__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ExternPredicateDefinition__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExternPredicateDefinitionAccess().getFullStopKeyword_2()); } + '.' + { after(grammarAccess.getExternPredicateDefinitionAccess().getFullStopKeyword_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MetricDefinition__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetricDefinition__Group__0__Impl + rule__MetricDefinition__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetricDefinition__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); } + (rule__MetricDefinition__TypeAssignment_0) + { after(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetricDefinition__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetricDefinition__Group__1__Impl + rule__MetricDefinition__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetricDefinition__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); } + (rule__MetricDefinition__HeadAssignment_1) + { after(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetricDefinition__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetricDefinition__Group__2__Impl + rule__MetricDefinition__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetricDefinition__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); } + '=' + { after(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetricDefinition__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetricDefinition__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MetricDefinition__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); } + (rule__MetricDefinition__BodyAssignment_3) + { after(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ExternMetricDefinition__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExternMetricDefinition__Group__0__Impl + rule__ExternMetricDefinition__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ExternMetricDefinition__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); } + 'extern' + { after(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExternMetricDefinition__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExternMetricDefinition__Group__1__Impl + rule__ExternMetricDefinition__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ExternMetricDefinition__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1()); } + (rule__ExternMetricDefinition__TypeAssignment_1) + { after(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExternMetricDefinition__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExternMetricDefinition__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ExternMetricDefinition__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2()); } + (rule__ExternMetricDefinition__HeadAssignment_2) + { after(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__IfElse__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__IfElse__Group__0__Impl + rule__IfElse__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__IfElse__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIfElseAccess().getIfKeyword_0()); } + 'if' + { after(grammarAccess.getIfElseAccess().getIfKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IfElse__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__IfElse__Group__1__Impl + rule__IfElse__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__IfElse__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIfElseAccess().getConditionAssignment_1()); } + (rule__IfElse__ConditionAssignment_1) + { after(grammarAccess.getIfElseAccess().getConditionAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IfElse__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__IfElse__Group__2__Impl + rule__IfElse__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__IfElse__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIfElseAccess().getThenKeyword_2()); } + 'then' + { after(grammarAccess.getIfElseAccess().getThenKeyword_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IfElse__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__IfElse__Group__3__Impl + rule__IfElse__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__IfElse__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIfElseAccess().getThenAssignment_3()); } + (rule__IfElse__ThenAssignment_3) + { after(grammarAccess.getIfElseAccess().getThenAssignment_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IfElse__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__IfElse__Group__4__Impl + rule__IfElse__Group__5 +; +finally { + restoreStackSize(stackSize); +} + +rule__IfElse__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIfElseAccess().getElseKeyword_4()); } + 'else' + { after(grammarAccess.getIfElseAccess().getElseKeyword_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IfElse__Group__5 + @init { + int stackSize = keepStackSize(); + } +: + rule__IfElse__Group__5__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__IfElse__Group__5__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIfElseAccess().getElseAssignment_5()); } + (rule__IfElse__ElseAssignment_5) + { after(grammarAccess.getIfElseAccess().getElseAssignment_5()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__DisjunctiveExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group__0__Impl + rule__DisjunctiveExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); } + ruleConjunctiveExpression + { after(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); } + (rule__DisjunctiveExpression__Alternatives_1)? + { after(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__DisjunctiveExpression__Group_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_0__0__Impl + rule__DisjunctiveExpression__Group_1_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); } + () + { after(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + ( + { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } + (rule__DisjunctiveExpression__Group_1_0_1__0) + { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } + ) + ( + { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } + (rule__DisjunctiveExpression__Group_1_0_1__0)* + { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } + ) +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__DisjunctiveExpression__Group_1_0_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_0_1__0__Impl + rule__DisjunctiveExpression__Group_1_0_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_0_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); } + ';' + { after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_0_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_0_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_0_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); } + (rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1) + { after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__DisjunctiveExpression__Group_1_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_1__0__Impl + rule__DisjunctiveExpression__Group_1_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); } + () + { after(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_1__1__Impl + rule__DisjunctiveExpression__Group_1_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); } + '->' + { after(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_1__2__Impl + rule__DisjunctiveExpression__Group_1_1__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); } + (rule__DisjunctiveExpression__BodyAssignment_1_1_2) + { after(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_1__3__Impl + rule__DisjunctiveExpression__Group_1_1__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); } + () + { after(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_1__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); } + (rule__DisjunctiveExpression__Group_1_1_4__0)* + { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__DisjunctiveExpression__Group_1_1_4__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_1_4__0__Impl + rule__DisjunctiveExpression__Group_1_1_4__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1_4__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); } + ';' + { after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1_4__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_1_4__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1_4__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); } + (rule__DisjunctiveExpression__CasesAssignment_1_1_4_1) + { after(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Case__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Case__Group__0__Impl + rule__Case__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Case__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCaseAccess().getConditionAssignment_0()); } + (rule__Case__ConditionAssignment_0) + { after(grammarAccess.getCaseAccess().getConditionAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Case__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Case__Group__1__Impl + rule__Case__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__Case__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); } + '->' + { after(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Case__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__Case__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Case__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCaseAccess().getBodyAssignment_2()); } + (rule__Case__BodyAssignment_2) + { after(grammarAccess.getCaseAccess().getBodyAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ConjunctiveExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConjunctiveExpression__Group__0__Impl + rule__ConjunctiveExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); } + ruleComparisonExpression + { after(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConjunctiveExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); } + (rule__ConjunctiveExpression__Group_1__0)? + { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ConjunctiveExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConjunctiveExpression__Group_1__0__Impl + rule__ConjunctiveExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); } + () + { after(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConjunctiveExpression__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + ( + { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } + (rule__ConjunctiveExpression__Group_1_1__0) + { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } + ) + ( + { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } + (rule__ConjunctiveExpression__Group_1_1__0)* + { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } + ) +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ConjunctiveExpression__Group_1_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConjunctiveExpression__Group_1_1__0__Impl + rule__ConjunctiveExpression__Group_1_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group_1_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); } + ',' + { after(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group_1_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConjunctiveExpression__Group_1_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group_1_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); } + (rule__ConjunctiveExpression__ChildrenAssignment_1_1_1) + { after(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ComparisonExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComparisonExpression__Group__0__Impl + rule__ComparisonExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); } + ruleAdditiveExpression + { after(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComparisonExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComparisonExpressionAccess().getGroup_1()); } + (rule__ComparisonExpression__Group_1__0)? + { after(grammarAccess.getComparisonExpressionAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ComparisonExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComparisonExpression__Group_1__0__Impl + rule__ComparisonExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); } + () + { after(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComparisonExpression__Group_1__1__Impl + rule__ComparisonExpression__Group_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); } + (rule__ComparisonExpression__OpAssignment_1_1) + { after(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonExpression__Group_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComparisonExpression__Group_1__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonExpression__Group_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); } + (rule__ComparisonExpression__RightAssignment_1_2) + { after(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AdditiveExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AdditiveExpression__Group__0__Impl + rule__AdditiveExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); } + ruleMultiplicativeExpression + { after(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AdditiveExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); } + (rule__AdditiveExpression__Group_1__0)* + { after(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AdditiveExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AdditiveExpression__Group_1__0__Impl + rule__AdditiveExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); } + () + { after(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AdditiveExpression__Group_1__1__Impl + rule__AdditiveExpression__Group_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); } + (rule__AdditiveExpression__OpAssignment_1_1) + { after(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__AdditiveExpression__Group_1__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); } + (rule__AdditiveExpression__RightAssignment_1_2) + { after(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MultiplicativeExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MultiplicativeExpression__Group__0__Impl + rule__MultiplicativeExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); } + ruleExponentialExpression + { after(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MultiplicativeExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); } + (rule__MultiplicativeExpression__Group_1__0)* + { after(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MultiplicativeExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MultiplicativeExpression__Group_1__0__Impl + rule__MultiplicativeExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); } + () + { after(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MultiplicativeExpression__Group_1__1__Impl + rule__MultiplicativeExpression__Group_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); } + (rule__MultiplicativeExpression__OpAssignment_1_1) + { after(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__MultiplicativeExpression__Group_1__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); } + (rule__MultiplicativeExpression__RightAssignment_1_2) + { after(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ExponentialExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExponentialExpression__Group__0__Impl + rule__ExponentialExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ExponentialExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0()); } + ruleUnaryExpression + { after(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExponentialExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExponentialExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} -// Rule FieldRelationInterpretation -ruleFieldRelationInterpretation +rule__ExponentialExpression__Group__1__Impl @init { int stackSize = keepStackSize(); } - : - ( - { before(grammarAccess.getFieldRelationInterpretationAccess().getGroup()); } - (rule__FieldRelationInterpretation__Group__0) - { after(grammarAccess.getFieldRelationInterpretationAccess().getGroup()); } - ) +: +( + { before(grammarAccess.getExponentialExpressionAccess().getGroup_1()); } + (rule__ExponentialExpression__Group_1__0)? + { after(grammarAccess.getExponentialExpressionAccess().getGroup_1()); } +) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleGlobalRelationInterpretation -entryRuleGlobalRelationInterpretation -: -{ before(grammarAccess.getGlobalRelationInterpretationRule()); } - ruleGlobalRelationInterpretation -{ after(grammarAccess.getGlobalRelationInterpretationRule()); } - EOF -; -// Rule GlobalRelationInterpretation -ruleGlobalRelationInterpretation +rule__ExponentialExpression__Group_1__0 @init { int stackSize = keepStackSize(); } - : - ( - { before(grammarAccess.getGlobalRelationInterpretationAccess().getGroup()); } - (rule__GlobalRelationInterpretation__Group__0) - { after(grammarAccess.getGlobalRelationInterpretationAccess().getGroup()); } - ) +: + rule__ExponentialExpression__Group_1__0__Impl + rule__ExponentialExpression__Group_1__1 ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleMultiplicityDefinition -entryRuleMultiplicityDefinition -: -{ before(grammarAccess.getMultiplicityDefinitionRule()); } - ruleMultiplicityDefinition -{ after(grammarAccess.getMultiplicityDefinitionRule()); } - EOF -; - -// Rule MultiplicityDefinition -ruleMultiplicityDefinition +rule__ExponentialExpression__Group_1__0__Impl @init { int stackSize = keepStackSize(); } - : - ( - { before(grammarAccess.getMultiplicityDefinitionAccess().getGroup()); } - (rule__MultiplicityDefinition__Group__0) - { after(grammarAccess.getMultiplicityDefinitionAccess().getGroup()); } - ) +: +( + { before(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); } + () + { after(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); } +) ; finally { restoreStackSize(stackSize); } -rule__Statement__Alternatives +rule__ExponentialExpression__Group_1__1 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getStatementAccess().getInterpretationParserRuleCall_0()); } - ruleInterpretation - { after(grammarAccess.getStatementAccess().getInterpretationParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getStatementAccess().getPredicateParserRuleCall_1()); } - rulePredicate - { after(grammarAccess.getStatementAccess().getPredicateParserRuleCall_1()); } - ) + rule__ExponentialExpression__Group_1__1__Impl + rule__ExponentialExpression__Group_1__2 ; finally { restoreStackSize(stackSize); } -rule__BooleanValue__Alternatives +rule__ExponentialExpression__Group_1__1__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getBooleanValueAccess().getGroup_0()); } - (rule__BooleanValue__Group_0__0) - { after(grammarAccess.getBooleanValueAccess().getGroup_0()); } - ) - | - ( - { before(grammarAccess.getBooleanValueAccess().getGroup_1()); } - (rule__BooleanValue__Group_1__0) - { after(grammarAccess.getBooleanValueAccess().getGroup_1()); } - ) +( + { before(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); } + (rule__ExponentialExpression__OpAssignment_1_1) + { after(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); } +) ; finally { restoreStackSize(stackSize); } -rule__TruthValue__Alternatives +rule__ExponentialExpression__Group_1__2 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getTruthValueAccess().getGroup_0()); } - (rule__TruthValue__Group_0__0) - { after(grammarAccess.getTruthValueAccess().getGroup_0()); } - ) - | - ( - { before(grammarAccess.getTruthValueAccess().getGroup_1()); } - (rule__TruthValue__Group_1__0) - { after(grammarAccess.getTruthValueAccess().getGroup_1()); } - ) - | - ( - { before(grammarAccess.getTruthValueAccess().getGroup_2()); } - (rule__TruthValue__Group_2__0) - { after(grammarAccess.getTruthValueAccess().getGroup_2()); } - ) - | - ( - { before(grammarAccess.getTruthValueAccess().getGroup_3()); } - (rule__TruthValue__Group_3__0) - { after(grammarAccess.getTruthValueAccess().getGroup_3()); } - ) + rule__ExponentialExpression__Group_1__2__Impl ; finally { restoreStackSize(stackSize); } -rule__Interpretation__Alternatives +rule__ExponentialExpression__Group_1__2__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getInterpretationAccess().getBasicInterpretationParserRuleCall_0()); } - ruleBasicInterpretation - { after(grammarAccess.getInterpretationAccess().getBasicInterpretationParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getInterpretationAccess().getDefaultInterpretationParserRuleCall_1()); } - ruleDefaultInterpretation - { after(grammarAccess.getInterpretationAccess().getDefaultInterpretationParserRuleCall_1()); } - ) - | - ( - { before(grammarAccess.getInterpretationAccess().getCDInterpretationParserRuleCall_2()); } - ruleCDInterpretation - { after(grammarAccess.getInterpretationAccess().getCDInterpretationParserRuleCall_2()); } - ) +( + { before(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); } + (rule__ExponentialExpression__RightAssignment_1_2) + { after(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); } +) ; finally { restoreStackSize(stackSize); } -rule__Symbol__Alternatives + +rule__UnaryExpression__Group_1__0 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getSymbolAccess().getModelSymbolParserRuleCall_0()); } - ruleModelSymbol - { after(grammarAccess.getSymbolAccess().getModelSymbolParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getSymbolAccess().getPartialitySymbolParserRuleCall_1()); } - rulePartialitySymbol - { after(grammarAccess.getSymbolAccess().getPartialitySymbolParserRuleCall_1()); } - ) - | - ( - { before(grammarAccess.getSymbolAccess().getDataSymbolParserRuleCall_2()); } - ruleDataSymbol - { after(grammarAccess.getSymbolAccess().getDataSymbolParserRuleCall_2()); } - ) + rule__UnaryExpression__Group_1__0__Impl + rule__UnaryExpression__Group_1__1 ; finally { restoreStackSize(stackSize); } -rule__PartialitySymbol__Alternatives +rule__UnaryExpression__Group_1__0__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getPartialitySymbolAccess().getExistSymbolParserRuleCall_0()); } - ruleExistSymbol - { after(grammarAccess.getPartialitySymbolAccess().getExistSymbolParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getPartialitySymbolAccess().getEqualsSymbolParserRuleCall_1()); } - ruleEqualsSymbol - { after(grammarAccess.getPartialitySymbolAccess().getEqualsSymbolParserRuleCall_1()); } - ) +( + { before(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); } + () + { after(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); } +) ; finally { restoreStackSize(stackSize); } -rule__DataSymbol__Alternatives +rule__UnaryExpression__Group_1__1 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getDataSymbolAccess().getBooleanSymbolParserRuleCall_0()); } - ruleBooleanSymbol - { after(grammarAccess.getDataSymbolAccess().getBooleanSymbolParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getDataSymbolAccess().getIntegerSymbolParserRuleCall_1()); } - ruleIntegerSymbol - { after(grammarAccess.getDataSymbolAccess().getIntegerSymbolParserRuleCall_1()); } - ) - | - ( - { before(grammarAccess.getDataSymbolAccess().getRealSymbolParserRuleCall_2()); } - ruleRealSymbol - { after(grammarAccess.getDataSymbolAccess().getRealSymbolParserRuleCall_2()); } - ) - | - ( - { before(grammarAccess.getDataSymbolAccess().getStringSymbolParserRuleCall_3()); } - ruleStringSymbol - { after(grammarAccess.getDataSymbolAccess().getStringSymbolParserRuleCall_3()); } - ) + rule__UnaryExpression__Group_1__1__Impl + rule__UnaryExpression__Group_1__2 ; finally { restoreStackSize(stackSize); } -rule__ComplexObject__Alternatives +rule__UnaryExpression__Group_1__1__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getComplexObjectAccess().getObjectParserRuleCall_0()); } - ruleObject - { after(grammarAccess.getComplexObjectAccess().getObjectParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getComplexObjectAccess().getAllInstancesParserRuleCall_1()); } - ruleAllInstances - { after(grammarAccess.getComplexObjectAccess().getAllInstancesParserRuleCall_1()); } - ) - | - ( - { before(grammarAccess.getComplexObjectAccess().getAllObjectsParserRuleCall_2()); } - ruleAllObjects - { after(grammarAccess.getComplexObjectAccess().getAllObjectsParserRuleCall_2()); } - ) +( + { before(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); } + (rule__UnaryExpression__OpAssignment_1_1) + { after(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); } +) ; finally { restoreStackSize(stackSize); } -rule__Object__Alternatives +rule__UnaryExpression__Group_1__2 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getObjectAccess().getNamedObjectParserRuleCall_0()); } - ruleNamedObject - { after(grammarAccess.getObjectAccess().getNamedObjectParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getObjectAccess().getUnnamedObjectParserRuleCall_1()); } - ruleUnnamedObject - { after(grammarAccess.getObjectAccess().getUnnamedObjectParserRuleCall_1()); } - ) - | - ( - { before(grammarAccess.getObjectAccess().getDataObjectParserRuleCall_2()); } - ruleDataObject - { after(grammarAccess.getObjectAccess().getDataObjectParserRuleCall_2()); } - ) + rule__UnaryExpression__Group_1__2__Impl ; finally { restoreStackSize(stackSize); } -rule__DataObject__Alternatives +rule__UnaryExpression__Group_1__2__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getDataObjectAccess().getBooleanObjectParserRuleCall_0()); } - ruleBooleanObject - { after(grammarAccess.getDataObjectAccess().getBooleanObjectParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getDataObjectAccess().getIntObjectParserRuleCall_1()); } - ruleIntObject - { after(grammarAccess.getDataObjectAccess().getIntObjectParserRuleCall_1()); } - ) - | - ( - { before(grammarAccess.getDataObjectAccess().getRealObjectParserRuleCall_2()); } - ruleRealObject - { after(grammarAccess.getDataObjectAccess().getRealObjectParserRuleCall_2()); } - ) - | - ( - { before(grammarAccess.getDataObjectAccess().getStringObjectParserRuleCall_3()); } - ruleStringObject - { after(grammarAccess.getDataObjectAccess().getStringObjectParserRuleCall_3()); } - ) +( + { before(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); } + (rule__UnaryExpression__BodyAssignment_1_2) + { after(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); } +) ; finally { restoreStackSize(stackSize); } -rule__Predicate__Alternatives_4 + +rule__Count__Group__0 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getPredicateAccess().getFalseKeyword_4_0()); } - 'false' - { after(grammarAccess.getPredicateAccess().getFalseKeyword_4_0()); } - ) - | - ( - { before(grammarAccess.getPredicateAccess().getGroup_4_1()); } - (rule__Predicate__Group_4_1__0) - { after(grammarAccess.getPredicateAccess().getGroup_4_1()); } - ) + rule__Count__Group__0__Impl + rule__Count__Group__1 ; finally { restoreStackSize(stackSize); } -rule__PatternBody__Alternatives_1 +rule__Count__Group__0__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getPatternBodyAccess().getTrueKeyword_1_0()); } - 'true' - { after(grammarAccess.getPatternBodyAccess().getTrueKeyword_1_0()); } - ) - | - ( - { before(grammarAccess.getPatternBodyAccess().getConstraintsAssignment_1_1()); } - (rule__PatternBody__ConstraintsAssignment_1_1)* - { after(grammarAccess.getPatternBodyAccess().getConstraintsAssignment_1_1()); } - ) +( + { before(grammarAccess.getCountAccess().getCountKeyword_0()); } + 'count' + { after(grammarAccess.getCountAccess().getCountKeyword_0()); } +) ; finally { restoreStackSize(stackSize); } -rule__Polarity__Alternatives +rule__Count__Group__1 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getPolarityAccess().getGroup_0()); } - (rule__Polarity__Group_0__0) - { after(grammarAccess.getPolarityAccess().getGroup_0()); } - ) - | - ( - { before(grammarAccess.getPolarityAccess().getGroup_1()); } - (rule__Polarity__Group_1__0) - { after(grammarAccess.getPolarityAccess().getGroup_1()); } - ) + rule__Count__Group__1__Impl + rule__Count__Group__2 ; finally { restoreStackSize(stackSize); } -rule__Constraint__Alternatives +rule__Count__Group__1__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getConstraintAccess().getGroup_0()); } - (rule__Constraint__Group_0__0) - { after(grammarAccess.getConstraintAccess().getGroup_0()); } - ) - | - ( - { before(grammarAccess.getConstraintAccess().getGroup_1()); } - (rule__Constraint__Group_1__0) - { after(grammarAccess.getConstraintAccess().getGroup_1()); } - ) +( + { before(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); } + '{' + { after(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); } +) ; finally { restoreStackSize(stackSize); } -rule__ClosureType__Alternatives +rule__Count__Group__2 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getClosureTypeAccess().getGroup_0()); } - (rule__ClosureType__Group_0__0) - { after(grammarAccess.getClosureTypeAccess().getGroup_0()); } - ) - | - ( - { before(grammarAccess.getClosureTypeAccess().getGroup_1()); } - (rule__ClosureType__Group_1__0) - { after(grammarAccess.getClosureTypeAccess().getGroup_1()); } - ) + rule__Count__Group__2__Impl + rule__Count__Group__3 ; finally { restoreStackSize(stackSize); } -rule__Literal__Alternatives +rule__Count__Group__2__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getLiteralAccess().getVariableParserRuleCall_0()); } - ruleVariable - { after(grammarAccess.getLiteralAccess().getVariableParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getLiteralAccess().getDataObjectParserRuleCall_1()); } - ruleDataObject - { after(grammarAccess.getLiteralAccess().getDataObjectParserRuleCall_1()); } - ) - | - ( - { before(grammarAccess.getLiteralAccess().getNamedObjectParserRuleCall_2()); } - ruleNamedObject - { after(grammarAccess.getLiteralAccess().getNamedObjectParserRuleCall_2()); } - ) +( + { before(grammarAccess.getCountAccess().getBodyAssignment_2()); } + (rule__Count__BodyAssignment_2) + { after(grammarAccess.getCountAccess().getBodyAssignment_2()); } +) ; finally { restoreStackSize(stackSize); } -rule__CDInterpretation__Alternatives +rule__Count__Group__3 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getCDInterpretationAccess().getClassInterpretationParserRuleCall_0()); } - ruleClassInterpretation - { after(grammarAccess.getCDInterpretationAccess().getClassInterpretationParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getCDInterpretationAccess().getEnumInterpretationParserRuleCall_1()); } - ruleEnumInterpretation - { after(grammarAccess.getCDInterpretationAccess().getEnumInterpretationParserRuleCall_1()); } - ) - | - ( - { before(grammarAccess.getCDInterpretationAccess().getGlobalRelationInterpretationParserRuleCall_2()); } - ruleGlobalRelationInterpretation - { after(grammarAccess.getCDInterpretationAccess().getGlobalRelationInterpretationParserRuleCall_2()); } - ) + rule__Count__Group__3__Impl ; finally { restoreStackSize(stackSize); } -rule__MultiplicityDefinition__Alternatives_2 +rule__Count__Group__3__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getMultiplicityDefinitionAccess().getUpperAssignment_2_0()); } - (rule__MultiplicityDefinition__UpperAssignment_2_0) - { after(grammarAccess.getMultiplicityDefinitionAccess().getUpperAssignment_2_0()); } - ) - | - ( - { before(grammarAccess.getMultiplicityDefinitionAccess().getUnlimitedUpperAssignment_2_1()); } - (rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1) - { after(grammarAccess.getMultiplicityDefinitionAccess().getUnlimitedUpperAssignment_2_1()); } - ) +( + { before(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); } + '}' + { after(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); } +) ; finally { restoreStackSize(stackSize); } -rule__REALLiteral__Group__0 + +rule__Aggregation__Group__0 @init { int stackSize = keepStackSize(); } : - rule__REALLiteral__Group__0__Impl - rule__REALLiteral__Group__1 + rule__Aggregation__Group__0__Impl + rule__Aggregation__Group__1 ; finally { restoreStackSize(stackSize); } -rule__REALLiteral__Group__0__Impl +rule__Aggregation__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); } - ('-')? - { after(grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); } + { before(grammarAccess.getAggregationAccess().getOpAssignment_0()); } + (rule__Aggregation__OpAssignment_0) + { after(grammarAccess.getAggregationAccess().getOpAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__REALLiteral__Group__1 +rule__Aggregation__Group__1 @init { int stackSize = keepStackSize(); } : - rule__REALLiteral__Group__1__Impl - rule__REALLiteral__Group__2 + rule__Aggregation__Group__1__Impl + rule__Aggregation__Group__2 ; finally { restoreStackSize(stackSize); } -rule__REALLiteral__Group__1__Impl +rule__Aggregation__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); } - RULE_INT - { after(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); } + { before(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); } + '{' + { after(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__REALLiteral__Group__2 +rule__Aggregation__Group__2 @init { int stackSize = keepStackSize(); } : - rule__REALLiteral__Group__2__Impl - rule__REALLiteral__Group__3 + rule__Aggregation__Group__2__Impl + rule__Aggregation__Group__3 ; finally { restoreStackSize(stackSize); } -rule__REALLiteral__Group__2__Impl +rule__Aggregation__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); } - '.' - { after(grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); } + { before(grammarAccess.getAggregationAccess().getBodyAssignment_2()); } + (rule__Aggregation__BodyAssignment_2) + { after(grammarAccess.getAggregationAccess().getBodyAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__REALLiteral__Group__3 +rule__Aggregation__Group__3 @init { int stackSize = keepStackSize(); } : - rule__REALLiteral__Group__3__Impl + rule__Aggregation__Group__3__Impl + rule__Aggregation__Group__4 ; finally { restoreStackSize(stackSize); } -rule__REALLiteral__Group__3__Impl +rule__Aggregation__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); } - RULE_INT - { after(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); } + { before(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); } + '|' + { after(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); } ) ; finally { restoreStackSize(stackSize); } - -rule__INTLiteral__Group__0 +rule__Aggregation__Group__4 @init { int stackSize = keepStackSize(); } : - rule__INTLiteral__Group__0__Impl - rule__INTLiteral__Group__1 + rule__Aggregation__Group__4__Impl + rule__Aggregation__Group__5 ; finally { restoreStackSize(stackSize); } -rule__INTLiteral__Group__0__Impl +rule__Aggregation__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); } - ('-')? - { after(grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); } + { before(grammarAccess.getAggregationAccess().getConditionAssignment_4()); } + (rule__Aggregation__ConditionAssignment_4) + { after(grammarAccess.getAggregationAccess().getConditionAssignment_4()); } ) ; finally { restoreStackSize(stackSize); } -rule__INTLiteral__Group__1 +rule__Aggregation__Group__5 @init { int stackSize = keepStackSize(); } : - rule__INTLiteral__Group__1__Impl + rule__Aggregation__Group__5__Impl ; finally { restoreStackSize(stackSize); } -rule__INTLiteral__Group__1__Impl +rule__Aggregation__Group__5__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); } - RULE_INT - { after(grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); } + { before(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); } + '}' + { after(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); } ) ; finally { @@ -1761,53 +4980,53 @@ finally { } -rule__BooleanValue__Group_0__0 +rule__AtomicExpression__Group_0__0 @init { int stackSize = keepStackSize(); } : - rule__BooleanValue__Group_0__0__Impl - rule__BooleanValue__Group_0__1 + rule__AtomicExpression__Group_0__0__Impl + rule__AtomicExpression__Group_0__1 ; finally { restoreStackSize(stackSize); } -rule__BooleanValue__Group_0__0__Impl +rule__AtomicExpression__Group_0__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBooleanValueAccess().getBooleanTrueAction_0_0()); } - () - { after(grammarAccess.getBooleanValueAccess().getBooleanTrueAction_0_0()); } + { before(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0_0()); } + ruleReference + { after(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BooleanValue__Group_0__1 +rule__AtomicExpression__Group_0__1 @init { int stackSize = keepStackSize(); } : - rule__BooleanValue__Group_0__1__Impl + rule__AtomicExpression__Group_0__1__Impl ; finally { restoreStackSize(stackSize); } -rule__BooleanValue__Group_0__1__Impl +rule__AtomicExpression__Group_0__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBooleanValueAccess().getTrueKeyword_0_1()); } - 'true' - { after(grammarAccess.getBooleanValueAccess().getTrueKeyword_0_1()); } + { before(grammarAccess.getAtomicExpressionAccess().getGroup_0_1()); } + (rule__AtomicExpression__Group_0_1__0)? + { after(grammarAccess.getAtomicExpressionAccess().getGroup_0_1()); } ) ; finally { @@ -1815,53 +5034,53 @@ finally { } -rule__BooleanValue__Group_1__0 +rule__AtomicExpression__Group_0_1__0 @init { int stackSize = keepStackSize(); } : - rule__BooleanValue__Group_1__0__Impl - rule__BooleanValue__Group_1__1 + rule__AtomicExpression__Group_0_1__0__Impl + rule__AtomicExpression__Group_0_1__1 ; finally { restoreStackSize(stackSize); } -rule__BooleanValue__Group_1__0__Impl +rule__AtomicExpression__Group_0_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBooleanValueAccess().getFalseKeyword_1_0()); } - 'false' - { after(grammarAccess.getBooleanValueAccess().getFalseKeyword_1_0()); } + { before(grammarAccess.getAtomicExpressionAccess().getCallFunctorAction_0_1_0()); } + () + { after(grammarAccess.getAtomicExpressionAccess().getCallFunctorAction_0_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BooleanValue__Group_1__1 +rule__AtomicExpression__Group_0_1__1 @init { int stackSize = keepStackSize(); } : - rule__BooleanValue__Group_1__1__Impl + rule__AtomicExpression__Group_0_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__BooleanValue__Group_1__1__Impl +rule__AtomicExpression__Group_0_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBooleanValueAccess().getBooleanFalseAction_1_1()); } - () - { after(grammarAccess.getBooleanValueAccess().getBooleanFalseAction_1_1()); } + { before(grammarAccess.getAtomicExpressionAccess().getArgumentListAssignment_0_1_1()); } + (rule__AtomicExpression__ArgumentListAssignment_0_1_1) + { after(grammarAccess.getAtomicExpressionAccess().getArgumentListAssignment_0_1_1()); } ) ; finally { @@ -1869,161 +5088,161 @@ finally { } -rule__TruthValue__Group_0__0 +rule__AtomicExpression__Group_3__0 @init { int stackSize = keepStackSize(); } : - rule__TruthValue__Group_0__0__Impl - rule__TruthValue__Group_0__1 + rule__AtomicExpression__Group_3__0__Impl + rule__AtomicExpression__Group_3__1 ; finally { restoreStackSize(stackSize); } -rule__TruthValue__Group_0__0__Impl +rule__AtomicExpression__Group_3__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getTruthValueAccess().getTrueAction_0_0()); } - () - { after(grammarAccess.getTruthValueAccess().getTrueAction_0_0()); } + { before(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_3_0()); } + '(' + { after(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__TruthValue__Group_0__1 +rule__AtomicExpression__Group_3__1 @init { int stackSize = keepStackSize(); } : - rule__TruthValue__Group_0__1__Impl + rule__AtomicExpression__Group_3__1__Impl + rule__AtomicExpression__Group_3__2 ; finally { restoreStackSize(stackSize); } -rule__TruthValue__Group_0__1__Impl +rule__AtomicExpression__Group_3__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getTruthValueAccess().getTrueKeyword_0_1()); } - 'true' - { after(grammarAccess.getTruthValueAccess().getTrueKeyword_0_1()); } + { before(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_3_1()); } + ruleExpression + { after(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_3_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__TruthValue__Group_1__0 +rule__AtomicExpression__Group_3__2 @init { int stackSize = keepStackSize(); } : - rule__TruthValue__Group_1__0__Impl - rule__TruthValue__Group_1__1 + rule__AtomicExpression__Group_3__2__Impl ; finally { restoreStackSize(stackSize); } -rule__TruthValue__Group_1__0__Impl +rule__AtomicExpression__Group_3__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getTruthValueAccess().getFalseAction_1_0()); } - () - { after(grammarAccess.getTruthValueAccess().getFalseAction_1_0()); } + { before(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_3_2()); } + ')' + { after(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_3_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__TruthValue__Group_1__1 + +rule__Call__Group__0 @init { int stackSize = keepStackSize(); } : - rule__TruthValue__Group_1__1__Impl + rule__Call__Group__0__Impl + rule__Call__Group__1 ; finally { restoreStackSize(stackSize); } -rule__TruthValue__Group_1__1__Impl +rule__Call__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getTruthValueAccess().getFalseKeyword_1_1()); } - 'false' - { after(grammarAccess.getTruthValueAccess().getFalseKeyword_1_1()); } + { before(grammarAccess.getCallAccess().getFunctorAssignment_0()); } + (rule__Call__FunctorAssignment_0) + { after(grammarAccess.getCallAccess().getFunctorAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__TruthValue__Group_2__0 +rule__Call__Group__1 @init { int stackSize = keepStackSize(); } : - rule__TruthValue__Group_2__0__Impl - rule__TruthValue__Group_2__1 + rule__Call__Group__1__Impl + rule__Call__Group__2 ; finally { restoreStackSize(stackSize); } -rule__TruthValue__Group_2__0__Impl +rule__Call__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getTruthValueAccess().getUnknownAction_2_0()); } - () - { after(grammarAccess.getTruthValueAccess().getUnknownAction_2_0()); } + { before(grammarAccess.getCallAccess().getAlternatives_1()); } + (rule__Call__Alternatives_1)? + { after(grammarAccess.getCallAccess().getAlternatives_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__TruthValue__Group_2__1 +rule__Call__Group__2 @init { int stackSize = keepStackSize(); } : - rule__TruthValue__Group_2__1__Impl + rule__Call__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__TruthValue__Group_2__1__Impl +rule__Call__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getTruthValueAccess().getUnknownKeyword_2_1()); } - 'unknown' - { after(grammarAccess.getTruthValueAccess().getUnknownKeyword_2_1()); } + { before(grammarAccess.getCallAccess().getArgumentListAssignment_2()); } + (rule__Call__ArgumentListAssignment_2) + { after(grammarAccess.getCallAccess().getArgumentListAssignment_2()); } ) ; finally { @@ -2031,161 +5250,161 @@ finally { } -rule__TruthValue__Group_3__0 +rule__ArgumentList__Group__0 @init { int stackSize = keepStackSize(); } : - rule__TruthValue__Group_3__0__Impl - rule__TruthValue__Group_3__1 + rule__ArgumentList__Group__0__Impl + rule__ArgumentList__Group__1 ; finally { restoreStackSize(stackSize); } -rule__TruthValue__Group_3__0__Impl +rule__ArgumentList__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getTruthValueAccess().getErrorAction_3_0()); } + { before(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); } () - { after(grammarAccess.getTruthValueAccess().getErrorAction_3_0()); } + { after(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__TruthValue__Group_3__1 +rule__ArgumentList__Group__1 @init { int stackSize = keepStackSize(); } : - rule__TruthValue__Group_3__1__Impl + rule__ArgumentList__Group__1__Impl + rule__ArgumentList__Group__2 ; finally { restoreStackSize(stackSize); } -rule__TruthValue__Group_3__1__Impl +rule__ArgumentList__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getTruthValueAccess().getErrorKeyword_3_1()); } - 'error' - { after(grammarAccess.getTruthValueAccess().getErrorKeyword_3_1()); } + { before(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); } + '(' + { after(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__BasicInterpretation__Group__0 +rule__ArgumentList__Group__2 @init { int stackSize = keepStackSize(); } : - rule__BasicInterpretation__Group__0__Impl - rule__BasicInterpretation__Group__1 + rule__ArgumentList__Group__2__Impl + rule__ArgumentList__Group__3 ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group__0__Impl +rule__ArgumentList__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBasicInterpretationAccess().getSymbolAssignment_0()); } - (rule__BasicInterpretation__SymbolAssignment_0) - { after(grammarAccess.getBasicInterpretationAccess().getSymbolAssignment_0()); } + { before(grammarAccess.getArgumentListAccess().getGroup_2()); } + (rule__ArgumentList__Group_2__0)? + { after(grammarAccess.getArgumentListAccess().getGroup_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group__1 +rule__ArgumentList__Group__3 @init { int stackSize = keepStackSize(); } : - rule__BasicInterpretation__Group__1__Impl - rule__BasicInterpretation__Group__2 + rule__ArgumentList__Group__3__Impl ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group__1__Impl +rule__ArgumentList__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBasicInterpretationAccess().getGroup_1()); } - (rule__BasicInterpretation__Group_1__0)? - { after(grammarAccess.getBasicInterpretationAccess().getGroup_1()); } + { before(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); } + ')' + { after(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group__2 + +rule__ArgumentList__Group_2__0 @init { int stackSize = keepStackSize(); } : - rule__BasicInterpretation__Group__2__Impl - rule__BasicInterpretation__Group__3 + rule__ArgumentList__Group_2__0__Impl + rule__ArgumentList__Group_2__1 ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group__2__Impl +rule__ArgumentList__Group_2__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBasicInterpretationAccess().getColonKeyword_2()); } - ':' - { after(grammarAccess.getBasicInterpretationAccess().getColonKeyword_2()); } + { before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); } + (rule__ArgumentList__ArgumentsAssignment_2_0) + { after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group__3 +rule__ArgumentList__Group_2__1 @init { int stackSize = keepStackSize(); } : - rule__BasicInterpretation__Group__3__Impl + rule__ArgumentList__Group_2__1__Impl ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group__3__Impl +rule__ArgumentList__Group_2__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBasicInterpretationAccess().getValueAssignment_3()); } - (rule__BasicInterpretation__ValueAssignment_3) - { after(grammarAccess.getBasicInterpretationAccess().getValueAssignment_3()); } + { before(grammarAccess.getArgumentListAccess().getGroup_2_1()); } + (rule__ArgumentList__Group_2_1__0)* + { after(grammarAccess.getArgumentListAccess().getGroup_2_1()); } ) ; finally { @@ -2193,350 +5412,350 @@ finally { } -rule__BasicInterpretation__Group_1__0 +rule__ArgumentList__Group_2_1__0 @init { int stackSize = keepStackSize(); } : - rule__BasicInterpretation__Group_1__0__Impl - rule__BasicInterpretation__Group_1__1 + rule__ArgumentList__Group_2_1__0__Impl + rule__ArgumentList__Group_2_1__1 ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group_1__0__Impl +rule__ArgumentList__Group_2_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBasicInterpretationAccess().getLeftParenthesisKeyword_1_0()); } - '(' - { after(grammarAccess.getBasicInterpretationAccess().getLeftParenthesisKeyword_1_0()); } + { before(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); } + ',' + { after(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group_1__1 +rule__ArgumentList__Group_2_1__1 @init { int stackSize = keepStackSize(); } : - rule__BasicInterpretation__Group_1__1__Impl - rule__BasicInterpretation__Group_1__2 + rule__ArgumentList__Group_2_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group_1__1__Impl +rule__ArgumentList__Group_2_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()); } + { before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); } + (rule__ArgumentList__ArgumentsAssignment_2_1_1) + { after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group_1__2 + +rule__StarArgument__Group__0 @init { int stackSize = keepStackSize(); } : - rule__BasicInterpretation__Group_1__2__Impl + rule__StarArgument__Group__0__Impl + rule__StarArgument__Group__1 ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group_1__2__Impl +rule__StarArgument__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBasicInterpretationAccess().getRightParenthesisKeyword_1_2()); } - ')' - { after(grammarAccess.getBasicInterpretationAccess().getRightParenthesisKeyword_1_2()); } + { before(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); } + () + { after(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__BasicInterpretation__Group_1_1__0 +rule__StarArgument__Group__1 @init { int stackSize = keepStackSize(); } : - rule__BasicInterpretation__Group_1_1__0__Impl - rule__BasicInterpretation__Group_1_1__1 + rule__StarArgument__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group_1_1__0__Impl +rule__StarArgument__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_1_1_0()); } - (rule__BasicInterpretation__ObjectsAssignment_1_1_0) - { after(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_1_1_0()); } + { before(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); } + '*' + { after(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group_1_1__1 + +rule__TypedArgument__Group__0 @init { int stackSize = keepStackSize(); } : - rule__BasicInterpretation__Group_1_1__1__Impl + rule__TypedArgument__Group__0__Impl + rule__TypedArgument__Group__1 ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group_1_1__1__Impl +rule__TypedArgument__Group__0__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()); } + { before(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0()); } + (rule__TypedArgument__TypeAssignment_0) + { after(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__BasicInterpretation__Group_1_1_1__0 +rule__TypedArgument__Group__1 @init { int stackSize = keepStackSize(); } : - rule__BasicInterpretation__Group_1_1_1__0__Impl - rule__BasicInterpretation__Group_1_1_1__1 + rule__TypedArgument__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group_1_1_1__0__Impl +rule__TypedArgument__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBasicInterpretationAccess().getCommaKeyword_1_1_1_0()); } - ',' - { after(grammarAccess.getBasicInterpretationAccess().getCommaKeyword_1_1_1_0()); } + { before(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1()); } + (rule__TypedArgument__VariableAssignment_1) + { after(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group_1_1_1__1 + +rule__TypedStarArgument__Group__0 @init { int stackSize = keepStackSize(); } : - rule__BasicInterpretation__Group_1_1_1__1__Impl + rule__TypedStarArgument__Group__0__Impl + rule__TypedStarArgument__Group__1 ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__Group_1_1_1__1__Impl +rule__TypedStarArgument__Group__0__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()); } + { before(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0()); } + (rule__TypedStarArgument__TypeAssignment_0) + { after(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ExistSymbol__Group__0 +rule__TypedStarArgument__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ExistSymbol__Group__0__Impl - rule__ExistSymbol__Group__1 + rule__TypedStarArgument__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ExistSymbol__Group__0__Impl +rule__TypedStarArgument__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExistSymbolAccess().getExistsKeyword_0()); } - 'exists' - { after(grammarAccess.getExistSymbolAccess().getExistsKeyword_0()); } + { before(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); } + '*' + { after(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExistSymbol__Group__1 + +rule__Interval__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ExistSymbol__Group__1__Impl + rule__Interval__Group__0__Impl + rule__Interval__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ExistSymbol__Group__1__Impl +rule__Interval__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExistSymbolAccess().getExistSymbolAction_1()); } - () - { after(grammarAccess.getExistSymbolAccess().getExistSymbolAction_1()); } + { before(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); } + '[' + { after(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__EqualsSymbol__Group__0 +rule__Interval__Group__1 @init { int stackSize = keepStackSize(); } : - rule__EqualsSymbol__Group__0__Impl - rule__EqualsSymbol__Group__1 + rule__Interval__Group__1__Impl + rule__Interval__Group__2 ; finally { restoreStackSize(stackSize); } -rule__EqualsSymbol__Group__0__Impl +rule__Interval__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getEqualsSymbolAccess().getEqualsKeyword_0()); } - 'equals' - { after(grammarAccess.getEqualsSymbolAccess().getEqualsKeyword_0()); } + { before(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); } + (rule__Interval__LowerBoundAssignment_1) + { after(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__EqualsSymbol__Group__1 +rule__Interval__Group__2 @init { int stackSize = keepStackSize(); } : - rule__EqualsSymbol__Group__1__Impl + rule__Interval__Group__2__Impl + rule__Interval__Group__3 ; finally { restoreStackSize(stackSize); } -rule__EqualsSymbol__Group__1__Impl +rule__Interval__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getEqualsSymbolAccess().getEqualsSymbolAction_1()); } - () - { after(grammarAccess.getEqualsSymbolAccess().getEqualsSymbolAction_1()); } + { before(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); } + '..' + { after(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } - -rule__BooleanSymbol__Group__0 +rule__Interval__Group__3 @init { int stackSize = keepStackSize(); } : - rule__BooleanSymbol__Group__0__Impl - rule__BooleanSymbol__Group__1 + rule__Interval__Group__3__Impl + rule__Interval__Group__4 ; finally { restoreStackSize(stackSize); } -rule__BooleanSymbol__Group__0__Impl +rule__Interval__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBooleanSymbolAccess().getBoolKeyword_0()); } - 'bool' - { after(grammarAccess.getBooleanSymbolAccess().getBoolKeyword_0()); } + { before(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); } + (rule__Interval__UpperBoundAssignment_3) + { after(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__BooleanSymbol__Group__1 +rule__Interval__Group__4 @init { int stackSize = keepStackSize(); } : - rule__BooleanSymbol__Group__1__Impl + rule__Interval__Group__4__Impl ; finally { restoreStackSize(stackSize); } -rule__BooleanSymbol__Group__1__Impl +rule__Interval__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBooleanSymbolAccess().getBooleanSymbolAction_1()); } - () - { after(grammarAccess.getBooleanSymbolAccess().getBooleanSymbolAction_1()); } + { before(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); } + ']' + { after(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); } ) ; finally { @@ -2544,53 +5763,53 @@ finally { } -rule__IntegerSymbol__Group__0 +rule__InfinityLiteral__Group__0 @init { int stackSize = keepStackSize(); } : - rule__IntegerSymbol__Group__0__Impl - rule__IntegerSymbol__Group__1 + rule__InfinityLiteral__Group__0__Impl + rule__InfinityLiteral__Group__1 ; finally { restoreStackSize(stackSize); } -rule__IntegerSymbol__Group__0__Impl +rule__InfinityLiteral__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIntegerSymbolAccess().getIntKeyword_0()); } - 'int' - { after(grammarAccess.getIntegerSymbolAccess().getIntKeyword_0()); } + { before(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); } + () + { after(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__IntegerSymbol__Group__1 +rule__InfinityLiteral__Group__1 @init { int stackSize = keepStackSize(); } : - rule__IntegerSymbol__Group__1__Impl + rule__InfinityLiteral__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__IntegerSymbol__Group__1__Impl +rule__InfinityLiteral__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIntegerSymbolAccess().getIntegerSymbolAction_1()); } - () - { after(grammarAccess.getIntegerSymbolAccess().getIntegerSymbolAction_1()); } + { before(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); } + 'inf' + { after(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); } ) ; finally { @@ -2598,53 +5817,53 @@ finally { } -rule__RealSymbol__Group__0 +rule__EmptyIntervalLiteral__Group__0 @init { int stackSize = keepStackSize(); } : - rule__RealSymbol__Group__0__Impl - rule__RealSymbol__Group__1 + rule__EmptyIntervalLiteral__Group__0__Impl + rule__EmptyIntervalLiteral__Group__1 ; finally { restoreStackSize(stackSize); } -rule__RealSymbol__Group__0__Impl +rule__EmptyIntervalLiteral__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getRealSymbolAccess().getRealKeyword_0()); } - 'real' - { after(grammarAccess.getRealSymbolAccess().getRealKeyword_0()); } + { before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0()); } + () + { after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__RealSymbol__Group__1 +rule__EmptyIntervalLiteral__Group__1 @init { int stackSize = keepStackSize(); } : - rule__RealSymbol__Group__1__Impl + rule__EmptyIntervalLiteral__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__RealSymbol__Group__1__Impl +rule__EmptyIntervalLiteral__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getRealSymbolAccess().getRealSymbolAction_1()); } - () - { after(grammarAccess.getRealSymbolAccess().getRealSymbolAction_1()); } + { before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); } + 'empty' + { after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); } ) ; finally { @@ -2652,485 +5871,485 @@ finally { } -rule__StringSymbol__Group__0 +rule__ClassDefinition__Group__0 @init { int stackSize = keepStackSize(); } : - rule__StringSymbol__Group__0__Impl - rule__StringSymbol__Group__1 + rule__ClassDefinition__Group__0__Impl + rule__ClassDefinition__Group__1 ; finally { restoreStackSize(stackSize); } -rule__StringSymbol__Group__0__Impl +rule__ClassDefinition__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getStringSymbolAccess().getStringKeyword_0()); } - 'string' - { after(grammarAccess.getStringSymbolAccess().getStringKeyword_0()); } + { before(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0()); } + (rule__ClassDefinition__AbstractAssignment_0)? + { after(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__StringSymbol__Group__1 +rule__ClassDefinition__Group__1 @init { int stackSize = keepStackSize(); } : - rule__StringSymbol__Group__1__Impl + rule__ClassDefinition__Group__1__Impl + rule__ClassDefinition__Group__2 ; finally { restoreStackSize(stackSize); } -rule__StringSymbol__Group__1__Impl +rule__ClassDefinition__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getStringSymbolAccess().getStringSymbolAction_1()); } - () - { after(grammarAccess.getStringSymbolAccess().getStringSymbolAction_1()); } + { before(grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); } + 'class' + { after(grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__NamedObject__Group__0 +rule__ClassDefinition__Group__2 @init { int stackSize = keepStackSize(); } : - rule__NamedObject__Group__0__Impl - rule__NamedObject__Group__1 + rule__ClassDefinition__Group__2__Impl + rule__ClassDefinition__Group__3 ; finally { restoreStackSize(stackSize); } -rule__NamedObject__Group__0__Impl +rule__ClassDefinition__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getNamedObjectAccess().getApostropheKeyword_0()); } - '\'' - { after(grammarAccess.getNamedObjectAccess().getApostropheKeyword_0()); } + { before(grammarAccess.getClassDefinitionAccess().getNameAssignment_2()); } + (rule__ClassDefinition__NameAssignment_2) + { after(grammarAccess.getClassDefinitionAccess().getNameAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__NamedObject__Group__1 +rule__ClassDefinition__Group__3 @init { int stackSize = keepStackSize(); } : - rule__NamedObject__Group__1__Impl - rule__NamedObject__Group__2 + rule__ClassDefinition__Group__3__Impl + rule__ClassDefinition__Group__4 ; finally { restoreStackSize(stackSize); } -rule__NamedObject__Group__1__Impl +rule__ClassDefinition__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getNamedObjectAccess().getNameAssignment_1()); } - (rule__NamedObject__NameAssignment_1) - { after(grammarAccess.getNamedObjectAccess().getNameAssignment_1()); } + { before(grammarAccess.getClassDefinitionAccess().getGroup_3()); } + (rule__ClassDefinition__Group_3__0)? + { after(grammarAccess.getClassDefinitionAccess().getGroup_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__NamedObject__Group__2 +rule__ClassDefinition__Group__4 @init { int stackSize = keepStackSize(); } : - rule__NamedObject__Group__2__Impl + rule__ClassDefinition__Group__4__Impl + rule__ClassDefinition__Group__5 ; finally { restoreStackSize(stackSize); } -rule__NamedObject__Group__2__Impl +rule__ClassDefinition__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getNamedObjectAccess().getApostropheKeyword_2()); } - '\'' - { after(grammarAccess.getNamedObjectAccess().getApostropheKeyword_2()); } + { before(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); } + '{' + { after(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Predicate__Group__0 +rule__ClassDefinition__Group__5 @init { int stackSize = keepStackSize(); } : - rule__Predicate__Group__0__Impl - rule__Predicate__Group__1 + rule__ClassDefinition__Group__5__Impl + rule__ClassDefinition__Group__6 ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group__0__Impl +rule__ClassDefinition__Group__5__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getIsErrorAssignment_0()); } - (rule__Predicate__IsErrorAssignment_0)? - { after(grammarAccess.getPredicateAccess().getIsErrorAssignment_0()); } + { before(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5()); } + (rule__ClassDefinition__MembersAssignment_5)* + { after(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5()); } ) ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group__1 +rule__ClassDefinition__Group__6 @init { int stackSize = keepStackSize(); } : - rule__Predicate__Group__1__Impl - rule__Predicate__Group__2 + rule__ClassDefinition__Group__6__Impl ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group__1__Impl +rule__ClassDefinition__Group__6__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getSymbolAssignment_1()); } - (rule__Predicate__SymbolAssignment_1) - { after(grammarAccess.getPredicateAccess().getSymbolAssignment_1()); } + { before(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); } + '}' + { after(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); } ) ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group__2 + +rule__ClassDefinition__Group_3__0 @init { int stackSize = keepStackSize(); } : - rule__Predicate__Group__2__Impl - rule__Predicate__Group__3 + rule__ClassDefinition__Group_3__0__Impl + rule__ClassDefinition__Group_3__1 ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group__2__Impl +rule__ClassDefinition__Group_3__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getGroup_2()); } - (rule__Predicate__Group_2__0)? - { after(grammarAccess.getPredicateAccess().getGroup_2()); } + { before(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); } + 'extends' + { after(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group__3 +rule__ClassDefinition__Group_3__1 @init { int stackSize = keepStackSize(); } : - rule__Predicate__Group__3__Impl - rule__Predicate__Group__4 + rule__ClassDefinition__Group_3__1__Impl + rule__ClassDefinition__Group_3__2 ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group__3__Impl +rule__ClassDefinition__Group_3__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getColonHyphenMinusKeyword_3()); } - ':-' - { after(grammarAccess.getPredicateAccess().getColonHyphenMinusKeyword_3()); } + { before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1()); } + (rule__ClassDefinition__SuperclassesAssignment_3_1) + { after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group__4 +rule__ClassDefinition__Group_3__2 @init { int stackSize = keepStackSize(); } : - rule__Predicate__Group__4__Impl - rule__Predicate__Group__5 + rule__ClassDefinition__Group_3__2__Impl ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group__4__Impl +rule__ClassDefinition__Group_3__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getAlternatives_4()); } - (rule__Predicate__Alternatives_4) - { after(grammarAccess.getPredicateAccess().getAlternatives_4()); } + { before(grammarAccess.getClassDefinitionAccess().getGroup_3_2()); } + (rule__ClassDefinition__Group_3_2__0)* + { after(grammarAccess.getClassDefinitionAccess().getGroup_3_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group__5 + +rule__ClassDefinition__Group_3_2__0 @init { int stackSize = keepStackSize(); } : - rule__Predicate__Group__5__Impl + rule__ClassDefinition__Group_3_2__0__Impl + rule__ClassDefinition__Group_3_2__1 ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group__5__Impl +rule__ClassDefinition__Group_3_2__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getFullStopKeyword_5()); } - '.' - { after(grammarAccess.getPredicateAccess().getFullStopKeyword_5()); } + { before(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); } + ',' + { after(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Predicate__Group_2__0 +rule__ClassDefinition__Group_3_2__1 @init { int stackSize = keepStackSize(); } : - rule__Predicate__Group_2__0__Impl - rule__Predicate__Group_2__1 + rule__ClassDefinition__Group_3_2__1__Impl ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group_2__0__Impl +rule__ClassDefinition__Group_3_2__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getLeftParenthesisKeyword_2_0()); } - '(' - { after(grammarAccess.getPredicateAccess().getLeftParenthesisKeyword_2_0()); } + { before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1()); } + (rule__ClassDefinition__SuperclassesAssignment_3_2_1) + { after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group_2__1 + +rule__MemberDefinition__Group__0 @init { int stackSize = keepStackSize(); } : - rule__Predicate__Group_2__1__Impl - rule__Predicate__Group_2__2 + rule__MemberDefinition__Group__0__Impl + rule__MemberDefinition__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group_2__1__Impl +rule__MemberDefinition__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getGroup_2_1()); } - (rule__Predicate__Group_2_1__0)? - { after(grammarAccess.getPredicateAccess().getGroup_2_1()); } + { before(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0()); } + (rule__MemberDefinition__ContainmentAssignment_0)? + { after(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group_2__2 +rule__MemberDefinition__Group__1 @init { int stackSize = keepStackSize(); } : - rule__Predicate__Group_2__2__Impl + rule__MemberDefinition__Group__1__Impl + rule__MemberDefinition__Group__2 ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group_2__2__Impl +rule__MemberDefinition__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getRightParenthesisKeyword_2_2()); } - ')' - { after(grammarAccess.getPredicateAccess().getRightParenthesisKeyword_2_2()); } + { before(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1()); } + (rule__MemberDefinition__TypeAssignment_1) + { after(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Predicate__Group_2_1__0 +rule__MemberDefinition__Group__2 @init { int stackSize = keepStackSize(); } : - rule__Predicate__Group_2_1__0__Impl - rule__Predicate__Group_2_1__1 + rule__MemberDefinition__Group__2__Impl + rule__MemberDefinition__Group__3 ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group_2_1__0__Impl +rule__MemberDefinition__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getParametersAssignment_2_1_0()); } - (rule__Predicate__ParametersAssignment_2_1_0) - { after(grammarAccess.getPredicateAccess().getParametersAssignment_2_1_0()); } + { before(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2()); } + (rule__MemberDefinition__MultiplicityAssignment_2)? + { after(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group_2_1__1 +rule__MemberDefinition__Group__3 @init { int stackSize = keepStackSize(); } : - rule__Predicate__Group_2_1__1__Impl + rule__MemberDefinition__Group__3__Impl + rule__MemberDefinition__Group__4 ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group_2_1__1__Impl +rule__MemberDefinition__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getGroup_2_1_1()); } - (rule__Predicate__Group_2_1_1__0)* - { after(grammarAccess.getPredicateAccess().getGroup_2_1_1()); } + { before(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3()); } + (rule__MemberDefinition__NameAssignment_3) + { after(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Predicate__Group_2_1_1__0 +rule__MemberDefinition__Group__4 @init { int stackSize = keepStackSize(); } : - rule__Predicate__Group_2_1_1__0__Impl - rule__Predicate__Group_2_1_1__1 + rule__MemberDefinition__Group__4__Impl + rule__MemberDefinition__Group__5 ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group_2_1_1__0__Impl +rule__MemberDefinition__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getCommaKeyword_2_1_1_0()); } - ',' - { after(grammarAccess.getPredicateAccess().getCommaKeyword_2_1_1_0()); } + { before(grammarAccess.getMemberDefinitionAccess().getGroup_4()); } + (rule__MemberDefinition__Group_4__0)? + { after(grammarAccess.getMemberDefinitionAccess().getGroup_4()); } ) ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group_2_1_1__1 +rule__MemberDefinition__Group__5 @init { int stackSize = keepStackSize(); } : - rule__Predicate__Group_2_1_1__1__Impl + rule__MemberDefinition__Group__5__Impl ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group_2_1_1__1__Impl +rule__MemberDefinition__Group__5__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getParametersAssignment_2_1_1_1()); } - (rule__Predicate__ParametersAssignment_2_1_1_1) - { after(grammarAccess.getPredicateAccess().getParametersAssignment_2_1_1_1()); } + { before(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); } + (';')? + { after(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); } ) ; finally { @@ -3138,53 +6357,53 @@ finally { } -rule__Predicate__Group_4_1__0 +rule__MemberDefinition__Group_4__0 @init { int stackSize = keepStackSize(); } : - rule__Predicate__Group_4_1__0__Impl - rule__Predicate__Group_4_1__1 + rule__MemberDefinition__Group_4__0__Impl + rule__MemberDefinition__Group_4__1 ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group_4_1__0__Impl +rule__MemberDefinition__Group_4__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getBodiesAssignment_4_1_0()); } - (rule__Predicate__BodiesAssignment_4_1_0) - { after(grammarAccess.getPredicateAccess().getBodiesAssignment_4_1_0()); } + { before(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); } + 'opposite' + { after(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group_4_1__1 +rule__MemberDefinition__Group_4__1 @init { int stackSize = keepStackSize(); } : - rule__Predicate__Group_4_1__1__Impl + rule__MemberDefinition__Group_4__1__Impl ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group_4_1__1__Impl +rule__MemberDefinition__Group_4__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getGroup_4_1_1()); } - (rule__Predicate__Group_4_1_1__0)* - { after(grammarAccess.getPredicateAccess().getGroup_4_1_1()); } + { before(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1()); } + (rule__MemberDefinition__OppositeAssignment_4_1) + { after(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1()); } ) ; finally { @@ -3192,161 +6411,161 @@ finally { } -rule__Predicate__Group_4_1_1__0 +rule__ManyMultiplicity__Group__0 @init { int stackSize = keepStackSize(); } : - rule__Predicate__Group_4_1_1__0__Impl - rule__Predicate__Group_4_1_1__1 + rule__ManyMultiplicity__Group__0__Impl + rule__ManyMultiplicity__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group_4_1_1__0__Impl +rule__ManyMultiplicity__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getVerticalLineKeyword_4_1_1_0()); } - '|' - { after(grammarAccess.getPredicateAccess().getVerticalLineKeyword_4_1_1_0()); } + { before(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0()); } + () + { after(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group_4_1_1__1 +rule__ManyMultiplicity__Group__1 @init { int stackSize = keepStackSize(); } : - rule__Predicate__Group_4_1_1__1__Impl + rule__ManyMultiplicity__Group__1__Impl + rule__ManyMultiplicity__Group__2 ; finally { restoreStackSize(stackSize); } -rule__Predicate__Group_4_1_1__1__Impl +rule__ManyMultiplicity__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getBodiesAssignment_4_1_1_1()); } - (rule__Predicate__BodiesAssignment_4_1_1_1) - { after(grammarAccess.getPredicateAccess().getBodiesAssignment_4_1_1_1()); } + { before(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); } + '[' + { after(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Parameter__Group__0 +rule__ManyMultiplicity__Group__2 @init { int stackSize = keepStackSize(); } : - rule__Parameter__Group__0__Impl - rule__Parameter__Group__1 + rule__ManyMultiplicity__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__Parameter__Group__0__Impl +rule__ManyMultiplicity__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getParameterAccess().getVariableAssignment_0()); } - (rule__Parameter__VariableAssignment_0) - { after(grammarAccess.getParameterAccess().getVariableAssignment_0()); } + { before(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); } + ']' + { after(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__Parameter__Group__1 + +rule__ExactMultiplicity__Group__0 @init { int stackSize = keepStackSize(); } : - rule__Parameter__Group__1__Impl + rule__ExactMultiplicity__Group__0__Impl + rule__ExactMultiplicity__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Parameter__Group__1__Impl +rule__ExactMultiplicity__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getParameterAccess().getGroup_1()); } - (rule__Parameter__Group_1__0)? - { after(grammarAccess.getParameterAccess().getGroup_1()); } + { before(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); } + '[' + { after(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Parameter__Group_1__0 +rule__ExactMultiplicity__Group__1 @init { int stackSize = keepStackSize(); } : - rule__Parameter__Group_1__0__Impl - rule__Parameter__Group_1__1 + rule__ExactMultiplicity__Group__1__Impl + rule__ExactMultiplicity__Group__2 ; finally { restoreStackSize(stackSize); } -rule__Parameter__Group_1__0__Impl +rule__ExactMultiplicity__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getParameterAccess().getColonKeyword_1_0()); } - ':' - { after(grammarAccess.getParameterAccess().getColonKeyword_1_0()); } + { before(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1()); } + (rule__ExactMultiplicity__MultiplicityAssignment_1) + { after(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Parameter__Group_1__1 +rule__ExactMultiplicity__Group__2 @init { int stackSize = keepStackSize(); } : - rule__Parameter__Group_1__1__Impl + rule__ExactMultiplicity__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__Parameter__Group_1__1__Impl +rule__ExactMultiplicity__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getParameterAccess().getTypeAssignment_1_1()); } - (rule__Parameter__TypeAssignment_1_1) - { after(grammarAccess.getParameterAccess().getTypeAssignment_1_1()); } + { before(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); } + ']' + { after(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); } ) ; finally { @@ -3354,242 +6573,242 @@ finally { } -rule__PatternBody__Group__0 +rule__BoundedMultiplicity__Group__0 @init { int stackSize = keepStackSize(); } : - rule__PatternBody__Group__0__Impl - rule__PatternBody__Group__1 + rule__BoundedMultiplicity__Group__0__Impl + rule__BoundedMultiplicity__Group__1 ; finally { restoreStackSize(stackSize); } -rule__PatternBody__Group__0__Impl +rule__BoundedMultiplicity__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPatternBodyAccess().getPatternBodyAction_0()); } - () - { after(grammarAccess.getPatternBodyAccess().getPatternBodyAction_0()); } + { before(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); } + '[' + { after(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__PatternBody__Group__1 +rule__BoundedMultiplicity__Group__1 @init { int stackSize = keepStackSize(); } : - rule__PatternBody__Group__1__Impl + rule__BoundedMultiplicity__Group__1__Impl + rule__BoundedMultiplicity__Group__2 ; finally { restoreStackSize(stackSize); } -rule__PatternBody__Group__1__Impl +rule__BoundedMultiplicity__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPatternBodyAccess().getAlternatives_1()); } - (rule__PatternBody__Alternatives_1) - { after(grammarAccess.getPatternBodyAccess().getAlternatives_1()); } + { before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); } + (rule__BoundedMultiplicity__LowerBoundAssignment_1) + { after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Polarity__Group_0__0 +rule__BoundedMultiplicity__Group__2 @init { int stackSize = keepStackSize(); } : - rule__Polarity__Group_0__0__Impl - rule__Polarity__Group_0__1 + rule__BoundedMultiplicity__Group__2__Impl + rule__BoundedMultiplicity__Group__3 ; finally { restoreStackSize(stackSize); } -rule__Polarity__Group_0__0__Impl +rule__BoundedMultiplicity__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPolarityAccess().getPositiveAction_0_0()); } - () - { after(grammarAccess.getPolarityAccess().getPositiveAction_0_0()); } + { before(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); } + '..' + { after(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__Polarity__Group_0__1 +rule__BoundedMultiplicity__Group__3 @init { int stackSize = keepStackSize(); } : - rule__Polarity__Group_0__1__Impl + rule__BoundedMultiplicity__Group__3__Impl + rule__BoundedMultiplicity__Group__4 ; finally { restoreStackSize(stackSize); } -rule__Polarity__Group_0__1__Impl +rule__BoundedMultiplicity__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPolarityAccess().getPlusSignKeyword_0_1()); } - '+' - { after(grammarAccess.getPolarityAccess().getPlusSignKeyword_0_1()); } + { before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); } + (rule__BoundedMultiplicity__UpperBoundAssignment_3) + { after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Polarity__Group_1__0 +rule__BoundedMultiplicity__Group__4 @init { int stackSize = keepStackSize(); } : - rule__Polarity__Group_1__0__Impl - rule__Polarity__Group_1__1 + rule__BoundedMultiplicity__Group__4__Impl ; finally { restoreStackSize(stackSize); } -rule__Polarity__Group_1__0__Impl +rule__BoundedMultiplicity__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPolarityAccess().getNegativeAction_1_0()); } - () - { after(grammarAccess.getPolarityAccess().getNegativeAction_1_0()); } + { before(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); } + ']' + { after(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); } ) ; finally { restoreStackSize(stackSize); } -rule__Polarity__Group_1__1 + +rule__ExactScopeDefinition__Group__0 @init { int stackSize = keepStackSize(); } : - rule__Polarity__Group_1__1__Impl + rule__ExactScopeDefinition__Group__0__Impl + rule__ExactScopeDefinition__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Polarity__Group_1__1__Impl +rule__ExactScopeDefinition__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPolarityAccess().getHyphenMinusKeyword_1_1()); } - '-' - { after(grammarAccess.getPolarityAccess().getHyphenMinusKeyword_1_1()); } + { before(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); } + 'scope' + { after(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Constraint__Group_0__0 +rule__ExactScopeDefinition__Group__1 @init { int stackSize = keepStackSize(); } : - rule__Constraint__Group_0__0__Impl - rule__Constraint__Group_0__1 + rule__ExactScopeDefinition__Group__1__Impl + rule__ExactScopeDefinition__Group__2 ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_0__0__Impl +rule__ExactScopeDefinition__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getPolarityAssignment_0_0()); } - (rule__Constraint__PolarityAssignment_0_0)? - { after(grammarAccess.getConstraintAccess().getPolarityAssignment_0_0()); } + { before(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1()); } + (rule__ExactScopeDefinition__TypeAssignment_1) + { after(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_0__1 +rule__ExactScopeDefinition__Group__2 @init { int stackSize = keepStackSize(); } : - rule__Constraint__Group_0__1__Impl - rule__Constraint__Group_0__2 + rule__ExactScopeDefinition__Group__2__Impl + rule__ExactScopeDefinition__Group__3 ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_0__1__Impl +rule__ExactScopeDefinition__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getSymbolAssignment_0_1()); } - (rule__Constraint__SymbolAssignment_0_1) - { after(grammarAccess.getConstraintAccess().getSymbolAssignment_0_1()); } + { before(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); } + '==' + { after(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_0__2 +rule__ExactScopeDefinition__Group__3 @init { int stackSize = keepStackSize(); } : - rule__Constraint__Group_0__2__Impl + rule__ExactScopeDefinition__Group__3__Impl ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_0__2__Impl +rule__ExactScopeDefinition__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getGroup_0_2()); } - (rule__Constraint__Group_0_2__0)? - { after(grammarAccess.getConstraintAccess().getGroup_0_2()); } + { before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3()); } + (rule__ExactScopeDefinition__ExactScopeAssignment_3) + { after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3()); } ) ; finally { @@ -3597,350 +6816,350 @@ finally { } -rule__Constraint__Group_0_2__0 +rule__BoundedScopeDefinition__Group__0 @init { int stackSize = keepStackSize(); } : - rule__Constraint__Group_0_2__0__Impl - rule__Constraint__Group_0_2__1 + rule__BoundedScopeDefinition__Group__0__Impl + rule__BoundedScopeDefinition__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_0_2__0__Impl +rule__BoundedScopeDefinition__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_0_2_0()); } - '(' - { after(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_0_2_0()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); } + 'scope' + { after(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_0_2__1 +rule__BoundedScopeDefinition__Group__1 @init { int stackSize = keepStackSize(); } : - rule__Constraint__Group_0_2__1__Impl - rule__Constraint__Group_0_2__2 + rule__BoundedScopeDefinition__Group__1__Impl + rule__BoundedScopeDefinition__Group__2 ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_0_2__1__Impl +rule__BoundedScopeDefinition__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getParamsAssignment_0_2_1()); } - (rule__Constraint__ParamsAssignment_0_2_1)? - { after(grammarAccess.getConstraintAccess().getParamsAssignment_0_2_1()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1()); } + (rule__BoundedScopeDefinition__Alternatives_1) + { after(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_0_2__2 +rule__BoundedScopeDefinition__Group__2 @init { int stackSize = keepStackSize(); } : - rule__Constraint__Group_0_2__2__Impl - rule__Constraint__Group_0_2__3 + rule__BoundedScopeDefinition__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_0_2__2__Impl +rule__BoundedScopeDefinition__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getGroup_0_2_2()); } - (rule__Constraint__Group_0_2_2__0)* - { after(grammarAccess.getConstraintAccess().getGroup_0_2_2()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getFullStopKeyword_2()); } + '.' + { after(grammarAccess.getBoundedScopeDefinitionAccess().getFullStopKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_0_2__3 + +rule__BoundedScopeDefinition__Group_1_0__0 @init { int stackSize = keepStackSize(); } : - rule__Constraint__Group_0_2__3__Impl + rule__BoundedScopeDefinition__Group_1_0__0__Impl + rule__BoundedScopeDefinition__Group_1_0__1 ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_0_2__3__Impl +rule__BoundedScopeDefinition__Group_1_0__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_0_2_3()); } - ')' - { after(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_0_2_3()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0()); } + (rule__BoundedScopeDefinition__Group_1_0_0__0)? + { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Constraint__Group_0_2_2__0 +rule__BoundedScopeDefinition__Group_1_0__1 @init { int stackSize = keepStackSize(); } : - rule__Constraint__Group_0_2_2__0__Impl - rule__Constraint__Group_0_2_2__1 + rule__BoundedScopeDefinition__Group_1_0__1__Impl + rule__BoundedScopeDefinition__Group_1_0__2 ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_0_2_2__0__Impl +rule__BoundedScopeDefinition__Group_1_0__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getCommaKeyword_0_2_2_0()); } - ',' - { after(grammarAccess.getConstraintAccess().getCommaKeyword_0_2_2_0()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1()); } + (rule__BoundedScopeDefinition__TypeAssignment_1_0_1) + { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_0_2_2__1 +rule__BoundedScopeDefinition__Group_1_0__2 @init { int stackSize = keepStackSize(); } : - rule__Constraint__Group_0_2_2__1__Impl + rule__BoundedScopeDefinition__Group_1_0__2__Impl + rule__BoundedScopeDefinition__Group_1_0__3 ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_0_2_2__1__Impl +rule__BoundedScopeDefinition__Group_1_0__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getParamsAssignment_0_2_2_1()); } - (rule__Constraint__ParamsAssignment_0_2_2_1) - { after(grammarAccess.getConstraintAccess().getParamsAssignment_0_2_2_1()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); } + '<=' + { after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Constraint__Group_1__0 +rule__BoundedScopeDefinition__Group_1_0__3 @init { int stackSize = keepStackSize(); } : - rule__Constraint__Group_1__0__Impl - rule__Constraint__Group_1__1 + rule__BoundedScopeDefinition__Group_1_0__3__Impl ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_1__0__Impl +rule__BoundedScopeDefinition__Group_1_0__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getClosureTypeAssignment_1_0()); } - (rule__Constraint__ClosureTypeAssignment_1_0) - { after(grammarAccess.getConstraintAccess().getClosureTypeAssignment_1_0()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3()); } + (rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3) + { after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_1__1 + +rule__BoundedScopeDefinition__Group_1_0_0__0 @init { int stackSize = keepStackSize(); } : - rule__Constraint__Group_1__1__Impl - rule__Constraint__Group_1__2 + rule__BoundedScopeDefinition__Group_1_0_0__0__Impl + rule__BoundedScopeDefinition__Group_1_0_0__1 ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_1__1__Impl +rule__BoundedScopeDefinition__Group_1_0_0__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_1_1()); } - '(' - { after(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_1_1()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0()); } + (rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0) + { after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_1__2 +rule__BoundedScopeDefinition__Group_1_0_0__1 @init { int stackSize = keepStackSize(); } : - rule__Constraint__Group_1__2__Impl - rule__Constraint__Group_1__3 + rule__BoundedScopeDefinition__Group_1_0_0__1__Impl ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_1__2__Impl +rule__BoundedScopeDefinition__Group_1_0_0__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getParamsAssignment_1_2()); } - (rule__Constraint__ParamsAssignment_1_2)? - { after(grammarAccess.getConstraintAccess().getParamsAssignment_1_2()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); } + '<=' + { after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_1__3 + +rule__BoundedScopeDefinition__Group_1_1__0 @init { int stackSize = keepStackSize(); } : - rule__Constraint__Group_1__3__Impl - rule__Constraint__Group_1__4 + rule__BoundedScopeDefinition__Group_1_1__0__Impl + rule__BoundedScopeDefinition__Group_1_1__1 ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_1__3__Impl +rule__BoundedScopeDefinition__Group_1_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getGroup_1_3()); } - (rule__Constraint__Group_1_3__0)* - { after(grammarAccess.getConstraintAccess().getGroup_1_3()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0()); } + (rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0) + { after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_1__4 +rule__BoundedScopeDefinition__Group_1_1__1 @init { int stackSize = keepStackSize(); } : - rule__Constraint__Group_1__4__Impl + rule__BoundedScopeDefinition__Group_1_1__1__Impl + rule__BoundedScopeDefinition__Group_1_1__2 ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_1__4__Impl +rule__BoundedScopeDefinition__Group_1_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_1_4()); } - ')' - { after(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_1_4()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } + '>=' + { after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Constraint__Group_1_3__0 +rule__BoundedScopeDefinition__Group_1_1__2 @init { int stackSize = keepStackSize(); } : - rule__Constraint__Group_1_3__0__Impl - rule__Constraint__Group_1_3__1 + rule__BoundedScopeDefinition__Group_1_1__2__Impl + rule__BoundedScopeDefinition__Group_1_1__3 ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_1_3__0__Impl +rule__BoundedScopeDefinition__Group_1_1__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getCommaKeyword_1_3_0()); } - ',' - { after(grammarAccess.getConstraintAccess().getCommaKeyword_1_3_0()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2()); } + (rule__BoundedScopeDefinition__TypeAssignment_1_1_2) + { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_1_3__1 +rule__BoundedScopeDefinition__Group_1_1__3 @init { int stackSize = keepStackSize(); } : - rule__Constraint__Group_1_3__1__Impl + rule__BoundedScopeDefinition__Group_1_1__3__Impl ; finally { restoreStackSize(stackSize); } -rule__Constraint__Group_1_3__1__Impl +rule__BoundedScopeDefinition__Group_1_1__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getParamsAssignment_1_3_1()); } - (rule__Constraint__ParamsAssignment_1_3_1) - { after(grammarAccess.getConstraintAccess().getParamsAssignment_1_3_1()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3()); } + (rule__BoundedScopeDefinition__Group_1_1_3__0)? + { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3()); } ) ; finally { @@ -3948,53 +7167,53 @@ finally { } -rule__ClosureType__Group_0__0 +rule__BoundedScopeDefinition__Group_1_1_3__0 @init { int stackSize = keepStackSize(); } : - rule__ClosureType__Group_0__0__Impl - rule__ClosureType__Group_0__1 + rule__BoundedScopeDefinition__Group_1_1_3__0__Impl + rule__BoundedScopeDefinition__Group_1_1_3__1 ; finally { restoreStackSize(stackSize); } -rule__ClosureType__Group_0__0__Impl +rule__BoundedScopeDefinition__Group_1_1_3__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClosureTypeAccess().getReflexiveClosureAction_0_0()); } - () - { after(grammarAccess.getClosureTypeAccess().getReflexiveClosureAction_0_0()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); } + '>=' + { after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClosureType__Group_0__1 +rule__BoundedScopeDefinition__Group_1_1_3__1 @init { int stackSize = keepStackSize(); } : - rule__ClosureType__Group_0__1__Impl + rule__BoundedScopeDefinition__Group_1_1_3__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ClosureType__Group_0__1__Impl +rule__BoundedScopeDefinition__Group_1_1_3__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClosureTypeAccess().getAsteriskKeyword_0_1()); } - '*' - { after(grammarAccess.getClosureTypeAccess().getAsteriskKeyword_0_1()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1()); } + (rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1) + { after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1()); } ) ; finally { @@ -4002,161 +7221,161 @@ finally { } -rule__ClosureType__Group_1__0 +rule__LowerBoundedScopeDefinition__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ClosureType__Group_1__0__Impl - rule__ClosureType__Group_1__1 + rule__LowerBoundedScopeDefinition__Group__0__Impl + rule__LowerBoundedScopeDefinition__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ClosureType__Group_1__0__Impl +rule__LowerBoundedScopeDefinition__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClosureTypeAccess().getIrreflexiveClosureAction_1_0()); } - () - { after(grammarAccess.getClosureTypeAccess().getIrreflexiveClosureAction_1_0()); } + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); } + 'scope' + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClosureType__Group_1__1 +rule__LowerBoundedScopeDefinition__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ClosureType__Group_1__1__Impl + rule__LowerBoundedScopeDefinition__Group__1__Impl + rule__LowerBoundedScopeDefinition__Group__2 ; finally { restoreStackSize(stackSize); } -rule__ClosureType__Group_1__1__Impl +rule__LowerBoundedScopeDefinition__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClosureTypeAccess().getPlusSignKeyword_1_1()); } - '+' - { after(grammarAccess.getClosureTypeAccess().getPlusSignKeyword_1_1()); } + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1()); } + (rule__LowerBoundedScopeDefinition__Alternatives_1) + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__AllInstances__Group__0 +rule__LowerBoundedScopeDefinition__Group__2 @init { int stackSize = keepStackSize(); } : - rule__AllInstances__Group__0__Impl - rule__AllInstances__Group__1 + rule__LowerBoundedScopeDefinition__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__AllInstances__Group__0__Impl +rule__LowerBoundedScopeDefinition__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAllInstancesAccess().getColonKeyword_0()); } - ':' - { after(grammarAccess.getAllInstancesAccess().getColonKeyword_0()); } + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getFullStopKeyword_2()); } + '.' + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getFullStopKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__AllInstances__Group__1 + +rule__LowerBoundedScopeDefinition__Group_1_0__0 @init { int stackSize = keepStackSize(); } : - rule__AllInstances__Group__1__Impl + rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl + rule__LowerBoundedScopeDefinition__Group_1_0__1 ; finally { restoreStackSize(stackSize); } -rule__AllInstances__Group__1__Impl +rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAllInstancesAccess().getSymbolAssignment_1()); } - (rule__AllInstances__SymbolAssignment_1) - { after(grammarAccess.getAllInstancesAccess().getSymbolAssignment_1()); } + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0()); } + (rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0) + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__AllObjects__Group__0 +rule__LowerBoundedScopeDefinition__Group_1_0__1 @init { int stackSize = keepStackSize(); } : - rule__AllObjects__Group__0__Impl - rule__AllObjects__Group__1 + rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl + rule__LowerBoundedScopeDefinition__Group_1_0__2 ; finally { restoreStackSize(stackSize); } -rule__AllObjects__Group__0__Impl +rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAllObjectsAccess().getAllObjectsAction_0()); } - () - { after(grammarAccess.getAllObjectsAccess().getAllObjectsAction_0()); } + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); } + '<=' + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__AllObjects__Group__1 +rule__LowerBoundedScopeDefinition__Group_1_0__2 @init { int stackSize = keepStackSize(); } : - rule__AllObjects__Group__1__Impl + rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl ; finally { restoreStackSize(stackSize); } -rule__AllObjects__Group__1__Impl +rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAllObjectsAccess().getAsteriskKeyword_1()); } - '*' - { after(grammarAccess.getAllObjectsAccess().getAsteriskKeyword_1()); } + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2()); } + (rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2) + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2()); } ) ; finally { @@ -4164,242 +7383,242 @@ finally { } -rule__DefaultInterpretation__Group__0 +rule__LowerBoundedScopeDefinition__Group_1_1__0 @init { int stackSize = keepStackSize(); } : - rule__DefaultInterpretation__Group__0__Impl - rule__DefaultInterpretation__Group__1 + rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl + rule__LowerBoundedScopeDefinition__Group_1_1__1 ; finally { restoreStackSize(stackSize); } -rule__DefaultInterpretation__Group__0__Impl +rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDefaultInterpretationAccess().getDefaultKeyword_0()); } - 'default' - { after(grammarAccess.getDefaultInterpretationAccess().getDefaultKeyword_0()); } + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0()); } + (rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0) + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__DefaultInterpretation__Group__1 +rule__LowerBoundedScopeDefinition__Group_1_1__1 @init { int stackSize = keepStackSize(); } : - rule__DefaultInterpretation__Group__1__Impl + rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl + rule__LowerBoundedScopeDefinition__Group_1_1__2 ; finally { restoreStackSize(stackSize); } -rule__DefaultInterpretation__Group__1__Impl +rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDefaultInterpretationAccess().getInterpretationAssignment_1()); } - (rule__DefaultInterpretation__InterpretationAssignment_1) - { after(grammarAccess.getDefaultInterpretationAccess().getInterpretationAssignment_1()); } + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } + '>=' + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ClassInterpretation__Group__0 +rule__LowerBoundedScopeDefinition__Group_1_1__2 @init { int stackSize = keepStackSize(); } : - rule__ClassInterpretation__Group__0__Impl - rule__ClassInterpretation__Group__1 + rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__Group__0__Impl +rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassInterpretationAccess().getAbstractAssignment_0()); } - (rule__ClassInterpretation__AbstractAssignment_0)? - { after(grammarAccess.getClassInterpretationAccess().getAbstractAssignment_0()); } + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2()); } + (rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2) + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__Group__1 + +rule__ObjectiveDefinition__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ClassInterpretation__Group__1__Impl - rule__ClassInterpretation__Group__2 + rule__ObjectiveDefinition__Group__0__Impl + rule__ObjectiveDefinition__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__Group__1__Impl +rule__ObjectiveDefinition__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassInterpretationAccess().getClassKeyword_1()); } - 'class' - { after(grammarAccess.getClassInterpretationAccess().getClassKeyword_1()); } + { before(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0()); } + (rule__ObjectiveDefinition__KindAssignment_0) + { after(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__Group__2 +rule__ObjectiveDefinition__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ClassInterpretation__Group__2__Impl - rule__ClassInterpretation__Group__3 + rule__ObjectiveDefinition__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__Group__2__Impl +rule__ObjectiveDefinition__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassInterpretationAccess().getSymbolAssignment_2()); } - (rule__ClassInterpretation__SymbolAssignment_2) - { after(grammarAccess.getClassInterpretationAccess().getSymbolAssignment_2()); } + { before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1()); } + (rule__ObjectiveDefinition__ObjectiveAssignment_1) + { after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__Group__3 + +rule__Real__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ClassInterpretation__Group__3__Impl - rule__ClassInterpretation__Group__4 + rule__Real__Group__0__Impl + rule__Real__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__Group__3__Impl +rule__Real__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassInterpretationAccess().getGroup_3()); } - (rule__ClassInterpretation__Group_3__0)? - { after(grammarAccess.getClassInterpretationAccess().getGroup_3()); } + { before(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); } + RULE_INT + { after(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__Group__4 +rule__Real__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ClassInterpretation__Group__4__Impl - rule__ClassInterpretation__Group__5 + rule__Real__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__Group__4__Impl +rule__Real__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassInterpretationAccess().getLeftCurlyBracketKeyword_4()); } - '{' - { after(grammarAccess.getClassInterpretationAccess().getLeftCurlyBracketKeyword_4()); } + { before(grammarAccess.getRealAccess().getGroup_1()); } + (rule__Real__Group_1__0)? + { after(grammarAccess.getRealAccess().getGroup_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__Group__5 + +rule__Real__Group_1__0 @init { int stackSize = keepStackSize(); } : - rule__ClassInterpretation__Group__5__Impl - rule__ClassInterpretation__Group__6 + rule__Real__Group_1__0__Impl + rule__Real__Group_1__1 ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__Group__5__Impl +rule__Real__Group_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassInterpretationAccess().getFieltAssignment_5()); } - (rule__ClassInterpretation__FieltAssignment_5)* - { after(grammarAccess.getClassInterpretationAccess().getFieltAssignment_5()); } + { before(grammarAccess.getRealAccess().getFullStopKeyword_1_0()); } + '.' + { after(grammarAccess.getRealAccess().getFullStopKeyword_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__Group__6 +rule__Real__Group_1__1 @init { int stackSize = keepStackSize(); } : - rule__ClassInterpretation__Group__6__Impl + rule__Real__Group_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__Group__6__Impl +rule__Real__Group_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassInterpretationAccess().getRightCurlyBracketKeyword_6()); } - '}' - { after(grammarAccess.getClassInterpretationAccess().getRightCurlyBracketKeyword_6()); } + { before(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); } + RULE_INT + { after(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); } ) ; finally { @@ -4407,60 +7626,53 @@ finally { } -rule__ClassInterpretation__Group_3__0 +rule__QualifiedName__Group_0__0 @init { int stackSize = keepStackSize(); } : - rule__ClassInterpretation__Group_3__0__Impl - rule__ClassInterpretation__Group_3__1 + rule__QualifiedName__Group_0__0__Impl + rule__QualifiedName__Group_0__1 ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__Group_3__0__Impl +rule__QualifiedName__Group_0__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassInterpretationAccess().getExtendsKeyword_3_0()); } - 'extends' - { after(grammarAccess.getClassInterpretationAccess().getExtendsKeyword_3_0()); } + { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); } + RULE_ID + { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__Group_3__1 +rule__QualifiedName__Group_0__1 @init { int stackSize = keepStackSize(); } : - rule__ClassInterpretation__Group_3__1__Impl + rule__QualifiedName__Group_0__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__Group_3__1__Impl +rule__QualifiedName__Group_0__1__Impl @init { int stackSize = keepStackSize(); } : ( - ( - { before(grammarAccess.getClassInterpretationAccess().getSupertypesAssignment_3_1()); } - (rule__ClassInterpretation__SupertypesAssignment_3_1) - { after(grammarAccess.getClassInterpretationAccess().getSupertypesAssignment_3_1()); } - ) - ( - { before(grammarAccess.getClassInterpretationAccess().getSupertypesAssignment_3_1()); } - (rule__ClassInterpretation__SupertypesAssignment_3_1)* - { after(grammarAccess.getClassInterpretationAccess().getSupertypesAssignment_3_1()); } - ) + { before(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); } + (rule__QualifiedName__Group_0_1__0)* + { after(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); } ) ; finally { @@ -4468,1344 +7680,1435 @@ finally { } -rule__EnumInterpretation__Group__0 +rule__QualifiedName__Group_0_1__0 @init { int stackSize = keepStackSize(); } : - rule__EnumInterpretation__Group__0__Impl - rule__EnumInterpretation__Group__1 + rule__QualifiedName__Group_0_1__0__Impl + rule__QualifiedName__Group_0_1__1 ; finally { restoreStackSize(stackSize); } -rule__EnumInterpretation__Group__0__Impl +rule__QualifiedName__Group_0_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getEnumInterpretationAccess().getEnumKeyword_0()); } - 'enum' - { after(grammarAccess.getEnumInterpretationAccess().getEnumKeyword_0()); } + { before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); } + '.' + { after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__EnumInterpretation__Group__1 +rule__QualifiedName__Group_0_1__1 @init { int stackSize = keepStackSize(); } : - rule__EnumInterpretation__Group__1__Impl - rule__EnumInterpretation__Group__2 + rule__QualifiedName__Group_0_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__EnumInterpretation__Group__1__Impl +rule__QualifiedName__Group_0_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getEnumInterpretationAccess().getSymbolAssignment_1()); } - (rule__EnumInterpretation__SymbolAssignment_1) - { after(grammarAccess.getEnumInterpretationAccess().getSymbolAssignment_1()); } + { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); } + RULE_ID + { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__EnumInterpretation__Group__2 + +rule__Problem__StatementsAssignment @init { int stackSize = keepStackSize(); } : - rule__EnumInterpretation__Group__2__Impl - rule__EnumInterpretation__Group__3 + ( + { before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); } + ruleStatement + { after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__EnumInterpretation__Group__2__Impl +rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getEnumInterpretationAccess().getLeftCurlyBracketKeyword_2()); } - '{' - { after(grammarAccess.getEnumInterpretationAccess().getLeftCurlyBracketKeyword_2()); } -) + ( + { before(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); } + ruleExpression + { after(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__EnumInterpretation__Group__3 +rule__AssertionOrDefinition__BodyAssignment_1_1_2 @init { int stackSize = keepStackSize(); } : - rule__EnumInterpretation__Group__3__Impl - rule__EnumInterpretation__Group__4 + ( + { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); } + ruleExpression + { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__EnumInterpretation__Group__3__Impl +rule__AssertionOrDefinition__BodyAssignment_1_2_2 @init { int stackSize = keepStackSize(); } : -( - ( - { before(grammarAccess.getEnumInterpretationAccess().getObjectsAssignment_3()); } - (rule__EnumInterpretation__ObjectsAssignment_3) - { after(grammarAccess.getEnumInterpretationAccess().getObjectsAssignment_3()); } - ) ( - { before(grammarAccess.getEnumInterpretationAccess().getObjectsAssignment_3()); } - (rule__EnumInterpretation__ObjectsAssignment_3)* - { after(grammarAccess.getEnumInterpretationAccess().getObjectsAssignment_3()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); } + ruleExpression + { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); } ) -) ; finally { restoreStackSize(stackSize); } -rule__EnumInterpretation__Group__4 +rule__PredicateDefinition__FunctionalAssignment_0_0_0 @init { int stackSize = keepStackSize(); } : - rule__EnumInterpretation__Group__4__Impl + ( + { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); } + ( + { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); } + 'functional' + { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); } + ) + { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__EnumInterpretation__Group__4__Impl +rule__PredicateDefinition__ErrorAssignment_0_0_1 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getEnumInterpretationAccess().getRightCurlyBracketKeyword_4()); } - '}' - { after(grammarAccess.getEnumInterpretationAccess().getRightCurlyBracketKeyword_4()); } -) + ( + { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); } + ( + { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); } + 'error' + { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); } + ) + { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); } + ) ; finally { restoreStackSize(stackSize); } - -rule__FieldRelationInterpretation__Group__0 +rule__PredicateDefinition__ErrorAssignment_0_1_0 @init { int stackSize = keepStackSize(); } : - rule__FieldRelationInterpretation__Group__0__Impl - rule__FieldRelationInterpretation__Group__1 + ( + { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); } + ( + { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); } + 'error' + { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); } + ) + { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__FieldRelationInterpretation__Group__0__Impl +rule__PredicateDefinition__FunctionalAssignment_0_1_1 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getFieldRelationInterpretationAccess().getContainmentAssignment_0()); } - (rule__FieldRelationInterpretation__ContainmentAssignment_0)? - { after(grammarAccess.getFieldRelationInterpretationAccess().getContainmentAssignment_0()); } -) + ( + { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); } + ( + { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); } + 'functional' + { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); } + ) + { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__FieldRelationInterpretation__Group__1 +rule__PredicateDefinition__HeadAssignment_1 @init { int stackSize = keepStackSize(); } : - rule__FieldRelationInterpretation__Group__1__Impl - rule__FieldRelationInterpretation__Group__2 + ( + { before(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + ruleCall + { after(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__FieldRelationInterpretation__Group__1__Impl +rule__PredicateDefinition__BodyAssignment_3 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getFieldRelationInterpretationAccess().getSymbolAssignment_1()); } - (rule__FieldRelationInterpretation__SymbolAssignment_1) - { after(grammarAccess.getFieldRelationInterpretationAccess().getSymbolAssignment_1()); } -) + ( + { before(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + ruleExpression + { after(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__FieldRelationInterpretation__Group__2 +rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 @init { int stackSize = keepStackSize(); } : - rule__FieldRelationInterpretation__Group__2__Impl - rule__FieldRelationInterpretation__Group__3 + ( + { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); } + ruleArgumentList + { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__FieldRelationInterpretation__Group__2__Impl +rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getFieldRelationInterpretationAccess().getColonKeyword_2()); } - ':' - { after(grammarAccess.getFieldRelationInterpretationAccess().getColonKeyword_2()); } -) + ( + { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + ruleExpression + { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__FieldRelationInterpretation__Group__3 +rule__DefaultDefinition__HeadAssignment_1 @init { int stackSize = keepStackSize(); } : - rule__FieldRelationInterpretation__Group__3__Impl - rule__FieldRelationInterpretation__Group__4 + ( + { before(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + ruleCall + { after(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__FieldRelationInterpretation__Group__3__Impl +rule__DefaultDefinition__RangeAssignment_3 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getFieldRelationInterpretationAccess().getMultiplicityAssignment_3()); } - (rule__FieldRelationInterpretation__MultiplicityAssignment_3)? - { after(grammarAccess.getFieldRelationInterpretationAccess().getMultiplicityAssignment_3()); } -) + ( + { before(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); } + ruleExpression + { after(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__FieldRelationInterpretation__Group__4 +rule__ExternPredicateDefinition__HeadAssignment_1 @init { int stackSize = keepStackSize(); } : - rule__FieldRelationInterpretation__Group__4__Impl + ( + { before(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + ruleCall + { after(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__FieldRelationInterpretation__Group__4__Impl +rule__MetricDefinition__TypeAssignment_0 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getFieldRelationInterpretationAccess().getTargetAssignment_4()); } - (rule__FieldRelationInterpretation__TargetAssignment_4) - { after(grammarAccess.getFieldRelationInterpretationAccess().getTargetAssignment_4()); } -) + ( + { before(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0()); } + ruleMetricType + { after(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0()); } + ) ; finally { restoreStackSize(stackSize); } - -rule__GlobalRelationInterpretation__Group__0 +rule__MetricDefinition__HeadAssignment_1 @init { int stackSize = keepStackSize(); } : - rule__GlobalRelationInterpretation__Group__0__Impl - rule__GlobalRelationInterpretation__Group__1 + ( + { before(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0()); } + ruleExpression + { after(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__Group__0__Impl +rule__MetricDefinition__BodyAssignment_3 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentAssignment_0()); } - (rule__GlobalRelationInterpretation__ContainmentAssignment_0)? - { after(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentAssignment_0()); } -) + ( + { before(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + ruleExpression + { after(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__Group__1 +rule__ExternMetricDefinition__TypeAssignment_1 @init { int stackSize = keepStackSize(); } : - rule__GlobalRelationInterpretation__Group__1__Impl - rule__GlobalRelationInterpretation__Group__2 + ( + { before(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0()); } + ruleMetricType + { after(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__Group__1__Impl +rule__ExternMetricDefinition__HeadAssignment_2 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getGlobalRelationInterpretationAccess().getRelationKeyword_1()); } - 'relation' - { after(grammarAccess.getGlobalRelationInterpretationAccess().getRelationKeyword_1()); } -) + ( + { before(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0()); } + ruleCall + { after(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__Group__2 +rule__IfElse__ConditionAssignment_1 @init { int stackSize = keepStackSize(); } : - rule__GlobalRelationInterpretation__Group__2__Impl - rule__GlobalRelationInterpretation__Group__3 + ( + { before(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); } + ruleExpression + { after(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__Group__2__Impl +rule__IfElse__ThenAssignment_3 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getGlobalRelationInterpretationAccess().getSymbolAssignment_2()); } - (rule__GlobalRelationInterpretation__SymbolAssignment_2) - { after(grammarAccess.getGlobalRelationInterpretationAccess().getSymbolAssignment_2()); } -) + ( + { before(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); } + ruleExpression + { after(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__Group__3 +rule__IfElse__ElseAssignment_5 @init { int stackSize = keepStackSize(); } : - rule__GlobalRelationInterpretation__Group__3__Impl - rule__GlobalRelationInterpretation__Group__4 + ( + { before(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); } + ruleExpression + { after(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__Group__3__Impl +rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getGlobalRelationInterpretationAccess().getColonKeyword_3()); } - ':' - { after(grammarAccess.getGlobalRelationInterpretationAccess().getColonKeyword_3()); } -) + ( + { before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0()); } + ruleConjunctiveExpression + { after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__Group__4 +rule__DisjunctiveExpression__BodyAssignment_1_1_2 @init { int stackSize = keepStackSize(); } : - rule__GlobalRelationInterpretation__Group__4__Impl - rule__GlobalRelationInterpretation__Group__5 + ( + { before(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0()); } + ruleConjunctiveExpression + { after(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__Group__4__Impl +rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getGlobalRelationInterpretationAccess().getSourceMultiplicityAssignment_4()); } - (rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4)? - { after(grammarAccess.getGlobalRelationInterpretationAccess().getSourceMultiplicityAssignment_4()); } -) + ( + { before(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0()); } + ruleCase + { after(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__Group__5 +rule__Case__ConditionAssignment_0 @init { int stackSize = keepStackSize(); } : - rule__GlobalRelationInterpretation__Group__5__Impl - rule__GlobalRelationInterpretation__Group__6 + ( + { before(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0()); } + ruleConjunctiveExpression + { after(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__Group__5__Impl +rule__Case__BodyAssignment_2 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getGlobalRelationInterpretationAccess().getSourceAssignment_5()); } - (rule__GlobalRelationInterpretation__SourceAssignment_5) - { after(grammarAccess.getGlobalRelationInterpretationAccess().getSourceAssignment_5()); } -) + ( + { before(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0()); } + ruleConjunctiveExpression + { after(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__Group__6 +rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 @init { int stackSize = keepStackSize(); } : - rule__GlobalRelationInterpretation__Group__6__Impl - rule__GlobalRelationInterpretation__Group__7 + ( + { before(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0()); } + ruleComparisonExpression + { after(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__Group__6__Impl +rule__ComparisonExpression__OpAssignment_1_1 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getGlobalRelationInterpretationAccess().getTargetMultiplicityAssignment_6()); } - (rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6)? - { after(grammarAccess.getGlobalRelationInterpretationAccess().getTargetMultiplicityAssignment_6()); } -) + ( + { before(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0()); } + ruleComparisonOperator + { after(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__Group__7 +rule__ComparisonExpression__RightAssignment_1_2 @init { int stackSize = keepStackSize(); } : - rule__GlobalRelationInterpretation__Group__7__Impl + ( + { before(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0()); } + ruleAdditiveExpression + { after(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__Group__7__Impl +rule__AdditiveExpression__OpAssignment_1_1 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getGlobalRelationInterpretationAccess().getTargetAssignment_7()); } - (rule__GlobalRelationInterpretation__TargetAssignment_7) - { after(grammarAccess.getGlobalRelationInterpretationAccess().getTargetAssignment_7()); } -) + ( + { before(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0()); } + ruleAdditiveBinaryOperator + { after(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0()); } + ) ; finally { restoreStackSize(stackSize); } - -rule__MultiplicityDefinition__Group__0 +rule__AdditiveExpression__RightAssignment_1_2 @init { int stackSize = keepStackSize(); } : - rule__MultiplicityDefinition__Group__0__Impl - rule__MultiplicityDefinition__Group__1 + ( + { before(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0()); } + ruleMultiplicativeExpression + { after(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__MultiplicityDefinition__Group__0__Impl +rule__MultiplicativeExpression__OpAssignment_1_1 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getMultiplicityDefinitionAccess().getLowerAssignment_0()); } - (rule__MultiplicityDefinition__LowerAssignment_0) - { after(grammarAccess.getMultiplicityDefinitionAccess().getLowerAssignment_0()); } -) + ( + { before(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0()); } + ruleMultiplicativeBinaryOperator + { after(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__MultiplicityDefinition__Group__1 +rule__MultiplicativeExpression__RightAssignment_1_2 @init { int stackSize = keepStackSize(); } : - rule__MultiplicityDefinition__Group__1__Impl - rule__MultiplicityDefinition__Group__2 + ( + { before(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); } + ruleExponentialExpression + { after(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__MultiplicityDefinition__Group__1__Impl +rule__ExponentialExpression__OpAssignment_1_1 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getMultiplicityDefinitionAccess().getFullStopFullStopKeyword_1()); } - '..' - { after(grammarAccess.getMultiplicityDefinitionAccess().getFullStopFullStopKeyword_1()); } -) + ( + { before(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0()); } + ruleExponentialOp + { after(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__MultiplicityDefinition__Group__2 +rule__ExponentialExpression__RightAssignment_1_2 @init { int stackSize = keepStackSize(); } : - rule__MultiplicityDefinition__Group__2__Impl + ( + { before(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); } + ruleExponentialExpression + { after(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__MultiplicityDefinition__Group__2__Impl +rule__UnaryExpression__OpAssignment_1_1 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getMultiplicityDefinitionAccess().getAlternatives_2()); } - (rule__MultiplicityDefinition__Alternatives_2) - { after(grammarAccess.getMultiplicityDefinitionAccess().getAlternatives_2()); } -) + ( + { before(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0()); } + ruleUnaryOp + { after(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0()); } + ) ; finally { restoreStackSize(stackSize); } - -rule__Problem__StatementsAssignment +rule__UnaryExpression__BodyAssignment_1_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); } - ruleStatement - { after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); } + { before(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0()); } + ruleAggregationExpression + { after(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__SymbolAssignment_0 +rule__Count__BodyAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBasicInterpretationAccess().getSymbolSymbolParserRuleCall_0_0()); } - ruleSymbol - { after(grammarAccess.getBasicInterpretationAccess().getSymbolSymbolParserRuleCall_0_0()); } + { before(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0()); } + ruleExpression + { after(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__ObjectsAssignment_1_1_0 +rule__Aggregation__OpAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_0_0()); } - ruleComplexObject - { after(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_0_0()); } + { before(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0()); } + ruleAggregationOp + { after(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__ObjectsAssignment_1_1_1_1 +rule__Aggregation__BodyAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_1_1_0()); } - ruleComplexObject - { after(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_1_1_0()); } + { before(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0()); } + ruleExpression + { after(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BasicInterpretation__ValueAssignment_3 +rule__Aggregation__ConditionAssignment_4 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBasicInterpretationAccess().getValueTruthValueParserRuleCall_3_0()); } - ruleTruthValue - { after(grammarAccess.getBasicInterpretationAccess().getValueTruthValueParserRuleCall_3_0()); } + { before(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); } + ruleExpression + { after(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ModelSymbol__NameAssignment +rule__AtomicExpression__ArgumentListAssignment_0_1_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getModelSymbolAccess().getNameIDTerminalRuleCall_0()); } - RULE_ID - { after(grammarAccess.getModelSymbolAccess().getNameIDTerminalRuleCall_0()); } + { before(grammarAccess.getAtomicExpressionAccess().getArgumentListArgumentListParserRuleCall_0_1_1_0()); } + ruleArgumentList + { after(grammarAccess.getAtomicExpressionAccess().getArgumentListArgumentListParserRuleCall_0_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__NamedObject__NameAssignment_1 +rule__Call__FunctorAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getNamedObjectAccess().getNameIDTerminalRuleCall_1_0()); } - RULE_ID - { after(grammarAccess.getNamedObjectAccess().getNameIDTerminalRuleCall_1_0()); } + { before(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); } + ruleReference + { after(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__UnnamedObject__NameAssignment +rule__Call__TransitiveClosureAssignment_1_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnnamedObjectAccess().getNameIDTerminalRuleCall_0()); } - RULE_ID - { after(grammarAccess.getUnnamedObjectAccess().getNameIDTerminalRuleCall_0()); } + { before(grammarAccess.getCallAccess().getTransitiveClosureSTARTerminalRuleCall_1_0_0()); } + RULE_STAR + { after(grammarAccess.getCallAccess().getTransitiveClosureSTARTerminalRuleCall_1_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BooleanObject__ValueAssignment +rule__Call__ReflexiveTransitiveClosureAssignment_1_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBooleanObjectAccess().getValueBooleanValueParserRuleCall_0()); } - ruleBooleanValue - { after(grammarAccess.getBooleanObjectAccess().getValueBooleanValueParserRuleCall_0()); } + { before(grammarAccess.getCallAccess().getReflexiveTransitiveClosurePLUSTerminalRuleCall_1_1_0()); } + RULE_PLUS + { after(grammarAccess.getCallAccess().getReflexiveTransitiveClosurePLUSTerminalRuleCall_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__IntObject__ValueAssignment +rule__Call__ArgumentListAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIntObjectAccess().getValueINTLiteralParserRuleCall_0()); } - ruleINTLiteral - { after(grammarAccess.getIntObjectAccess().getValueINTLiteralParserRuleCall_0()); } + { before(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0()); } + ruleArgumentList + { after(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__RealObject__ValueAssignment +rule__ArgumentList__ArgumentsAssignment_2_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getRealObjectAccess().getValueREALLiteralParserRuleCall_0()); } - ruleREALLiteral - { after(grammarAccess.getRealObjectAccess().getValueREALLiteralParserRuleCall_0()); } + { before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); } + ruleArgument + { after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__StringObject__ValueAssignment +rule__ArgumentList__ArgumentsAssignment_2_1_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getStringObjectAccess().getValueSTRINGTerminalRuleCall_0()); } - RULE_STRING - { after(grammarAccess.getStringObjectAccess().getValueSTRINGTerminalRuleCall_0()); } + { before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); } + ruleArgument + { after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Predicate__IsErrorAssignment_0 +rule__ExpressionArgument__BodyAssignment @init { int stackSize = keepStackSize(); } : ( - { 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()); } + { before(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0()); } + ruleComparisonExpression + { after(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Predicate__SymbolAssignment_1 +rule__TypedArgument__TypeAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getSymbolModelSymbolParserRuleCall_1_0()); } - ruleModelSymbol - { after(grammarAccess.getPredicateAccess().getSymbolModelSymbolParserRuleCall_1_0()); } + { before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0()); } + ( + { before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); } + ruleQualifiedName + { after(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); } + ) + { after(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Predicate__ParametersAssignment_2_1_0 +rule__TypedArgument__VariableAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_0_0()); } - ruleParameter - { after(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_0_0()); } + { before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0()); } + ( + { before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1()); } + ) + { after(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Predicate__ParametersAssignment_2_1_1_1 +rule__TypedStarArgument__TypeAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_1_1_0()); } - ruleParameter - { after(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_1_1_0()); } + { before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0()); } + ( + { before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); } + ruleQualifiedName + { after(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); } + ) + { after(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Predicate__BodiesAssignment_4_1_0 +rule__Reference__ReferredAssignment @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_0_0()); } - rulePatternBody - { after(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_0_0()); } + { before(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0()); } + ( + { before(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1()); } + ruleQualifiedName + { after(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1()); } + ) + { after(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Predicate__BodiesAssignment_4_1_1_1 +rule__Interval__LowerBoundAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_1_1_0()); } - rulePatternBody - { after(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_1_1_0()); } + { before(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0()); } + ruleExpression + { after(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Parameter__VariableAssignment_0 +rule__Interval__UpperBoundAssignment_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getParameterAccess().getVariableVariableParserRuleCall_0_0()); } - ruleVariable - { after(grammarAccess.getParameterAccess().getVariableVariableParserRuleCall_0_0()); } + { before(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0()); } + ruleExpression + { after(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Parameter__TypeAssignment_1_1 +rule__LogicLiteral__ValueAssignment @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getParameterAccess().getTypeSymbolParserRuleCall_1_1_0()); } - ruleSymbol - { after(grammarAccess.getParameterAccess().getTypeSymbolParserRuleCall_1_1_0()); } + { before(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); } + ruleLogicValue + { after(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__PatternBody__ConstraintsAssignment_1_1 +rule__NumericLiteral__ValueAssignment @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPatternBodyAccess().getConstraintsConstraintParserRuleCall_1_1_0()); } - ruleConstraint - { after(grammarAccess.getPatternBodyAccess().getConstraintsConstraintParserRuleCall_1_1_0()); } + { before(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0()); } + ruleReal + { after(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__PolarityAssignment_0_0 +rule__StringLiteral__ValueAssignment @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getPolarityPolarityParserRuleCall_0_0_0()); } - rulePolarity - { after(grammarAccess.getConstraintAccess().getPolarityPolarityParserRuleCall_0_0_0()); } + { before(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0()); } + RULE_STRING + { after(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__SymbolAssignment_0_1 +rule__ClassDefinition__AbstractAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getSymbolModelSymbolParserRuleCall_0_1_0()); } - ruleModelSymbol - { after(grammarAccess.getConstraintAccess().getSymbolModelSymbolParserRuleCall_0_1_0()); } + { before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); } + ( + { before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); } + 'abstract' + { after(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); } + ) + { after(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__ParamsAssignment_0_2_1 +rule__ClassDefinition__NameAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_1_0()); } - ruleLiteral - { after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_1_0()); } + { before(grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0()); } + RULE_ID + { after(grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__ParamsAssignment_0_2_2_1 +rule__ClassDefinition__SuperclassesAssignment_3_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_2_1_0()); } - ruleLiteral - { after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_2_1_0()); } + { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0()); } + ( + { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); } + ) + { after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__ClosureTypeAssignment_1_0 +rule__ClassDefinition__SuperclassesAssignment_3_2_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getClosureTypeClosureTypeParserRuleCall_1_0_0()); } - ruleClosureType - { after(grammarAccess.getConstraintAccess().getClosureTypeClosureTypeParserRuleCall_1_0_0()); } + { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0()); } + ( + { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); } + ) + { after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__ParamsAssignment_1_2 +rule__ClassDefinition__MembersAssignment_5 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_2_0()); } - ruleLiteral - { after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_2_0()); } + { before(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0()); } + ruleMemberDefinition + { after(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Constraint__ParamsAssignment_1_3_1 +rule__MemberDefinition__ContainmentAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_3_1_0()); } - ruleLiteral - { after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_3_1_0()); } + { before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); } + ( + { before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); } + 'contains' + { after(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); } + ) + { after(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Variable__NameAssignment +rule__MemberDefinition__TypeAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getVariableAccess().getNameIDTerminalRuleCall_0()); } - RULE_ID - { after(grammarAccess.getVariableAccess().getNameIDTerminalRuleCall_0()); } + { before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } + ( + { before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); } + ) + { after(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__AllInstances__SymbolAssignment_1 +rule__MemberDefinition__MultiplicityAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAllInstancesAccess().getSymbolSymbolParserRuleCall_1_0()); } - ruleSymbol - { after(grammarAccess.getAllInstancesAccess().getSymbolSymbolParserRuleCall_1_0()); } + { before(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); } + ruleMultiplicity + { after(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__DefaultInterpretation__InterpretationAssignment_1 +rule__MemberDefinition__NameAssignment_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDefaultInterpretationAccess().getInterpretationBasicInterpretationParserRuleCall_1_0()); } - ruleBasicInterpretation - { after(grammarAccess.getDefaultInterpretationAccess().getInterpretationBasicInterpretationParserRuleCall_1_0()); } + { before(grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0()); } + RULE_ID + { after(grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__AbstractAssignment_0 +rule__MemberDefinition__OppositeAssignment_4_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassInterpretationAccess().getAbstractAbstractKeyword_0_0()); } + { before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0()); } ( - { before(grammarAccess.getClassInterpretationAccess().getAbstractAbstractKeyword_0_0()); } - 'abstract' - { after(grammarAccess.getClassInterpretationAccess().getAbstractAbstractKeyword_0_0()); } + { before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1()); } ) - { after(grammarAccess.getClassInterpretationAccess().getAbstractAbstractKeyword_0_0()); } + { after(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__SymbolAssignment_2 +rule__ExactMultiplicity__MultiplicityAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassInterpretationAccess().getSymbolModelSymbolParserRuleCall_2_0()); } - ruleModelSymbol - { after(grammarAccess.getClassInterpretationAccess().getSymbolModelSymbolParserRuleCall_2_0()); } + { before(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0()); } + ruleUpperMultiplicty + { after(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__SupertypesAssignment_3_1 +rule__BoundedMultiplicity__LowerBoundAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassInterpretationAccess().getSupertypesModelSymbolParserRuleCall_3_1_0()); } - ruleModelSymbol - { after(grammarAccess.getClassInterpretationAccess().getSupertypesModelSymbolParserRuleCall_3_1_0()); } + { before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0()); } + RULE_INT + { after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassInterpretation__FieltAssignment_5 +rule__BoundedMultiplicity__UpperBoundAssignment_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassInterpretationAccess().getFieltFieldRelationInterpretationParserRuleCall_5_0()); } - ruleFieldRelationInterpretation - { after(grammarAccess.getClassInterpretationAccess().getFieltFieldRelationInterpretationParserRuleCall_5_0()); } + { before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0()); } + ruleUpperMultiplicty + { after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__EnumInterpretation__SymbolAssignment_1 +rule__ExactScopeDefinition__TypeAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getEnumInterpretationAccess().getSymbolModelSymbolParserRuleCall_1_0()); } - ruleModelSymbol - { after(grammarAccess.getEnumInterpretationAccess().getSymbolModelSymbolParserRuleCall_1_0()); } + { before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } + ( + { before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); } + ) + { after(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__EnumInterpretation__ObjectsAssignment_3 +rule__ExactScopeDefinition__ExactScopeAssignment_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getEnumInterpretationAccess().getObjectsNamedObjectParserRuleCall_3_0()); } - ruleNamedObject - { after(grammarAccess.getEnumInterpretationAccess().getObjectsNamedObjectParserRuleCall_3_0()); } + { before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0()); } + RULE_INT + { after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__FieldRelationInterpretation__ContainmentAssignment_0 +rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getFieldRelationInterpretationAccess().getContainmentContainmentKeyword_0_0()); } - ( - { before(grammarAccess.getFieldRelationInterpretationAccess().getContainmentContainmentKeyword_0_0()); } - 'containment' - { after(grammarAccess.getFieldRelationInterpretationAccess().getContainmentContainmentKeyword_0_0()); } - ) - { after(grammarAccess.getFieldRelationInterpretationAccess().getContainmentContainmentKeyword_0_0()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); } + RULE_INT + { after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__FieldRelationInterpretation__SymbolAssignment_1 +rule__BoundedScopeDefinition__TypeAssignment_1_0_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getFieldRelationInterpretationAccess().getSymbolModelSymbolParserRuleCall_1_0()); } - ruleModelSymbol - { after(grammarAccess.getFieldRelationInterpretationAccess().getSymbolModelSymbolParserRuleCall_1_0()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0()); } + ( + { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1()); } + ) + { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__FieldRelationInterpretation__MultiplicityAssignment_3 +rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getFieldRelationInterpretationAccess().getMultiplicityMultiplicityDefinitionParserRuleCall_3_0()); } - ruleMultiplicityDefinition - { after(grammarAccess.getFieldRelationInterpretationAccess().getMultiplicityMultiplicityDefinitionParserRuleCall_3_0()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); } + RULE_INT + { after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__FieldRelationInterpretation__TargetAssignment_4 +rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getFieldRelationInterpretationAccess().getTargetSymbolParserRuleCall_4_0()); } - ruleSymbol - { after(grammarAccess.getFieldRelationInterpretationAccess().getTargetSymbolParserRuleCall_4_0()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); } + RULE_INT + { after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__ContainmentAssignment_0 +rule__BoundedScopeDefinition__TypeAssignment_1_1_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentContainmentKeyword_0_0()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0()); } ( - { before(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentContainmentKeyword_0_0()); } - 'containment' - { after(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentContainmentKeyword_0_0()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1()); } + ruleQualifiedName + { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1()); } ) - { after(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentContainmentKeyword_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GlobalRelationInterpretation__SymbolAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGlobalRelationInterpretationAccess().getSymbolModelSymbolParserRuleCall_2_0()); } - ruleModelSymbol - { after(grammarAccess.getGlobalRelationInterpretationAccess().getSymbolModelSymbolParserRuleCall_2_0()); } + { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 +rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getGlobalRelationInterpretationAccess().getSourceMultiplicityMultiplicityDefinitionParserRuleCall_4_0()); } - ruleMultiplicityDefinition - { after(grammarAccess.getGlobalRelationInterpretationAccess().getSourceMultiplicityMultiplicityDefinitionParserRuleCall_4_0()); } + { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); } + RULE_INT + { after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__SourceAssignment_5 +rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getGlobalRelationInterpretationAccess().getSourceSymbolParserRuleCall_5_0()); } - ruleSymbol - { after(grammarAccess.getGlobalRelationInterpretationAccess().getSourceSymbolParserRuleCall_5_0()); } + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); } + RULE_INT + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 +rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getGlobalRelationInterpretationAccess().getTargetMultiplicityMultiplicityDefinitionParserRuleCall_6_0()); } - ruleMultiplicityDefinition - { after(grammarAccess.getGlobalRelationInterpretationAccess().getTargetMultiplicityMultiplicityDefinitionParserRuleCall_6_0()); } + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0()); } + ( + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1()); } + ruleQualifiedName + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1()); } + ) + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__GlobalRelationInterpretation__TargetAssignment_7 +rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getGlobalRelationInterpretationAccess().getTargetSymbolParserRuleCall_7_0()); } - ruleSymbol - { after(grammarAccess.getGlobalRelationInterpretationAccess().getTargetSymbolParserRuleCall_7_0()); } + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0()); } + ( + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1()); } + ruleQualifiedName + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1()); } + ) + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MultiplicityDefinition__LowerAssignment_0 +rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMultiplicityDefinitionAccess().getLowerINTTerminalRuleCall_0_0()); } + { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); } RULE_INT - { after(grammarAccess.getMultiplicityDefinitionAccess().getLowerINTTerminalRuleCall_0_0()); } + { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MultiplicityDefinition__UpperAssignment_2_0 +rule__ObjectiveDefinition__KindAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMultiplicityDefinitionAccess().getUpperINTTerminalRuleCall_2_0_0()); } - RULE_INT - { after(grammarAccess.getMultiplicityDefinitionAccess().getUpperINTTerminalRuleCall_2_0_0()); } + { before(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0()); } + ruleObjectiveKind + { after(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 +rule__ObjectiveDefinition__ObjectiveAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMultiplicityDefinitionAccess().getUnlimitedUpperAsteriskKeyword_2_1_0()); } - ( - { before(grammarAccess.getMultiplicityDefinitionAccess().getUnlimitedUpperAsteriskKeyword_2_1_0()); } - '*' - { after(grammarAccess.getMultiplicityDefinitionAccess().getUnlimitedUpperAsteriskKeyword_2_1_0()); } - ) - { after(grammarAccess.getMultiplicityDefinitionAccess().getUnlimitedUpperAsteriskKeyword_2_1_0()); } + { before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0()); } + ruleExpression + { after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0()); } ) ; finally { @@ -5814,6 +9117,14 @@ finally { RULE_STRING : '"' ('\\' .|~(('\\'|'"')))* '"'; +RULE_QUOTED_ID : '\'' ('\\' .|~(('\\'|'\'')))* '\''; + +RULE_PLUS : 'synthetic::plus'; + +RULE_STAR : 'synthetic::star'; + +RULE_DOT : 'synthetic::dot'; + RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; RULE_INT : ('0'..'9')+; 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 938a5322..f5b014ff 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,45 +1,74 @@ -'('=18 -')'=19 -'*'=31 -'+'=30 -','=20 -'-'=13 -'.'=14 -'..'=39 -':'=17 -':-'=28 -'\''=27 -'abstract'=40 -'bool'=23 -'class'=33 -'containment'=41 -'default'=32 -'enum'=37 -'equals'=22 -'error'=16 -'exists'=21 -'extends'=36 -'false'=11 -'int'=24 -'real'=25 -'relation'=38 -'string'=26 -'true'=12 -'unknown'=15 -'{'=34 -'|'=29 -'}'=35 -RULE_ANY_OTHER=10 -RULE_ID=5 +'!'=29 +'!='=20 +'('=61 +')'=62 +'*'=16 +'+'=26 +','=56 +'-'=27 +'->'=55 +'.'=50 +'..'=64 +'/'=28 +':'=45 +':-'=46 +';'=54 +'<'=21 +'<='=22 +'='=47 +'=='=19 +'>'=23 +'>='=24 +'['=63 +']'=65 +'^'=15 +'abstract'=73 +'avg'=36 +'class'=68 +'contains'=74 +'count'=57 +'current'=32 +'default'=48 +'else'=53 +'empty'=67 +'error'=42 +'extends'=69 +'extern'=49 +'false'=40 +'functional'=72 +'if'=51 +'in'=25 +'inf'=66 +'int'=17 +'max'=38 +'maximize'=44 +'may'=30 +'min'=37 +'minimize'=43 +'must'=31 +'only'=33 +'opposite'=70 +'prod'=35 +'real'=18 +'scope'=71 +'sum'=34 +'then'=52 +'true'=39 +'unknown'=41 +'{'=58 +'|'=60 +'}'=59 +RULE_ANY_OTHER=14 +RULE_DOT=6 +RULE_ID=7 RULE_INT=4 -RULE_ML_COMMENT=7 -RULE_SL_COMMENT=8 -RULE_STRING=6 -RULE_WS=9 -T__11=11 -T__12=12 -T__13=13 -T__14=14 +RULE_ML_COMMENT=11 +RULE_PLUS=9 +RULE_QUOTED_ID=5 +RULE_SL_COMMENT=12 +RULE_STAR=8 +RULE_STRING=10 +RULE_WS=13 T__15=15 T__16=16 T__17=17 @@ -67,3 +96,36 @@ T__38=38 T__39=39 T__40=40 T__41=41 +T__42=42 +T__43=43 +T__44=44 +T__45=45 +T__46=46 +T__47=47 +T__48=48 +T__49=49 +T__50=50 +T__51=51 +T__52=52 +T__53=53 +T__54=54 +T__55=55 +T__56=56 +T__57=57 +T__58=58 +T__59=59 +T__60=60 +T__61=61 +T__62=62 +T__63=63 +T__64=64 +T__65=65 +T__66=66 +T__67=67 +T__68=68 +T__69=69 +T__70=70 +T__71=71 +T__72=72 +T__73=73 +T__74=74 diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageLexer.java b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageLexer.java index c95bdd1e..1c226c96 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 @@ -12,45 +12,78 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalSolverLanguageLexer extends Lexer { - public static final int RULE_STRING=6; - public static final int RULE_SL_COMMENT=8; + public static final int T__50=50; public static final int T__19=19; public static final int T__15=15; - public static final int T__37=37; + public static final int T__59=59; public static final int T__16=16; - public static final int T__38=38; public static final int T__17=17; - public static final int T__39=39; public static final int T__18=18; - public static final int T__11=11; - public static final int T__33=33; - public static final int T__12=12; - public static final int T__34=34; - public static final int T__13=13; - public static final int T__35=35; - public static final int T__14=14; - public static final int T__36=36; - public static final int EOF=-1; - public static final int T__30=30; - public static final int T__31=31; - public static final int T__32=32; - public static final int RULE_ID=5; - public static final int RULE_WS=9; - public static final int RULE_ANY_OTHER=10; + public static final int T__55=55; + public static final int T__56=56; + public static final int T__57=57; + public static final int T__58=58; + public static final int T__51=51; + public static final int RULE_STAR=8; + public static final int T__52=52; + public static final int T__53=53; + public static final int T__54=54; + public static final int T__60=60; + public static final int T__61=61; + public static final int RULE_ID=7; + public static final int RULE_QUOTED_ID=5; public static final int T__26=26; public static final int T__27=27; public static final int T__28=28; public static final int RULE_INT=4; public static final int T__29=29; public static final int T__22=22; - public static final int RULE_ML_COMMENT=7; + public static final int T__66=66; + public static final int RULE_ML_COMMENT=11; public static final int T__23=23; + public static final int T__67=67; public static final int T__24=24; + public static final int T__68=68; public static final int T__25=25; - public static final int T__40=40; - public static final int T__41=41; + public static final int T__69=69; + public static final int T__62=62; + public static final int T__63=63; public static final int T__20=20; + public static final int T__64=64; public static final int T__21=21; + public static final int T__65=65; + public static final int T__70=70; + public static final int T__71=71; + public static final int T__72=72; + public static final int RULE_STRING=10; + public static final int RULE_SL_COMMENT=12; + public static final int T__37=37; + public static final int T__38=38; + public static final int T__39=39; + public static final int T__33=33; + public static final int T__34=34; + public static final int T__35=35; + public static final int RULE_PLUS=9; + public static final int T__36=36; + public static final int T__73=73; + public static final int RULE_DOT=6; + public static final int EOF=-1; + public static final int T__30=30; + public static final int T__74=74; + public static final int T__31=31; + public static final int T__32=32; + public static final int RULE_WS=13; + public static final int RULE_ANY_OTHER=14; + public static final int T__48=48; + public static final int T__49=49; + public static final int T__44=44; + public static final int T__45=45; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__42=42; + public static final int T__43=43; // delegates // delegators @@ -65,98 +98,15 @@ public class InternalSolverLanguageLexer extends Lexer { } public String getGrammarFileName() { return "InternalSolverLanguage.g"; } - // $ANTLR start "T__11" - public final void mT__11() throws RecognitionException { - try { - int _type = T__11; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:11:7: ( 'false' ) - // InternalSolverLanguage.g:11:9: 'false' - { - match("false"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__11" - - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { - try { - int _type = T__12; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:12:7: ( 'true' ) - // InternalSolverLanguage.g:12:9: 'true' - { - match("true"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__12" - - // $ANTLR start "T__13" - public final void mT__13() throws RecognitionException { - try { - int _type = T__13; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:13:7: ( '-' ) - // InternalSolverLanguage.g:13:9: '-' - { - match('-'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__13" - - // $ANTLR start "T__14" - public final void mT__14() throws RecognitionException { - try { - int _type = T__14; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:14:7: ( '.' ) - // InternalSolverLanguage.g:14:9: '.' - { - match('.'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__14" - // $ANTLR start "T__15" public final void mT__15() throws RecognitionException { try { int _type = T__15; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:15:7: ( 'unknown' ) - // InternalSolverLanguage.g:15:9: 'unknown' + // InternalSolverLanguage.g:11:7: ( '^' ) + // InternalSolverLanguage.g:11:9: '^' { - match("unknown"); - + match('^'); } @@ -173,11 +123,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = T__16; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:16:7: ( 'error' ) - // InternalSolverLanguage.g:16:9: 'error' + // InternalSolverLanguage.g:12:7: ( '*' ) + // InternalSolverLanguage.g:12:9: '*' { - match("error"); - + match('*'); } @@ -194,10 +143,11 @@ 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:13:7: ( 'int' ) + // InternalSolverLanguage.g:13:9: 'int' { - match(':'); + match("int"); + } @@ -214,10 +164,11 @@ 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:14:7: ( 'real' ) + // InternalSolverLanguage.g:14:9: 'real' { - match('('); + match("real"); + } @@ -234,10 +185,11 @@ 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:15:7: ( '==' ) + // InternalSolverLanguage.g:15:9: '==' { - match(')'); + match("=="); + } @@ -254,10 +206,11 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = T__20; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:20:7: ( ',' ) - // InternalSolverLanguage.g:20:9: ',' + // InternalSolverLanguage.g:16:7: ( '!=' ) + // InternalSolverLanguage.g:16:9: '!=' { - match(','); + match("!="); + } @@ -274,11 +227,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = T__21; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:21:7: ( 'exists' ) - // InternalSolverLanguage.g:21:9: 'exists' + // InternalSolverLanguage.g:17:7: ( '<' ) + // InternalSolverLanguage.g:17:9: '<' { - match("exists"); - + match('<'); } @@ -295,10 +247,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = T__22; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:22:7: ( 'equals' ) - // InternalSolverLanguage.g:22:9: 'equals' + // InternalSolverLanguage.g:18:7: ( '<=' ) + // InternalSolverLanguage.g:18:9: '<=' { - match("equals"); + match("<="); } @@ -316,11 +268,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = T__23; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:23:7: ( 'bool' ) - // InternalSolverLanguage.g:23:9: 'bool' + // InternalSolverLanguage.g:19:7: ( '>' ) + // InternalSolverLanguage.g:19:9: '>' { - match("bool"); - + match('>'); } @@ -337,10 +288,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = T__24; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:24:7: ( 'int' ) - // InternalSolverLanguage.g:24:9: 'int' + // InternalSolverLanguage.g:20:7: ( '>=' ) + // InternalSolverLanguage.g:20:9: '>=' { - match("int"); + match(">="); } @@ -358,10 +309,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = T__25; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:25:7: ( 'real' ) - // InternalSolverLanguage.g:25:9: 'real' + // InternalSolverLanguage.g:21:7: ( 'in' ) + // InternalSolverLanguage.g:21:9: 'in' { - match("real"); + match("in"); } @@ -379,11 +330,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = T__26; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:26:7: ( 'string' ) - // InternalSolverLanguage.g:26:9: 'string' + // InternalSolverLanguage.g:22:7: ( '+' ) + // InternalSolverLanguage.g:22:9: '+' { - match("string"); - + match('+'); } @@ -400,10 +350,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = T__27; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:27:7: ( '\\'' ) - // InternalSolverLanguage.g:27:9: '\\'' + // InternalSolverLanguage.g:23:7: ( '-' ) + // InternalSolverLanguage.g:23:9: '-' { - match('\''); + match('-'); } @@ -420,11 +370,10 @@ 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:24:7: ( '/' ) + // InternalSolverLanguage.g:24:9: '/' { - match(":-"); - + match('/'); } @@ -441,10 +390,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:25:7: ( '!' ) + // InternalSolverLanguage.g:25:9: '!' { - match('|'); + match('!'); } @@ -461,10 +410,11 @@ 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:26:7: ( 'may' ) + // InternalSolverLanguage.g:26:9: 'may' { - match('+'); + match("may"); + } @@ -481,10 +431,11 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = T__31; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:31:7: ( '*' ) - // InternalSolverLanguage.g:31:9: '*' + // InternalSolverLanguage.g:27:7: ( 'must' ) + // InternalSolverLanguage.g:27:9: 'must' { - match('*'); + match("must"); + } @@ -501,10 +452,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = T__32; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:32:7: ( 'default' ) - // InternalSolverLanguage.g:32:9: 'default' + // InternalSolverLanguage.g:28:7: ( 'current' ) + // InternalSolverLanguage.g:28:9: 'current' { - match("default"); + match("current"); } @@ -522,10 +473,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:29:7: ( 'only' ) + // InternalSolverLanguage.g:29:9: 'only' { - match("class"); + match("only"); } @@ -543,10 +494,11 @@ 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:30:7: ( 'sum' ) + // InternalSolverLanguage.g:30:9: 'sum' { - match('{'); + match("sum"); + } @@ -563,10 +515,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:31:7: ( 'prod' ) + // InternalSolverLanguage.g:31:9: 'prod' { - match('}'); + match("prod"); + } @@ -583,10 +536,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = T__36; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:36:7: ( 'extends' ) - // InternalSolverLanguage.g:36:9: 'extends' + // InternalSolverLanguage.g:32:7: ( 'avg' ) + // InternalSolverLanguage.g:32:9: 'avg' { - match("extends"); + match("avg"); } @@ -604,10 +557,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:33:7: ( 'min' ) + // InternalSolverLanguage.g:33:9: 'min' { - match("enum"); + match("min"); } @@ -625,10 +578,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = T__38; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:38:7: ( 'relation' ) - // InternalSolverLanguage.g:38:9: 'relation' + // InternalSolverLanguage.g:34:7: ( 'max' ) + // InternalSolverLanguage.g:34:9: 'max' { - match("relation"); + match("max"); } @@ -646,10 +599,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = T__39; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:39:7: ( '..' ) - // InternalSolverLanguage.g:39:9: '..' + // InternalSolverLanguage.g:35:7: ( 'true' ) + // InternalSolverLanguage.g:35:9: 'true' { - match(".."); + match("true"); } @@ -667,10 +620,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = T__40; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:40:7: ( 'abstract' ) - // InternalSolverLanguage.g:40:9: 'abstract' + // InternalSolverLanguage.g:36:7: ( 'false' ) + // InternalSolverLanguage.g:36:9: 'false' { - match("abstract"); + match("false"); } @@ -688,10 +641,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = T__41; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:41:7: ( 'containment' ) - // InternalSolverLanguage.g:41:9: 'containment' + // InternalSolverLanguage.g:37:7: ( 'unknown' ) + // InternalSolverLanguage.g:37:9: 'unknown' { - match("containment"); + match("unknown"); } @@ -704,60 +657,58 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "T__41" - // $ANTLR start "RULE_STRING" - public final void mRULE_STRING() throws RecognitionException { + // $ANTLR start "T__42" + public final void mT__42() throws RecognitionException { try { - int _type = RULE_STRING; + int _type = T__42; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:5815:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) - // InternalSolverLanguage.g:5815:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalSolverLanguage.g:38:7: ( 'error' ) + // InternalSolverLanguage.g:38:9: 'error' { - match('\"'); - // InternalSolverLanguage.g:5815:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* - loop1: - do { - int alt1=3; - int LA1_0 = input.LA(1); + match("error"); - if ( (LA1_0=='\\') ) { - alt1=1; - } - else if ( ((LA1_0>='\u0000' && LA1_0<='!')||(LA1_0>='#' && LA1_0<='[')||(LA1_0>=']' && LA1_0<='\uFFFF')) ) { - alt1=2; - } + } - switch (alt1) { - case 1 : - // InternalSolverLanguage.g:5815:20: '\\\\' . - { - match('\\'); - matchAny(); + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__42" - } - break; - case 2 : - // 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(); + // $ANTLR start "T__43" + public final void mT__43() throws RecognitionException { + try { + int _type = T__43; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:39:7: ( 'minimize' ) + // InternalSolverLanguage.g:39:9: 'minimize' + { + match("minimize"); - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} + } - } - break; + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__43" - default : - break loop1; - } - } while (true); + // $ANTLR start "T__44" + public final void mT__44() throws RecognitionException { + try { + int _type = T__44; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:40:7: ( 'maximize' ) + // InternalSolverLanguage.g:40:9: 'maximize' + { + match("maximize"); - match('\"'); } @@ -767,75 +718,78 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "RULE_STRING" + // $ANTLR end "T__44" - // $ANTLR start "RULE_ID" - public final void mRULE_ID() throws RecognitionException { + // $ANTLR start "T__45" + public final void mT__45() throws RecognitionException { try { - int _type = RULE_ID; + int _type = T__45; int _channel = DEFAULT_TOKEN_CHANNEL; - // 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:41:7: ( ':' ) + // InternalSolverLanguage.g:41:9: ':' { - // InternalSolverLanguage.g:5817:11: ( '^' )? - int alt2=2; - int LA2_0 = input.LA(1); + match(':'); - if ( (LA2_0=='^') ) { - alt2=1; } - switch (alt2) { - case 1 : - // InternalSolverLanguage.g:5817:11: '^' - { - match('^'); - } - break; + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__45" - } + // $ANTLR start "T__46" + public final void mT__46() throws RecognitionException { + try { + int _type = T__46; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:42:7: ( ':-' ) + // InternalSolverLanguage.g:42:9: ':-' + { + match(":-"); - if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - // InternalSolverLanguage.g:5817:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) { - alt3=1; - } - - switch (alt3) { - case 1 : - // InternalSolverLanguage.g: - { - if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__46" - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} + // $ANTLR start "T__47" + public final void mT__47() throws RecognitionException { + try { + int _type = T__47; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:43:7: ( '=' ) + // InternalSolverLanguage.g:43:9: '=' + { + match('='); + } - } - break; + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__47" - default : - break loop3; - } - } while (true); + // $ANTLR start "T__48" + public final void mT__48() throws RecognitionException { + try { + int _type = T__48; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:44:7: ( 'default' ) + // InternalSolverLanguage.g:44:9: 'default' + { + match("default"); } @@ -846,31 +800,839 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "RULE_ID" + // $ANTLR end "T__48" - // $ANTLR start "RULE_INT" - public final void mRULE_INT() throws RecognitionException { + // $ANTLR start "T__49" + public final void mT__49() throws RecognitionException { try { - int _type = RULE_INT; + int _type = T__49; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:5819:10: ( ( '0' .. '9' )+ ) - // InternalSolverLanguage.g:5819:12: ( '0' .. '9' )+ + // InternalSolverLanguage.g:45:7: ( 'extern' ) + // InternalSolverLanguage.g:45:9: 'extern' { - // InternalSolverLanguage.g:5819:12: ( '0' .. '9' )+ - int cnt4=0; - loop4: + match("extern"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__49" + + // $ANTLR start "T__50" + public final void mT__50() throws RecognitionException { + try { + int _type = T__50; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:46:7: ( '.' ) + // InternalSolverLanguage.g:46:9: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__50" + + // $ANTLR start "T__51" + public final void mT__51() throws RecognitionException { + try { + int _type = T__51; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:47:7: ( 'if' ) + // InternalSolverLanguage.g:47:9: 'if' + { + match("if"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__51" + + // $ANTLR start "T__52" + public final void mT__52() throws RecognitionException { + try { + int _type = T__52; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:48:7: ( 'then' ) + // InternalSolverLanguage.g:48:9: 'then' + { + match("then"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__52" + + // $ANTLR start "T__53" + public final void mT__53() throws RecognitionException { + try { + int _type = T__53; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:49:7: ( 'else' ) + // InternalSolverLanguage.g:49:9: 'else' + { + match("else"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__53" + + // $ANTLR start "T__54" + public final void mT__54() throws RecognitionException { + try { + int _type = T__54; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:50:7: ( ';' ) + // InternalSolverLanguage.g:50:9: ';' + { + match(';'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__54" + + // $ANTLR start "T__55" + public final void mT__55() throws RecognitionException { + try { + int _type = T__55; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:51:7: ( '->' ) + // InternalSolverLanguage.g:51:9: '->' + { + match("->"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__55" + + // $ANTLR start "T__56" + public final void mT__56() throws RecognitionException { + try { + int _type = T__56; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:52:7: ( ',' ) + // InternalSolverLanguage.g:52:9: ',' + { + match(','); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__56" + + // $ANTLR start "T__57" + public final void mT__57() throws RecognitionException { + try { + int _type = T__57; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:53:7: ( 'count' ) + // InternalSolverLanguage.g:53:9: 'count' + { + match("count"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__57" + + // $ANTLR start "T__58" + public final void mT__58() throws RecognitionException { + try { + int _type = T__58; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:54:7: ( '{' ) + // InternalSolverLanguage.g:54:9: '{' + { + match('{'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__58" + + // $ANTLR start "T__59" + public final void mT__59() throws RecognitionException { + try { + int _type = T__59; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:55:7: ( '}' ) + // InternalSolverLanguage.g:55:9: '}' + { + match('}'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__59" + + // $ANTLR start "T__60" + public final void mT__60() throws RecognitionException { + try { + int _type = T__60; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:56:7: ( '|' ) + // InternalSolverLanguage.g:56:9: '|' + { + match('|'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__60" + + // $ANTLR start "T__61" + public final void mT__61() throws RecognitionException { + try { + int _type = T__61; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:57:7: ( '(' ) + // InternalSolverLanguage.g:57:9: '(' + { + match('('); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__61" + + // $ANTLR start "T__62" + public final void mT__62() throws RecognitionException { + try { + int _type = T__62; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:58:7: ( ')' ) + // InternalSolverLanguage.g:58:9: ')' + { + match(')'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__62" + + // $ANTLR start "T__63" + public final void mT__63() throws RecognitionException { + try { + int _type = T__63; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:59:7: ( '[' ) + // InternalSolverLanguage.g:59:9: '[' + { + match('['); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__63" + + // $ANTLR start "T__64" + public final void mT__64() throws RecognitionException { + try { + int _type = T__64; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:60:7: ( '..' ) + // InternalSolverLanguage.g:60:9: '..' + { + match(".."); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__64" + + // $ANTLR start "T__65" + public final void mT__65() throws RecognitionException { + try { + int _type = T__65; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:61:7: ( ']' ) + // InternalSolverLanguage.g:61:9: ']' + { + match(']'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__65" + + // $ANTLR start "T__66" + public final void mT__66() throws RecognitionException { + try { + int _type = T__66; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:62:7: ( 'inf' ) + // InternalSolverLanguage.g:62:9: 'inf' + { + match("inf"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__66" + + // $ANTLR start "T__67" + public final void mT__67() throws RecognitionException { + try { + int _type = T__67; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:63:7: ( 'empty' ) + // InternalSolverLanguage.g:63:9: 'empty' + { + match("empty"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__67" + + // $ANTLR start "T__68" + public final void mT__68() throws RecognitionException { + try { + int _type = T__68; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:64:7: ( 'class' ) + // InternalSolverLanguage.g:64:9: 'class' + { + match("class"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__68" + + // $ANTLR start "T__69" + public final void mT__69() throws RecognitionException { + try { + int _type = T__69; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:65:7: ( 'extends' ) + // InternalSolverLanguage.g:65:9: 'extends' + { + match("extends"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__69" + + // $ANTLR start "T__70" + public final void mT__70() throws RecognitionException { + try { + int _type = T__70; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:66:7: ( 'opposite' ) + // InternalSolverLanguage.g:66:9: 'opposite' + { + match("opposite"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__70" + + // $ANTLR start "T__71" + public final void mT__71() throws RecognitionException { + try { + int _type = T__71; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:67:7: ( 'scope' ) + // InternalSolverLanguage.g:67:9: 'scope' + { + match("scope"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__71" + + // $ANTLR start "T__72" + public final void mT__72() throws RecognitionException { + try { + int _type = T__72; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:68:7: ( 'functional' ) + // InternalSolverLanguage.g:68:9: 'functional' + { + match("functional"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__72" + + // $ANTLR start "T__73" + public final void mT__73() throws RecognitionException { + try { + int _type = T__73; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:69:7: ( 'abstract' ) + // InternalSolverLanguage.g:69:9: 'abstract' + { + match("abstract"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__73" + + // $ANTLR start "T__74" + public final void mT__74() throws RecognitionException { + try { + int _type = T__74; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:70:7: ( 'contains' ) + // InternalSolverLanguage.g:70:9: 'contains' + { + match("contains"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__74" + + // $ANTLR start "RULE_STRING" + public final void mRULE_STRING() throws RecognitionException { + try { + int _type = RULE_STRING; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:9118:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) + // InternalSolverLanguage.g:9118:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + { + match('\"'); + // InternalSolverLanguage.g:9118:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + loop1: + do { + int alt1=3; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='\\') ) { + alt1=1; + } + else if ( ((LA1_0>='\u0000' && LA1_0<='!')||(LA1_0>='#' && LA1_0<='[')||(LA1_0>=']' && LA1_0<='\uFFFF')) ) { + alt1=2; + } + + + switch (alt1) { + case 1 : + // InternalSolverLanguage.g:9118:20: '\\\\' . + { + match('\\'); + matchAny(); + + } + break; + case 2 : + // InternalSolverLanguage.g:9118:27: ~ ( ( '\\\\' | '\"' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop1; + } + } while (true); + + match('\"'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_STRING" + + // $ANTLR start "RULE_QUOTED_ID" + public final void mRULE_QUOTED_ID() throws RecognitionException { + try { + int _type = RULE_QUOTED_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:9120:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalSolverLanguage.g:9120:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + { + match('\''); + // InternalSolverLanguage.g:9120:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + loop2: + do { + int alt2=3; + int LA2_0 = input.LA(1); + + if ( (LA2_0=='\\') ) { + alt2=1; + } + else if ( ((LA2_0>='\u0000' && LA2_0<='&')||(LA2_0>='(' && LA2_0<='[')||(LA2_0>=']' && LA2_0<='\uFFFF')) ) { + alt2=2; + } + + + switch (alt2) { + case 1 : + // InternalSolverLanguage.g:9120:24: '\\\\' . + { + match('\\'); + matchAny(); + + } + break; + case 2 : + // InternalSolverLanguage.g:9120:31: ~ ( ( '\\\\' | '\\'' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop2; + } + } while (true); + + match('\''); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_QUOTED_ID" + + // $ANTLR start "RULE_PLUS" + public final void mRULE_PLUS() throws RecognitionException { + try { + int _type = RULE_PLUS; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:9122:11: ( 'synthetic::plus' ) + // InternalSolverLanguage.g:9122:13: 'synthetic::plus' + { + match("synthetic::plus"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_PLUS" + + // $ANTLR start "RULE_STAR" + public final void mRULE_STAR() throws RecognitionException { + try { + int _type = RULE_STAR; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:9124:11: ( 'synthetic::star' ) + // InternalSolverLanguage.g:9124:13: 'synthetic::star' + { + match("synthetic::star"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_STAR" + + // $ANTLR start "RULE_DOT" + public final void mRULE_DOT() throws RecognitionException { + try { + int _type = RULE_DOT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:9126:10: ( 'synthetic::dot' ) + // InternalSolverLanguage.g:9126:12: 'synthetic::dot' + { + match("synthetic::dot"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_DOT" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + try { + int _type = RULE_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:9128:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalSolverLanguage.g:9128:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + { + // InternalSolverLanguage.g:9128:11: ( '^' )? + int alt3=2; + int LA3_0 = input.LA(1); + + if ( (LA3_0=='^') ) { + alt3=1; + } + switch (alt3) { + case 1 : + // InternalSolverLanguage.g:9128:11: '^' + { + match('^'); + + } + break; + + } + + if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // InternalSolverLanguage.g:9128:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop4: do { int alt4=2; int LA4_0 = input.LA(1); - if ( ((LA4_0>='0' && LA4_0<='9')) ) { + if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) { alt4=1; } switch (alt4) { case 1 : - // InternalSolverLanguage.g:5819:13: '0' .. '9' + // InternalSolverLanguage.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop4; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ID" + + // $ANTLR start "RULE_INT" + public final void mRULE_INT() throws RecognitionException { + try { + int _type = RULE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:9130:10: ( ( '0' .. '9' )+ ) + // InternalSolverLanguage.g:9130:12: ( '0' .. '9' )+ + { + // InternalSolverLanguage.g:9130:12: ( '0' .. '9' )+ + int cnt5=0; + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( ((LA5_0>='0' && LA5_0<='9')) ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // InternalSolverLanguage.g:9130:13: '0' .. '9' { matchRange('0','9'); @@ -878,12 +1640,12 @@ public class InternalSolverLanguageLexer extends Lexer { break; default : - if ( cnt4 >= 1 ) break loop4; + if ( cnt5 >= 1 ) break loop5; EarlyExitException eee = - new EarlyExitException(4, input); + new EarlyExitException(5, input); throw eee; } - cnt4++; + cnt5++; } while (true); @@ -902,37 +1664,37 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:5821:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalSolverLanguage.g:5821:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalSolverLanguage.g:9132:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalSolverLanguage.g:9132:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalSolverLanguage.g:5821:24: ( options {greedy=false; } : . )* - loop5: + // InternalSolverLanguage.g:9132:24: ( options {greedy=false; } : . )* + loop6: do { - int alt5=2; - int LA5_0 = input.LA(1); + int alt6=2; + int LA6_0 = input.LA(1); - if ( (LA5_0=='*') ) { - int LA5_1 = input.LA(2); + if ( (LA6_0=='*') ) { + int LA6_1 = input.LA(2); - if ( (LA5_1=='/') ) { - alt5=2; + if ( (LA6_1=='/') ) { + alt6=2; } - else if ( ((LA5_1>='\u0000' && LA5_1<='.')||(LA5_1>='0' && LA5_1<='\uFFFF')) ) { - alt5=1; + else if ( ((LA6_1>='\u0000' && LA6_1<='.')||(LA6_1>='0' && LA6_1<='\uFFFF')) ) { + alt6=1; } } - else if ( ((LA5_0>='\u0000' && LA5_0<=')')||(LA5_0>='+' && LA5_0<='\uFFFF')) ) { - alt5=1; + else if ( ((LA6_0>='\u0000' && LA6_0<=')')||(LA6_0>='+' && LA6_0<='\uFFFF')) ) { + alt6=1; } - switch (alt5) { + switch (alt6) { case 1 : - // InternalSolverLanguage.g:5821:52: . + // InternalSolverLanguage.g:9132:52: . { matchAny(); @@ -940,7 +1702,7 @@ public class InternalSolverLanguageLexer extends Lexer { break; default : - break loop5; + break loop6; } } while (true); @@ -962,25 +1724,25 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:5823:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalSolverLanguage.g:5823:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalSolverLanguage.g:9134:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalSolverLanguage.g:9134:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // InternalSolverLanguage.g:5823:24: (~ ( ( '\\n' | '\\r' ) ) )* - loop6: + // InternalSolverLanguage.g:9134:24: (~ ( ( '\\n' | '\\r' ) ) )* + loop7: do { - int alt6=2; - int LA6_0 = input.LA(1); + int alt7=2; + int LA7_0 = input.LA(1); - if ( ((LA6_0>='\u0000' && LA6_0<='\t')||(LA6_0>='\u000B' && LA6_0<='\f')||(LA6_0>='\u000E' && LA6_0<='\uFFFF')) ) { - alt6=1; + if ( ((LA7_0>='\u0000' && LA7_0<='\t')||(LA7_0>='\u000B' && LA7_0<='\f')||(LA7_0>='\u000E' && LA7_0<='\uFFFF')) ) { + alt7=1; } - switch (alt6) { + switch (alt7) { case 1 : - // InternalSolverLanguage.g:5823:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalSolverLanguage.g:9134:24: ~ ( ( '\\n' | '\\r' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -996,31 +1758,31 @@ public class InternalSolverLanguageLexer extends Lexer { break; default : - break loop6; + break loop7; } } while (true); - // InternalSolverLanguage.g:5823:40: ( ( '\\r' )? '\\n' )? - int alt8=2; - int LA8_0 = input.LA(1); + // InternalSolverLanguage.g:9134:40: ( ( '\\r' )? '\\n' )? + int alt9=2; + int LA9_0 = input.LA(1); - if ( (LA8_0=='\n'||LA8_0=='\r') ) { - alt8=1; + if ( (LA9_0=='\n'||LA9_0=='\r') ) { + alt9=1; } - switch (alt8) { + switch (alt9) { case 1 : - // InternalSolverLanguage.g:5823:41: ( '\\r' )? '\\n' + // InternalSolverLanguage.g:9134:41: ( '\\r' )? '\\n' { - // InternalSolverLanguage.g:5823:41: ( '\\r' )? - int alt7=2; - int LA7_0 = input.LA(1); + // InternalSolverLanguage.g:9134:41: ( '\\r' )? + int alt8=2; + int LA8_0 = input.LA(1); - if ( (LA7_0=='\r') ) { - alt7=1; + if ( (LA8_0=='\r') ) { + alt8=1; } - switch (alt7) { + switch (alt8) { case 1 : - // InternalSolverLanguage.g:5823:41: '\\r' + // InternalSolverLanguage.g:9134:41: '\\r' { match('\r'); @@ -1052,344 +1814,575 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:5825:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalSolverLanguage.g:5825:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalSolverLanguage.g:9136:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalSolverLanguage.g:9136:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalSolverLanguage.g:5825:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt9=0; - loop9: + // InternalSolverLanguage.g:9136:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt10=0; + loop10: do { - int alt9=2; - int LA9_0 = input.LA(1); + int alt10=2; + int LA10_0 = input.LA(1); + + if ( ((LA10_0>='\t' && LA10_0<='\n')||LA10_0=='\r'||LA10_0==' ') ) { + alt10=1; + } + + + switch (alt10) { + case 1 : + // InternalSolverLanguage.g: + { + if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt10 >= 1 ) break loop10; + EarlyExitException eee = + new EarlyExitException(10, input); + throw eee; + } + cnt10++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_WS" + + // $ANTLR start "RULE_ANY_OTHER" + public final void mRULE_ANY_OTHER() throws RecognitionException { + try { + int _type = RULE_ANY_OTHER; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguage.g:9138:16: ( . ) + // InternalSolverLanguage.g:9138:18: . + { + matchAny(); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ANY_OTHER" + + public void mTokens() throws RecognitionException { + // InternalSolverLanguage.g:1:8: ( T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | RULE_STRING | RULE_QUOTED_ID | RULE_PLUS | RULE_STAR | RULE_DOT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt11=71; + alt11 = dfa11.predict(input); + switch (alt11) { + case 1 : + // InternalSolverLanguage.g:1:10: T__15 + { + mT__15(); + + } + break; + case 2 : + // InternalSolverLanguage.g:1:16: T__16 + { + mT__16(); + + } + break; + case 3 : + // InternalSolverLanguage.g:1:22: T__17 + { + mT__17(); + + } + break; + case 4 : + // InternalSolverLanguage.g:1:28: T__18 + { + mT__18(); + + } + break; + case 5 : + // InternalSolverLanguage.g:1:34: T__19 + { + mT__19(); + + } + break; + case 6 : + // InternalSolverLanguage.g:1:40: T__20 + { + mT__20(); + + } + break; + case 7 : + // InternalSolverLanguage.g:1:46: T__21 + { + mT__21(); + + } + break; + case 8 : + // InternalSolverLanguage.g:1:52: T__22 + { + mT__22(); + + } + break; + case 9 : + // InternalSolverLanguage.g:1:58: T__23 + { + mT__23(); + + } + break; + case 10 : + // InternalSolverLanguage.g:1:64: T__24 + { + mT__24(); + + } + break; + case 11 : + // InternalSolverLanguage.g:1:70: T__25 + { + mT__25(); + + } + break; + case 12 : + // InternalSolverLanguage.g:1:76: T__26 + { + mT__26(); + + } + break; + case 13 : + // InternalSolverLanguage.g:1:82: T__27 + { + mT__27(); + + } + break; + case 14 : + // InternalSolverLanguage.g:1:88: T__28 + { + mT__28(); + + } + break; + case 15 : + // InternalSolverLanguage.g:1:94: T__29 + { + mT__29(); + + } + break; + case 16 : + // InternalSolverLanguage.g:1:100: T__30 + { + mT__30(); + + } + break; + case 17 : + // InternalSolverLanguage.g:1:106: T__31 + { + mT__31(); + + } + break; + case 18 : + // InternalSolverLanguage.g:1:112: T__32 + { + mT__32(); + + } + break; + case 19 : + // InternalSolverLanguage.g:1:118: T__33 + { + mT__33(); + + } + break; + case 20 : + // InternalSolverLanguage.g:1:124: T__34 + { + mT__34(); - if ( ((LA9_0>='\t' && LA9_0<='\n')||LA9_0=='\r'||LA9_0==' ') ) { - alt9=1; } + break; + case 21 : + // InternalSolverLanguage.g:1:130: T__35 + { + mT__35(); + } + break; + case 22 : + // InternalSolverLanguage.g:1:136: T__36 + { + mT__36(); - switch (alt9) { - case 1 : - // InternalSolverLanguage.g: - { - if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { - input.consume(); + } + break; + case 23 : + // InternalSolverLanguage.g:1:142: T__37 + { + mT__37(); - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} + } + break; + case 24 : + // InternalSolverLanguage.g:1:148: T__38 + { + mT__38(); + } + break; + case 25 : + // InternalSolverLanguage.g:1:154: T__39 + { + mT__39(); - } - break; + } + break; + case 26 : + // InternalSolverLanguage.g:1:160: T__40 + { + mT__40(); - default : - if ( cnt9 >= 1 ) break loop9; - EarlyExitException eee = - new EarlyExitException(9, input); - throw eee; } - cnt9++; - } while (true); + break; + case 27 : + // InternalSolverLanguage.g:1:166: T__41 + { + mT__41(); + } + break; + case 28 : + // InternalSolverLanguage.g:1:172: T__42 + { + mT__42(); - } + } + break; + case 29 : + // InternalSolverLanguage.g:1:178: T__43 + { + mT__43(); - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_WS" + } + break; + case 30 : + // InternalSolverLanguage.g:1:184: T__44 + { + mT__44(); - // $ANTLR start "RULE_ANY_OTHER" - public final void mRULE_ANY_OTHER() throws RecognitionException { - try { - int _type = RULE_ANY_OTHER; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguage.g:5827:16: ( . ) - // InternalSolverLanguage.g:5827:18: . - { - matchAny(); + } + break; + case 31 : + // InternalSolverLanguage.g:1:190: T__45 + { + mT__45(); - } + } + break; + case 32 : + // InternalSolverLanguage.g:1:196: T__46 + { + mT__46(); - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ANY_OTHER" + } + break; + case 33 : + // InternalSolverLanguage.g:1:202: T__47 + { + mT__47(); - 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 | 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 : - // InternalSolverLanguage.g:1:10: T__11 + } + break; + case 34 : + // InternalSolverLanguage.g:1:208: T__48 { - mT__11(); + mT__48(); } break; - case 2 : - // InternalSolverLanguage.g:1:16: T__12 + case 35 : + // InternalSolverLanguage.g:1:214: T__49 { - mT__12(); + mT__49(); } break; - case 3 : - // InternalSolverLanguage.g:1:22: T__13 + case 36 : + // InternalSolverLanguage.g:1:220: T__50 { - mT__13(); + mT__50(); } break; - case 4 : - // InternalSolverLanguage.g:1:28: T__14 + case 37 : + // InternalSolverLanguage.g:1:226: T__51 { - mT__14(); + mT__51(); } break; - case 5 : - // InternalSolverLanguage.g:1:34: T__15 + case 38 : + // InternalSolverLanguage.g:1:232: T__52 { - mT__15(); + mT__52(); } break; - case 6 : - // InternalSolverLanguage.g:1:40: T__16 + case 39 : + // InternalSolverLanguage.g:1:238: T__53 { - mT__16(); + mT__53(); } break; - case 7 : - // InternalSolverLanguage.g:1:46: T__17 + case 40 : + // InternalSolverLanguage.g:1:244: T__54 { - mT__17(); + mT__54(); } break; - case 8 : - // InternalSolverLanguage.g:1:52: T__18 + case 41 : + // InternalSolverLanguage.g:1:250: T__55 { - mT__18(); + mT__55(); } break; - case 9 : - // InternalSolverLanguage.g:1:58: T__19 + case 42 : + // InternalSolverLanguage.g:1:256: T__56 { - mT__19(); + mT__56(); } break; - case 10 : - // InternalSolverLanguage.g:1:64: T__20 + case 43 : + // InternalSolverLanguage.g:1:262: T__57 { - mT__20(); + mT__57(); } break; - case 11 : - // InternalSolverLanguage.g:1:70: T__21 + case 44 : + // InternalSolverLanguage.g:1:268: T__58 { - mT__21(); + mT__58(); } break; - case 12 : - // InternalSolverLanguage.g:1:76: T__22 + case 45 : + // InternalSolverLanguage.g:1:274: T__59 { - mT__22(); + mT__59(); } break; - case 13 : - // InternalSolverLanguage.g:1:82: T__23 + case 46 : + // InternalSolverLanguage.g:1:280: T__60 { - mT__23(); + mT__60(); } break; - case 14 : - // InternalSolverLanguage.g:1:88: T__24 + case 47 : + // InternalSolverLanguage.g:1:286: T__61 { - mT__24(); + mT__61(); } break; - case 15 : - // InternalSolverLanguage.g:1:94: T__25 + case 48 : + // InternalSolverLanguage.g:1:292: T__62 { - mT__25(); + mT__62(); } break; - case 16 : - // InternalSolverLanguage.g:1:100: T__26 + case 49 : + // InternalSolverLanguage.g:1:298: T__63 { - mT__26(); + mT__63(); } break; - case 17 : - // InternalSolverLanguage.g:1:106: T__27 + case 50 : + // InternalSolverLanguage.g:1:304: T__64 { - mT__27(); + mT__64(); } break; - case 18 : - // InternalSolverLanguage.g:1:112: T__28 + case 51 : + // InternalSolverLanguage.g:1:310: T__65 { - mT__28(); + mT__65(); } break; - case 19 : - // InternalSolverLanguage.g:1:118: T__29 + case 52 : + // InternalSolverLanguage.g:1:316: T__66 { - mT__29(); + mT__66(); } break; - case 20 : - // InternalSolverLanguage.g:1:124: T__30 + case 53 : + // InternalSolverLanguage.g:1:322: T__67 { - mT__30(); + mT__67(); } break; - case 21 : - // InternalSolverLanguage.g:1:130: T__31 + case 54 : + // InternalSolverLanguage.g:1:328: T__68 { - mT__31(); + mT__68(); } break; - case 22 : - // InternalSolverLanguage.g:1:136: T__32 + case 55 : + // InternalSolverLanguage.g:1:334: T__69 { - mT__32(); + mT__69(); } break; - case 23 : - // InternalSolverLanguage.g:1:142: T__33 + case 56 : + // InternalSolverLanguage.g:1:340: T__70 { - mT__33(); + mT__70(); } break; - case 24 : - // InternalSolverLanguage.g:1:148: T__34 + case 57 : + // InternalSolverLanguage.g:1:346: T__71 { - mT__34(); + mT__71(); } break; - case 25 : - // InternalSolverLanguage.g:1:154: T__35 + case 58 : + // InternalSolverLanguage.g:1:352: T__72 { - mT__35(); + mT__72(); } break; - case 26 : - // InternalSolverLanguage.g:1:160: T__36 + case 59 : + // InternalSolverLanguage.g:1:358: T__73 { - mT__36(); + mT__73(); } break; - case 27 : - // InternalSolverLanguage.g:1:166: T__37 + case 60 : + // InternalSolverLanguage.g:1:364: T__74 { - mT__37(); + mT__74(); } break; - case 28 : - // InternalSolverLanguage.g:1:172: T__38 + case 61 : + // InternalSolverLanguage.g:1:370: RULE_STRING { - mT__38(); + mRULE_STRING(); } break; - case 29 : - // InternalSolverLanguage.g:1:178: T__39 + case 62 : + // InternalSolverLanguage.g:1:382: RULE_QUOTED_ID { - mT__39(); + mRULE_QUOTED_ID(); } break; - case 30 : - // InternalSolverLanguage.g:1:184: T__40 + case 63 : + // InternalSolverLanguage.g:1:397: RULE_PLUS { - mT__40(); + mRULE_PLUS(); } break; - case 31 : - // InternalSolverLanguage.g:1:190: T__41 + case 64 : + // InternalSolverLanguage.g:1:407: RULE_STAR { - mT__41(); + mRULE_STAR(); } break; - case 32 : - // InternalSolverLanguage.g:1:196: RULE_STRING + case 65 : + // InternalSolverLanguage.g:1:417: RULE_DOT { - mRULE_STRING(); + mRULE_DOT(); } break; - case 33 : - // InternalSolverLanguage.g:1:208: RULE_ID + case 66 : + // InternalSolverLanguage.g:1:426: RULE_ID { mRULE_ID(); } break; - case 34 : - // InternalSolverLanguage.g:1:216: RULE_INT + case 67 : + // InternalSolverLanguage.g:1:434: RULE_INT { mRULE_INT(); } break; - case 35 : - // InternalSolverLanguage.g:1:225: RULE_ML_COMMENT + case 68 : + // InternalSolverLanguage.g:1:443: RULE_ML_COMMENT { mRULE_ML_COMMENT(); } break; - case 36 : - // InternalSolverLanguage.g:1:241: RULE_SL_COMMENT + case 69 : + // InternalSolverLanguage.g:1:459: RULE_SL_COMMENT { mRULE_SL_COMMENT(); } break; - case 37 : - // InternalSolverLanguage.g:1:257: RULE_WS + case 70 : + // InternalSolverLanguage.g:1:475: RULE_WS { mRULE_WS(); } break; - case 38 : - // InternalSolverLanguage.g:1:265: RULE_ANY_OTHER + case 71 : + // InternalSolverLanguage.g:1:483: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -1401,286 +2394,408 @@ 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\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 = - "\u0095\uffff"; - static final String DFA10_minS = - "\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\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\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\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\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", + protected DFA11 dfa11 = new DFA11(this); + static final String DFA11_eotS = + "\1\uffff\1\50\1\uffff\2\51\1\57\1\61\1\63\1\65\1\uffff\1\70\1\73\12\51\1\124\1\51\1\127\11\uffff\2\47\7\uffff\1\147\1\150\1\51\16\uffff\27\51\2\uffff\1\51\17\uffff\1\u0084\1\u0085\2\uffff\1\51\1\u0087\1\u0089\1\51\1\u008c\6\51\1\u0093\3\51\1\u0097\13\51\2\uffff\1\u00a3\1\uffff\1\51\1\uffff\1\u00a5\1\51\1\uffff\4\51\1\u00ab\1\51\1\uffff\2\51\1\u00af\1\uffff\1\51\1\u00b1\1\u00b2\5\51\1\u00b9\2\51\1\uffff\1\51\1\uffff\2\51\1\u00bf\1\51\1\u00c1\1\uffff\1\51\1\u00c3\1\51\1\uffff\1\51\2\uffff\1\u00c6\2\51\1\u00c9\2\51\1\uffff\1\u00cc\4\51\1\uffff\1\51\1\uffff\1\51\1\uffff\2\51\1\uffff\2\51\1\uffff\1\u00d7\1\51\1\uffff\3\51\1\u00dc\5\51\1\u00e2\1\uffff\1\u00e3\1\u00e4\1\u00e5\1\u00e6\1\uffff\1\u00e7\1\u00e8\1\51\1\u00ea\1\51\7\uffff\1\51\1\uffff\1\51\1\uffff\1\u00ef\5\uffff"; + static final String DFA11_eofS = + "\u00f3\uffff"; + static final String DFA11_minS = + "\1\0\1\101\1\uffff\1\146\1\145\4\75\1\uffff\1\76\1\52\1\141\1\154\1\156\1\143\1\162\1\142\1\150\1\141\1\156\1\154\1\55\1\145\1\56\11\uffff\2\0\7\uffff\2\60\1\141\16\uffff\1\170\1\163\1\156\1\162\1\156\1\141\1\154\1\160\1\155\1\157\1\156\1\157\1\147\1\163\1\165\1\145\1\154\1\156\1\153\1\162\1\164\1\163\1\160\2\uffff\1\146\17\uffff\2\60\2\uffff\1\154\2\60\1\164\1\60\1\162\1\156\1\164\1\163\1\171\1\157\1\60\1\160\1\164\1\144\1\60\1\164\1\145\1\156\1\163\1\143\1\156\1\157\2\145\1\164\1\141\2\uffff\1\60\1\uffff\1\155\1\uffff\1\60\1\155\1\uffff\1\145\1\164\1\141\1\163\1\60\1\163\1\uffff\1\145\1\150\1\60\1\uffff\1\162\2\60\1\145\1\164\1\157\1\162\1\156\1\60\1\171\1\165\1\uffff\1\151\1\uffff\1\151\1\156\1\60\1\151\1\60\1\uffff\1\151\1\60\1\145\1\uffff\1\141\2\uffff\1\60\1\151\1\167\1\60\1\156\1\144\1\uffff\1\60\1\154\2\172\1\164\1\uffff\1\156\1\uffff\1\164\1\uffff\1\164\1\143\1\uffff\1\157\1\156\1\uffff\1\60\1\163\1\uffff\1\164\2\145\1\60\1\163\1\145\1\151\1\164\1\156\1\60\1\uffff\4\60\1\uffff\2\60\1\143\1\60\1\141\7\uffff\1\72\1\uffff\1\154\1\72\1\60\1\144\4\uffff"; + static final String DFA11_maxS = + "\1\uffff\1\172\1\uffff\1\156\1\145\4\75\1\uffff\1\76\1\57\2\165\1\160\1\171\1\162\1\166\1\162\1\165\1\156\1\170\1\55\1\145\1\56\11\uffff\2\uffff\7\uffff\2\172\1\141\16\uffff\1\171\1\163\1\156\1\162\1\165\1\141\1\154\1\160\1\155\1\157\1\156\1\157\1\147\1\163\1\165\1\145\1\154\1\156\1\153\1\162\1\164\1\163\1\160\2\uffff\1\146\17\uffff\2\172\2\uffff\1\154\2\172\1\164\1\172\1\162\1\156\1\164\1\163\1\171\1\157\1\172\1\160\1\164\1\144\1\172\1\164\1\145\1\156\1\163\1\143\1\156\1\157\2\145\1\164\1\141\2\uffff\1\172\1\uffff\1\155\1\uffff\1\172\1\155\1\uffff\1\145\1\164\1\141\1\163\1\172\1\163\1\uffff\1\145\1\150\1\172\1\uffff\1\162\2\172\1\145\1\164\1\157\2\162\1\172\1\171\1\165\1\uffff\1\151\1\uffff\1\151\1\156\1\172\1\151\1\172\1\uffff\1\151\1\172\1\145\1\uffff\1\141\2\uffff\1\172\1\151\1\167\1\172\1\156\1\144\1\uffff\1\172\1\154\2\172\1\164\1\uffff\1\156\1\uffff\1\164\1\uffff\1\164\1\143\1\uffff\1\157\1\156\1\uffff\1\172\1\163\1\uffff\1\164\2\145\1\172\1\163\1\145\1\151\1\164\1\156\1\172\1\uffff\4\172\1\uffff\2\172\1\143\1\172\1\141\7\uffff\1\72\1\uffff\1\154\1\72\1\172\1\163\4\uffff"; + static final String DFA11_acceptS = + "\2\uffff\1\2\6\uffff\1\14\17\uffff\1\50\1\52\1\54\1\55\1\56\1\57\1\60\1\61\1\63\2\uffff\1\102\1\103\1\106\1\107\1\1\1\102\1\2\3\uffff\1\5\1\41\1\6\1\17\1\10\1\7\1\12\1\11\1\14\1\51\1\15\1\104\1\105\1\16\27\uffff\1\40\1\37\1\uffff\1\62\1\44\1\50\1\52\1\54\1\55\1\56\1\57\1\60\1\61\1\63\1\75\1\76\1\103\1\106\2\uffff\1\13\1\45\33\uffff\1\3\1\64\1\uffff\1\20\1\uffff\1\30\2\uffff\1\27\6\uffff\1\24\3\uffff\1\26\13\uffff\1\4\1\uffff\1\21\5\uffff\1\23\3\uffff\1\25\1\uffff\1\31\1\46\6\uffff\1\47\5\uffff\1\53\1\uffff\1\66\1\uffff\1\71\2\uffff\1\32\2\uffff\1\34\2\uffff\1\65\12\uffff\1\43\4\uffff\1\22\5\uffff\1\33\1\67\1\42\1\36\1\35\1\74\1\70\1\uffff\1\73\4\uffff\1\72\1\77\1\100\1\101"; + static final String DFA11_specialS = + "\1\1\41\uffff\1\2\1\0\u00cf\uffff}>"; + static final String[] DFA11_transitionS = { + "\11\47\2\46\2\47\1\46\22\47\1\46\1\6\1\42\4\47\1\43\1\36\1\37\1\2\1\11\1\32\1\12\1\30\1\13\12\45\1\26\1\31\1\7\1\5\1\10\2\47\32\44\1\40\1\47\1\41\1\1\1\44\1\47\1\21\1\44\1\15\1\27\1\25\1\23\2\44\1\3\3\44\1\14\1\44\1\16\1\20\1\44\1\4\1\17\1\22\1\24\5\44\1\33\1\35\1\34\uff82\47", + "\32\51\4\uffff\1\51\1\uffff\32\51", "", - "", - "", - "\1\57", + "\1\54\7\uffff\1\53", + "\1\55", + "\1\56", "\1\60", - "\1\61", "\1\62", + "\1\64", "", + "\1\67", + "\1\71\4\uffff\1\72", + "\1\74\7\uffff\1\76\13\uffff\1\75", + "\1\101\2\uffff\1\100\5\uffff\1\77", + "\1\102\1\uffff\1\103", + "\1\105\21\uffff\1\104\3\uffff\1\106", + "\1\107", + "\1\111\23\uffff\1\110", + "\1\113\11\uffff\1\112", + "\1\114\23\uffff\1\115", + "\1\116", + "\1\121\1\122\4\uffff\1\117\5\uffff\1\120", + "\1\123", + "\1\125", + "\1\126", "", "", "", - "\1\67", - "\1\70\2\uffff\1\71", "", "", - "\1\74", - "\0\75", - "\32\40\4\uffff\1\40\1\uffff\32\40", "", "", - "\1\77\4\uffff\1\100", "", "", - "\1\102", + "\0\141", + "\0\142", "", - "\1\103", "", "", "", - "\1\104", - "\1\105", - "\1\106\12\uffff\1\107", - "\1\110", - "\1\111", "", "", "", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\5\51\1\146\15\51\1\145\6\51", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\151", "", "", - "\1\112", - "\1\113", - "\1\114\12\uffff\1\115", - "\1\116", "", "", "", "", - "\1\117", - "\1\120", - "\1\121", "", "", - "\1\122", "", "", "", "", "", - "\1\123", - "\1\124", - "\1\125", - "\1\126", - "\1\127", - "\1\130", - "\1\131", - "\1\132", - "\1\133", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "\1\135", - "\1\136", - "\1\137", - "\1\140", - "\1\141", - "\1\142", - "\1\143", - "\1\144", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "\1\146", - "\1\147", - "\1\150", - "\1\151", - "\1\152", - "\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\153\1\152", + "\1\154", + "\1\155", "\1\156", - "\1\157", - "\1\160", + "\1\160\6\uffff\1\157", "\1\161", "\1\162", "\1\163", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "", + "\1\164", "\1\165", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", + "\1\166", "\1\167", "\1\170", "\1\171", - "", - "", - "", "\1\172", "\1\173", "\1\174", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", + "\1\175", "\1\176", "\1\177", - "", "\1\u0080", - "", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", + "\1\u0081", "\1\u0082", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "\1\u0084", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "\1\u0086", "", - "\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\u0083", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", "", - "\1\u008b", "", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", + "\1\u0086", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\10\51\1\u0088\21\51", + "\1\u008a", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\10\51\1\u008b\21\51", "\1\u008d", "\1\u008e", + "\1\u008f", + "\1\u0090", + "\1\u0091", + "\1\u0092", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u0094", + "\1\u0095", + "\1\u0096", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u0098", + "\1\u0099", + "\1\u009a", + "\1\u009b", + "\1\u009c", + "\1\u009d", + "\1\u009e", + "\1\u009f", + "\1\u00a0", + "\1\u00a1", + "\1\u00a2", "", "", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "", + "\1\u00a4", + "", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00a6", + "", + "\1\u00a7", + "\1\u00a8", + "\1\u00a9", + "\1\u00aa", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00ac", + "", + "\1\u00ad", + "\1\u00ae", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "", + "\1\u00b0", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00b3", + "\1\u00b4", + "\1\u00b5", + "\1\u00b6", + "\1\u00b8\3\uffff\1\u00b7", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00ba", + "\1\u00bb", + "", + "\1\u00bc", + "", + "\1\u00bd", + "\1\u00be", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00c0", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "", + "\1\u00c2", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00c4", + "", + "\1\u00c5", + "", + "", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00c7", + "\1\u00c8", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00ca", + "\1\u00cb", + "", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00cd", + "\1\u00ce", + "\1\u00cf", + "\1\u00d0", + "", + "\1\u00d1", + "", + "\1\u00d2", + "", + "\1\u00d3", + "\1\u00d4", + "", + "\1\u00d5", + "\1\u00d6", + "", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00d8", + "", + "\1\u00d9", + "\1\u00da", + "\1\u00db", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00dd", + "\1\u00de", + "\1\u00df", + "\1\u00e0", + "\1\u00e1", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00e9", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00eb", + "", + "", + "", + "", + "", + "", + "", + "\1\u00ec", + "", + "\1\u00ed", + "\1\u00ee", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00f2\13\uffff\1\u00f0\2\uffff\1\u00f1", "", - "\1\u0090", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", "", - "\1\u0092", "", - "\1\u0093", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", "" }; - static final short[] DFA10_eot = DFA.unpackEncodedString(DFA10_eotS); - static final short[] DFA10_eof = DFA.unpackEncodedString(DFA10_eofS); - static final char[] DFA10_min = DFA.unpackEncodedStringToUnsignedChars(DFA10_minS); - static final char[] DFA10_max = DFA.unpackEncodedStringToUnsignedChars(DFA10_maxS); - static final short[] DFA10_accept = DFA.unpackEncodedString(DFA10_acceptS); - static final short[] DFA10_special = DFA.unpackEncodedString(DFA10_specialS); - static final short[][] DFA10_transition; + static final short[] DFA11_eot = DFA.unpackEncodedString(DFA11_eotS); + static final short[] DFA11_eof = DFA.unpackEncodedString(DFA11_eofS); + static final char[] DFA11_min = DFA.unpackEncodedStringToUnsignedChars(DFA11_minS); + static final char[] DFA11_max = DFA.unpackEncodedStringToUnsignedChars(DFA11_maxS); + static final short[] DFA11_accept = DFA.unpackEncodedString(DFA11_acceptS); + static final short[] DFA11_special = DFA.unpackEncodedString(DFA11_specialS); + static final short[][] DFA11_transition; static { - int numStates = DFA10_transitionS.length; - DFA10_transition = new short[numStates][]; + int numStates = DFA11_transitionS.length; + DFA11_transition = new short[numStates][]; for (int i=0; i='\u0000' && LA10_24<='\uFFFF')) ) {s = 61;} + if ( ((LA11_35>='\u0000' && LA11_35<='\uFFFF')) ) {s = 98;} - else s = 30; + else s = 39; if ( s>=0 ) return s; break; case 1 : - int LA10_0 = input.LA(1); + int LA11_0 = input.LA(1); s = -1; - if ( (LA10_0=='f') ) {s = 1;} + if ( (LA11_0=='^') ) {s = 1;} + + else if ( (LA11_0=='*') ) {s = 2;} + + else if ( (LA11_0=='i') ) {s = 3;} + + else if ( (LA11_0=='r') ) {s = 4;} + + else if ( (LA11_0=='=') ) {s = 5;} + + else if ( (LA11_0=='!') ) {s = 6;} + + else if ( (LA11_0=='<') ) {s = 7;} + + else if ( (LA11_0=='>') ) {s = 8;} - else if ( (LA10_0=='t') ) {s = 2;} + else if ( (LA11_0=='+') ) {s = 9;} - else if ( (LA10_0=='-') ) {s = 3;} + else if ( (LA11_0=='-') ) {s = 10;} - else if ( (LA10_0=='.') ) {s = 4;} + else if ( (LA11_0=='/') ) {s = 11;} - else if ( (LA10_0=='u') ) {s = 5;} + else if ( (LA11_0=='m') ) {s = 12;} - else if ( (LA10_0=='e') ) {s = 6;} + else if ( (LA11_0=='c') ) {s = 13;} - else if ( (LA10_0==':') ) {s = 7;} + else if ( (LA11_0=='o') ) {s = 14;} - else if ( (LA10_0=='(') ) {s = 8;} + else if ( (LA11_0=='s') ) {s = 15;} - else if ( (LA10_0==')') ) {s = 9;} + else if ( (LA11_0=='p') ) {s = 16;} - else if ( (LA10_0==',') ) {s = 10;} + else if ( (LA11_0=='a') ) {s = 17;} - else if ( (LA10_0=='b') ) {s = 11;} + else if ( (LA11_0=='t') ) {s = 18;} - else if ( (LA10_0=='i') ) {s = 12;} + else if ( (LA11_0=='f') ) {s = 19;} - else if ( (LA10_0=='r') ) {s = 13;} + else if ( (LA11_0=='u') ) {s = 20;} - else if ( (LA10_0=='s') ) {s = 14;} + else if ( (LA11_0=='e') ) {s = 21;} - else if ( (LA10_0=='\'') ) {s = 15;} + else if ( (LA11_0==':') ) {s = 22;} - else if ( (LA10_0=='|') ) {s = 16;} + else if ( (LA11_0=='d') ) {s = 23;} - else if ( (LA10_0=='+') ) {s = 17;} + else if ( (LA11_0=='.') ) {s = 24;} - else if ( (LA10_0=='*') ) {s = 18;} + else if ( (LA11_0==';') ) {s = 25;} - else if ( (LA10_0=='d') ) {s = 19;} + else if ( (LA11_0==',') ) {s = 26;} - else if ( (LA10_0=='c') ) {s = 20;} + else if ( (LA11_0=='{') ) {s = 27;} - else if ( (LA10_0=='{') ) {s = 21;} + else if ( (LA11_0=='}') ) {s = 28;} - else if ( (LA10_0=='}') ) {s = 22;} + else if ( (LA11_0=='|') ) {s = 29;} - else if ( (LA10_0=='a') ) {s = 23;} + else if ( (LA11_0=='(') ) {s = 30;} - else if ( (LA10_0=='\"') ) {s = 24;} + else if ( (LA11_0==')') ) {s = 31;} - else if ( (LA10_0=='^') ) {s = 25;} + else if ( (LA11_0=='[') ) {s = 32;} - 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 ( (LA11_0==']') ) {s = 33;} - else if ( ((LA10_0>='0' && LA10_0<='9')) ) {s = 27;} + else if ( (LA11_0=='\"') ) {s = 34;} - else if ( (LA10_0=='/') ) {s = 28;} + else if ( (LA11_0=='\'') ) {s = 35;} - else if ( ((LA10_0>='\t' && LA10_0<='\n')||LA10_0=='\r'||LA10_0==' ') ) {s = 29;} + else if ( ((LA11_0>='A' && LA11_0<='Z')||LA11_0=='_'||LA11_0=='b'||(LA11_0>='g' && LA11_0<='h')||(LA11_0>='j' && LA11_0<='l')||LA11_0=='n'||LA11_0=='q'||(LA11_0>='v' && LA11_0<='z')) ) {s = 36;} + + else if ( ((LA11_0>='0' && LA11_0<='9')) ) {s = 37;} + + else if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) {s = 38;} + + else if ( ((LA11_0>='\u0000' && LA11_0<='\b')||(LA11_0>='\u000B' && LA11_0<='\f')||(LA11_0>='\u000E' && LA11_0<='\u001F')||(LA11_0>='#' && LA11_0<='&')||(LA11_0>='?' && LA11_0<='@')||LA11_0=='\\'||LA11_0=='`'||(LA11_0>='~' && LA11_0<='\uFFFF')) ) {s = 39;} + + if ( s>=0 ) return s; + break; + case 2 : + int LA11_34 = input.LA(1); + + s = -1; + if ( ((LA11_34>='\u0000' && LA11_34<='\uFFFF')) ) {s = 97;} - else 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;} + else s = 39; if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 10, _s, input); + new NoViableAltException(getDescription(), 11, _s, input); error(nvae); throw nvae; } 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 ed956895..2da6b7d6 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 @@ -18,51 +18,85 @@ import org.antlr.runtime.*; import java.util.Stack; import java.util.List; import java.util.ArrayList; - +import java.util.Map; +import java.util.HashMap; @SuppressWarnings("all") public class InternalSolverLanguageParser extends AbstractInternalContentAssistParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "RULE_INT", "RULE_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'" + "", "", "", "", "RULE_INT", "RULE_QUOTED_ID", "RULE_DOT", "RULE_ID", "RULE_STAR", "RULE_PLUS", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'^'", "'*'", "'int'", "'real'", "'=='", "'!='", "'<'", "'<='", "'>'", "'>='", "'in'", "'+'", "'-'", "'/'", "'!'", "'may'", "'must'", "'current'", "'only'", "'sum'", "'prod'", "'avg'", "'min'", "'max'", "'true'", "'false'", "'unknown'", "'error'", "'minimize'", "'maximize'", "':'", "':-'", "'='", "'default'", "'extern'", "'.'", "'if'", "'then'", "'else'", "';'", "'->'", "','", "'count'", "'{'", "'}'", "'|'", "'('", "')'", "'['", "'..'", "']'", "'inf'", "'empty'", "'class'", "'extends'", "'opposite'", "'scope'", "'functional'", "'abstract'", "'contains'" }; - public static final int RULE_STRING=6; - public static final int RULE_SL_COMMENT=8; + public static final int T__50=50; public static final int T__19=19; public static final int T__15=15; - public static final int T__37=37; + public static final int T__59=59; public static final int T__16=16; - public static final int T__38=38; public static final int T__17=17; - public static final int T__39=39; public static final int T__18=18; - public static final int T__11=11; - public static final int T__33=33; - public static final int T__12=12; - public static final int T__34=34; - public static final int T__13=13; - public static final int T__35=35; - public static final int T__14=14; - public static final int T__36=36; - public static final int EOF=-1; - public static final int T__30=30; - public static final int T__31=31; - public static final int T__32=32; - public static final int RULE_ID=5; - public static final int RULE_WS=9; - public static final int RULE_ANY_OTHER=10; + public static final int T__55=55; + public static final int T__56=56; + public static final int T__57=57; + public static final int T__58=58; + public static final int T__51=51; + public static final int RULE_STAR=8; + public static final int T__52=52; + public static final int T__53=53; + public static final int T__54=54; + public static final int T__60=60; + public static final int T__61=61; + public static final int RULE_ID=7; + public static final int RULE_QUOTED_ID=5; public static final int T__26=26; public static final int T__27=27; public static final int T__28=28; public static final int RULE_INT=4; public static final int T__29=29; public static final int T__22=22; - public static final int RULE_ML_COMMENT=7; + public static final int T__66=66; + public static final int RULE_ML_COMMENT=11; public static final int T__23=23; + public static final int T__67=67; public static final int T__24=24; + public static final int T__68=68; public static final int T__25=25; - public static final int T__40=40; - public static final int T__41=41; + public static final int T__69=69; + public static final int T__62=62; + public static final int T__63=63; public static final int T__20=20; + public static final int T__64=64; public static final int T__21=21; + public static final int T__65=65; + public static final int T__70=70; + public static final int T__71=71; + public static final int T__72=72; + public static final int RULE_STRING=10; + public static final int RULE_SL_COMMENT=12; + public static final int T__37=37; + public static final int T__38=38; + public static final int T__39=39; + public static final int T__33=33; + public static final int T__34=34; + public static final int T__35=35; + public static final int RULE_PLUS=9; + public static final int T__36=36; + public static final int T__73=73; + public static final int RULE_DOT=6; + public static final int EOF=-1; + public static final int T__30=30; + public static final int T__74=74; + public static final int T__31=31; + public static final int T__32=32; + public static final int RULE_WS=13; + public static final int RULE_ANY_OTHER=14; + public static final int T__48=48; + public static final int T__49=49; + public static final int T__44=44; + public static final int T__45=45; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__42=42; + public static final int T__43=43; // delegates // delegators @@ -100,20 +134,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRuleProblem" - // InternalSolverLanguage.g:53:1: entryRuleProblem : ruleProblem EOF ; + // InternalSolverLanguage.g:54:1: entryRuleProblem : ruleProblem EOF ; public final void entryRuleProblem() throws RecognitionException { try { - // InternalSolverLanguage.g:54:1: ( ruleProblem EOF ) - // InternalSolverLanguage.g:55:1: ruleProblem EOF + // InternalSolverLanguage.g:55:1: ( ruleProblem EOF ) + // InternalSolverLanguage.g:56:1: ruleProblem EOF { - before(grammarAccess.getProblemRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getProblemRule()); + } pushFollow(FOLLOW_1); ruleProblem(); state._fsp--; - - after(grammarAccess.getProblemRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getProblemRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -130,39 +168,41 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleProblem" - // InternalSolverLanguage.g:62:1: ruleProblem : ( ( rule__Problem__StatementsAssignment )* ) ; + // InternalSolverLanguage.g:63:1: ruleProblem : ( ( rule__Problem__StatementsAssignment )* ) ; public final void ruleProblem() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:66:2: ( ( ( rule__Problem__StatementsAssignment )* ) ) - // InternalSolverLanguage.g:67:2: ( ( rule__Problem__StatementsAssignment )* ) + // InternalSolverLanguage.g:67:2: ( ( ( rule__Problem__StatementsAssignment )* ) ) + // InternalSolverLanguage.g:68:2: ( ( rule__Problem__StatementsAssignment )* ) { - // InternalSolverLanguage.g:67:2: ( ( rule__Problem__StatementsAssignment )* ) - // InternalSolverLanguage.g:68:3: ( rule__Problem__StatementsAssignment )* - { - before(grammarAccess.getProblemAccess().getStatementsAssignment()); + // InternalSolverLanguage.g:68:2: ( ( rule__Problem__StatementsAssignment )* ) // InternalSolverLanguage.g:69:3: ( rule__Problem__StatementsAssignment )* + { + if ( state.backtracking==0 ) { + before(grammarAccess.getProblemAccess().getStatementsAssignment()); + } + // InternalSolverLanguage.g:70:3: ( rule__Problem__StatementsAssignment )* loop1: do { int alt1=2; int LA1_0 = input.LA(1); - 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)) ) { + if ( ((LA1_0>=RULE_INT && LA1_0<=RULE_QUOTED_ID)||LA1_0==RULE_ID||LA1_0==RULE_STRING||(LA1_0>=17 && LA1_0<=18)||(LA1_0>=26 && LA1_0<=27)||(LA1_0>=29 && LA1_0<=44)||(LA1_0>=48 && LA1_0<=49)||LA1_0==51||LA1_0==57||LA1_0==61||LA1_0==63||(LA1_0>=66 && LA1_0<=68)||(LA1_0>=71 && LA1_0<=73)) ) { alt1=1; } switch (alt1) { case 1 : - // InternalSolverLanguage.g:69:4: rule__Problem__StatementsAssignment + // InternalSolverLanguage.g:70:4: rule__Problem__StatementsAssignment { pushFollow(FOLLOW_3); rule__Problem__StatementsAssignment(); state._fsp--; - + if (state.failed) return ; } break; @@ -172,7 +212,9 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } while (true); - after(grammarAccess.getProblemAccess().getStatementsAssignment()); + if ( state.backtracking==0 ) { + after(grammarAccess.getProblemAccess().getStatementsAssignment()); + } } @@ -195,20 +237,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRuleStatement" - // InternalSolverLanguage.g:78:1: entryRuleStatement : ruleStatement EOF ; + // InternalSolverLanguage.g:79:1: entryRuleStatement : ruleStatement EOF ; public final void entryRuleStatement() throws RecognitionException { try { - // InternalSolverLanguage.g:79:1: ( ruleStatement EOF ) - // InternalSolverLanguage.g:80:1: ruleStatement EOF + // InternalSolverLanguage.g:80:1: ( ruleStatement EOF ) + // InternalSolverLanguage.g:81:1: ruleStatement EOF { - before(grammarAccess.getStatementRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getStatementRule()); + } pushFollow(FOLLOW_1); ruleStatement(); state._fsp--; - - after(grammarAccess.getStatementRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getStatementRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -225,31 +271,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleStatement" - // InternalSolverLanguage.g:87:1: ruleStatement : ( ( rule__Statement__Alternatives ) ) ; + // InternalSolverLanguage.g:88:1: ruleStatement : ( ( rule__Statement__Group__0 ) ) ; public final void ruleStatement() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:91:2: ( ( ( rule__Statement__Alternatives ) ) ) - // InternalSolverLanguage.g:92:2: ( ( rule__Statement__Alternatives ) ) + // InternalSolverLanguage.g:92:2: ( ( ( rule__Statement__Group__0 ) ) ) + // InternalSolverLanguage.g:93:2: ( ( rule__Statement__Group__0 ) ) { - // InternalSolverLanguage.g:92:2: ( ( rule__Statement__Alternatives ) ) - // InternalSolverLanguage.g:93:3: ( rule__Statement__Alternatives ) + // InternalSolverLanguage.g:93:2: ( ( rule__Statement__Group__0 ) ) + // InternalSolverLanguage.g:94:3: ( rule__Statement__Group__0 ) { - before(grammarAccess.getStatementAccess().getAlternatives()); - // InternalSolverLanguage.g:94:3: ( rule__Statement__Alternatives ) - // InternalSolverLanguage.g:94:4: rule__Statement__Alternatives + if ( state.backtracking==0 ) { + before(grammarAccess.getStatementAccess().getGroup()); + } + // InternalSolverLanguage.g:95:3: ( rule__Statement__Group__0 ) + // InternalSolverLanguage.g:95:4: rule__Statement__Group__0 { pushFollow(FOLLOW_2); - rule__Statement__Alternatives(); + rule__Statement__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getStatementAccess().getAlternatives()); + if ( state.backtracking==0 ) { + after(grammarAccess.getStatementAccess().getGroup()); + } } @@ -271,21 +321,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "ruleStatement" - // $ANTLR start "entryRuleREALLiteral" - // InternalSolverLanguage.g:103:1: entryRuleREALLiteral : ruleREALLiteral EOF ; - public final void entryRuleREALLiteral() throws RecognitionException { + // $ANTLR start "entryRuleAssertionOrDefinition" + // InternalSolverLanguage.g:104:1: entryRuleAssertionOrDefinition : ruleAssertionOrDefinition EOF ; + public final void entryRuleAssertionOrDefinition() throws RecognitionException { try { - // InternalSolverLanguage.g:104:1: ( ruleREALLiteral EOF ) - // InternalSolverLanguage.g:105:1: ruleREALLiteral EOF + // InternalSolverLanguage.g:105:1: ( ruleAssertionOrDefinition EOF ) + // InternalSolverLanguage.g:106:1: ruleAssertionOrDefinition EOF { - before(grammarAccess.getREALLiteralRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionRule()); + } pushFollow(FOLLOW_1); - ruleREALLiteral(); + ruleAssertionOrDefinition(); state._fsp--; - - after(grammarAccess.getREALLiteralRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -298,35 +352,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleREALLiteral" + // $ANTLR end "entryRuleAssertionOrDefinition" - // $ANTLR start "ruleREALLiteral" - // InternalSolverLanguage.g:112:1: ruleREALLiteral : ( ( rule__REALLiteral__Group__0 ) ) ; - public final void ruleREALLiteral() throws RecognitionException { + // $ANTLR start "ruleAssertionOrDefinition" + // InternalSolverLanguage.g:113:1: ruleAssertionOrDefinition : ( ( rule__AssertionOrDefinition__Group__0 ) ) ; + public final void ruleAssertionOrDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:116:2: ( ( ( rule__REALLiteral__Group__0 ) ) ) - // InternalSolverLanguage.g:117:2: ( ( rule__REALLiteral__Group__0 ) ) + // InternalSolverLanguage.g:117:2: ( ( ( rule__AssertionOrDefinition__Group__0 ) ) ) + // InternalSolverLanguage.g:118:2: ( ( rule__AssertionOrDefinition__Group__0 ) ) { - // InternalSolverLanguage.g:117:2: ( ( rule__REALLiteral__Group__0 ) ) - // InternalSolverLanguage.g:118:3: ( rule__REALLiteral__Group__0 ) + // InternalSolverLanguage.g:118:2: ( ( rule__AssertionOrDefinition__Group__0 ) ) + // InternalSolverLanguage.g:119:3: ( rule__AssertionOrDefinition__Group__0 ) { - before(grammarAccess.getREALLiteralAccess().getGroup()); - // InternalSolverLanguage.g:119:3: ( rule__REALLiteral__Group__0 ) - // InternalSolverLanguage.g:119:4: rule__REALLiteral__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getGroup()); + } + // InternalSolverLanguage.g:120:3: ( rule__AssertionOrDefinition__Group__0 ) + // InternalSolverLanguage.g:120:4: rule__AssertionOrDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__REALLiteral__Group__0(); + rule__AssertionOrDefinition__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getREALLiteralAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getGroup()); + } } @@ -345,24 +403,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleREALLiteral" + // $ANTLR end "ruleAssertionOrDefinition" - // $ANTLR start "entryRuleINTLiteral" - // InternalSolverLanguage.g:128:1: entryRuleINTLiteral : ruleINTLiteral EOF ; - public final void entryRuleINTLiteral() throws RecognitionException { + // $ANTLR start "entryRulePredicateDefinition" + // InternalSolverLanguage.g:129:1: entryRulePredicateDefinition : rulePredicateDefinition EOF ; + public final void entryRulePredicateDefinition() throws RecognitionException { try { - // InternalSolverLanguage.g:129:1: ( ruleINTLiteral EOF ) - // InternalSolverLanguage.g:130:1: ruleINTLiteral EOF + // InternalSolverLanguage.g:130:1: ( rulePredicateDefinition EOF ) + // InternalSolverLanguage.g:131:1: rulePredicateDefinition EOF { - before(grammarAccess.getINTLiteralRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionRule()); + } pushFollow(FOLLOW_1); - ruleINTLiteral(); + rulePredicateDefinition(); state._fsp--; - - after(grammarAccess.getINTLiteralRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -375,35 +437,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleINTLiteral" + // $ANTLR end "entryRulePredicateDefinition" - // $ANTLR start "ruleINTLiteral" - // InternalSolverLanguage.g:137:1: ruleINTLiteral : ( ( rule__INTLiteral__Group__0 ) ) ; - public final void ruleINTLiteral() throws RecognitionException { + // $ANTLR start "rulePredicateDefinition" + // InternalSolverLanguage.g:138:1: rulePredicateDefinition : ( ( rule__PredicateDefinition__Group__0 ) ) ; + public final void rulePredicateDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:141:2: ( ( ( rule__INTLiteral__Group__0 ) ) ) - // InternalSolverLanguage.g:142:2: ( ( rule__INTLiteral__Group__0 ) ) + // InternalSolverLanguage.g:142:2: ( ( ( rule__PredicateDefinition__Group__0 ) ) ) + // InternalSolverLanguage.g:143:2: ( ( rule__PredicateDefinition__Group__0 ) ) { - // InternalSolverLanguage.g:142:2: ( ( rule__INTLiteral__Group__0 ) ) - // InternalSolverLanguage.g:143:3: ( rule__INTLiteral__Group__0 ) + // InternalSolverLanguage.g:143:2: ( ( rule__PredicateDefinition__Group__0 ) ) + // InternalSolverLanguage.g:144:3: ( rule__PredicateDefinition__Group__0 ) { - before(grammarAccess.getINTLiteralAccess().getGroup()); - // InternalSolverLanguage.g:144:3: ( rule__INTLiteral__Group__0 ) - // InternalSolverLanguage.g:144:4: rule__INTLiteral__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getGroup()); + } + // InternalSolverLanguage.g:145:3: ( rule__PredicateDefinition__Group__0 ) + // InternalSolverLanguage.g:145:4: rule__PredicateDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__INTLiteral__Group__0(); + rule__PredicateDefinition__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getINTLiteralAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getGroup()); + } } @@ -422,24 +488,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleINTLiteral" + // $ANTLR end "rulePredicateDefinition" - // $ANTLR start "entryRuleBooleanValue" - // InternalSolverLanguage.g:153:1: entryRuleBooleanValue : ruleBooleanValue EOF ; - public final void entryRuleBooleanValue() throws RecognitionException { + // $ANTLR start "entryRuleUnnamedErrorPrediateDefinition" + // InternalSolverLanguage.g:154:1: entryRuleUnnamedErrorPrediateDefinition : ruleUnnamedErrorPrediateDefinition EOF ; + public final void entryRuleUnnamedErrorPrediateDefinition() throws RecognitionException { try { - // InternalSolverLanguage.g:154:1: ( ruleBooleanValue EOF ) - // InternalSolverLanguage.g:155:1: ruleBooleanValue EOF + // InternalSolverLanguage.g:155:1: ( ruleUnnamedErrorPrediateDefinition EOF ) + // InternalSolverLanguage.g:156:1: ruleUnnamedErrorPrediateDefinition EOF { - before(grammarAccess.getBooleanValueRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); + } pushFollow(FOLLOW_1); - ruleBooleanValue(); + ruleUnnamedErrorPrediateDefinition(); state._fsp--; - - after(grammarAccess.getBooleanValueRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -452,35 +522,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleBooleanValue" + // $ANTLR end "entryRuleUnnamedErrorPrediateDefinition" - // $ANTLR start "ruleBooleanValue" - // InternalSolverLanguage.g:162:1: ruleBooleanValue : ( ( rule__BooleanValue__Alternatives ) ) ; - public final void ruleBooleanValue() throws RecognitionException { + // $ANTLR start "ruleUnnamedErrorPrediateDefinition" + // InternalSolverLanguage.g:163:1: ruleUnnamedErrorPrediateDefinition : ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) ; + public final void ruleUnnamedErrorPrediateDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:166:2: ( ( ( rule__BooleanValue__Alternatives ) ) ) - // InternalSolverLanguage.g:167:2: ( ( rule__BooleanValue__Alternatives ) ) + // InternalSolverLanguage.g:167:2: ( ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) ) + // InternalSolverLanguage.g:168:2: ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) { - // InternalSolverLanguage.g:167:2: ( ( rule__BooleanValue__Alternatives ) ) - // InternalSolverLanguage.g:168:3: ( rule__BooleanValue__Alternatives ) + // InternalSolverLanguage.g:168:2: ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) + // InternalSolverLanguage.g:169:3: ( rule__UnnamedErrorPrediateDefinition__Group__0 ) { - before(grammarAccess.getBooleanValueAccess().getAlternatives()); - // InternalSolverLanguage.g:169:3: ( rule__BooleanValue__Alternatives ) - // InternalSolverLanguage.g:169:4: rule__BooleanValue__Alternatives + if ( state.backtracking==0 ) { + before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup()); + } + // InternalSolverLanguage.g:170:3: ( rule__UnnamedErrorPrediateDefinition__Group__0 ) + // InternalSolverLanguage.g:170:4: rule__UnnamedErrorPrediateDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__BooleanValue__Alternatives(); + rule__UnnamedErrorPrediateDefinition__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getBooleanValueAccess().getAlternatives()); + if ( state.backtracking==0 ) { + after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup()); + } } @@ -499,24 +573,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleBooleanValue" + // $ANTLR end "ruleUnnamedErrorPrediateDefinition" - // $ANTLR start "entryRuleTruthValue" - // InternalSolverLanguage.g:178:1: entryRuleTruthValue : ruleTruthValue EOF ; - public final void entryRuleTruthValue() throws RecognitionException { + // $ANTLR start "entryRuleDefaultDefinition" + // InternalSolverLanguage.g:179:1: entryRuleDefaultDefinition : ruleDefaultDefinition EOF ; + public final void entryRuleDefaultDefinition() throws RecognitionException { try { - // InternalSolverLanguage.g:179:1: ( ruleTruthValue EOF ) - // InternalSolverLanguage.g:180:1: ruleTruthValue EOF + // InternalSolverLanguage.g:180:1: ( ruleDefaultDefinition EOF ) + // InternalSolverLanguage.g:181:1: ruleDefaultDefinition EOF { - before(grammarAccess.getTruthValueRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getDefaultDefinitionRule()); + } pushFollow(FOLLOW_1); - ruleTruthValue(); + ruleDefaultDefinition(); state._fsp--; - - after(grammarAccess.getTruthValueRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDefaultDefinitionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -529,35 +607,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleTruthValue" + // $ANTLR end "entryRuleDefaultDefinition" - // $ANTLR start "ruleTruthValue" - // InternalSolverLanguage.g:187:1: ruleTruthValue : ( ( rule__TruthValue__Alternatives ) ) ; - public final void ruleTruthValue() throws RecognitionException { + // $ANTLR start "ruleDefaultDefinition" + // InternalSolverLanguage.g:188:1: ruleDefaultDefinition : ( ( rule__DefaultDefinition__Group__0 ) ) ; + public final void ruleDefaultDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:191:2: ( ( ( rule__TruthValue__Alternatives ) ) ) - // InternalSolverLanguage.g:192:2: ( ( rule__TruthValue__Alternatives ) ) + // InternalSolverLanguage.g:192:2: ( ( ( rule__DefaultDefinition__Group__0 ) ) ) + // InternalSolverLanguage.g:193:2: ( ( rule__DefaultDefinition__Group__0 ) ) { - // InternalSolverLanguage.g:192:2: ( ( rule__TruthValue__Alternatives ) ) - // InternalSolverLanguage.g:193:3: ( rule__TruthValue__Alternatives ) + // InternalSolverLanguage.g:193:2: ( ( rule__DefaultDefinition__Group__0 ) ) + // InternalSolverLanguage.g:194:3: ( rule__DefaultDefinition__Group__0 ) { - before(grammarAccess.getTruthValueAccess().getAlternatives()); - // InternalSolverLanguage.g:194:3: ( rule__TruthValue__Alternatives ) - // InternalSolverLanguage.g:194:4: rule__TruthValue__Alternatives + if ( state.backtracking==0 ) { + before(grammarAccess.getDefaultDefinitionAccess().getGroup()); + } + // InternalSolverLanguage.g:195:3: ( rule__DefaultDefinition__Group__0 ) + // InternalSolverLanguage.g:195:4: rule__DefaultDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__TruthValue__Alternatives(); + rule__DefaultDefinition__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getTruthValueAccess().getAlternatives()); + if ( state.backtracking==0 ) { + after(grammarAccess.getDefaultDefinitionAccess().getGroup()); + } } @@ -576,24 +658,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleTruthValue" + // $ANTLR end "ruleDefaultDefinition" - // $ANTLR start "entryRuleInterpretation" - // InternalSolverLanguage.g:203:1: entryRuleInterpretation : ruleInterpretation EOF ; - public final void entryRuleInterpretation() throws RecognitionException { + // $ANTLR start "entryRuleExternPredicateDefinition" + // InternalSolverLanguage.g:204:1: entryRuleExternPredicateDefinition : ruleExternPredicateDefinition EOF ; + public final void entryRuleExternPredicateDefinition() throws RecognitionException { try { - // InternalSolverLanguage.g:204:1: ( ruleInterpretation EOF ) - // InternalSolverLanguage.g:205:1: ruleInterpretation EOF + // InternalSolverLanguage.g:205:1: ( ruleExternPredicateDefinition EOF ) + // InternalSolverLanguage.g:206:1: ruleExternPredicateDefinition EOF { - before(grammarAccess.getInterpretationRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getExternPredicateDefinitionRule()); + } pushFollow(FOLLOW_1); - ruleInterpretation(); + ruleExternPredicateDefinition(); state._fsp--; - - after(grammarAccess.getInterpretationRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExternPredicateDefinitionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -606,35 +692,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleInterpretation" + // $ANTLR end "entryRuleExternPredicateDefinition" - // $ANTLR start "ruleInterpretation" - // InternalSolverLanguage.g:212:1: ruleInterpretation : ( ( rule__Interpretation__Alternatives ) ) ; - public final void ruleInterpretation() throws RecognitionException { + // $ANTLR start "ruleExternPredicateDefinition" + // InternalSolverLanguage.g:213:1: ruleExternPredicateDefinition : ( ( rule__ExternPredicateDefinition__Group__0 ) ) ; + public final void ruleExternPredicateDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:216:2: ( ( ( rule__Interpretation__Alternatives ) ) ) - // InternalSolverLanguage.g:217:2: ( ( rule__Interpretation__Alternatives ) ) + // InternalSolverLanguage.g:217:2: ( ( ( rule__ExternPredicateDefinition__Group__0 ) ) ) + // InternalSolverLanguage.g:218:2: ( ( rule__ExternPredicateDefinition__Group__0 ) ) { - // InternalSolverLanguage.g:217:2: ( ( rule__Interpretation__Alternatives ) ) - // InternalSolverLanguage.g:218:3: ( rule__Interpretation__Alternatives ) + // InternalSolverLanguage.g:218:2: ( ( rule__ExternPredicateDefinition__Group__0 ) ) + // InternalSolverLanguage.g:219:3: ( rule__ExternPredicateDefinition__Group__0 ) { - before(grammarAccess.getInterpretationAccess().getAlternatives()); - // InternalSolverLanguage.g:219:3: ( rule__Interpretation__Alternatives ) - // InternalSolverLanguage.g:219:4: rule__Interpretation__Alternatives + if ( state.backtracking==0 ) { + before(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); + } + // InternalSolverLanguage.g:220:3: ( rule__ExternPredicateDefinition__Group__0 ) + // InternalSolverLanguage.g:220:4: rule__ExternPredicateDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__Interpretation__Alternatives(); + rule__ExternPredicateDefinition__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getInterpretationAccess().getAlternatives()); + if ( state.backtracking==0 ) { + after(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); + } } @@ -653,24 +743,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleInterpretation" + // $ANTLR end "ruleExternPredicateDefinition" - // $ANTLR start "entryRuleBasicInterpretation" - // InternalSolverLanguage.g:228:1: entryRuleBasicInterpretation : ruleBasicInterpretation EOF ; - public final void entryRuleBasicInterpretation() throws RecognitionException { + // $ANTLR start "entryRuleMetricDefinition" + // InternalSolverLanguage.g:229:1: entryRuleMetricDefinition : ruleMetricDefinition EOF ; + public final void entryRuleMetricDefinition() throws RecognitionException { try { - // InternalSolverLanguage.g:229:1: ( ruleBasicInterpretation EOF ) - // InternalSolverLanguage.g:230:1: ruleBasicInterpretation EOF + // InternalSolverLanguage.g:230:1: ( ruleMetricDefinition EOF ) + // InternalSolverLanguage.g:231:1: ruleMetricDefinition EOF { - before(grammarAccess.getBasicInterpretationRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getMetricDefinitionRule()); + } pushFollow(FOLLOW_1); - ruleBasicInterpretation(); + ruleMetricDefinition(); state._fsp--; - - after(grammarAccess.getBasicInterpretationRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMetricDefinitionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -683,35 +777,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleBasicInterpretation" + // $ANTLR end "entryRuleMetricDefinition" - // $ANTLR start "ruleBasicInterpretation" - // InternalSolverLanguage.g:237:1: ruleBasicInterpretation : ( ( rule__BasicInterpretation__Group__0 ) ) ; - public final void ruleBasicInterpretation() throws RecognitionException { + // $ANTLR start "ruleMetricDefinition" + // InternalSolverLanguage.g:238:1: ruleMetricDefinition : ( ( rule__MetricDefinition__Group__0 ) ) ; + public final void ruleMetricDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:241:2: ( ( ( rule__BasicInterpretation__Group__0 ) ) ) - // InternalSolverLanguage.g:242:2: ( ( rule__BasicInterpretation__Group__0 ) ) + // InternalSolverLanguage.g:242:2: ( ( ( rule__MetricDefinition__Group__0 ) ) ) + // InternalSolverLanguage.g:243:2: ( ( rule__MetricDefinition__Group__0 ) ) { - // InternalSolverLanguage.g:242:2: ( ( rule__BasicInterpretation__Group__0 ) ) - // InternalSolverLanguage.g:243:3: ( rule__BasicInterpretation__Group__0 ) + // InternalSolverLanguage.g:243:2: ( ( rule__MetricDefinition__Group__0 ) ) + // InternalSolverLanguage.g:244:3: ( rule__MetricDefinition__Group__0 ) { - before(grammarAccess.getBasicInterpretationAccess().getGroup()); - // InternalSolverLanguage.g:244:3: ( rule__BasicInterpretation__Group__0 ) - // InternalSolverLanguage.g:244:4: rule__BasicInterpretation__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getMetricDefinitionAccess().getGroup()); + } + // InternalSolverLanguage.g:245:3: ( rule__MetricDefinition__Group__0 ) + // InternalSolverLanguage.g:245:4: rule__MetricDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__BasicInterpretation__Group__0(); + rule__MetricDefinition__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getBasicInterpretationAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getMetricDefinitionAccess().getGroup()); + } } @@ -730,24 +828,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleBasicInterpretation" + // $ANTLR end "ruleMetricDefinition" - // $ANTLR start "entryRuleSymbol" - // InternalSolverLanguage.g:253:1: entryRuleSymbol : ruleSymbol EOF ; - public final void entryRuleSymbol() throws RecognitionException { + // $ANTLR start "entryRuleExternMetricDefinition" + // InternalSolverLanguage.g:254:1: entryRuleExternMetricDefinition : ruleExternMetricDefinition EOF ; + public final void entryRuleExternMetricDefinition() throws RecognitionException { try { - // InternalSolverLanguage.g:254:1: ( ruleSymbol EOF ) - // InternalSolverLanguage.g:255:1: ruleSymbol EOF + // InternalSolverLanguage.g:255:1: ( ruleExternMetricDefinition EOF ) + // InternalSolverLanguage.g:256:1: ruleExternMetricDefinition EOF { - before(grammarAccess.getSymbolRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getExternMetricDefinitionRule()); + } pushFollow(FOLLOW_1); - ruleSymbol(); + ruleExternMetricDefinition(); state._fsp--; - - after(grammarAccess.getSymbolRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExternMetricDefinitionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -760,35 +862,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleSymbol" + // $ANTLR end "entryRuleExternMetricDefinition" - // $ANTLR start "ruleSymbol" - // InternalSolverLanguage.g:262:1: ruleSymbol : ( ( rule__Symbol__Alternatives ) ) ; - public final void ruleSymbol() throws RecognitionException { + // $ANTLR start "ruleExternMetricDefinition" + // InternalSolverLanguage.g:263:1: ruleExternMetricDefinition : ( ( rule__ExternMetricDefinition__Group__0 ) ) ; + public final void ruleExternMetricDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:266:2: ( ( ( rule__Symbol__Alternatives ) ) ) - // InternalSolverLanguage.g:267:2: ( ( rule__Symbol__Alternatives ) ) + // InternalSolverLanguage.g:267:2: ( ( ( rule__ExternMetricDefinition__Group__0 ) ) ) + // InternalSolverLanguage.g:268:2: ( ( rule__ExternMetricDefinition__Group__0 ) ) { - // InternalSolverLanguage.g:267:2: ( ( rule__Symbol__Alternatives ) ) - // InternalSolverLanguage.g:268:3: ( rule__Symbol__Alternatives ) + // InternalSolverLanguage.g:268:2: ( ( rule__ExternMetricDefinition__Group__0 ) ) + // InternalSolverLanguage.g:269:3: ( rule__ExternMetricDefinition__Group__0 ) { - before(grammarAccess.getSymbolAccess().getAlternatives()); - // InternalSolverLanguage.g:269:3: ( rule__Symbol__Alternatives ) - // InternalSolverLanguage.g:269:4: rule__Symbol__Alternatives + if ( state.backtracking==0 ) { + before(grammarAccess.getExternMetricDefinitionAccess().getGroup()); + } + // InternalSolverLanguage.g:270:3: ( rule__ExternMetricDefinition__Group__0 ) + // InternalSolverLanguage.g:270:4: rule__ExternMetricDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__Symbol__Alternatives(); + rule__ExternMetricDefinition__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getSymbolAccess().getAlternatives()); + if ( state.backtracking==0 ) { + after(grammarAccess.getExternMetricDefinitionAccess().getGroup()); + } } @@ -807,24 +913,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleSymbol" + // $ANTLR end "ruleExternMetricDefinition" - // $ANTLR start "entryRuleModelSymbol" - // InternalSolverLanguage.g:278:1: entryRuleModelSymbol : ruleModelSymbol EOF ; - public final void entryRuleModelSymbol() throws RecognitionException { + // $ANTLR start "entryRuleExpression" + // InternalSolverLanguage.g:279:1: entryRuleExpression : ruleExpression EOF ; + public final void entryRuleExpression() throws RecognitionException { try { - // InternalSolverLanguage.g:279:1: ( ruleModelSymbol EOF ) - // InternalSolverLanguage.g:280:1: ruleModelSymbol EOF + // InternalSolverLanguage.g:280:1: ( ruleExpression EOF ) + // InternalSolverLanguage.g:281:1: ruleExpression EOF { - before(grammarAccess.getModelSymbolRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getExpressionRule()); + } pushFollow(FOLLOW_1); - ruleModelSymbol(); + ruleExpression(); state._fsp--; - - after(grammarAccess.getModelSymbolRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExpressionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -837,35 +947,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleModelSymbol" + // $ANTLR end "entryRuleExpression" - // $ANTLR start "ruleModelSymbol" - // InternalSolverLanguage.g:287:1: ruleModelSymbol : ( ( rule__ModelSymbol__NameAssignment ) ) ; - public final void ruleModelSymbol() throws RecognitionException { + // $ANTLR start "ruleExpression" + // InternalSolverLanguage.g:288:1: ruleExpression : ( ( rule__Expression__Alternatives ) ) ; + public final void ruleExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:291:2: ( ( ( rule__ModelSymbol__NameAssignment ) ) ) - // InternalSolverLanguage.g:292:2: ( ( rule__ModelSymbol__NameAssignment ) ) + // InternalSolverLanguage.g:292:2: ( ( ( rule__Expression__Alternatives ) ) ) + // InternalSolverLanguage.g:293:2: ( ( rule__Expression__Alternatives ) ) { - // InternalSolverLanguage.g:292:2: ( ( rule__ModelSymbol__NameAssignment ) ) - // InternalSolverLanguage.g:293:3: ( rule__ModelSymbol__NameAssignment ) + // InternalSolverLanguage.g:293:2: ( ( rule__Expression__Alternatives ) ) + // InternalSolverLanguage.g:294:3: ( rule__Expression__Alternatives ) { - before(grammarAccess.getModelSymbolAccess().getNameAssignment()); - // InternalSolverLanguage.g:294:3: ( rule__ModelSymbol__NameAssignment ) - // InternalSolverLanguage.g:294:4: rule__ModelSymbol__NameAssignment + if ( state.backtracking==0 ) { + before(grammarAccess.getExpressionAccess().getAlternatives()); + } + // InternalSolverLanguage.g:295:3: ( rule__Expression__Alternatives ) + // InternalSolverLanguage.g:295:4: rule__Expression__Alternatives { pushFollow(FOLLOW_2); - rule__ModelSymbol__NameAssignment(); + rule__Expression__Alternatives(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getModelSymbolAccess().getNameAssignment()); + if ( state.backtracking==0 ) { + after(grammarAccess.getExpressionAccess().getAlternatives()); + } } @@ -884,24 +998,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleModelSymbol" + // $ANTLR end "ruleExpression" - // $ANTLR start "entryRulePartialitySymbol" - // InternalSolverLanguage.g:303:1: entryRulePartialitySymbol : rulePartialitySymbol EOF ; - public final void entryRulePartialitySymbol() throws RecognitionException { + // $ANTLR start "entryRuleIfElse" + // InternalSolverLanguage.g:304:1: entryRuleIfElse : ruleIfElse EOF ; + public final void entryRuleIfElse() throws RecognitionException { try { - // InternalSolverLanguage.g:304:1: ( rulePartialitySymbol EOF ) - // InternalSolverLanguage.g:305:1: rulePartialitySymbol EOF + // InternalSolverLanguage.g:305:1: ( ruleIfElse EOF ) + // InternalSolverLanguage.g:306:1: ruleIfElse EOF { - before(grammarAccess.getPartialitySymbolRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getIfElseRule()); + } pushFollow(FOLLOW_1); - rulePartialitySymbol(); + ruleIfElse(); state._fsp--; - - after(grammarAccess.getPartialitySymbolRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getIfElseRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -914,35 +1032,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRulePartialitySymbol" + // $ANTLR end "entryRuleIfElse" - // $ANTLR start "rulePartialitySymbol" - // InternalSolverLanguage.g:312:1: rulePartialitySymbol : ( ( rule__PartialitySymbol__Alternatives ) ) ; - public final void rulePartialitySymbol() throws RecognitionException { + // $ANTLR start "ruleIfElse" + // InternalSolverLanguage.g:313:1: ruleIfElse : ( ( rule__IfElse__Group__0 ) ) ; + public final void ruleIfElse() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:316:2: ( ( ( rule__PartialitySymbol__Alternatives ) ) ) - // InternalSolverLanguage.g:317:2: ( ( rule__PartialitySymbol__Alternatives ) ) + // InternalSolverLanguage.g:317:2: ( ( ( rule__IfElse__Group__0 ) ) ) + // InternalSolverLanguage.g:318:2: ( ( rule__IfElse__Group__0 ) ) { - // InternalSolverLanguage.g:317:2: ( ( rule__PartialitySymbol__Alternatives ) ) - // InternalSolverLanguage.g:318:3: ( rule__PartialitySymbol__Alternatives ) + // InternalSolverLanguage.g:318:2: ( ( rule__IfElse__Group__0 ) ) + // InternalSolverLanguage.g:319:3: ( rule__IfElse__Group__0 ) { - before(grammarAccess.getPartialitySymbolAccess().getAlternatives()); - // InternalSolverLanguage.g:319:3: ( rule__PartialitySymbol__Alternatives ) - // InternalSolverLanguage.g:319:4: rule__PartialitySymbol__Alternatives + if ( state.backtracking==0 ) { + before(grammarAccess.getIfElseAccess().getGroup()); + } + // InternalSolverLanguage.g:320:3: ( rule__IfElse__Group__0 ) + // InternalSolverLanguage.g:320:4: rule__IfElse__Group__0 { pushFollow(FOLLOW_2); - rule__PartialitySymbol__Alternatives(); + rule__IfElse__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getPartialitySymbolAccess().getAlternatives()); + if ( state.backtracking==0 ) { + after(grammarAccess.getIfElseAccess().getGroup()); + } } @@ -961,24 +1083,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rulePartialitySymbol" + // $ANTLR end "ruleIfElse" - // $ANTLR start "entryRuleExistSymbol" - // InternalSolverLanguage.g:328:1: entryRuleExistSymbol : ruleExistSymbol EOF ; - public final void entryRuleExistSymbol() throws RecognitionException { + // $ANTLR start "entryRuleDisjunctiveExpression" + // InternalSolverLanguage.g:329:1: entryRuleDisjunctiveExpression : ruleDisjunctiveExpression EOF ; + public final void entryRuleDisjunctiveExpression() throws RecognitionException { try { - // InternalSolverLanguage.g:329:1: ( ruleExistSymbol EOF ) - // InternalSolverLanguage.g:330:1: ruleExistSymbol EOF + // InternalSolverLanguage.g:330:1: ( ruleDisjunctiveExpression EOF ) + // InternalSolverLanguage.g:331:1: ruleDisjunctiveExpression EOF { - before(grammarAccess.getExistSymbolRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionRule()); + } pushFollow(FOLLOW_1); - ruleExistSymbol(); + ruleDisjunctiveExpression(); state._fsp--; - - after(grammarAccess.getExistSymbolRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -991,35 +1117,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleExistSymbol" + // $ANTLR end "entryRuleDisjunctiveExpression" - // $ANTLR start "ruleExistSymbol" - // InternalSolverLanguage.g:337:1: ruleExistSymbol : ( ( rule__ExistSymbol__Group__0 ) ) ; - public final void ruleExistSymbol() throws RecognitionException { + // $ANTLR start "ruleDisjunctiveExpression" + // InternalSolverLanguage.g:338:1: ruleDisjunctiveExpression : ( ( rule__DisjunctiveExpression__Group__0 ) ) ; + public final void ruleDisjunctiveExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:341:2: ( ( ( rule__ExistSymbol__Group__0 ) ) ) - // InternalSolverLanguage.g:342:2: ( ( rule__ExistSymbol__Group__0 ) ) + // InternalSolverLanguage.g:342:2: ( ( ( rule__DisjunctiveExpression__Group__0 ) ) ) + // InternalSolverLanguage.g:343:2: ( ( rule__DisjunctiveExpression__Group__0 ) ) { - // InternalSolverLanguage.g:342:2: ( ( rule__ExistSymbol__Group__0 ) ) - // InternalSolverLanguage.g:343:3: ( rule__ExistSymbol__Group__0 ) + // InternalSolverLanguage.g:343:2: ( ( rule__DisjunctiveExpression__Group__0 ) ) + // InternalSolverLanguage.g:344:3: ( rule__DisjunctiveExpression__Group__0 ) { - before(grammarAccess.getExistSymbolAccess().getGroup()); - // InternalSolverLanguage.g:344:3: ( rule__ExistSymbol__Group__0 ) - // InternalSolverLanguage.g:344:4: rule__ExistSymbol__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getGroup()); + } + // InternalSolverLanguage.g:345:3: ( rule__DisjunctiveExpression__Group__0 ) + // InternalSolverLanguage.g:345:4: rule__DisjunctiveExpression__Group__0 { pushFollow(FOLLOW_2); - rule__ExistSymbol__Group__0(); + rule__DisjunctiveExpression__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getExistSymbolAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getGroup()); + } } @@ -1038,24 +1168,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleExistSymbol" + // $ANTLR end "ruleDisjunctiveExpression" - // $ANTLR start "entryRuleEqualsSymbol" - // InternalSolverLanguage.g:353:1: entryRuleEqualsSymbol : ruleEqualsSymbol EOF ; - public final void entryRuleEqualsSymbol() throws RecognitionException { + // $ANTLR start "entryRuleCase" + // InternalSolverLanguage.g:354:1: entryRuleCase : ruleCase EOF ; + public final void entryRuleCase() throws RecognitionException { try { - // InternalSolverLanguage.g:354:1: ( ruleEqualsSymbol EOF ) - // InternalSolverLanguage.g:355:1: ruleEqualsSymbol EOF + // InternalSolverLanguage.g:355:1: ( ruleCase EOF ) + // InternalSolverLanguage.g:356:1: ruleCase EOF { - before(grammarAccess.getEqualsSymbolRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getCaseRule()); + } pushFollow(FOLLOW_1); - ruleEqualsSymbol(); + ruleCase(); state._fsp--; - - after(grammarAccess.getEqualsSymbolRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getCaseRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -1068,35 +1202,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleEqualsSymbol" + // $ANTLR end "entryRuleCase" - // $ANTLR start "ruleEqualsSymbol" - // InternalSolverLanguage.g:362:1: ruleEqualsSymbol : ( ( rule__EqualsSymbol__Group__0 ) ) ; - public final void ruleEqualsSymbol() throws RecognitionException { + // $ANTLR start "ruleCase" + // InternalSolverLanguage.g:363:1: ruleCase : ( ( rule__Case__Group__0 ) ) ; + public final void ruleCase() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:366:2: ( ( ( rule__EqualsSymbol__Group__0 ) ) ) - // InternalSolverLanguage.g:367:2: ( ( rule__EqualsSymbol__Group__0 ) ) + // InternalSolverLanguage.g:367:2: ( ( ( rule__Case__Group__0 ) ) ) + // InternalSolverLanguage.g:368:2: ( ( rule__Case__Group__0 ) ) { - // InternalSolverLanguage.g:367:2: ( ( rule__EqualsSymbol__Group__0 ) ) - // InternalSolverLanguage.g:368:3: ( rule__EqualsSymbol__Group__0 ) + // InternalSolverLanguage.g:368:2: ( ( rule__Case__Group__0 ) ) + // InternalSolverLanguage.g:369:3: ( rule__Case__Group__0 ) { - before(grammarAccess.getEqualsSymbolAccess().getGroup()); - // InternalSolverLanguage.g:369:3: ( rule__EqualsSymbol__Group__0 ) - // InternalSolverLanguage.g:369:4: rule__EqualsSymbol__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getCaseAccess().getGroup()); + } + // InternalSolverLanguage.g:370:3: ( rule__Case__Group__0 ) + // InternalSolverLanguage.g:370:4: rule__Case__Group__0 { pushFollow(FOLLOW_2); - rule__EqualsSymbol__Group__0(); + rule__Case__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getEqualsSymbolAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getCaseAccess().getGroup()); + } } @@ -1115,24 +1253,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleEqualsSymbol" + // $ANTLR end "ruleCase" - // $ANTLR start "entryRuleDataSymbol" - // InternalSolverLanguage.g:378:1: entryRuleDataSymbol : ruleDataSymbol EOF ; - public final void entryRuleDataSymbol() throws RecognitionException { + // $ANTLR start "entryRuleConjunctiveExpression" + // InternalSolverLanguage.g:379:1: entryRuleConjunctiveExpression : ruleConjunctiveExpression EOF ; + public final void entryRuleConjunctiveExpression() throws RecognitionException { try { - // InternalSolverLanguage.g:379:1: ( ruleDataSymbol EOF ) - // InternalSolverLanguage.g:380:1: ruleDataSymbol EOF + // InternalSolverLanguage.g:380:1: ( ruleConjunctiveExpression EOF ) + // InternalSolverLanguage.g:381:1: ruleConjunctiveExpression EOF { - before(grammarAccess.getDataSymbolRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getConjunctiveExpressionRule()); + } pushFollow(FOLLOW_1); - ruleDataSymbol(); + ruleConjunctiveExpression(); state._fsp--; - - after(grammarAccess.getDataSymbolRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getConjunctiveExpressionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -1145,35 +1287,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleDataSymbol" + // $ANTLR end "entryRuleConjunctiveExpression" - // $ANTLR start "ruleDataSymbol" - // InternalSolverLanguage.g:387:1: ruleDataSymbol : ( ( rule__DataSymbol__Alternatives ) ) ; - public final void ruleDataSymbol() throws RecognitionException { + // $ANTLR start "ruleConjunctiveExpression" + // InternalSolverLanguage.g:388:1: ruleConjunctiveExpression : ( ( rule__ConjunctiveExpression__Group__0 ) ) ; + public final void ruleConjunctiveExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:391:2: ( ( ( rule__DataSymbol__Alternatives ) ) ) - // InternalSolverLanguage.g:392:2: ( ( rule__DataSymbol__Alternatives ) ) + // InternalSolverLanguage.g:392:2: ( ( ( rule__ConjunctiveExpression__Group__0 ) ) ) + // InternalSolverLanguage.g:393:2: ( ( rule__ConjunctiveExpression__Group__0 ) ) { - // InternalSolverLanguage.g:392:2: ( ( rule__DataSymbol__Alternatives ) ) - // InternalSolverLanguage.g:393:3: ( rule__DataSymbol__Alternatives ) + // InternalSolverLanguage.g:393:2: ( ( rule__ConjunctiveExpression__Group__0 ) ) + // InternalSolverLanguage.g:394:3: ( rule__ConjunctiveExpression__Group__0 ) { - before(grammarAccess.getDataSymbolAccess().getAlternatives()); - // InternalSolverLanguage.g:394:3: ( rule__DataSymbol__Alternatives ) - // InternalSolverLanguage.g:394:4: rule__DataSymbol__Alternatives + if ( state.backtracking==0 ) { + before(grammarAccess.getConjunctiveExpressionAccess().getGroup()); + } + // InternalSolverLanguage.g:395:3: ( rule__ConjunctiveExpression__Group__0 ) + // InternalSolverLanguage.g:395:4: rule__ConjunctiveExpression__Group__0 { pushFollow(FOLLOW_2); - rule__DataSymbol__Alternatives(); + rule__ConjunctiveExpression__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getDataSymbolAccess().getAlternatives()); + if ( state.backtracking==0 ) { + after(grammarAccess.getConjunctiveExpressionAccess().getGroup()); + } } @@ -1192,24 +1338,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleDataSymbol" + // $ANTLR end "ruleConjunctiveExpression" - // $ANTLR start "entryRuleBooleanSymbol" - // InternalSolverLanguage.g:403:1: entryRuleBooleanSymbol : ruleBooleanSymbol EOF ; - public final void entryRuleBooleanSymbol() throws RecognitionException { + // $ANTLR start "entryRuleComparisonExpression" + // InternalSolverLanguage.g:404:1: entryRuleComparisonExpression : ruleComparisonExpression EOF ; + public final void entryRuleComparisonExpression() throws RecognitionException { try { - // InternalSolverLanguage.g:404:1: ( ruleBooleanSymbol EOF ) - // InternalSolverLanguage.g:405:1: ruleBooleanSymbol EOF + // InternalSolverLanguage.g:405:1: ( ruleComparisonExpression EOF ) + // InternalSolverLanguage.g:406:1: ruleComparisonExpression EOF { - before(grammarAccess.getBooleanSymbolRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getComparisonExpressionRule()); + } pushFollow(FOLLOW_1); - ruleBooleanSymbol(); + ruleComparisonExpression(); state._fsp--; - - after(grammarAccess.getBooleanSymbolRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComparisonExpressionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -1222,35 +1372,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleBooleanSymbol" + // $ANTLR end "entryRuleComparisonExpression" - // $ANTLR start "ruleBooleanSymbol" - // InternalSolverLanguage.g:412:1: ruleBooleanSymbol : ( ( rule__BooleanSymbol__Group__0 ) ) ; - public final void ruleBooleanSymbol() throws RecognitionException { + // $ANTLR start "ruleComparisonExpression" + // InternalSolverLanguage.g:413:1: ruleComparisonExpression : ( ( rule__ComparisonExpression__Group__0 ) ) ; + public final void ruleComparisonExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:416:2: ( ( ( rule__BooleanSymbol__Group__0 ) ) ) - // InternalSolverLanguage.g:417:2: ( ( rule__BooleanSymbol__Group__0 ) ) + // InternalSolverLanguage.g:417:2: ( ( ( rule__ComparisonExpression__Group__0 ) ) ) + // InternalSolverLanguage.g:418:2: ( ( rule__ComparisonExpression__Group__0 ) ) { - // InternalSolverLanguage.g:417:2: ( ( rule__BooleanSymbol__Group__0 ) ) - // InternalSolverLanguage.g:418:3: ( rule__BooleanSymbol__Group__0 ) + // InternalSolverLanguage.g:418:2: ( ( rule__ComparisonExpression__Group__0 ) ) + // InternalSolverLanguage.g:419:3: ( rule__ComparisonExpression__Group__0 ) { - before(grammarAccess.getBooleanSymbolAccess().getGroup()); - // InternalSolverLanguage.g:419:3: ( rule__BooleanSymbol__Group__0 ) - // InternalSolverLanguage.g:419:4: rule__BooleanSymbol__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getComparisonExpressionAccess().getGroup()); + } + // InternalSolverLanguage.g:420:3: ( rule__ComparisonExpression__Group__0 ) + // InternalSolverLanguage.g:420:4: rule__ComparisonExpression__Group__0 { pushFollow(FOLLOW_2); - rule__BooleanSymbol__Group__0(); + rule__ComparisonExpression__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getBooleanSymbolAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getComparisonExpressionAccess().getGroup()); + } } @@ -1269,24 +1423,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleBooleanSymbol" + // $ANTLR end "ruleComparisonExpression" - // $ANTLR start "entryRuleIntegerSymbol" - // InternalSolverLanguage.g:428:1: entryRuleIntegerSymbol : ruleIntegerSymbol EOF ; - public final void entryRuleIntegerSymbol() throws RecognitionException { + // $ANTLR start "entryRuleAdditiveExpression" + // InternalSolverLanguage.g:429:1: entryRuleAdditiveExpression : ruleAdditiveExpression EOF ; + public final void entryRuleAdditiveExpression() throws RecognitionException { try { - // InternalSolverLanguage.g:429:1: ( ruleIntegerSymbol EOF ) - // InternalSolverLanguage.g:430:1: ruleIntegerSymbol EOF + // InternalSolverLanguage.g:430:1: ( ruleAdditiveExpression EOF ) + // InternalSolverLanguage.g:431:1: ruleAdditiveExpression EOF { - before(grammarAccess.getIntegerSymbolRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getAdditiveExpressionRule()); + } pushFollow(FOLLOW_1); - ruleIntegerSymbol(); + ruleAdditiveExpression(); state._fsp--; - - after(grammarAccess.getIntegerSymbolRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAdditiveExpressionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -1299,35 +1457,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleIntegerSymbol" + // $ANTLR end "entryRuleAdditiveExpression" - // $ANTLR start "ruleIntegerSymbol" - // InternalSolverLanguage.g:437:1: ruleIntegerSymbol : ( ( rule__IntegerSymbol__Group__0 ) ) ; - public final void ruleIntegerSymbol() throws RecognitionException { + // $ANTLR start "ruleAdditiveExpression" + // InternalSolverLanguage.g:438:1: ruleAdditiveExpression : ( ( rule__AdditiveExpression__Group__0 ) ) ; + public final void ruleAdditiveExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:441:2: ( ( ( rule__IntegerSymbol__Group__0 ) ) ) - // InternalSolverLanguage.g:442:2: ( ( rule__IntegerSymbol__Group__0 ) ) + // InternalSolverLanguage.g:442:2: ( ( ( rule__AdditiveExpression__Group__0 ) ) ) + // InternalSolverLanguage.g:443:2: ( ( rule__AdditiveExpression__Group__0 ) ) { - // InternalSolverLanguage.g:442:2: ( ( rule__IntegerSymbol__Group__0 ) ) - // InternalSolverLanguage.g:443:3: ( rule__IntegerSymbol__Group__0 ) + // InternalSolverLanguage.g:443:2: ( ( rule__AdditiveExpression__Group__0 ) ) + // InternalSolverLanguage.g:444:3: ( rule__AdditiveExpression__Group__0 ) { - before(grammarAccess.getIntegerSymbolAccess().getGroup()); - // InternalSolverLanguage.g:444:3: ( rule__IntegerSymbol__Group__0 ) - // InternalSolverLanguage.g:444:4: rule__IntegerSymbol__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getAdditiveExpressionAccess().getGroup()); + } + // InternalSolverLanguage.g:445:3: ( rule__AdditiveExpression__Group__0 ) + // InternalSolverLanguage.g:445:4: rule__AdditiveExpression__Group__0 { pushFollow(FOLLOW_2); - rule__IntegerSymbol__Group__0(); + rule__AdditiveExpression__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getIntegerSymbolAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getAdditiveExpressionAccess().getGroup()); + } } @@ -1346,24 +1508,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleIntegerSymbol" + // $ANTLR end "ruleAdditiveExpression" - // $ANTLR start "entryRuleRealSymbol" - // InternalSolverLanguage.g:453:1: entryRuleRealSymbol : ruleRealSymbol EOF ; - public final void entryRuleRealSymbol() throws RecognitionException { + // $ANTLR start "entryRuleMultiplicativeExpression" + // InternalSolverLanguage.g:454:1: entryRuleMultiplicativeExpression : ruleMultiplicativeExpression EOF ; + public final void entryRuleMultiplicativeExpression() throws RecognitionException { try { - // InternalSolverLanguage.g:454:1: ( ruleRealSymbol EOF ) - // InternalSolverLanguage.g:455:1: ruleRealSymbol EOF + // InternalSolverLanguage.g:455:1: ( ruleMultiplicativeExpression EOF ) + // InternalSolverLanguage.g:456:1: ruleMultiplicativeExpression EOF { - before(grammarAccess.getRealSymbolRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getMultiplicativeExpressionRule()); + } pushFollow(FOLLOW_1); - ruleRealSymbol(); + ruleMultiplicativeExpression(); state._fsp--; - - after(grammarAccess.getRealSymbolRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMultiplicativeExpressionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -1376,35 +1542,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleRealSymbol" + // $ANTLR end "entryRuleMultiplicativeExpression" - // $ANTLR start "ruleRealSymbol" - // InternalSolverLanguage.g:462:1: ruleRealSymbol : ( ( rule__RealSymbol__Group__0 ) ) ; - public final void ruleRealSymbol() throws RecognitionException { + // $ANTLR start "ruleMultiplicativeExpression" + // InternalSolverLanguage.g:463:1: ruleMultiplicativeExpression : ( ( rule__MultiplicativeExpression__Group__0 ) ) ; + public final void ruleMultiplicativeExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:466:2: ( ( ( rule__RealSymbol__Group__0 ) ) ) - // InternalSolverLanguage.g:467:2: ( ( rule__RealSymbol__Group__0 ) ) + // InternalSolverLanguage.g:467:2: ( ( ( rule__MultiplicativeExpression__Group__0 ) ) ) + // InternalSolverLanguage.g:468:2: ( ( rule__MultiplicativeExpression__Group__0 ) ) { - // InternalSolverLanguage.g:467:2: ( ( rule__RealSymbol__Group__0 ) ) - // InternalSolverLanguage.g:468:3: ( rule__RealSymbol__Group__0 ) + // InternalSolverLanguage.g:468:2: ( ( rule__MultiplicativeExpression__Group__0 ) ) + // InternalSolverLanguage.g:469:3: ( rule__MultiplicativeExpression__Group__0 ) { - before(grammarAccess.getRealSymbolAccess().getGroup()); - // InternalSolverLanguage.g:469:3: ( rule__RealSymbol__Group__0 ) - // InternalSolverLanguage.g:469:4: rule__RealSymbol__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); + } + // InternalSolverLanguage.g:470:3: ( rule__MultiplicativeExpression__Group__0 ) + // InternalSolverLanguage.g:470:4: rule__MultiplicativeExpression__Group__0 { pushFollow(FOLLOW_2); - rule__RealSymbol__Group__0(); + rule__MultiplicativeExpression__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getRealSymbolAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); + } } @@ -1423,24 +1593,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleRealSymbol" + // $ANTLR end "ruleMultiplicativeExpression" - // $ANTLR start "entryRuleStringSymbol" - // InternalSolverLanguage.g:478:1: entryRuleStringSymbol : ruleStringSymbol EOF ; - public final void entryRuleStringSymbol() throws RecognitionException { + // $ANTLR start "entryRuleExponentialExpression" + // InternalSolverLanguage.g:479:1: entryRuleExponentialExpression : ruleExponentialExpression EOF ; + public final void entryRuleExponentialExpression() throws RecognitionException { try { - // InternalSolverLanguage.g:479:1: ( ruleStringSymbol EOF ) - // InternalSolverLanguage.g:480:1: ruleStringSymbol EOF + // InternalSolverLanguage.g:480:1: ( ruleExponentialExpression EOF ) + // InternalSolverLanguage.g:481:1: ruleExponentialExpression EOF { - before(grammarAccess.getStringSymbolRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getExponentialExpressionRule()); + } pushFollow(FOLLOW_1); - ruleStringSymbol(); + ruleExponentialExpression(); state._fsp--; - - after(grammarAccess.getStringSymbolRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExponentialExpressionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -1453,35 +1627,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleStringSymbol" + // $ANTLR end "entryRuleExponentialExpression" - // $ANTLR start "ruleStringSymbol" - // InternalSolverLanguage.g:487:1: ruleStringSymbol : ( ( rule__StringSymbol__Group__0 ) ) ; - public final void ruleStringSymbol() throws RecognitionException { + // $ANTLR start "ruleExponentialExpression" + // InternalSolverLanguage.g:488:1: ruleExponentialExpression : ( ( rule__ExponentialExpression__Group__0 ) ) ; + public final void ruleExponentialExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:491:2: ( ( ( rule__StringSymbol__Group__0 ) ) ) - // InternalSolverLanguage.g:492:2: ( ( rule__StringSymbol__Group__0 ) ) + // InternalSolverLanguage.g:492:2: ( ( ( rule__ExponentialExpression__Group__0 ) ) ) + // InternalSolverLanguage.g:493:2: ( ( rule__ExponentialExpression__Group__0 ) ) { - // InternalSolverLanguage.g:492:2: ( ( rule__StringSymbol__Group__0 ) ) - // InternalSolverLanguage.g:493:3: ( rule__StringSymbol__Group__0 ) + // InternalSolverLanguage.g:493:2: ( ( rule__ExponentialExpression__Group__0 ) ) + // InternalSolverLanguage.g:494:3: ( rule__ExponentialExpression__Group__0 ) { - before(grammarAccess.getStringSymbolAccess().getGroup()); - // InternalSolverLanguage.g:494:3: ( rule__StringSymbol__Group__0 ) - // InternalSolverLanguage.g:494:4: rule__StringSymbol__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getExponentialExpressionAccess().getGroup()); + } + // InternalSolverLanguage.g:495:3: ( rule__ExponentialExpression__Group__0 ) + // InternalSolverLanguage.g:495:4: rule__ExponentialExpression__Group__0 { pushFollow(FOLLOW_2); - rule__StringSymbol__Group__0(); + rule__ExponentialExpression__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getStringSymbolAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getExponentialExpressionAccess().getGroup()); + } } @@ -1500,24 +1678,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleStringSymbol" + // $ANTLR end "ruleExponentialExpression" - // $ANTLR start "entryRuleComplexObject" - // InternalSolverLanguage.g:503:1: entryRuleComplexObject : ruleComplexObject EOF ; - public final void entryRuleComplexObject() throws RecognitionException { + // $ANTLR start "entryRuleUnaryExpression" + // InternalSolverLanguage.g:504:1: entryRuleUnaryExpression : ruleUnaryExpression EOF ; + public final void entryRuleUnaryExpression() throws RecognitionException { try { - // InternalSolverLanguage.g:504:1: ( ruleComplexObject EOF ) - // InternalSolverLanguage.g:505:1: ruleComplexObject EOF + // InternalSolverLanguage.g:505:1: ( ruleUnaryExpression EOF ) + // InternalSolverLanguage.g:506:1: ruleUnaryExpression EOF { - before(grammarAccess.getComplexObjectRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getUnaryExpressionRule()); + } pushFollow(FOLLOW_1); - ruleComplexObject(); + ruleUnaryExpression(); state._fsp--; - - after(grammarAccess.getComplexObjectRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getUnaryExpressionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -1530,35 +1712,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleComplexObject" + // $ANTLR end "entryRuleUnaryExpression" - // $ANTLR start "ruleComplexObject" - // InternalSolverLanguage.g:512:1: ruleComplexObject : ( ( rule__ComplexObject__Alternatives ) ) ; - public final void ruleComplexObject() throws RecognitionException { + // $ANTLR start "ruleUnaryExpression" + // InternalSolverLanguage.g:513:1: ruleUnaryExpression : ( ( rule__UnaryExpression__Alternatives ) ) ; + public final void ruleUnaryExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:516:2: ( ( ( rule__ComplexObject__Alternatives ) ) ) - // InternalSolverLanguage.g:517:2: ( ( rule__ComplexObject__Alternatives ) ) + // InternalSolverLanguage.g:517:2: ( ( ( rule__UnaryExpression__Alternatives ) ) ) + // InternalSolverLanguage.g:518:2: ( ( rule__UnaryExpression__Alternatives ) ) { - // InternalSolverLanguage.g:517:2: ( ( rule__ComplexObject__Alternatives ) ) - // InternalSolverLanguage.g:518:3: ( rule__ComplexObject__Alternatives ) + // InternalSolverLanguage.g:518:2: ( ( rule__UnaryExpression__Alternatives ) ) + // InternalSolverLanguage.g:519:3: ( rule__UnaryExpression__Alternatives ) { - before(grammarAccess.getComplexObjectAccess().getAlternatives()); - // InternalSolverLanguage.g:519:3: ( rule__ComplexObject__Alternatives ) - // InternalSolverLanguage.g:519:4: rule__ComplexObject__Alternatives + if ( state.backtracking==0 ) { + before(grammarAccess.getUnaryExpressionAccess().getAlternatives()); + } + // InternalSolverLanguage.g:520:3: ( rule__UnaryExpression__Alternatives ) + // InternalSolverLanguage.g:520:4: rule__UnaryExpression__Alternatives { pushFollow(FOLLOW_2); - rule__ComplexObject__Alternatives(); + rule__UnaryExpression__Alternatives(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getComplexObjectAccess().getAlternatives()); + if ( state.backtracking==0 ) { + after(grammarAccess.getUnaryExpressionAccess().getAlternatives()); + } } @@ -1577,24 +1763,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleComplexObject" + // $ANTLR end "ruleUnaryExpression" - // $ANTLR start "entryRuleObject" - // InternalSolverLanguage.g:528:1: entryRuleObject : ruleObject EOF ; - public final void entryRuleObject() throws RecognitionException { + // $ANTLR start "entryRuleAggregationExpression" + // InternalSolverLanguage.g:529:1: entryRuleAggregationExpression : ruleAggregationExpression EOF ; + public final void entryRuleAggregationExpression() throws RecognitionException { try { - // InternalSolverLanguage.g:529:1: ( ruleObject EOF ) - // InternalSolverLanguage.g:530:1: ruleObject EOF + // InternalSolverLanguage.g:530:1: ( ruleAggregationExpression EOF ) + // InternalSolverLanguage.g:531:1: ruleAggregationExpression EOF { - before(grammarAccess.getObjectRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationExpressionRule()); + } pushFollow(FOLLOW_1); - ruleObject(); + ruleAggregationExpression(); state._fsp--; - - after(grammarAccess.getObjectRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationExpressionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -1607,35 +1797,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleObject" + // $ANTLR end "entryRuleAggregationExpression" - // $ANTLR start "ruleObject" - // InternalSolverLanguage.g:537:1: ruleObject : ( ( rule__Object__Alternatives ) ) ; - public final void ruleObject() throws RecognitionException { + // $ANTLR start "ruleAggregationExpression" + // InternalSolverLanguage.g:538:1: ruleAggregationExpression : ( ( rule__AggregationExpression__Alternatives ) ) ; + public final void ruleAggregationExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:541:2: ( ( ( rule__Object__Alternatives ) ) ) - // InternalSolverLanguage.g:542:2: ( ( rule__Object__Alternatives ) ) + // InternalSolverLanguage.g:542:2: ( ( ( rule__AggregationExpression__Alternatives ) ) ) + // InternalSolverLanguage.g:543:2: ( ( rule__AggregationExpression__Alternatives ) ) { - // InternalSolverLanguage.g:542:2: ( ( rule__Object__Alternatives ) ) - // InternalSolverLanguage.g:543:3: ( rule__Object__Alternatives ) + // InternalSolverLanguage.g:543:2: ( ( rule__AggregationExpression__Alternatives ) ) + // InternalSolverLanguage.g:544:3: ( rule__AggregationExpression__Alternatives ) { - before(grammarAccess.getObjectAccess().getAlternatives()); - // InternalSolverLanguage.g:544:3: ( rule__Object__Alternatives ) - // InternalSolverLanguage.g:544:4: rule__Object__Alternatives + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationExpressionAccess().getAlternatives()); + } + // InternalSolverLanguage.g:545:3: ( rule__AggregationExpression__Alternatives ) + // InternalSolverLanguage.g:545:4: rule__AggregationExpression__Alternatives { pushFollow(FOLLOW_2); - rule__Object__Alternatives(); + rule__AggregationExpression__Alternatives(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getObjectAccess().getAlternatives()); + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationExpressionAccess().getAlternatives()); + } } @@ -1654,24 +1848,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleObject" + // $ANTLR end "ruleAggregationExpression" - // $ANTLR start "entryRuleNamedObject" - // InternalSolverLanguage.g:553:1: entryRuleNamedObject : ruleNamedObject EOF ; - public final void entryRuleNamedObject() throws RecognitionException { + // $ANTLR start "entryRuleCount" + // InternalSolverLanguage.g:554:1: entryRuleCount : ruleCount EOF ; + public final void entryRuleCount() throws RecognitionException { try { - // InternalSolverLanguage.g:554:1: ( ruleNamedObject EOF ) - // InternalSolverLanguage.g:555:1: ruleNamedObject EOF + // InternalSolverLanguage.g:555:1: ( ruleCount EOF ) + // InternalSolverLanguage.g:556:1: ruleCount EOF { - before(grammarAccess.getNamedObjectRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getCountRule()); + } pushFollow(FOLLOW_1); - ruleNamedObject(); + ruleCount(); state._fsp--; - - after(grammarAccess.getNamedObjectRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getCountRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -1684,35 +1882,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleNamedObject" + // $ANTLR end "entryRuleCount" - // $ANTLR start "ruleNamedObject" - // InternalSolverLanguage.g:562:1: ruleNamedObject : ( ( rule__NamedObject__Group__0 ) ) ; - public final void ruleNamedObject() throws RecognitionException { + // $ANTLR start "ruleCount" + // InternalSolverLanguage.g:563:1: ruleCount : ( ( rule__Count__Group__0 ) ) ; + public final void ruleCount() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:566:2: ( ( ( rule__NamedObject__Group__0 ) ) ) - // InternalSolverLanguage.g:567:2: ( ( rule__NamedObject__Group__0 ) ) + // InternalSolverLanguage.g:567:2: ( ( ( rule__Count__Group__0 ) ) ) + // InternalSolverLanguage.g:568:2: ( ( rule__Count__Group__0 ) ) { - // InternalSolverLanguage.g:567:2: ( ( rule__NamedObject__Group__0 ) ) - // InternalSolverLanguage.g:568:3: ( rule__NamedObject__Group__0 ) + // InternalSolverLanguage.g:568:2: ( ( rule__Count__Group__0 ) ) + // InternalSolverLanguage.g:569:3: ( rule__Count__Group__0 ) { - before(grammarAccess.getNamedObjectAccess().getGroup()); - // InternalSolverLanguage.g:569:3: ( rule__NamedObject__Group__0 ) - // InternalSolverLanguage.g:569:4: rule__NamedObject__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getCountAccess().getGroup()); + } + // InternalSolverLanguage.g:570:3: ( rule__Count__Group__0 ) + // InternalSolverLanguage.g:570:4: rule__Count__Group__0 { pushFollow(FOLLOW_2); - rule__NamedObject__Group__0(); + rule__Count__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getNamedObjectAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getCountAccess().getGroup()); + } } @@ -1731,24 +1933,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleNamedObject" + // $ANTLR end "ruleCount" - // $ANTLR start "entryRuleUnnamedObject" - // InternalSolverLanguage.g:578:1: entryRuleUnnamedObject : ruleUnnamedObject EOF ; - public final void entryRuleUnnamedObject() throws RecognitionException { + // $ANTLR start "entryRuleAggregation" + // InternalSolverLanguage.g:579:1: entryRuleAggregation : ruleAggregation EOF ; + public final void entryRuleAggregation() throws RecognitionException { try { - // InternalSolverLanguage.g:579:1: ( ruleUnnamedObject EOF ) - // InternalSolverLanguage.g:580:1: ruleUnnamedObject EOF + // InternalSolverLanguage.g:580:1: ( ruleAggregation EOF ) + // InternalSolverLanguage.g:581:1: ruleAggregation EOF { - before(grammarAccess.getUnnamedObjectRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationRule()); + } pushFollow(FOLLOW_1); - ruleUnnamedObject(); + ruleAggregation(); state._fsp--; - - after(grammarAccess.getUnnamedObjectRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -1761,35 +1967,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleUnnamedObject" + // $ANTLR end "entryRuleAggregation" - // $ANTLR start "ruleUnnamedObject" - // InternalSolverLanguage.g:587:1: ruleUnnamedObject : ( ( rule__UnnamedObject__NameAssignment ) ) ; - public final void ruleUnnamedObject() throws RecognitionException { + // $ANTLR start "ruleAggregation" + // InternalSolverLanguage.g:588:1: ruleAggregation : ( ( rule__Aggregation__Group__0 ) ) ; + public final void ruleAggregation() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:591:2: ( ( ( rule__UnnamedObject__NameAssignment ) ) ) - // InternalSolverLanguage.g:592:2: ( ( rule__UnnamedObject__NameAssignment ) ) + // InternalSolverLanguage.g:592:2: ( ( ( rule__Aggregation__Group__0 ) ) ) + // InternalSolverLanguage.g:593:2: ( ( rule__Aggregation__Group__0 ) ) { - // InternalSolverLanguage.g:592:2: ( ( rule__UnnamedObject__NameAssignment ) ) - // InternalSolverLanguage.g:593:3: ( rule__UnnamedObject__NameAssignment ) + // InternalSolverLanguage.g:593:2: ( ( rule__Aggregation__Group__0 ) ) + // InternalSolverLanguage.g:594:3: ( rule__Aggregation__Group__0 ) { - before(grammarAccess.getUnnamedObjectAccess().getNameAssignment()); - // InternalSolverLanguage.g:594:3: ( rule__UnnamedObject__NameAssignment ) - // InternalSolverLanguage.g:594:4: rule__UnnamedObject__NameAssignment + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationAccess().getGroup()); + } + // InternalSolverLanguage.g:595:3: ( rule__Aggregation__Group__0 ) + // InternalSolverLanguage.g:595:4: rule__Aggregation__Group__0 { pushFollow(FOLLOW_2); - rule__UnnamedObject__NameAssignment(); + rule__Aggregation__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getUnnamedObjectAccess().getNameAssignment()); + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationAccess().getGroup()); + } } @@ -1808,24 +2018,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleUnnamedObject" + // $ANTLR end "ruleAggregation" - // $ANTLR start "entryRuleDataObject" - // InternalSolverLanguage.g:603:1: entryRuleDataObject : ruleDataObject EOF ; - public final void entryRuleDataObject() throws RecognitionException { + // $ANTLR start "entryRuleAtomicExpression" + // InternalSolverLanguage.g:604:1: entryRuleAtomicExpression : ruleAtomicExpression EOF ; + public final void entryRuleAtomicExpression() throws RecognitionException { try { - // InternalSolverLanguage.g:604:1: ( ruleDataObject EOF ) - // InternalSolverLanguage.g:605:1: ruleDataObject EOF + // InternalSolverLanguage.g:605:1: ( ruleAtomicExpression EOF ) + // InternalSolverLanguage.g:606:1: ruleAtomicExpression EOF { - before(grammarAccess.getDataObjectRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getAtomicExpressionRule()); + } pushFollow(FOLLOW_1); - ruleDataObject(); + ruleAtomicExpression(); state._fsp--; - - after(grammarAccess.getDataObjectRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAtomicExpressionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -1838,35 +2052,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleDataObject" + // $ANTLR end "entryRuleAtomicExpression" - // $ANTLR start "ruleDataObject" - // InternalSolverLanguage.g:612:1: ruleDataObject : ( ( rule__DataObject__Alternatives ) ) ; - public final void ruleDataObject() throws RecognitionException { + // $ANTLR start "ruleAtomicExpression" + // InternalSolverLanguage.g:613:1: ruleAtomicExpression : ( ( rule__AtomicExpression__Alternatives ) ) ; + public final void ruleAtomicExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:616:2: ( ( ( rule__DataObject__Alternatives ) ) ) - // InternalSolverLanguage.g:617:2: ( ( rule__DataObject__Alternatives ) ) + // InternalSolverLanguage.g:617:2: ( ( ( rule__AtomicExpression__Alternatives ) ) ) + // InternalSolverLanguage.g:618:2: ( ( rule__AtomicExpression__Alternatives ) ) { - // InternalSolverLanguage.g:617:2: ( ( rule__DataObject__Alternatives ) ) - // InternalSolverLanguage.g:618:3: ( rule__DataObject__Alternatives ) + // InternalSolverLanguage.g:618:2: ( ( rule__AtomicExpression__Alternatives ) ) + // InternalSolverLanguage.g:619:3: ( rule__AtomicExpression__Alternatives ) { - before(grammarAccess.getDataObjectAccess().getAlternatives()); - // InternalSolverLanguage.g:619:3: ( rule__DataObject__Alternatives ) - // InternalSolverLanguage.g:619:4: rule__DataObject__Alternatives + if ( state.backtracking==0 ) { + before(grammarAccess.getAtomicExpressionAccess().getAlternatives()); + } + // InternalSolverLanguage.g:620:3: ( rule__AtomicExpression__Alternatives ) + // InternalSolverLanguage.g:620:4: rule__AtomicExpression__Alternatives { pushFollow(FOLLOW_2); - rule__DataObject__Alternatives(); + rule__AtomicExpression__Alternatives(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getDataObjectAccess().getAlternatives()); + if ( state.backtracking==0 ) { + after(grammarAccess.getAtomicExpressionAccess().getAlternatives()); + } } @@ -1885,24 +2103,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleDataObject" + // $ANTLR end "ruleAtomicExpression" - // $ANTLR start "entryRuleBooleanObject" - // InternalSolverLanguage.g:628:1: entryRuleBooleanObject : ruleBooleanObject EOF ; - public final void entryRuleBooleanObject() throws RecognitionException { + // $ANTLR start "entryRuleCall" + // InternalSolverLanguage.g:629:1: entryRuleCall : ruleCall EOF ; + public final void entryRuleCall() throws RecognitionException { try { - // InternalSolverLanguage.g:629:1: ( ruleBooleanObject EOF ) - // InternalSolverLanguage.g:630:1: ruleBooleanObject EOF + // InternalSolverLanguage.g:630:1: ( ruleCall EOF ) + // InternalSolverLanguage.g:631:1: ruleCall EOF { - before(grammarAccess.getBooleanObjectRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getCallRule()); + } pushFollow(FOLLOW_1); - ruleBooleanObject(); + ruleCall(); state._fsp--; - - after(grammarAccess.getBooleanObjectRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getCallRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -1915,35 +2137,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleBooleanObject" + // $ANTLR end "entryRuleCall" - // $ANTLR start "ruleBooleanObject" - // InternalSolverLanguage.g:637:1: ruleBooleanObject : ( ( rule__BooleanObject__ValueAssignment ) ) ; - public final void ruleBooleanObject() throws RecognitionException { + // $ANTLR start "ruleCall" + // InternalSolverLanguage.g:638:1: ruleCall : ( ( rule__Call__Group__0 ) ) ; + public final void ruleCall() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:641:2: ( ( ( rule__BooleanObject__ValueAssignment ) ) ) - // InternalSolverLanguage.g:642:2: ( ( rule__BooleanObject__ValueAssignment ) ) + // InternalSolverLanguage.g:642:2: ( ( ( rule__Call__Group__0 ) ) ) + // InternalSolverLanguage.g:643:2: ( ( rule__Call__Group__0 ) ) { - // InternalSolverLanguage.g:642:2: ( ( rule__BooleanObject__ValueAssignment ) ) - // InternalSolverLanguage.g:643:3: ( rule__BooleanObject__ValueAssignment ) + // InternalSolverLanguage.g:643:2: ( ( rule__Call__Group__0 ) ) + // InternalSolverLanguage.g:644:3: ( rule__Call__Group__0 ) { - before(grammarAccess.getBooleanObjectAccess().getValueAssignment()); - // InternalSolverLanguage.g:644:3: ( rule__BooleanObject__ValueAssignment ) - // InternalSolverLanguage.g:644:4: rule__BooleanObject__ValueAssignment + if ( state.backtracking==0 ) { + before(grammarAccess.getCallAccess().getGroup()); + } + // InternalSolverLanguage.g:645:3: ( rule__Call__Group__0 ) + // InternalSolverLanguage.g:645:4: rule__Call__Group__0 { pushFollow(FOLLOW_2); - rule__BooleanObject__ValueAssignment(); + rule__Call__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getBooleanObjectAccess().getValueAssignment()); + if ( state.backtracking==0 ) { + after(grammarAccess.getCallAccess().getGroup()); + } } @@ -1962,24 +2188,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleBooleanObject" + // $ANTLR end "ruleCall" - // $ANTLR start "entryRuleIntObject" - // InternalSolverLanguage.g:653:1: entryRuleIntObject : ruleIntObject EOF ; - public final void entryRuleIntObject() throws RecognitionException { + // $ANTLR start "entryRuleArgumentList" + // InternalSolverLanguage.g:654:1: entryRuleArgumentList : ruleArgumentList EOF ; + public final void entryRuleArgumentList() throws RecognitionException { try { - // InternalSolverLanguage.g:654:1: ( ruleIntObject EOF ) - // InternalSolverLanguage.g:655:1: ruleIntObject EOF + // InternalSolverLanguage.g:655:1: ( ruleArgumentList EOF ) + // InternalSolverLanguage.g:656:1: ruleArgumentList EOF { - before(grammarAccess.getIntObjectRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentListRule()); + } pushFollow(FOLLOW_1); - ruleIntObject(); + ruleArgumentList(); state._fsp--; - - after(grammarAccess.getIntObjectRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentListRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -1992,35 +2222,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleIntObject" + // $ANTLR end "entryRuleArgumentList" - // $ANTLR start "ruleIntObject" - // InternalSolverLanguage.g:662:1: ruleIntObject : ( ( rule__IntObject__ValueAssignment ) ) ; - public final void ruleIntObject() throws RecognitionException { + // $ANTLR start "ruleArgumentList" + // InternalSolverLanguage.g:663:1: ruleArgumentList : ( ( rule__ArgumentList__Group__0 ) ) ; + public final void ruleArgumentList() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:666:2: ( ( ( rule__IntObject__ValueAssignment ) ) ) - // InternalSolverLanguage.g:667:2: ( ( rule__IntObject__ValueAssignment ) ) + // InternalSolverLanguage.g:667:2: ( ( ( rule__ArgumentList__Group__0 ) ) ) + // InternalSolverLanguage.g:668:2: ( ( rule__ArgumentList__Group__0 ) ) { - // InternalSolverLanguage.g:667:2: ( ( rule__IntObject__ValueAssignment ) ) - // InternalSolverLanguage.g:668:3: ( rule__IntObject__ValueAssignment ) + // InternalSolverLanguage.g:668:2: ( ( rule__ArgumentList__Group__0 ) ) + // InternalSolverLanguage.g:669:3: ( rule__ArgumentList__Group__0 ) { - before(grammarAccess.getIntObjectAccess().getValueAssignment()); - // InternalSolverLanguage.g:669:3: ( rule__IntObject__ValueAssignment ) - // InternalSolverLanguage.g:669:4: rule__IntObject__ValueAssignment + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentListAccess().getGroup()); + } + // InternalSolverLanguage.g:670:3: ( rule__ArgumentList__Group__0 ) + // InternalSolverLanguage.g:670:4: rule__ArgumentList__Group__0 { pushFollow(FOLLOW_2); - rule__IntObject__ValueAssignment(); + rule__ArgumentList__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getIntObjectAccess().getValueAssignment()); + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentListAccess().getGroup()); + } } @@ -2039,24 +2273,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleIntObject" + // $ANTLR end "ruleArgumentList" - // $ANTLR start "entryRuleRealObject" - // InternalSolverLanguage.g:678:1: entryRuleRealObject : ruleRealObject EOF ; - public final void entryRuleRealObject() throws RecognitionException { + // $ANTLR start "entryRuleArgument" + // InternalSolverLanguage.g:679:1: entryRuleArgument : ruleArgument EOF ; + public final void entryRuleArgument() throws RecognitionException { try { - // InternalSolverLanguage.g:679:1: ( ruleRealObject EOF ) - // InternalSolverLanguage.g:680:1: ruleRealObject EOF + // InternalSolverLanguage.g:680:1: ( ruleArgument EOF ) + // InternalSolverLanguage.g:681:1: ruleArgument EOF { - before(grammarAccess.getRealObjectRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentRule()); + } pushFollow(FOLLOW_1); - ruleRealObject(); + ruleArgument(); state._fsp--; - - after(grammarAccess.getRealObjectRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -2069,35 +2307,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleRealObject" + // $ANTLR end "entryRuleArgument" - // $ANTLR start "ruleRealObject" - // InternalSolverLanguage.g:687:1: ruleRealObject : ( ( rule__RealObject__ValueAssignment ) ) ; - public final void ruleRealObject() throws RecognitionException { + // $ANTLR start "ruleArgument" + // InternalSolverLanguage.g:688:1: ruleArgument : ( ( rule__Argument__Alternatives ) ) ; + public final void ruleArgument() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:691:2: ( ( ( rule__RealObject__ValueAssignment ) ) ) - // InternalSolverLanguage.g:692:2: ( ( rule__RealObject__ValueAssignment ) ) + // InternalSolverLanguage.g:692:2: ( ( ( rule__Argument__Alternatives ) ) ) + // InternalSolverLanguage.g:693:2: ( ( rule__Argument__Alternatives ) ) { - // InternalSolverLanguage.g:692:2: ( ( rule__RealObject__ValueAssignment ) ) - // InternalSolverLanguage.g:693:3: ( rule__RealObject__ValueAssignment ) + // InternalSolverLanguage.g:693:2: ( ( rule__Argument__Alternatives ) ) + // InternalSolverLanguage.g:694:3: ( rule__Argument__Alternatives ) { - before(grammarAccess.getRealObjectAccess().getValueAssignment()); - // InternalSolverLanguage.g:694:3: ( rule__RealObject__ValueAssignment ) - // InternalSolverLanguage.g:694:4: rule__RealObject__ValueAssignment + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentAccess().getAlternatives()); + } + // InternalSolverLanguage.g:695:3: ( rule__Argument__Alternatives ) + // InternalSolverLanguage.g:695:4: rule__Argument__Alternatives { pushFollow(FOLLOW_2); - rule__RealObject__ValueAssignment(); + rule__Argument__Alternatives(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getRealObjectAccess().getValueAssignment()); + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentAccess().getAlternatives()); + } } @@ -2116,24 +2358,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleRealObject" + // $ANTLR end "ruleArgument" - // $ANTLR start "entryRuleStringObject" - // InternalSolverLanguage.g:703:1: entryRuleStringObject : ruleStringObject EOF ; - public final void entryRuleStringObject() throws RecognitionException { + // $ANTLR start "entryRuleExpressionArgument" + // InternalSolverLanguage.g:704:1: entryRuleExpressionArgument : ruleExpressionArgument EOF ; + public final void entryRuleExpressionArgument() throws RecognitionException { try { - // InternalSolverLanguage.g:704:1: ( ruleStringObject EOF ) - // InternalSolverLanguage.g:705:1: ruleStringObject EOF + // InternalSolverLanguage.g:705:1: ( ruleExpressionArgument EOF ) + // InternalSolverLanguage.g:706:1: ruleExpressionArgument EOF { - before(grammarAccess.getStringObjectRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getExpressionArgumentRule()); + } pushFollow(FOLLOW_1); - ruleStringObject(); + ruleExpressionArgument(); state._fsp--; - - after(grammarAccess.getStringObjectRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExpressionArgumentRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -2146,35 +2392,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleStringObject" + // $ANTLR end "entryRuleExpressionArgument" - // $ANTLR start "ruleStringObject" - // InternalSolverLanguage.g:712:1: ruleStringObject : ( ( rule__StringObject__ValueAssignment ) ) ; - public final void ruleStringObject() throws RecognitionException { + // $ANTLR start "ruleExpressionArgument" + // InternalSolverLanguage.g:713:1: ruleExpressionArgument : ( ( rule__ExpressionArgument__BodyAssignment ) ) ; + public final void ruleExpressionArgument() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:716:2: ( ( ( rule__StringObject__ValueAssignment ) ) ) - // InternalSolverLanguage.g:717:2: ( ( rule__StringObject__ValueAssignment ) ) + // InternalSolverLanguage.g:717:2: ( ( ( rule__ExpressionArgument__BodyAssignment ) ) ) + // InternalSolverLanguage.g:718:2: ( ( rule__ExpressionArgument__BodyAssignment ) ) { - // InternalSolverLanguage.g:717:2: ( ( rule__StringObject__ValueAssignment ) ) - // InternalSolverLanguage.g:718:3: ( rule__StringObject__ValueAssignment ) + // InternalSolverLanguage.g:718:2: ( ( rule__ExpressionArgument__BodyAssignment ) ) + // InternalSolverLanguage.g:719:3: ( rule__ExpressionArgument__BodyAssignment ) { - before(grammarAccess.getStringObjectAccess().getValueAssignment()); - // InternalSolverLanguage.g:719:3: ( rule__StringObject__ValueAssignment ) - // InternalSolverLanguage.g:719:4: rule__StringObject__ValueAssignment + if ( state.backtracking==0 ) { + before(grammarAccess.getExpressionArgumentAccess().getBodyAssignment()); + } + // InternalSolverLanguage.g:720:3: ( rule__ExpressionArgument__BodyAssignment ) + // InternalSolverLanguage.g:720:4: rule__ExpressionArgument__BodyAssignment { pushFollow(FOLLOW_2); - rule__StringObject__ValueAssignment(); + rule__ExpressionArgument__BodyAssignment(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getStringObjectAccess().getValueAssignment()); + if ( state.backtracking==0 ) { + after(grammarAccess.getExpressionArgumentAccess().getBodyAssignment()); + } } @@ -2193,24 +2443,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleStringObject" + // $ANTLR end "ruleExpressionArgument" - // $ANTLR start "entryRulePredicate" - // InternalSolverLanguage.g:728:1: entryRulePredicate : rulePredicate EOF ; - public final void entryRulePredicate() throws RecognitionException { + // $ANTLR start "entryRuleStarArgument" + // InternalSolverLanguage.g:729:1: entryRuleStarArgument : ruleStarArgument EOF ; + public final void entryRuleStarArgument() throws RecognitionException { try { - // InternalSolverLanguage.g:729:1: ( rulePredicate EOF ) - // InternalSolverLanguage.g:730:1: rulePredicate EOF + // InternalSolverLanguage.g:730:1: ( ruleStarArgument EOF ) + // InternalSolverLanguage.g:731:1: ruleStarArgument EOF { - before(grammarAccess.getPredicateRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getStarArgumentRule()); + } pushFollow(FOLLOW_1); - rulePredicate(); + ruleStarArgument(); state._fsp--; - - after(grammarAccess.getPredicateRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getStarArgumentRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -2223,35 +2477,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRulePredicate" + // $ANTLR end "entryRuleStarArgument" - // $ANTLR start "rulePredicate" - // InternalSolverLanguage.g:737:1: rulePredicate : ( ( rule__Predicate__Group__0 ) ) ; - public final void rulePredicate() throws RecognitionException { + // $ANTLR start "ruleStarArgument" + // InternalSolverLanguage.g:738:1: ruleStarArgument : ( ( rule__StarArgument__Group__0 ) ) ; + public final void ruleStarArgument() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:741:2: ( ( ( rule__Predicate__Group__0 ) ) ) - // InternalSolverLanguage.g:742:2: ( ( rule__Predicate__Group__0 ) ) + // InternalSolverLanguage.g:742:2: ( ( ( rule__StarArgument__Group__0 ) ) ) + // InternalSolverLanguage.g:743:2: ( ( rule__StarArgument__Group__0 ) ) { - // InternalSolverLanguage.g:742:2: ( ( rule__Predicate__Group__0 ) ) - // InternalSolverLanguage.g:743:3: ( rule__Predicate__Group__0 ) + // InternalSolverLanguage.g:743:2: ( ( rule__StarArgument__Group__0 ) ) + // InternalSolverLanguage.g:744:3: ( rule__StarArgument__Group__0 ) { - before(grammarAccess.getPredicateAccess().getGroup()); - // InternalSolverLanguage.g:744:3: ( rule__Predicate__Group__0 ) - // InternalSolverLanguage.g:744:4: rule__Predicate__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getStarArgumentAccess().getGroup()); + } + // InternalSolverLanguage.g:745:3: ( rule__StarArgument__Group__0 ) + // InternalSolverLanguage.g:745:4: rule__StarArgument__Group__0 { pushFollow(FOLLOW_2); - rule__Predicate__Group__0(); + rule__StarArgument__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getPredicateAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getStarArgumentAccess().getGroup()); + } } @@ -2270,24 +2528,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rulePredicate" + // $ANTLR end "ruleStarArgument" - // $ANTLR start "entryRuleParameter" - // InternalSolverLanguage.g:753:1: entryRuleParameter : ruleParameter EOF ; - public final void entryRuleParameter() throws RecognitionException { + // $ANTLR start "entryRuleTypedArgument" + // InternalSolverLanguage.g:754:1: entryRuleTypedArgument : ruleTypedArgument EOF ; + public final void entryRuleTypedArgument() throws RecognitionException { try { - // InternalSolverLanguage.g:754:1: ( ruleParameter EOF ) - // InternalSolverLanguage.g:755:1: ruleParameter EOF + // InternalSolverLanguage.g:755:1: ( ruleTypedArgument EOF ) + // InternalSolverLanguage.g:756:1: ruleTypedArgument EOF { - before(grammarAccess.getParameterRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getTypedArgumentRule()); + } pushFollow(FOLLOW_1); - ruleParameter(); + ruleTypedArgument(); state._fsp--; - - after(grammarAccess.getParameterRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getTypedArgumentRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -2300,35 +2562,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleParameter" + // $ANTLR end "entryRuleTypedArgument" - // $ANTLR start "ruleParameter" - // InternalSolverLanguage.g:762:1: ruleParameter : ( ( rule__Parameter__Group__0 ) ) ; - public final void ruleParameter() throws RecognitionException { + // $ANTLR start "ruleTypedArgument" + // InternalSolverLanguage.g:763:1: ruleTypedArgument : ( ( rule__TypedArgument__Group__0 ) ) ; + public final void ruleTypedArgument() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:766:2: ( ( ( rule__Parameter__Group__0 ) ) ) - // InternalSolverLanguage.g:767:2: ( ( rule__Parameter__Group__0 ) ) + // InternalSolverLanguage.g:767:2: ( ( ( rule__TypedArgument__Group__0 ) ) ) + // InternalSolverLanguage.g:768:2: ( ( rule__TypedArgument__Group__0 ) ) { - // InternalSolverLanguage.g:767:2: ( ( rule__Parameter__Group__0 ) ) - // InternalSolverLanguage.g:768:3: ( rule__Parameter__Group__0 ) + // InternalSolverLanguage.g:768:2: ( ( rule__TypedArgument__Group__0 ) ) + // InternalSolverLanguage.g:769:3: ( rule__TypedArgument__Group__0 ) { - before(grammarAccess.getParameterAccess().getGroup()); - // InternalSolverLanguage.g:769:3: ( rule__Parameter__Group__0 ) - // InternalSolverLanguage.g:769:4: rule__Parameter__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getTypedArgumentAccess().getGroup()); + } + // InternalSolverLanguage.g:770:3: ( rule__TypedArgument__Group__0 ) + // InternalSolverLanguage.g:770:4: rule__TypedArgument__Group__0 { pushFollow(FOLLOW_2); - rule__Parameter__Group__0(); + rule__TypedArgument__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getParameterAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getTypedArgumentAccess().getGroup()); + } } @@ -2347,24 +2613,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleParameter" + // $ANTLR end "ruleTypedArgument" - // $ANTLR start "entryRulePatternBody" - // InternalSolverLanguage.g:778:1: entryRulePatternBody : rulePatternBody EOF ; - public final void entryRulePatternBody() throws RecognitionException { + // $ANTLR start "entryRuleTypedStarArgument" + // InternalSolverLanguage.g:779:1: entryRuleTypedStarArgument : ruleTypedStarArgument EOF ; + public final void entryRuleTypedStarArgument() throws RecognitionException { try { - // InternalSolverLanguage.g:779:1: ( rulePatternBody EOF ) - // InternalSolverLanguage.g:780:1: rulePatternBody EOF + // InternalSolverLanguage.g:780:1: ( ruleTypedStarArgument EOF ) + // InternalSolverLanguage.g:781:1: ruleTypedStarArgument EOF { - before(grammarAccess.getPatternBodyRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getTypedStarArgumentRule()); + } pushFollow(FOLLOW_1); - rulePatternBody(); + ruleTypedStarArgument(); state._fsp--; - - after(grammarAccess.getPatternBodyRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getTypedStarArgumentRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -2377,35 +2647,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRulePatternBody" + // $ANTLR end "entryRuleTypedStarArgument" - // $ANTLR start "rulePatternBody" - // InternalSolverLanguage.g:787:1: rulePatternBody : ( ( rule__PatternBody__Group__0 ) ) ; - public final void rulePatternBody() throws RecognitionException { + // $ANTLR start "ruleTypedStarArgument" + // InternalSolverLanguage.g:788:1: ruleTypedStarArgument : ( ( rule__TypedStarArgument__Group__0 ) ) ; + public final void ruleTypedStarArgument() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:791:2: ( ( ( rule__PatternBody__Group__0 ) ) ) - // InternalSolverLanguage.g:792:2: ( ( rule__PatternBody__Group__0 ) ) + // InternalSolverLanguage.g:792:2: ( ( ( rule__TypedStarArgument__Group__0 ) ) ) + // InternalSolverLanguage.g:793:2: ( ( rule__TypedStarArgument__Group__0 ) ) { - // InternalSolverLanguage.g:792:2: ( ( rule__PatternBody__Group__0 ) ) - // InternalSolverLanguage.g:793:3: ( rule__PatternBody__Group__0 ) + // InternalSolverLanguage.g:793:2: ( ( rule__TypedStarArgument__Group__0 ) ) + // InternalSolverLanguage.g:794:3: ( rule__TypedStarArgument__Group__0 ) { - before(grammarAccess.getPatternBodyAccess().getGroup()); - // InternalSolverLanguage.g:794:3: ( rule__PatternBody__Group__0 ) - // InternalSolverLanguage.g:794:4: rule__PatternBody__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getTypedStarArgumentAccess().getGroup()); + } + // InternalSolverLanguage.g:795:3: ( rule__TypedStarArgument__Group__0 ) + // InternalSolverLanguage.g:795:4: rule__TypedStarArgument__Group__0 { pushFollow(FOLLOW_2); - rule__PatternBody__Group__0(); + rule__TypedStarArgument__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getPatternBodyAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getTypedStarArgumentAccess().getGroup()); + } } @@ -2424,24 +2698,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rulePatternBody" + // $ANTLR end "ruleTypedStarArgument" - // $ANTLR start "entryRulePolarity" - // InternalSolverLanguage.g:803:1: entryRulePolarity : rulePolarity EOF ; - public final void entryRulePolarity() throws RecognitionException { + // $ANTLR start "entryRuleReference" + // InternalSolverLanguage.g:804:1: entryRuleReference : ruleReference EOF ; + public final void entryRuleReference() throws RecognitionException { try { - // InternalSolverLanguage.g:804:1: ( rulePolarity EOF ) - // InternalSolverLanguage.g:805:1: rulePolarity EOF + // InternalSolverLanguage.g:805:1: ( ruleReference EOF ) + // InternalSolverLanguage.g:806:1: ruleReference EOF { - before(grammarAccess.getPolarityRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getReferenceRule()); + } pushFollow(FOLLOW_1); - rulePolarity(); + ruleReference(); state._fsp--; - - after(grammarAccess.getPolarityRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getReferenceRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -2454,35 +2732,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRulePolarity" + // $ANTLR end "entryRuleReference" - // $ANTLR start "rulePolarity" - // InternalSolverLanguage.g:812:1: rulePolarity : ( ( rule__Polarity__Alternatives ) ) ; - public final void rulePolarity() throws RecognitionException { + // $ANTLR start "ruleReference" + // InternalSolverLanguage.g:813:1: ruleReference : ( ( rule__Reference__ReferredAssignment ) ) ; + public final void ruleReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:816:2: ( ( ( rule__Polarity__Alternatives ) ) ) - // InternalSolverLanguage.g:817:2: ( ( rule__Polarity__Alternatives ) ) + // InternalSolverLanguage.g:817:2: ( ( ( rule__Reference__ReferredAssignment ) ) ) + // InternalSolverLanguage.g:818:2: ( ( rule__Reference__ReferredAssignment ) ) { - // InternalSolverLanguage.g:817:2: ( ( rule__Polarity__Alternatives ) ) - // InternalSolverLanguage.g:818:3: ( rule__Polarity__Alternatives ) + // InternalSolverLanguage.g:818:2: ( ( rule__Reference__ReferredAssignment ) ) + // InternalSolverLanguage.g:819:3: ( rule__Reference__ReferredAssignment ) { - before(grammarAccess.getPolarityAccess().getAlternatives()); - // InternalSolverLanguage.g:819:3: ( rule__Polarity__Alternatives ) - // InternalSolverLanguage.g:819:4: rule__Polarity__Alternatives + if ( state.backtracking==0 ) { + before(grammarAccess.getReferenceAccess().getReferredAssignment()); + } + // InternalSolverLanguage.g:820:3: ( rule__Reference__ReferredAssignment ) + // InternalSolverLanguage.g:820:4: rule__Reference__ReferredAssignment { pushFollow(FOLLOW_2); - rule__Polarity__Alternatives(); + rule__Reference__ReferredAssignment(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getPolarityAccess().getAlternatives()); + if ( state.backtracking==0 ) { + after(grammarAccess.getReferenceAccess().getReferredAssignment()); + } } @@ -2501,24 +2783,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rulePolarity" + // $ANTLR end "ruleReference" - // $ANTLR start "entryRuleConstraint" - // InternalSolverLanguage.g:828:1: entryRuleConstraint : ruleConstraint EOF ; - public final void entryRuleConstraint() throws RecognitionException { + // $ANTLR start "entryRuleInterval" + // InternalSolverLanguage.g:829:1: entryRuleInterval : ruleInterval EOF ; + public final void entryRuleInterval() throws RecognitionException { try { - // InternalSolverLanguage.g:829:1: ( ruleConstraint EOF ) - // InternalSolverLanguage.g:830:1: ruleConstraint EOF + // InternalSolverLanguage.g:830:1: ( ruleInterval EOF ) + // InternalSolverLanguage.g:831:1: ruleInterval EOF { - before(grammarAccess.getConstraintRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getIntervalRule()); + } pushFollow(FOLLOW_1); - ruleConstraint(); + ruleInterval(); state._fsp--; - - after(grammarAccess.getConstraintRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getIntervalRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -2531,35 +2817,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleConstraint" + // $ANTLR end "entryRuleInterval" - // $ANTLR start "ruleConstraint" - // InternalSolverLanguage.g:837:1: ruleConstraint : ( ( rule__Constraint__Alternatives ) ) ; - public final void ruleConstraint() throws RecognitionException { + // $ANTLR start "ruleInterval" + // InternalSolverLanguage.g:838:1: ruleInterval : ( ( rule__Interval__Group__0 ) ) ; + public final void ruleInterval() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:841:2: ( ( ( rule__Constraint__Alternatives ) ) ) - // InternalSolverLanguage.g:842:2: ( ( rule__Constraint__Alternatives ) ) + // InternalSolverLanguage.g:842:2: ( ( ( rule__Interval__Group__0 ) ) ) + // InternalSolverLanguage.g:843:2: ( ( rule__Interval__Group__0 ) ) { - // InternalSolverLanguage.g:842:2: ( ( rule__Constraint__Alternatives ) ) - // InternalSolverLanguage.g:843:3: ( rule__Constraint__Alternatives ) + // InternalSolverLanguage.g:843:2: ( ( rule__Interval__Group__0 ) ) + // InternalSolverLanguage.g:844:3: ( rule__Interval__Group__0 ) { - before(grammarAccess.getConstraintAccess().getAlternatives()); - // InternalSolverLanguage.g:844:3: ( rule__Constraint__Alternatives ) - // InternalSolverLanguage.g:844:4: rule__Constraint__Alternatives + if ( state.backtracking==0 ) { + before(grammarAccess.getIntervalAccess().getGroup()); + } + // InternalSolverLanguage.g:845:3: ( rule__Interval__Group__0 ) + // InternalSolverLanguage.g:845:4: rule__Interval__Group__0 { pushFollow(FOLLOW_2); - rule__Constraint__Alternatives(); + rule__Interval__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getConstraintAccess().getAlternatives()); + if ( state.backtracking==0 ) { + after(grammarAccess.getIntervalAccess().getGroup()); + } } @@ -2578,24 +2868,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleConstraint" + // $ANTLR end "ruleInterval" - // $ANTLR start "entryRuleClosureType" - // InternalSolverLanguage.g:853:1: entryRuleClosureType : ruleClosureType EOF ; - public final void entryRuleClosureType() throws RecognitionException { + // $ANTLR start "entryRuleLiteral" + // InternalSolverLanguage.g:854:1: entryRuleLiteral : ruleLiteral EOF ; + public final void entryRuleLiteral() throws RecognitionException { try { - // InternalSolverLanguage.g:854:1: ( ruleClosureType EOF ) - // InternalSolverLanguage.g:855:1: ruleClosureType EOF + // InternalSolverLanguage.g:855:1: ( ruleLiteral EOF ) + // InternalSolverLanguage.g:856:1: ruleLiteral EOF { - before(grammarAccess.getClosureTypeRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getLiteralRule()); + } pushFollow(FOLLOW_1); - ruleClosureType(); + ruleLiteral(); state._fsp--; - - after(grammarAccess.getClosureTypeRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getLiteralRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -2608,35 +2902,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleClosureType" + // $ANTLR end "entryRuleLiteral" - // $ANTLR start "ruleClosureType" - // InternalSolverLanguage.g:862:1: ruleClosureType : ( ( rule__ClosureType__Alternatives ) ) ; - public final void ruleClosureType() throws RecognitionException { + // $ANTLR start "ruleLiteral" + // InternalSolverLanguage.g:863:1: ruleLiteral : ( ( rule__Literal__Alternatives ) ) ; + public final void ruleLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:866:2: ( ( ( rule__ClosureType__Alternatives ) ) ) - // InternalSolverLanguage.g:867:2: ( ( rule__ClosureType__Alternatives ) ) + // InternalSolverLanguage.g:867:2: ( ( ( rule__Literal__Alternatives ) ) ) + // InternalSolverLanguage.g:868:2: ( ( rule__Literal__Alternatives ) ) { - // InternalSolverLanguage.g:867:2: ( ( rule__ClosureType__Alternatives ) ) - // InternalSolverLanguage.g:868:3: ( rule__ClosureType__Alternatives ) + // InternalSolverLanguage.g:868:2: ( ( rule__Literal__Alternatives ) ) + // InternalSolverLanguage.g:869:3: ( rule__Literal__Alternatives ) { - before(grammarAccess.getClosureTypeAccess().getAlternatives()); - // InternalSolverLanguage.g:869:3: ( rule__ClosureType__Alternatives ) - // InternalSolverLanguage.g:869:4: rule__ClosureType__Alternatives + if ( state.backtracking==0 ) { + before(grammarAccess.getLiteralAccess().getAlternatives()); + } + // InternalSolverLanguage.g:870:3: ( rule__Literal__Alternatives ) + // InternalSolverLanguage.g:870:4: rule__Literal__Alternatives { pushFollow(FOLLOW_2); - rule__ClosureType__Alternatives(); + rule__Literal__Alternatives(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getClosureTypeAccess().getAlternatives()); + if ( state.backtracking==0 ) { + after(grammarAccess.getLiteralAccess().getAlternatives()); + } } @@ -2655,24 +2953,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleClosureType" + // $ANTLR end "ruleLiteral" - // $ANTLR start "entryRuleLiteral" - // InternalSolverLanguage.g:878:1: entryRuleLiteral : ruleLiteral EOF ; - public final void entryRuleLiteral() throws RecognitionException { + // $ANTLR start "entryRuleLogicLiteral" + // InternalSolverLanguage.g:879:1: entryRuleLogicLiteral : ruleLogicLiteral EOF ; + public final void entryRuleLogicLiteral() throws RecognitionException { try { - // InternalSolverLanguage.g:879:1: ( ruleLiteral EOF ) - // InternalSolverLanguage.g:880:1: ruleLiteral EOF + // InternalSolverLanguage.g:880:1: ( ruleLogicLiteral EOF ) + // InternalSolverLanguage.g:881:1: ruleLogicLiteral EOF { - before(grammarAccess.getLiteralRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getLogicLiteralRule()); + } pushFollow(FOLLOW_1); - ruleLiteral(); + ruleLogicLiteral(); state._fsp--; - - after(grammarAccess.getLiteralRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getLogicLiteralRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -2685,35 +2987,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleLiteral" + // $ANTLR end "entryRuleLogicLiteral" - // $ANTLR start "ruleLiteral" - // InternalSolverLanguage.g:887:1: ruleLiteral : ( ( rule__Literal__Alternatives ) ) ; - public final void ruleLiteral() throws RecognitionException { + // $ANTLR start "ruleLogicLiteral" + // InternalSolverLanguage.g:888:1: ruleLogicLiteral : ( ( rule__LogicLiteral__ValueAssignment ) ) ; + public final void ruleLogicLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:891:2: ( ( ( rule__Literal__Alternatives ) ) ) - // InternalSolverLanguage.g:892:2: ( ( rule__Literal__Alternatives ) ) + // InternalSolverLanguage.g:892:2: ( ( ( rule__LogicLiteral__ValueAssignment ) ) ) + // InternalSolverLanguage.g:893:2: ( ( rule__LogicLiteral__ValueAssignment ) ) { - // InternalSolverLanguage.g:892:2: ( ( rule__Literal__Alternatives ) ) - // InternalSolverLanguage.g:893:3: ( rule__Literal__Alternatives ) + // InternalSolverLanguage.g:893:2: ( ( rule__LogicLiteral__ValueAssignment ) ) + // InternalSolverLanguage.g:894:3: ( rule__LogicLiteral__ValueAssignment ) { - before(grammarAccess.getLiteralAccess().getAlternatives()); - // InternalSolverLanguage.g:894:3: ( rule__Literal__Alternatives ) - // InternalSolverLanguage.g:894:4: rule__Literal__Alternatives + if ( state.backtracking==0 ) { + before(grammarAccess.getLogicLiteralAccess().getValueAssignment()); + } + // InternalSolverLanguage.g:895:3: ( rule__LogicLiteral__ValueAssignment ) + // InternalSolverLanguage.g:895:4: rule__LogicLiteral__ValueAssignment { pushFollow(FOLLOW_2); - rule__Literal__Alternatives(); + rule__LogicLiteral__ValueAssignment(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getLiteralAccess().getAlternatives()); + if ( state.backtracking==0 ) { + after(grammarAccess.getLogicLiteralAccess().getValueAssignment()); + } } @@ -2732,24 +3038,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleLiteral" + // $ANTLR end "ruleLogicLiteral" - // $ANTLR start "entryRuleVariable" - // InternalSolverLanguage.g:903:1: entryRuleVariable : ruleVariable EOF ; - public final void entryRuleVariable() throws RecognitionException { + // $ANTLR start "entryRuleNumericLiteral" + // InternalSolverLanguage.g:904:1: entryRuleNumericLiteral : ruleNumericLiteral EOF ; + public final void entryRuleNumericLiteral() throws RecognitionException { try { - // InternalSolverLanguage.g:904:1: ( ruleVariable EOF ) - // InternalSolverLanguage.g:905:1: ruleVariable EOF + // InternalSolverLanguage.g:905:1: ( ruleNumericLiteral EOF ) + // InternalSolverLanguage.g:906:1: ruleNumericLiteral EOF { - before(grammarAccess.getVariableRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getNumericLiteralRule()); + } pushFollow(FOLLOW_1); - ruleVariable(); + ruleNumericLiteral(); state._fsp--; - - after(grammarAccess.getVariableRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getNumericLiteralRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -2762,35 +3072,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleVariable" + // $ANTLR end "entryRuleNumericLiteral" - // $ANTLR start "ruleVariable" - // InternalSolverLanguage.g:912:1: ruleVariable : ( ( rule__Variable__NameAssignment ) ) ; - public final void ruleVariable() throws RecognitionException { + // $ANTLR start "ruleNumericLiteral" + // InternalSolverLanguage.g:913:1: ruleNumericLiteral : ( ( rule__NumericLiteral__ValueAssignment ) ) ; + public final void ruleNumericLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:916:2: ( ( ( rule__Variable__NameAssignment ) ) ) - // InternalSolverLanguage.g:917:2: ( ( rule__Variable__NameAssignment ) ) + // InternalSolverLanguage.g:917:2: ( ( ( rule__NumericLiteral__ValueAssignment ) ) ) + // InternalSolverLanguage.g:918:2: ( ( rule__NumericLiteral__ValueAssignment ) ) { - // InternalSolverLanguage.g:917:2: ( ( rule__Variable__NameAssignment ) ) - // InternalSolverLanguage.g:918:3: ( rule__Variable__NameAssignment ) + // InternalSolverLanguage.g:918:2: ( ( rule__NumericLiteral__ValueAssignment ) ) + // InternalSolverLanguage.g:919:3: ( rule__NumericLiteral__ValueAssignment ) { - before(grammarAccess.getVariableAccess().getNameAssignment()); - // InternalSolverLanguage.g:919:3: ( rule__Variable__NameAssignment ) - // InternalSolverLanguage.g:919:4: rule__Variable__NameAssignment + if ( state.backtracking==0 ) { + before(grammarAccess.getNumericLiteralAccess().getValueAssignment()); + } + // InternalSolverLanguage.g:920:3: ( rule__NumericLiteral__ValueAssignment ) + // InternalSolverLanguage.g:920:4: rule__NumericLiteral__ValueAssignment { pushFollow(FOLLOW_2); - rule__Variable__NameAssignment(); + rule__NumericLiteral__ValueAssignment(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getVariableAccess().getNameAssignment()); + if ( state.backtracking==0 ) { + after(grammarAccess.getNumericLiteralAccess().getValueAssignment()); + } } @@ -2809,24 +3123,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleVariable" + // $ANTLR end "ruleNumericLiteral" - // $ANTLR start "entryRuleAllInstances" - // InternalSolverLanguage.g:928:1: entryRuleAllInstances : ruleAllInstances EOF ; - public final void entryRuleAllInstances() throws RecognitionException { + // $ANTLR start "entryRuleInfinityLiteral" + // InternalSolverLanguage.g:929:1: entryRuleInfinityLiteral : ruleInfinityLiteral EOF ; + public final void entryRuleInfinityLiteral() throws RecognitionException { try { - // InternalSolverLanguage.g:929:1: ( ruleAllInstances EOF ) - // InternalSolverLanguage.g:930:1: ruleAllInstances EOF + // InternalSolverLanguage.g:930:1: ( ruleInfinityLiteral EOF ) + // InternalSolverLanguage.g:931:1: ruleInfinityLiteral EOF { - before(grammarAccess.getAllInstancesRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getInfinityLiteralRule()); + } pushFollow(FOLLOW_1); - ruleAllInstances(); + ruleInfinityLiteral(); state._fsp--; - - after(grammarAccess.getAllInstancesRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInfinityLiteralRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -2839,35 +3157,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleAllInstances" + // $ANTLR end "entryRuleInfinityLiteral" - // $ANTLR start "ruleAllInstances" - // InternalSolverLanguage.g:937:1: ruleAllInstances : ( ( rule__AllInstances__Group__0 ) ) ; - public final void ruleAllInstances() throws RecognitionException { + // $ANTLR start "ruleInfinityLiteral" + // InternalSolverLanguage.g:938:1: ruleInfinityLiteral : ( ( rule__InfinityLiteral__Group__0 ) ) ; + public final void ruleInfinityLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:941:2: ( ( ( rule__AllInstances__Group__0 ) ) ) - // InternalSolverLanguage.g:942:2: ( ( rule__AllInstances__Group__0 ) ) + // InternalSolverLanguage.g:942:2: ( ( ( rule__InfinityLiteral__Group__0 ) ) ) + // InternalSolverLanguage.g:943:2: ( ( rule__InfinityLiteral__Group__0 ) ) { - // InternalSolverLanguage.g:942:2: ( ( rule__AllInstances__Group__0 ) ) - // InternalSolverLanguage.g:943:3: ( rule__AllInstances__Group__0 ) + // InternalSolverLanguage.g:943:2: ( ( rule__InfinityLiteral__Group__0 ) ) + // InternalSolverLanguage.g:944:3: ( rule__InfinityLiteral__Group__0 ) { - before(grammarAccess.getAllInstancesAccess().getGroup()); - // InternalSolverLanguage.g:944:3: ( rule__AllInstances__Group__0 ) - // InternalSolverLanguage.g:944:4: rule__AllInstances__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getInfinityLiteralAccess().getGroup()); + } + // InternalSolverLanguage.g:945:3: ( rule__InfinityLiteral__Group__0 ) + // InternalSolverLanguage.g:945:4: rule__InfinityLiteral__Group__0 { pushFollow(FOLLOW_2); - rule__AllInstances__Group__0(); + rule__InfinityLiteral__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getAllInstancesAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getInfinityLiteralAccess().getGroup()); + } } @@ -2886,24 +3208,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleAllInstances" + // $ANTLR end "ruleInfinityLiteral" - // $ANTLR start "entryRuleAllObjects" - // InternalSolverLanguage.g:953:1: entryRuleAllObjects : ruleAllObjects EOF ; - public final void entryRuleAllObjects() throws RecognitionException { + // $ANTLR start "entryRuleEmptyIntervalLiteral" + // InternalSolverLanguage.g:954:1: entryRuleEmptyIntervalLiteral : ruleEmptyIntervalLiteral EOF ; + public final void entryRuleEmptyIntervalLiteral() throws RecognitionException { try { - // InternalSolverLanguage.g:954:1: ( ruleAllObjects EOF ) - // InternalSolverLanguage.g:955:1: ruleAllObjects EOF + // InternalSolverLanguage.g:955:1: ( ruleEmptyIntervalLiteral EOF ) + // InternalSolverLanguage.g:956:1: ruleEmptyIntervalLiteral EOF { - before(grammarAccess.getAllObjectsRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getEmptyIntervalLiteralRule()); + } pushFollow(FOLLOW_1); - ruleAllObjects(); + ruleEmptyIntervalLiteral(); state._fsp--; - - after(grammarAccess.getAllObjectsRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEmptyIntervalLiteralRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -2916,35 +3242,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleAllObjects" + // $ANTLR end "entryRuleEmptyIntervalLiteral" - // $ANTLR start "ruleAllObjects" - // InternalSolverLanguage.g:962:1: ruleAllObjects : ( ( rule__AllObjects__Group__0 ) ) ; - public final void ruleAllObjects() throws RecognitionException { + // $ANTLR start "ruleEmptyIntervalLiteral" + // InternalSolverLanguage.g:963:1: ruleEmptyIntervalLiteral : ( ( rule__EmptyIntervalLiteral__Group__0 ) ) ; + public final void ruleEmptyIntervalLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:966:2: ( ( ( rule__AllObjects__Group__0 ) ) ) - // InternalSolverLanguage.g:967:2: ( ( rule__AllObjects__Group__0 ) ) + // InternalSolverLanguage.g:967:2: ( ( ( rule__EmptyIntervalLiteral__Group__0 ) ) ) + // InternalSolverLanguage.g:968:2: ( ( rule__EmptyIntervalLiteral__Group__0 ) ) { - // InternalSolverLanguage.g:967:2: ( ( rule__AllObjects__Group__0 ) ) - // InternalSolverLanguage.g:968:3: ( rule__AllObjects__Group__0 ) + // InternalSolverLanguage.g:968:2: ( ( rule__EmptyIntervalLiteral__Group__0 ) ) + // InternalSolverLanguage.g:969:3: ( rule__EmptyIntervalLiteral__Group__0 ) { - before(grammarAccess.getAllObjectsAccess().getGroup()); - // InternalSolverLanguage.g:969:3: ( rule__AllObjects__Group__0 ) - // InternalSolverLanguage.g:969:4: rule__AllObjects__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getEmptyIntervalLiteralAccess().getGroup()); + } + // InternalSolverLanguage.g:970:3: ( rule__EmptyIntervalLiteral__Group__0 ) + // InternalSolverLanguage.g:970:4: rule__EmptyIntervalLiteral__Group__0 { pushFollow(FOLLOW_2); - rule__AllObjects__Group__0(); + rule__EmptyIntervalLiteral__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getAllObjectsAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getEmptyIntervalLiteralAccess().getGroup()); + } } @@ -2963,24 +3293,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleAllObjects" + // $ANTLR end "ruleEmptyIntervalLiteral" - // $ANTLR start "entryRuleDefaultInterpretation" - // InternalSolverLanguage.g:978:1: entryRuleDefaultInterpretation : ruleDefaultInterpretation EOF ; - public final void entryRuleDefaultInterpretation() throws RecognitionException { + // $ANTLR start "entryRuleStringLiteral" + // InternalSolverLanguage.g:979:1: entryRuleStringLiteral : ruleStringLiteral EOF ; + public final void entryRuleStringLiteral() throws RecognitionException { try { - // InternalSolverLanguage.g:979:1: ( ruleDefaultInterpretation EOF ) - // InternalSolverLanguage.g:980:1: ruleDefaultInterpretation EOF + // InternalSolverLanguage.g:980:1: ( ruleStringLiteral EOF ) + // InternalSolverLanguage.g:981:1: ruleStringLiteral EOF { - before(grammarAccess.getDefaultInterpretationRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getStringLiteralRule()); + } pushFollow(FOLLOW_1); - ruleDefaultInterpretation(); + ruleStringLiteral(); state._fsp--; - - after(grammarAccess.getDefaultInterpretationRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getStringLiteralRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -2993,35 +3327,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleDefaultInterpretation" + // $ANTLR end "entryRuleStringLiteral" - // $ANTLR start "ruleDefaultInterpretation" - // InternalSolverLanguage.g:987:1: ruleDefaultInterpretation : ( ( rule__DefaultInterpretation__Group__0 ) ) ; - public final void ruleDefaultInterpretation() throws RecognitionException { + // $ANTLR start "ruleStringLiteral" + // InternalSolverLanguage.g:988:1: ruleStringLiteral : ( ( rule__StringLiteral__ValueAssignment ) ) ; + public final void ruleStringLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:991:2: ( ( ( rule__DefaultInterpretation__Group__0 ) ) ) - // InternalSolverLanguage.g:992:2: ( ( rule__DefaultInterpretation__Group__0 ) ) + // InternalSolverLanguage.g:992:2: ( ( ( rule__StringLiteral__ValueAssignment ) ) ) + // InternalSolverLanguage.g:993:2: ( ( rule__StringLiteral__ValueAssignment ) ) { - // InternalSolverLanguage.g:992:2: ( ( rule__DefaultInterpretation__Group__0 ) ) - // InternalSolverLanguage.g:993:3: ( rule__DefaultInterpretation__Group__0 ) + // InternalSolverLanguage.g:993:2: ( ( rule__StringLiteral__ValueAssignment ) ) + // InternalSolverLanguage.g:994:3: ( rule__StringLiteral__ValueAssignment ) { - before(grammarAccess.getDefaultInterpretationAccess().getGroup()); - // InternalSolverLanguage.g:994:3: ( rule__DefaultInterpretation__Group__0 ) - // InternalSolverLanguage.g:994:4: rule__DefaultInterpretation__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getStringLiteralAccess().getValueAssignment()); + } + // InternalSolverLanguage.g:995:3: ( rule__StringLiteral__ValueAssignment ) + // InternalSolverLanguage.g:995:4: rule__StringLiteral__ValueAssignment { pushFollow(FOLLOW_2); - rule__DefaultInterpretation__Group__0(); + rule__StringLiteral__ValueAssignment(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getDefaultInterpretationAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getStringLiteralAccess().getValueAssignment()); + } } @@ -3040,24 +3378,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleDefaultInterpretation" + // $ANTLR end "ruleStringLiteral" - // $ANTLR start "entryRuleCDInterpretation" - // InternalSolverLanguage.g:1003:1: entryRuleCDInterpretation : ruleCDInterpretation EOF ; - public final void entryRuleCDInterpretation() throws RecognitionException { + // $ANTLR start "entryRuleClassDefinition" + // InternalSolverLanguage.g:1004:1: entryRuleClassDefinition : ruleClassDefinition EOF ; + public final void entryRuleClassDefinition() throws RecognitionException { try { - // InternalSolverLanguage.g:1004:1: ( ruleCDInterpretation EOF ) - // InternalSolverLanguage.g:1005:1: ruleCDInterpretation EOF + // InternalSolverLanguage.g:1005:1: ( ruleClassDefinition EOF ) + // InternalSolverLanguage.g:1006:1: ruleClassDefinition EOF { - before(grammarAccess.getCDInterpretationRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionRule()); + } pushFollow(FOLLOW_1); - ruleCDInterpretation(); + ruleClassDefinition(); state._fsp--; - - after(grammarAccess.getCDInterpretationRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -3070,35 +3412,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleCDInterpretation" + // $ANTLR end "entryRuleClassDefinition" - // $ANTLR start "ruleCDInterpretation" - // InternalSolverLanguage.g:1012:1: ruleCDInterpretation : ( ( rule__CDInterpretation__Alternatives ) ) ; - public final void ruleCDInterpretation() throws RecognitionException { + // $ANTLR start "ruleClassDefinition" + // InternalSolverLanguage.g:1013:1: ruleClassDefinition : ( ( rule__ClassDefinition__Group__0 ) ) ; + public final void ruleClassDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1016:2: ( ( ( rule__CDInterpretation__Alternatives ) ) ) - // InternalSolverLanguage.g:1017:2: ( ( rule__CDInterpretation__Alternatives ) ) + // InternalSolverLanguage.g:1017:2: ( ( ( rule__ClassDefinition__Group__0 ) ) ) + // InternalSolverLanguage.g:1018:2: ( ( rule__ClassDefinition__Group__0 ) ) { - // InternalSolverLanguage.g:1017:2: ( ( rule__CDInterpretation__Alternatives ) ) - // InternalSolverLanguage.g:1018:3: ( rule__CDInterpretation__Alternatives ) + // InternalSolverLanguage.g:1018:2: ( ( rule__ClassDefinition__Group__0 ) ) + // InternalSolverLanguage.g:1019:3: ( rule__ClassDefinition__Group__0 ) { - before(grammarAccess.getCDInterpretationAccess().getAlternatives()); - // InternalSolverLanguage.g:1019:3: ( rule__CDInterpretation__Alternatives ) - // InternalSolverLanguage.g:1019:4: rule__CDInterpretation__Alternatives + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getGroup()); + } + // InternalSolverLanguage.g:1020:3: ( rule__ClassDefinition__Group__0 ) + // InternalSolverLanguage.g:1020:4: rule__ClassDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__CDInterpretation__Alternatives(); + rule__ClassDefinition__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getCDInterpretationAccess().getAlternatives()); + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getGroup()); + } } @@ -3117,24 +3463,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleCDInterpretation" + // $ANTLR end "ruleClassDefinition" - // $ANTLR start "entryRuleClassInterpretation" - // InternalSolverLanguage.g:1028:1: entryRuleClassInterpretation : ruleClassInterpretation EOF ; - public final void entryRuleClassInterpretation() throws RecognitionException { + // $ANTLR start "entryRuleMemberDefinition" + // InternalSolverLanguage.g:1029:1: entryRuleMemberDefinition : ruleMemberDefinition EOF ; + public final void entryRuleMemberDefinition() throws RecognitionException { try { - // InternalSolverLanguage.g:1029:1: ( ruleClassInterpretation EOF ) - // InternalSolverLanguage.g:1030:1: ruleClassInterpretation EOF + // InternalSolverLanguage.g:1030:1: ( ruleMemberDefinition EOF ) + // InternalSolverLanguage.g:1031:1: ruleMemberDefinition EOF { - before(grammarAccess.getClassInterpretationRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionRule()); + } pushFollow(FOLLOW_1); - ruleClassInterpretation(); + ruleMemberDefinition(); state._fsp--; - - after(grammarAccess.getClassInterpretationRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -3147,35 +3497,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleClassInterpretation" + // $ANTLR end "entryRuleMemberDefinition" - // $ANTLR start "ruleClassInterpretation" - // InternalSolverLanguage.g:1037:1: ruleClassInterpretation : ( ( rule__ClassInterpretation__Group__0 ) ) ; - public final void ruleClassInterpretation() throws RecognitionException { + // $ANTLR start "ruleMemberDefinition" + // InternalSolverLanguage.g:1038:1: ruleMemberDefinition : ( ( rule__MemberDefinition__Group__0 ) ) ; + public final void ruleMemberDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1041:2: ( ( ( rule__ClassInterpretation__Group__0 ) ) ) - // InternalSolverLanguage.g:1042:2: ( ( rule__ClassInterpretation__Group__0 ) ) + // InternalSolverLanguage.g:1042:2: ( ( ( rule__MemberDefinition__Group__0 ) ) ) + // InternalSolverLanguage.g:1043:2: ( ( rule__MemberDefinition__Group__0 ) ) { - // InternalSolverLanguage.g:1042:2: ( ( rule__ClassInterpretation__Group__0 ) ) - // InternalSolverLanguage.g:1043:3: ( rule__ClassInterpretation__Group__0 ) + // InternalSolverLanguage.g:1043:2: ( ( rule__MemberDefinition__Group__0 ) ) + // InternalSolverLanguage.g:1044:3: ( rule__MemberDefinition__Group__0 ) { - before(grammarAccess.getClassInterpretationAccess().getGroup()); - // InternalSolverLanguage.g:1044:3: ( rule__ClassInterpretation__Group__0 ) - // InternalSolverLanguage.g:1044:4: rule__ClassInterpretation__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionAccess().getGroup()); + } + // InternalSolverLanguage.g:1045:3: ( rule__MemberDefinition__Group__0 ) + // InternalSolverLanguage.g:1045:4: rule__MemberDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__ClassInterpretation__Group__0(); + rule__MemberDefinition__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getClassInterpretationAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionAccess().getGroup()); + } } @@ -3194,24 +3548,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleClassInterpretation" + // $ANTLR end "ruleMemberDefinition" - // $ANTLR start "entryRuleEnumInterpretation" - // InternalSolverLanguage.g:1053:1: entryRuleEnumInterpretation : ruleEnumInterpretation EOF ; - public final void entryRuleEnumInterpretation() throws RecognitionException { + // $ANTLR start "entryRuleMultiplicity" + // InternalSolverLanguage.g:1054:1: entryRuleMultiplicity : ruleMultiplicity EOF ; + public final void entryRuleMultiplicity() throws RecognitionException { try { - // InternalSolverLanguage.g:1054:1: ( ruleEnumInterpretation EOF ) - // InternalSolverLanguage.g:1055:1: ruleEnumInterpretation EOF + // InternalSolverLanguage.g:1055:1: ( ruleMultiplicity EOF ) + // InternalSolverLanguage.g:1056:1: ruleMultiplicity EOF { - before(grammarAccess.getEnumInterpretationRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getMultiplicityRule()); + } pushFollow(FOLLOW_1); - ruleEnumInterpretation(); + ruleMultiplicity(); state._fsp--; - - after(grammarAccess.getEnumInterpretationRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMultiplicityRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -3224,35 +3582,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleEnumInterpretation" + // $ANTLR end "entryRuleMultiplicity" - // $ANTLR start "ruleEnumInterpretation" - // InternalSolverLanguage.g:1062:1: ruleEnumInterpretation : ( ( rule__EnumInterpretation__Group__0 ) ) ; - public final void ruleEnumInterpretation() throws RecognitionException { + // $ANTLR start "ruleMultiplicity" + // InternalSolverLanguage.g:1063:1: ruleMultiplicity : ( ( rule__Multiplicity__Alternatives ) ) ; + public final void ruleMultiplicity() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1066:2: ( ( ( rule__EnumInterpretation__Group__0 ) ) ) - // InternalSolverLanguage.g:1067:2: ( ( rule__EnumInterpretation__Group__0 ) ) + // InternalSolverLanguage.g:1067:2: ( ( ( rule__Multiplicity__Alternatives ) ) ) + // InternalSolverLanguage.g:1068:2: ( ( rule__Multiplicity__Alternatives ) ) { - // InternalSolverLanguage.g:1067:2: ( ( rule__EnumInterpretation__Group__0 ) ) - // InternalSolverLanguage.g:1068:3: ( rule__EnumInterpretation__Group__0 ) + // InternalSolverLanguage.g:1068:2: ( ( rule__Multiplicity__Alternatives ) ) + // InternalSolverLanguage.g:1069:3: ( rule__Multiplicity__Alternatives ) { - before(grammarAccess.getEnumInterpretationAccess().getGroup()); - // InternalSolverLanguage.g:1069:3: ( rule__EnumInterpretation__Group__0 ) - // InternalSolverLanguage.g:1069:4: rule__EnumInterpretation__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getMultiplicityAccess().getAlternatives()); + } + // InternalSolverLanguage.g:1070:3: ( rule__Multiplicity__Alternatives ) + // InternalSolverLanguage.g:1070:4: rule__Multiplicity__Alternatives { pushFollow(FOLLOW_2); - rule__EnumInterpretation__Group__0(); + rule__Multiplicity__Alternatives(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getEnumInterpretationAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getMultiplicityAccess().getAlternatives()); + } } @@ -3271,24 +3633,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleEnumInterpretation" + // $ANTLR end "ruleMultiplicity" - // $ANTLR start "entryRuleFieldRelationInterpretation" - // InternalSolverLanguage.g:1078:1: entryRuleFieldRelationInterpretation : ruleFieldRelationInterpretation EOF ; - public final void entryRuleFieldRelationInterpretation() throws RecognitionException { + // $ANTLR start "entryRuleManyMultiplicity" + // InternalSolverLanguage.g:1079:1: entryRuleManyMultiplicity : ruleManyMultiplicity EOF ; + public final void entryRuleManyMultiplicity() throws RecognitionException { try { - // InternalSolverLanguage.g:1079:1: ( ruleFieldRelationInterpretation EOF ) - // InternalSolverLanguage.g:1080:1: ruleFieldRelationInterpretation EOF + // InternalSolverLanguage.g:1080:1: ( ruleManyMultiplicity EOF ) + // InternalSolverLanguage.g:1081:1: ruleManyMultiplicity EOF { - before(grammarAccess.getFieldRelationInterpretationRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getManyMultiplicityRule()); + } pushFollow(FOLLOW_1); - ruleFieldRelationInterpretation(); + ruleManyMultiplicity(); state._fsp--; - - after(grammarAccess.getFieldRelationInterpretationRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getManyMultiplicityRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -3301,35 +3667,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleFieldRelationInterpretation" + // $ANTLR end "entryRuleManyMultiplicity" - // $ANTLR start "ruleFieldRelationInterpretation" - // InternalSolverLanguage.g:1087:1: ruleFieldRelationInterpretation : ( ( rule__FieldRelationInterpretation__Group__0 ) ) ; - public final void ruleFieldRelationInterpretation() throws RecognitionException { + // $ANTLR start "ruleManyMultiplicity" + // InternalSolverLanguage.g:1088:1: ruleManyMultiplicity : ( ( rule__ManyMultiplicity__Group__0 ) ) ; + public final void ruleManyMultiplicity() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1091:2: ( ( ( rule__FieldRelationInterpretation__Group__0 ) ) ) - // InternalSolverLanguage.g:1092:2: ( ( rule__FieldRelationInterpretation__Group__0 ) ) + // InternalSolverLanguage.g:1092:2: ( ( ( rule__ManyMultiplicity__Group__0 ) ) ) + // InternalSolverLanguage.g:1093:2: ( ( rule__ManyMultiplicity__Group__0 ) ) { - // InternalSolverLanguage.g:1092:2: ( ( rule__FieldRelationInterpretation__Group__0 ) ) - // InternalSolverLanguage.g:1093:3: ( rule__FieldRelationInterpretation__Group__0 ) + // InternalSolverLanguage.g:1093:2: ( ( rule__ManyMultiplicity__Group__0 ) ) + // InternalSolverLanguage.g:1094:3: ( rule__ManyMultiplicity__Group__0 ) { - before(grammarAccess.getFieldRelationInterpretationAccess().getGroup()); - // InternalSolverLanguage.g:1094:3: ( rule__FieldRelationInterpretation__Group__0 ) - // InternalSolverLanguage.g:1094:4: rule__FieldRelationInterpretation__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getManyMultiplicityAccess().getGroup()); + } + // InternalSolverLanguage.g:1095:3: ( rule__ManyMultiplicity__Group__0 ) + // InternalSolverLanguage.g:1095:4: rule__ManyMultiplicity__Group__0 { pushFollow(FOLLOW_2); - rule__FieldRelationInterpretation__Group__0(); + rule__ManyMultiplicity__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getFieldRelationInterpretationAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getManyMultiplicityAccess().getGroup()); + } } @@ -3348,24 +3718,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleFieldRelationInterpretation" + // $ANTLR end "ruleManyMultiplicity" - // $ANTLR start "entryRuleGlobalRelationInterpretation" - // InternalSolverLanguage.g:1103:1: entryRuleGlobalRelationInterpretation : ruleGlobalRelationInterpretation EOF ; - public final void entryRuleGlobalRelationInterpretation() throws RecognitionException { + // $ANTLR start "entryRuleExactMultiplicity" + // InternalSolverLanguage.g:1104:1: entryRuleExactMultiplicity : ruleExactMultiplicity EOF ; + public final void entryRuleExactMultiplicity() throws RecognitionException { try { - // InternalSolverLanguage.g:1104:1: ( ruleGlobalRelationInterpretation EOF ) - // InternalSolverLanguage.g:1105:1: ruleGlobalRelationInterpretation EOF + // InternalSolverLanguage.g:1105:1: ( ruleExactMultiplicity EOF ) + // InternalSolverLanguage.g:1106:1: ruleExactMultiplicity EOF { - before(grammarAccess.getGlobalRelationInterpretationRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getExactMultiplicityRule()); + } pushFollow(FOLLOW_1); - ruleGlobalRelationInterpretation(); + ruleExactMultiplicity(); state._fsp--; - - after(grammarAccess.getGlobalRelationInterpretationRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExactMultiplicityRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -3378,35 +3752,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleGlobalRelationInterpretation" + // $ANTLR end "entryRuleExactMultiplicity" - // $ANTLR start "ruleGlobalRelationInterpretation" - // InternalSolverLanguage.g:1112:1: ruleGlobalRelationInterpretation : ( ( rule__GlobalRelationInterpretation__Group__0 ) ) ; - public final void ruleGlobalRelationInterpretation() throws RecognitionException { + // $ANTLR start "ruleExactMultiplicity" + // InternalSolverLanguage.g:1113:1: ruleExactMultiplicity : ( ( rule__ExactMultiplicity__Group__0 ) ) ; + public final void ruleExactMultiplicity() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1116:2: ( ( ( rule__GlobalRelationInterpretation__Group__0 ) ) ) - // InternalSolverLanguage.g:1117:2: ( ( rule__GlobalRelationInterpretation__Group__0 ) ) + // InternalSolverLanguage.g:1117:2: ( ( ( rule__ExactMultiplicity__Group__0 ) ) ) + // InternalSolverLanguage.g:1118:2: ( ( rule__ExactMultiplicity__Group__0 ) ) { - // InternalSolverLanguage.g:1117:2: ( ( rule__GlobalRelationInterpretation__Group__0 ) ) - // InternalSolverLanguage.g:1118:3: ( rule__GlobalRelationInterpretation__Group__0 ) + // InternalSolverLanguage.g:1118:2: ( ( rule__ExactMultiplicity__Group__0 ) ) + // InternalSolverLanguage.g:1119:3: ( rule__ExactMultiplicity__Group__0 ) { - before(grammarAccess.getGlobalRelationInterpretationAccess().getGroup()); - // InternalSolverLanguage.g:1119:3: ( rule__GlobalRelationInterpretation__Group__0 ) - // InternalSolverLanguage.g:1119:4: rule__GlobalRelationInterpretation__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getExactMultiplicityAccess().getGroup()); + } + // InternalSolverLanguage.g:1120:3: ( rule__ExactMultiplicity__Group__0 ) + // InternalSolverLanguage.g:1120:4: rule__ExactMultiplicity__Group__0 { pushFollow(FOLLOW_2); - rule__GlobalRelationInterpretation__Group__0(); + rule__ExactMultiplicity__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getGlobalRelationInterpretationAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getExactMultiplicityAccess().getGroup()); + } } @@ -3425,24 +3803,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleGlobalRelationInterpretation" + // $ANTLR end "ruleExactMultiplicity" - // $ANTLR start "entryRuleMultiplicityDefinition" - // InternalSolverLanguage.g:1128:1: entryRuleMultiplicityDefinition : ruleMultiplicityDefinition EOF ; - public final void entryRuleMultiplicityDefinition() throws RecognitionException { + // $ANTLR start "entryRuleBoundedMultiplicity" + // InternalSolverLanguage.g:1129:1: entryRuleBoundedMultiplicity : ruleBoundedMultiplicity EOF ; + public final void entryRuleBoundedMultiplicity() throws RecognitionException { try { - // InternalSolverLanguage.g:1129:1: ( ruleMultiplicityDefinition EOF ) - // InternalSolverLanguage.g:1130:1: ruleMultiplicityDefinition EOF + // InternalSolverLanguage.g:1130:1: ( ruleBoundedMultiplicity EOF ) + // InternalSolverLanguage.g:1131:1: ruleBoundedMultiplicity EOF { - before(grammarAccess.getMultiplicityDefinitionRule()); + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedMultiplicityRule()); + } pushFollow(FOLLOW_1); - ruleMultiplicityDefinition(); + ruleBoundedMultiplicity(); state._fsp--; - - after(grammarAccess.getMultiplicityDefinitionRule()); - match(input,EOF,FOLLOW_2); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedMultiplicityRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } @@ -3455,35 +3837,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleMultiplicityDefinition" + // $ANTLR end "entryRuleBoundedMultiplicity" - // $ANTLR start "ruleMultiplicityDefinition" - // InternalSolverLanguage.g:1137:1: ruleMultiplicityDefinition : ( ( rule__MultiplicityDefinition__Group__0 ) ) ; - public final void ruleMultiplicityDefinition() throws RecognitionException { + // $ANTLR start "ruleBoundedMultiplicity" + // InternalSolverLanguage.g:1138:1: ruleBoundedMultiplicity : ( ( rule__BoundedMultiplicity__Group__0 ) ) ; + public final void ruleBoundedMultiplicity() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1141:2: ( ( ( rule__MultiplicityDefinition__Group__0 ) ) ) - // InternalSolverLanguage.g:1142:2: ( ( rule__MultiplicityDefinition__Group__0 ) ) + // InternalSolverLanguage.g:1142:2: ( ( ( rule__BoundedMultiplicity__Group__0 ) ) ) + // InternalSolverLanguage.g:1143:2: ( ( rule__BoundedMultiplicity__Group__0 ) ) { - // InternalSolverLanguage.g:1142:2: ( ( rule__MultiplicityDefinition__Group__0 ) ) - // InternalSolverLanguage.g:1143:3: ( rule__MultiplicityDefinition__Group__0 ) + // InternalSolverLanguage.g:1143:2: ( ( rule__BoundedMultiplicity__Group__0 ) ) + // InternalSolverLanguage.g:1144:3: ( rule__BoundedMultiplicity__Group__0 ) { - before(grammarAccess.getMultiplicityDefinitionAccess().getGroup()); - // InternalSolverLanguage.g:1144:3: ( rule__MultiplicityDefinition__Group__0 ) - // InternalSolverLanguage.g:1144:4: rule__MultiplicityDefinition__Group__0 + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedMultiplicityAccess().getGroup()); + } + // InternalSolverLanguage.g:1145:3: ( rule__BoundedMultiplicity__Group__0 ) + // InternalSolverLanguage.g:1145:4: rule__BoundedMultiplicity__Group__0 { pushFollow(FOLLOW_2); - rule__MultiplicityDefinition__Group__0(); + rule__BoundedMultiplicity__Group__0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getMultiplicityDefinitionAccess().getGroup()); + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedMultiplicityAccess().getGroup()); + } } @@ -3502,60 +3888,79 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleMultiplicityDefinition" - + // $ANTLR end "ruleBoundedMultiplicity" - // $ANTLR start "rule__Statement__Alternatives" - // InternalSolverLanguage.g:1152:1: rule__Statement__Alternatives : ( ( ruleInterpretation ) | ( rulePredicate ) ); - public final void rule__Statement__Alternatives() throws RecognitionException { - int stackSize = keepStackSize(); - + // $ANTLR start "entryRuleScopeDefinition" + // InternalSolverLanguage.g:1154:1: entryRuleScopeDefinition : ruleScopeDefinition EOF ; + public final void entryRuleScopeDefinition() throws RecognitionException { try { - // InternalSolverLanguage.g:1156:1: ( ( ruleInterpretation ) | ( rulePredicate ) ) - int alt2=2; - alt2 = dfa2.predict(input); - switch (alt2) { - case 1 : - // InternalSolverLanguage.g:1157:2: ( ruleInterpretation ) - { - // InternalSolverLanguage.g:1157:2: ( ruleInterpretation ) - // InternalSolverLanguage.g:1158:3: ruleInterpretation - { - before(grammarAccess.getStatementAccess().getInterpretationParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleInterpretation(); + // InternalSolverLanguage.g:1155:1: ( ruleScopeDefinition EOF ) + // InternalSolverLanguage.g:1156:1: ruleScopeDefinition EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getScopeDefinitionRule()); + } + pushFollow(FOLLOW_1); + ruleScopeDefinition(); - state._fsp--; + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getScopeDefinitionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; - after(grammarAccess.getStatementAccess().getInterpretationParserRuleCall_0()); + } - } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleScopeDefinition" - } - break; - case 2 : - // InternalSolverLanguage.g:1163:2: ( rulePredicate ) - { - // InternalSolverLanguage.g:1163:2: ( rulePredicate ) - // InternalSolverLanguage.g:1164:3: rulePredicate - { - before(grammarAccess.getStatementAccess().getPredicateParserRuleCall_1()); - pushFollow(FOLLOW_2); - rulePredicate(); + // $ANTLR start "ruleScopeDefinition" + // InternalSolverLanguage.g:1163:1: ruleScopeDefinition : ( ( rule__ScopeDefinition__Alternatives ) ) ; + public final void ruleScopeDefinition() throws RecognitionException { - state._fsp--; + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1167:2: ( ( ( rule__ScopeDefinition__Alternatives ) ) ) + // InternalSolverLanguage.g:1168:2: ( ( rule__ScopeDefinition__Alternatives ) ) + { + // InternalSolverLanguage.g:1168:2: ( ( rule__ScopeDefinition__Alternatives ) ) + // InternalSolverLanguage.g:1169:3: ( rule__ScopeDefinition__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getScopeDefinitionAccess().getAlternatives()); + } + // InternalSolverLanguage.g:1170:3: ( rule__ScopeDefinition__Alternatives ) + // InternalSolverLanguage.g:1170:4: rule__ScopeDefinition__Alternatives + { + pushFollow(FOLLOW_2); + rule__ScopeDefinition__Alternatives(); - after(grammarAccess.getStatementAccess().getPredicateParserRuleCall_1()); + state._fsp--; + if (state.failed) return ; - } + } + if ( state.backtracking==0 ) { + after(grammarAccess.getScopeDefinitionAccess().getAlternatives()); + } + + } - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -3568,240 +3973,11224 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Statement__Alternatives" - + // $ANTLR end "ruleScopeDefinition" - // $ANTLR start "rule__BooleanValue__Alternatives" - // 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(); - + // $ANTLR start "entryRuleExactScopeDefinition" + // InternalSolverLanguage.g:1179:1: entryRuleExactScopeDefinition : ruleExactScopeDefinition EOF ; + public final void entryRuleExactScopeDefinition() throws RecognitionException { try { - // InternalSolverLanguage.g:1177:1: ( ( ( rule__BooleanValue__Group_0__0 ) ) | ( ( rule__BooleanValue__Group_1__0 ) ) ) - int alt3=2; - int LA3_0 = input.LA(1); - - if ( (LA3_0==12) ) { - alt3=1; + // InternalSolverLanguage.g:1180:1: ( ruleExactScopeDefinition EOF ) + // InternalSolverLanguage.g:1181:1: ruleExactScopeDefinition EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExactScopeDefinitionRule()); } - else if ( (LA3_0==11) ) { - alt3=2; + pushFollow(FOLLOW_1); + ruleExactScopeDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExactScopeDefinitionRule()); } - else { - NoViableAltException nvae = - new NoViableAltException("", 3, 0, input); + match(input,EOF,FOLLOW_2); if (state.failed) return ; - throw nvae; } - switch (alt3) { - case 1 : - // InternalSolverLanguage.g:1178:2: ( ( 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:1180:3: ( rule__BooleanValue__Group_0__0 ) - // InternalSolverLanguage.g:1180:4: rule__BooleanValue__Group_0__0 - { - pushFollow(FOLLOW_2); - rule__BooleanValue__Group_0__0(); - state._fsp--; + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleExactScopeDefinition" - } + // $ANTLR start "ruleExactScopeDefinition" + // InternalSolverLanguage.g:1188:1: ruleExactScopeDefinition : ( ( rule__ExactScopeDefinition__Group__0 ) ) ; + public final void ruleExactScopeDefinition() throws RecognitionException { - after(grammarAccess.getBooleanValueAccess().getGroup_0()); + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1192:2: ( ( ( rule__ExactScopeDefinition__Group__0 ) ) ) + // InternalSolverLanguage.g:1193:2: ( ( rule__ExactScopeDefinition__Group__0 ) ) + { + // InternalSolverLanguage.g:1193:2: ( ( rule__ExactScopeDefinition__Group__0 ) ) + // InternalSolverLanguage.g:1194:3: ( rule__ExactScopeDefinition__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExactScopeDefinitionAccess().getGroup()); + } + // InternalSolverLanguage.g:1195:3: ( rule__ExactScopeDefinition__Group__0 ) + // InternalSolverLanguage.g:1195:4: rule__ExactScopeDefinition__Group__0 + { + pushFollow(FOLLOW_2); + rule__ExactScopeDefinition__Group__0(); - } + state._fsp--; + if (state.failed) return ; + } - } - break; - case 2 : - // InternalSolverLanguage.g:1184:2: ( ( 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:1186:3: ( rule__BooleanValue__Group_1__0 ) - // InternalSolverLanguage.g:1186:4: rule__BooleanValue__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__BooleanValue__Group_1__0(); + if ( state.backtracking==0 ) { + after(grammarAccess.getExactScopeDefinitionAccess().getGroup()); + } - state._fsp--; + } - } + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - after(grammarAccess.getBooleanValueAccess().getGroup_1()); + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "ruleExactScopeDefinition" - } - break; + // $ANTLR start "entryRuleBoundedScopeDefinition" + // InternalSolverLanguage.g:1204:1: entryRuleBoundedScopeDefinition : ruleBoundedScopeDefinition EOF ; + public final void entryRuleBoundedScopeDefinition() throws RecognitionException { + try { + // InternalSolverLanguage.g:1205:1: ( ruleBoundedScopeDefinition EOF ) + // InternalSolverLanguage.g:1206:1: ruleBoundedScopeDefinition EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionRule()); + } + pushFollow(FOLLOW_1); + ruleBoundedScopeDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; } + } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { - - restoreStackSize(stackSize); - } return ; } - // $ANTLR end "rule__BooleanValue__Alternatives" + // $ANTLR end "entryRuleBoundedScopeDefinition" - // $ANTLR start "rule__TruthValue__Alternatives" - // 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 { + // $ANTLR start "ruleBoundedScopeDefinition" + // InternalSolverLanguage.g:1213:1: ruleBoundedScopeDefinition : ( ( rule__BoundedScopeDefinition__Group__0 ) ) ; + public final void ruleBoundedScopeDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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: - { - alt4=1; - } - break; - case 11: - { - alt4=2; - } - break; - case 15: - { - alt4=3; - } - break; - case 16: - { - alt4=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 4, 0, input); + // InternalSolverLanguage.g:1217:2: ( ( ( rule__BoundedScopeDefinition__Group__0 ) ) ) + // InternalSolverLanguage.g:1218:2: ( ( rule__BoundedScopeDefinition__Group__0 ) ) + { + // InternalSolverLanguage.g:1218:2: ( ( rule__BoundedScopeDefinition__Group__0 ) ) + // InternalSolverLanguage.g:1219:3: ( rule__BoundedScopeDefinition__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup()); + } + // InternalSolverLanguage.g:1220:3: ( rule__BoundedScopeDefinition__Group__0 ) + // InternalSolverLanguage.g:1220:4: rule__BoundedScopeDefinition__Group__0 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__Group__0(); + + state._fsp--; + if (state.failed) return ; - throw nvae; } - switch (alt4) { - case 1 : - // InternalSolverLanguage.g:1199:2: ( ( 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:1201:3: ( rule__TruthValue__Group_0__0 ) - // InternalSolverLanguage.g:1201:4: rule__TruthValue__Group_0__0 - { - pushFollow(FOLLOW_2); - rule__TruthValue__Group_0__0(); + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup()); + } - state._fsp--; + } - } + } - after(grammarAccess.getTruthValueAccess().getGroup_0()); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - } + restoreStackSize(stackSize); + } + return ; + } + // $ANTLR end "ruleBoundedScopeDefinition" - } - break; - case 2 : - // InternalSolverLanguage.g:1205:2: ( ( 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:1207:3: ( rule__TruthValue__Group_1__0 ) - // InternalSolverLanguage.g:1207:4: rule__TruthValue__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__TruthValue__Group_1__0(); - state._fsp--; + // $ANTLR start "entryRuleLowerBoundedScopeDefinition" + // InternalSolverLanguage.g:1229:1: entryRuleLowerBoundedScopeDefinition : ruleLowerBoundedScopeDefinition EOF ; + public final void entryRuleLowerBoundedScopeDefinition() throws RecognitionException { + try { + // InternalSolverLanguage.g:1230:1: ( ruleLowerBoundedScopeDefinition EOF ) + // InternalSolverLanguage.g:1231:1: ruleLowerBoundedScopeDefinition EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionRule()); + } + pushFollow(FOLLOW_1); + ruleLowerBoundedScopeDefinition(); + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; - } + } - after(grammarAccess.getTruthValueAccess().getGroup_1()); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleLowerBoundedScopeDefinition" - } + // $ANTLR start "ruleLowerBoundedScopeDefinition" + // InternalSolverLanguage.g:1238:1: ruleLowerBoundedScopeDefinition : ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) ; + public final void ruleLowerBoundedScopeDefinition() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1242:2: ( ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) ) + // InternalSolverLanguage.g:1243:2: ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) + { + // InternalSolverLanguage.g:1243:2: ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) + // InternalSolverLanguage.g:1244:3: ( rule__LowerBoundedScopeDefinition__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup()); + } + // InternalSolverLanguage.g:1245:3: ( rule__LowerBoundedScopeDefinition__Group__0 ) + // InternalSolverLanguage.g:1245:4: rule__LowerBoundedScopeDefinition__Group__0 + { + pushFollow(FOLLOW_2); + rule__LowerBoundedScopeDefinition__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleLowerBoundedScopeDefinition" + + + // $ANTLR start "entryRuleObjectiveDefinition" + // InternalSolverLanguage.g:1254:1: entryRuleObjectiveDefinition : ruleObjectiveDefinition EOF ; + public final void entryRuleObjectiveDefinition() throws RecognitionException { + try { + // InternalSolverLanguage.g:1255:1: ( ruleObjectiveDefinition EOF ) + // InternalSolverLanguage.g:1256:1: ruleObjectiveDefinition EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getObjectiveDefinitionRule()); + } + pushFollow(FOLLOW_1); + ruleObjectiveDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getObjectiveDefinitionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleObjectiveDefinition" + + + // $ANTLR start "ruleObjectiveDefinition" + // InternalSolverLanguage.g:1263:1: ruleObjectiveDefinition : ( ( rule__ObjectiveDefinition__Group__0 ) ) ; + public final void ruleObjectiveDefinition() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1267:2: ( ( ( rule__ObjectiveDefinition__Group__0 ) ) ) + // InternalSolverLanguage.g:1268:2: ( ( rule__ObjectiveDefinition__Group__0 ) ) + { + // InternalSolverLanguage.g:1268:2: ( ( rule__ObjectiveDefinition__Group__0 ) ) + // InternalSolverLanguage.g:1269:3: ( rule__ObjectiveDefinition__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getObjectiveDefinitionAccess().getGroup()); + } + // InternalSolverLanguage.g:1270:3: ( rule__ObjectiveDefinition__Group__0 ) + // InternalSolverLanguage.g:1270:4: rule__ObjectiveDefinition__Group__0 + { + pushFollow(FOLLOW_2); + rule__ObjectiveDefinition__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getObjectiveDefinitionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleObjectiveDefinition" + + + // $ANTLR start "entryRuleUpperMultiplicty" + // InternalSolverLanguage.g:1279:1: entryRuleUpperMultiplicty : ruleUpperMultiplicty EOF ; + public final void entryRuleUpperMultiplicty() throws RecognitionException { + try { + // InternalSolverLanguage.g:1280:1: ( ruleUpperMultiplicty EOF ) + // InternalSolverLanguage.g:1281:1: ruleUpperMultiplicty EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUpperMultiplictyRule()); + } + pushFollow(FOLLOW_1); + ruleUpperMultiplicty(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getUpperMultiplictyRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleUpperMultiplicty" + + + // $ANTLR start "ruleUpperMultiplicty" + // InternalSolverLanguage.g:1288:1: ruleUpperMultiplicty : ( ( rule__UpperMultiplicty__Alternatives ) ) ; + public final void ruleUpperMultiplicty() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1292:2: ( ( ( rule__UpperMultiplicty__Alternatives ) ) ) + // InternalSolverLanguage.g:1293:2: ( ( rule__UpperMultiplicty__Alternatives ) ) + { + // InternalSolverLanguage.g:1293:2: ( ( rule__UpperMultiplicty__Alternatives ) ) + // InternalSolverLanguage.g:1294:3: ( rule__UpperMultiplicty__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUpperMultiplictyAccess().getAlternatives()); + } + // InternalSolverLanguage.g:1295:3: ( rule__UpperMultiplicty__Alternatives ) + // InternalSolverLanguage.g:1295:4: rule__UpperMultiplicty__Alternatives + { + pushFollow(FOLLOW_2); + rule__UpperMultiplicty__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getUpperMultiplictyAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleUpperMultiplicty" + + + // $ANTLR start "entryRuleReal" + // InternalSolverLanguage.g:1304:1: entryRuleReal : ruleReal EOF ; + public final void entryRuleReal() throws RecognitionException { + + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + + try { + // InternalSolverLanguage.g:1308:1: ( ruleReal EOF ) + // InternalSolverLanguage.g:1309:1: ruleReal EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRealRule()); + } + pushFollow(FOLLOW_1); + ruleReal(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRealRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + myHiddenTokenState.restore(); + + } + return ; + } + // $ANTLR end "entryRuleReal" + + + // $ANTLR start "ruleReal" + // InternalSolverLanguage.g:1319:1: ruleReal : ( ( rule__Real__Group__0 ) ) ; + public final void ruleReal() throws RecognitionException { + + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1324:2: ( ( ( rule__Real__Group__0 ) ) ) + // InternalSolverLanguage.g:1325:2: ( ( rule__Real__Group__0 ) ) + { + // InternalSolverLanguage.g:1325:2: ( ( rule__Real__Group__0 ) ) + // InternalSolverLanguage.g:1326:3: ( rule__Real__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRealAccess().getGroup()); + } + // InternalSolverLanguage.g:1327:3: ( rule__Real__Group__0 ) + // InternalSolverLanguage.g:1327:4: rule__Real__Group__0 + { + pushFollow(FOLLOW_2); + rule__Real__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRealAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + myHiddenTokenState.restore(); + + } + return ; + } + // $ANTLR end "ruleReal" + + + // $ANTLR start "entryRuleQualifiedName" + // InternalSolverLanguage.g:1337:1: entryRuleQualifiedName : ruleQualifiedName EOF ; + public final void entryRuleQualifiedName() throws RecognitionException { + + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + + try { + // InternalSolverLanguage.g:1341:1: ( ruleQualifiedName EOF ) + // InternalSolverLanguage.g:1342:1: ruleQualifiedName EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getQualifiedNameRule()); + } + pushFollow(FOLLOW_1); + ruleQualifiedName(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getQualifiedNameRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + myHiddenTokenState.restore(); + + } + return ; + } + // $ANTLR end "entryRuleQualifiedName" + + + // $ANTLR start "ruleQualifiedName" + // InternalSolverLanguage.g:1352:1: ruleQualifiedName : ( ( rule__QualifiedName__Alternatives ) ) ; + public final void ruleQualifiedName() throws RecognitionException { + + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1357:2: ( ( ( rule__QualifiedName__Alternatives ) ) ) + // InternalSolverLanguage.g:1358:2: ( ( rule__QualifiedName__Alternatives ) ) + { + // InternalSolverLanguage.g:1358:2: ( ( rule__QualifiedName__Alternatives ) ) + // InternalSolverLanguage.g:1359:3: ( rule__QualifiedName__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getQualifiedNameAccess().getAlternatives()); + } + // InternalSolverLanguage.g:1360:3: ( rule__QualifiedName__Alternatives ) + // InternalSolverLanguage.g:1360:4: rule__QualifiedName__Alternatives + { + pushFollow(FOLLOW_2); + rule__QualifiedName__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getQualifiedNameAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + myHiddenTokenState.restore(); + + } + return ; + } + // $ANTLR end "ruleQualifiedName" + + + // $ANTLR start "ruleMetricType" + // InternalSolverLanguage.g:1370:1: ruleMetricType : ( ( rule__MetricType__Alternatives ) ) ; + public final void ruleMetricType() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1374:1: ( ( ( rule__MetricType__Alternatives ) ) ) + // InternalSolverLanguage.g:1375:2: ( ( rule__MetricType__Alternatives ) ) + { + // InternalSolverLanguage.g:1375:2: ( ( rule__MetricType__Alternatives ) ) + // InternalSolverLanguage.g:1376:3: ( rule__MetricType__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMetricTypeAccess().getAlternatives()); + } + // InternalSolverLanguage.g:1377:3: ( rule__MetricType__Alternatives ) + // InternalSolverLanguage.g:1377:4: rule__MetricType__Alternatives + { + pushFollow(FOLLOW_2); + rule__MetricType__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getMetricTypeAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMetricType" + + + // $ANTLR start "ruleComparisonOperator" + // InternalSolverLanguage.g:1386:1: ruleComparisonOperator : ( ( rule__ComparisonOperator__Alternatives ) ) ; + public final void ruleComparisonOperator() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1390:1: ( ( ( rule__ComparisonOperator__Alternatives ) ) ) + // InternalSolverLanguage.g:1391:2: ( ( rule__ComparisonOperator__Alternatives ) ) + { + // InternalSolverLanguage.g:1391:2: ( ( rule__ComparisonOperator__Alternatives ) ) + // InternalSolverLanguage.g:1392:3: ( rule__ComparisonOperator__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComparisonOperatorAccess().getAlternatives()); + } + // InternalSolverLanguage.g:1393:3: ( rule__ComparisonOperator__Alternatives ) + // InternalSolverLanguage.g:1393:4: rule__ComparisonOperator__Alternatives + { + pushFollow(FOLLOW_2); + rule__ComparisonOperator__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComparisonOperatorAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleComparisonOperator" + + + // $ANTLR start "ruleAdditiveBinaryOperator" + // InternalSolverLanguage.g:1402:1: ruleAdditiveBinaryOperator : ( ( rule__AdditiveBinaryOperator__Alternatives ) ) ; + public final void ruleAdditiveBinaryOperator() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1406:1: ( ( ( rule__AdditiveBinaryOperator__Alternatives ) ) ) + // InternalSolverLanguage.g:1407:2: ( ( rule__AdditiveBinaryOperator__Alternatives ) ) + { + // InternalSolverLanguage.g:1407:2: ( ( rule__AdditiveBinaryOperator__Alternatives ) ) + // InternalSolverLanguage.g:1408:3: ( rule__AdditiveBinaryOperator__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives()); + } + // InternalSolverLanguage.g:1409:3: ( rule__AdditiveBinaryOperator__Alternatives ) + // InternalSolverLanguage.g:1409:4: rule__AdditiveBinaryOperator__Alternatives + { + pushFollow(FOLLOW_2); + rule__AdditiveBinaryOperator__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleAdditiveBinaryOperator" + + + // $ANTLR start "ruleMultiplicativeBinaryOperator" + // InternalSolverLanguage.g:1418:1: ruleMultiplicativeBinaryOperator : ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) ; + public final void ruleMultiplicativeBinaryOperator() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1422:1: ( ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) ) + // InternalSolverLanguage.g:1423:2: ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) + { + // InternalSolverLanguage.g:1423:2: ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) + // InternalSolverLanguage.g:1424:3: ( rule__MultiplicativeBinaryOperator__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives()); + } + // InternalSolverLanguage.g:1425:3: ( rule__MultiplicativeBinaryOperator__Alternatives ) + // InternalSolverLanguage.g:1425:4: rule__MultiplicativeBinaryOperator__Alternatives + { + pushFollow(FOLLOW_2); + rule__MultiplicativeBinaryOperator__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMultiplicativeBinaryOperator" + + + // $ANTLR start "ruleExponentialOp" + // InternalSolverLanguage.g:1434:1: ruleExponentialOp : ( ( '^' ) ) ; + public final void ruleExponentialOp() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1438:1: ( ( ( '^' ) ) ) + // InternalSolverLanguage.g:1439:2: ( ( '^' ) ) + { + // InternalSolverLanguage.g:1439:2: ( ( '^' ) ) + // InternalSolverLanguage.g:1440:3: ( '^' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration()); + } + // InternalSolverLanguage.g:1441:3: ( '^' ) + // InternalSolverLanguage.g:1441:4: '^' + { + match(input,15,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleExponentialOp" + + + // $ANTLR start "ruleUnaryOp" + // InternalSolverLanguage.g:1450:1: ruleUnaryOp : ( ( rule__UnaryOp__Alternatives ) ) ; + public final void ruleUnaryOp() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1454:1: ( ( ( rule__UnaryOp__Alternatives ) ) ) + // InternalSolverLanguage.g:1455:2: ( ( rule__UnaryOp__Alternatives ) ) + { + // InternalSolverLanguage.g:1455:2: ( ( rule__UnaryOp__Alternatives ) ) + // InternalSolverLanguage.g:1456:3: ( rule__UnaryOp__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUnaryOpAccess().getAlternatives()); + } + // InternalSolverLanguage.g:1457:3: ( rule__UnaryOp__Alternatives ) + // InternalSolverLanguage.g:1457:4: rule__UnaryOp__Alternatives + { + pushFollow(FOLLOW_2); + rule__UnaryOp__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getUnaryOpAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleUnaryOp" + + + // $ANTLR start "ruleAggregationOp" + // InternalSolverLanguage.g:1466:1: ruleAggregationOp : ( ( rule__AggregationOp__Alternatives ) ) ; + public final void ruleAggregationOp() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1470:1: ( ( ( rule__AggregationOp__Alternatives ) ) ) + // InternalSolverLanguage.g:1471:2: ( ( rule__AggregationOp__Alternatives ) ) + { + // InternalSolverLanguage.g:1471:2: ( ( rule__AggregationOp__Alternatives ) ) + // InternalSolverLanguage.g:1472:3: ( rule__AggregationOp__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationOpAccess().getAlternatives()); + } + // InternalSolverLanguage.g:1473:3: ( rule__AggregationOp__Alternatives ) + // InternalSolverLanguage.g:1473:4: rule__AggregationOp__Alternatives + { + pushFollow(FOLLOW_2); + rule__AggregationOp__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationOpAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleAggregationOp" + + + // $ANTLR start "ruleLogicValue" + // InternalSolverLanguage.g:1482:1: ruleLogicValue : ( ( rule__LogicValue__Alternatives ) ) ; + public final void ruleLogicValue() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1486:1: ( ( ( rule__LogicValue__Alternatives ) ) ) + // InternalSolverLanguage.g:1487:2: ( ( rule__LogicValue__Alternatives ) ) + { + // InternalSolverLanguage.g:1487:2: ( ( rule__LogicValue__Alternatives ) ) + // InternalSolverLanguage.g:1488:3: ( rule__LogicValue__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getLogicValueAccess().getAlternatives()); + } + // InternalSolverLanguage.g:1489:3: ( rule__LogicValue__Alternatives ) + // InternalSolverLanguage.g:1489:4: rule__LogicValue__Alternatives + { + pushFollow(FOLLOW_2); + rule__LogicValue__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getLogicValueAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleLogicValue" + + + // $ANTLR start "ruleObjectiveKind" + // InternalSolverLanguage.g:1498:1: ruleObjectiveKind : ( ( rule__ObjectiveKind__Alternatives ) ) ; + public final void ruleObjectiveKind() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1502:1: ( ( ( rule__ObjectiveKind__Alternatives ) ) ) + // InternalSolverLanguage.g:1503:2: ( ( rule__ObjectiveKind__Alternatives ) ) + { + // InternalSolverLanguage.g:1503:2: ( ( rule__ObjectiveKind__Alternatives ) ) + // InternalSolverLanguage.g:1504:3: ( rule__ObjectiveKind__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getObjectiveKindAccess().getAlternatives()); + } + // InternalSolverLanguage.g:1505:3: ( rule__ObjectiveKind__Alternatives ) + // InternalSolverLanguage.g:1505:4: rule__ObjectiveKind__Alternatives + { + pushFollow(FOLLOW_2); + rule__ObjectiveKind__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getObjectiveKindAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleObjectiveKind" + + + // $ANTLR start "rule__Statement__Alternatives_0" + // InternalSolverLanguage.g:1513:1: rule__Statement__Alternatives_0 : ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleMetricDefinition ) | ( ruleExternMetricDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) ); + public final void rule__Statement__Alternatives_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1517:1: ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleMetricDefinition ) | ( ruleExternMetricDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) ) + int alt2=10; + alt2 = dfa2.predict(input); + switch (alt2) { + case 1 : + // InternalSolverLanguage.g:1518:2: ( ruleAssertionOrDefinition ) + { + // InternalSolverLanguage.g:1518:2: ( ruleAssertionOrDefinition ) + // InternalSolverLanguage.g:1519:3: ruleAssertionOrDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); + } + pushFollow(FOLLOW_2); + ruleAssertionOrDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1524:2: ( rulePredicateDefinition ) + { + // InternalSolverLanguage.g:1524:2: ( rulePredicateDefinition ) + // InternalSolverLanguage.g:1525:3: rulePredicateDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); + } + pushFollow(FOLLOW_2); + rulePredicateDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); + } + + } + + + } + break; + case 3 : + // InternalSolverLanguage.g:1530:2: ( ruleUnnamedErrorPrediateDefinition ) + { + // InternalSolverLanguage.g:1530:2: ( ruleUnnamedErrorPrediateDefinition ) + // InternalSolverLanguage.g:1531:3: ruleUnnamedErrorPrediateDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); + } + pushFollow(FOLLOW_2); + ruleUnnamedErrorPrediateDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); + } + + } + + + } + break; + case 4 : + // InternalSolverLanguage.g:1536:2: ( ruleDefaultDefinition ) + { + // InternalSolverLanguage.g:1536:2: ( ruleDefaultDefinition ) + // InternalSolverLanguage.g:1537:3: ruleDefaultDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); + } + pushFollow(FOLLOW_2); + ruleDefaultDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); + } + + } + + + } + break; + case 5 : + // InternalSolverLanguage.g:1542:2: ( ruleExternPredicateDefinition ) + { + // InternalSolverLanguage.g:1542:2: ( ruleExternPredicateDefinition ) + // InternalSolverLanguage.g:1543:3: ruleExternPredicateDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4()); + } + pushFollow(FOLLOW_2); + ruleExternPredicateDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4()); + } + + } + + + } + break; + case 6 : + // InternalSolverLanguage.g:1548:2: ( ruleMetricDefinition ) + { + // InternalSolverLanguage.g:1548:2: ( ruleMetricDefinition ) + // InternalSolverLanguage.g:1549:3: ruleMetricDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5()); + } + pushFollow(FOLLOW_2); + ruleMetricDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5()); + } + + } + + + } + break; + case 7 : + // InternalSolverLanguage.g:1554:2: ( ruleExternMetricDefinition ) + { + // InternalSolverLanguage.g:1554:2: ( ruleExternMetricDefinition ) + // InternalSolverLanguage.g:1555:3: ruleExternMetricDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); + } + pushFollow(FOLLOW_2); + ruleExternMetricDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); + } + + } + + + } + break; + case 8 : + // InternalSolverLanguage.g:1560:2: ( ruleClassDefinition ) + { + // InternalSolverLanguage.g:1560:2: ( ruleClassDefinition ) + // InternalSolverLanguage.g:1561:3: ruleClassDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7()); + } + pushFollow(FOLLOW_2); + ruleClassDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7()); + } + + } + + + } + break; + case 9 : + // InternalSolverLanguage.g:1566:2: ( ruleScopeDefinition ) + { + // InternalSolverLanguage.g:1566:2: ( ruleScopeDefinition ) + // InternalSolverLanguage.g:1567:3: ruleScopeDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8()); + } + pushFollow(FOLLOW_2); + ruleScopeDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8()); + } + + } + + + } + break; + case 10 : + // InternalSolverLanguage.g:1572:2: ( ruleObjectiveDefinition ) + { + // InternalSolverLanguage.g:1572:2: ( ruleObjectiveDefinition ) + // InternalSolverLanguage.g:1573:3: ruleObjectiveDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9()); + } + pushFollow(FOLLOW_2); + ruleObjectiveDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Statement__Alternatives_0" + + + // $ANTLR start "rule__AssertionOrDefinition__Alternatives_1" + // InternalSolverLanguage.g:1582:1: rule__AssertionOrDefinition__Alternatives_1 : ( ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) ); + public final void rule__AssertionOrDefinition__Alternatives_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1586:1: ( ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) ) + int alt3=3; + switch ( input.LA(1) ) { + case EOF: + case RULE_DOT: + case 45: + { + alt3=1; + } + break; + case 46: + { + alt3=2; + } + break; + case 47: + { + alt3=3; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 3, 0, input); + + throw nvae; + } + + switch (alt3) { + case 1 : + // InternalSolverLanguage.g:1587:2: ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) + { + // InternalSolverLanguage.g:1587:2: ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) + // InternalSolverLanguage.g:1588:3: ( rule__AssertionOrDefinition__Group_1_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0()); + } + // InternalSolverLanguage.g:1589:3: ( rule__AssertionOrDefinition__Group_1_0__0 ) + // InternalSolverLanguage.g:1589:4: rule__AssertionOrDefinition__Group_1_0__0 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1593:2: ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) + { + // InternalSolverLanguage.g:1593:2: ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) + // InternalSolverLanguage.g:1594:3: ( rule__AssertionOrDefinition__Group_1_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1()); + } + // InternalSolverLanguage.g:1595:3: ( rule__AssertionOrDefinition__Group_1_1__0 ) + // InternalSolverLanguage.g:1595:4: rule__AssertionOrDefinition__Group_1_1__0 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1()); + } + + } + + + } + break; + case 3 : + // InternalSolverLanguage.g:1599:2: ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) + { + // InternalSolverLanguage.g:1599:2: ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) + // InternalSolverLanguage.g:1600:3: ( rule__AssertionOrDefinition__Group_1_2__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2()); + } + // InternalSolverLanguage.g:1601:3: ( rule__AssertionOrDefinition__Group_1_2__0 ) + // InternalSolverLanguage.g:1601:4: rule__AssertionOrDefinition__Group_1_2__0 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_2__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Alternatives_1" + + + // $ANTLR start "rule__PredicateDefinition__Alternatives_0" + // InternalSolverLanguage.g:1609:1: rule__PredicateDefinition__Alternatives_0 : ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( ( rule__PredicateDefinition__Group_0_1__0 ) ) ); + public final void rule__PredicateDefinition__Alternatives_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1613:1: ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( ( rule__PredicateDefinition__Group_0_1__0 ) ) ) + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==72) ) { + alt4=1; + } + else if ( (LA4_0==42) ) { + alt4=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 4, 0, input); + + throw nvae; + } + switch (alt4) { + case 1 : + // InternalSolverLanguage.g:1614:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) + { + // InternalSolverLanguage.g:1614:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) + // InternalSolverLanguage.g:1615:3: ( rule__PredicateDefinition__Group_0_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); + } + // InternalSolverLanguage.g:1616:3: ( rule__PredicateDefinition__Group_0_0__0 ) + // InternalSolverLanguage.g:1616:4: rule__PredicateDefinition__Group_0_0__0 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group_0_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1620:2: ( ( rule__PredicateDefinition__Group_0_1__0 ) ) + { + // InternalSolverLanguage.g:1620:2: ( ( rule__PredicateDefinition__Group_0_1__0 ) ) + // InternalSolverLanguage.g:1621:3: ( rule__PredicateDefinition__Group_0_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1()); + } + // InternalSolverLanguage.g:1622:3: ( rule__PredicateDefinition__Group_0_1__0 ) + // InternalSolverLanguage.g:1622:4: rule__PredicateDefinition__Group_0_1__0 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group_0_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Alternatives_0" + + + // $ANTLR start "rule__Expression__Alternatives" + // InternalSolverLanguage.g:1630:1: rule__Expression__Alternatives : ( ( ruleIfElse ) | ( ruleDisjunctiveExpression ) ); + public final void rule__Expression__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1634:1: ( ( ruleIfElse ) | ( ruleDisjunctiveExpression ) ) + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0==51) ) { + alt5=1; + } + else if ( ((LA5_0>=RULE_INT && LA5_0<=RULE_QUOTED_ID)||LA5_0==RULE_ID||LA5_0==RULE_STRING||(LA5_0>=26 && LA5_0<=27)||(LA5_0>=29 && LA5_0<=42)||LA5_0==57||LA5_0==61||LA5_0==63||(LA5_0>=66 && LA5_0<=67)) ) { + alt5=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 5, 0, input); + + throw nvae; + } + switch (alt5) { + case 1 : + // InternalSolverLanguage.g:1635:2: ( ruleIfElse ) + { + // InternalSolverLanguage.g:1635:2: ( ruleIfElse ) + // InternalSolverLanguage.g:1636:3: ruleIfElse + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); + } + pushFollow(FOLLOW_2); + ruleIfElse(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1641:2: ( ruleDisjunctiveExpression ) + { + // InternalSolverLanguage.g:1641:2: ( ruleDisjunctiveExpression ) + // InternalSolverLanguage.g:1642:3: ruleDisjunctiveExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1()); + } + pushFollow(FOLLOW_2); + ruleDisjunctiveExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Expression__Alternatives" + + + // $ANTLR start "rule__DisjunctiveExpression__Alternatives_1" + // InternalSolverLanguage.g:1651:1: rule__DisjunctiveExpression__Alternatives_1 : ( ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) | ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) ); + public final void rule__DisjunctiveExpression__Alternatives_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1655:1: ( ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) | ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) ) + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==54) ) { + alt6=1; + } + else if ( (LA6_0==55) ) { + alt6=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 6, 0, input); + + throw nvae; + } + switch (alt6) { + case 1 : + // InternalSolverLanguage.g:1656:2: ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) + { + // InternalSolverLanguage.g:1656:2: ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) + // InternalSolverLanguage.g:1657:3: ( rule__DisjunctiveExpression__Group_1_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0()); + } + // InternalSolverLanguage.g:1658:3: ( rule__DisjunctiveExpression__Group_1_0__0 ) + // InternalSolverLanguage.g:1658:4: rule__DisjunctiveExpression__Group_1_0__0 + { + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Group_1_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1662:2: ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) + { + // InternalSolverLanguage.g:1662:2: ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) + // InternalSolverLanguage.g:1663:3: ( rule__DisjunctiveExpression__Group_1_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1()); + } + // InternalSolverLanguage.g:1664:3: ( rule__DisjunctiveExpression__Group_1_1__0 ) + // InternalSolverLanguage.g:1664:4: rule__DisjunctiveExpression__Group_1_1__0 + { + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Group_1_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Alternatives_1" + + + // $ANTLR start "rule__UnaryExpression__Alternatives" + // InternalSolverLanguage.g:1672:1: rule__UnaryExpression__Alternatives : ( ( ruleAggregationExpression ) | ( ( rule__UnaryExpression__Group_1__0 ) ) ); + public final void rule__UnaryExpression__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1676:1: ( ( ruleAggregationExpression ) | ( ( rule__UnaryExpression__Group_1__0 ) ) ) + int alt7=2; + int LA7_0 = input.LA(1); + + if ( ((LA7_0>=RULE_INT && LA7_0<=RULE_QUOTED_ID)||LA7_0==RULE_ID||LA7_0==RULE_STRING||(LA7_0>=33 && LA7_0<=42)||LA7_0==57||LA7_0==61||LA7_0==63||(LA7_0>=66 && LA7_0<=67)) ) { + alt7=1; + } + else if ( ((LA7_0>=26 && LA7_0<=27)||(LA7_0>=29 && LA7_0<=32)) ) { + alt7=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 7, 0, input); + + throw nvae; + } + switch (alt7) { + case 1 : + // InternalSolverLanguage.g:1677:2: ( ruleAggregationExpression ) + { + // InternalSolverLanguage.g:1677:2: ( ruleAggregationExpression ) + // InternalSolverLanguage.g:1678:3: ruleAggregationExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); + } + pushFollow(FOLLOW_2); + ruleAggregationExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1683:2: ( ( rule__UnaryExpression__Group_1__0 ) ) + { + // InternalSolverLanguage.g:1683:2: ( ( rule__UnaryExpression__Group_1__0 ) ) + // InternalSolverLanguage.g:1684:3: ( rule__UnaryExpression__Group_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUnaryExpressionAccess().getGroup_1()); + } + // InternalSolverLanguage.g:1685:3: ( rule__UnaryExpression__Group_1__0 ) + // InternalSolverLanguage.g:1685:4: rule__UnaryExpression__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__UnaryExpression__Group_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getUnaryExpressionAccess().getGroup_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnaryExpression__Alternatives" + + + // $ANTLR start "rule__AggregationExpression__Alternatives" + // InternalSolverLanguage.g:1693:1: rule__AggregationExpression__Alternatives : ( ( ruleAtomicExpression ) | ( ruleCount ) | ( ruleAggregation ) ); + public final void rule__AggregationExpression__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1697:1: ( ( ruleAtomicExpression ) | ( ruleCount ) | ( ruleAggregation ) ) + int alt8=3; + switch ( input.LA(1) ) { + case RULE_INT: + case RULE_QUOTED_ID: + case RULE_ID: + case RULE_STRING: + case 39: + case 40: + case 41: + case 42: + case 61: + case 63: + case 66: + case 67: + { + alt8=1; + } + break; + case 57: + { + alt8=2; + } + break; + case 33: + case 34: + case 35: + case 36: + case 37: + case 38: + { + alt8=3; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 8, 0, input); + + throw nvae; + } + + switch (alt8) { + case 1 : + // InternalSolverLanguage.g:1698:2: ( ruleAtomicExpression ) + { + // InternalSolverLanguage.g:1698:2: ( ruleAtomicExpression ) + // InternalSolverLanguage.g:1699:3: ruleAtomicExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); + } + pushFollow(FOLLOW_2); + ruleAtomicExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1704:2: ( ruleCount ) + { + // InternalSolverLanguage.g:1704:2: ( ruleCount ) + // InternalSolverLanguage.g:1705:3: ruleCount + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1()); + } + pushFollow(FOLLOW_2); + ruleCount(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1()); + } + + } + + + } + break; + case 3 : + // InternalSolverLanguage.g:1710:2: ( ruleAggregation ) + { + // InternalSolverLanguage.g:1710:2: ( ruleAggregation ) + // InternalSolverLanguage.g:1711:3: ruleAggregation + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); + } + pushFollow(FOLLOW_2); + ruleAggregation(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AggregationExpression__Alternatives" + + + // $ANTLR start "rule__AtomicExpression__Alternatives" + // InternalSolverLanguage.g:1720:1: rule__AtomicExpression__Alternatives : ( ( ( rule__AtomicExpression__Group_0__0 ) ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_3__0 ) ) ); + public final void rule__AtomicExpression__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1724:1: ( ( ( rule__AtomicExpression__Group_0__0 ) ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_3__0 ) ) ) + int alt9=4; + switch ( input.LA(1) ) { + case RULE_QUOTED_ID: + case RULE_ID: + { + alt9=1; + } + break; + case 63: + { + alt9=2; + } + break; + case RULE_INT: + case RULE_STRING: + case 39: + case 40: + case 41: + case 42: + case 66: + case 67: + { + alt9=3; + } + break; + case 61: + { + alt9=4; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 9, 0, input); + + throw nvae; + } + + switch (alt9) { + case 1 : + // InternalSolverLanguage.g:1725:2: ( ( rule__AtomicExpression__Group_0__0 ) ) + { + // InternalSolverLanguage.g:1725:2: ( ( rule__AtomicExpression__Group_0__0 ) ) + // InternalSolverLanguage.g:1726:3: ( rule__AtomicExpression__Group_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAtomicExpressionAccess().getGroup_0()); + } + // InternalSolverLanguage.g:1727:3: ( rule__AtomicExpression__Group_0__0 ) + // InternalSolverLanguage.g:1727:4: rule__AtomicExpression__Group_0__0 + { + pushFollow(FOLLOW_2); + rule__AtomicExpression__Group_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAtomicExpressionAccess().getGroup_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1731:2: ( ruleInterval ) + { + // InternalSolverLanguage.g:1731:2: ( ruleInterval ) + // InternalSolverLanguage.g:1732:3: ruleInterval + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_1()); + } + pushFollow(FOLLOW_2); + ruleInterval(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_1()); + } + + } + + + } + break; + case 3 : + // InternalSolverLanguage.g:1737:2: ( ruleLiteral ) + { + // InternalSolverLanguage.g:1737:2: ( ruleLiteral ) + // InternalSolverLanguage.g:1738:3: ruleLiteral + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_2()); + } + pushFollow(FOLLOW_2); + ruleLiteral(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_2()); + } + + } + + + } + break; + case 4 : + // InternalSolverLanguage.g:1743:2: ( ( rule__AtomicExpression__Group_3__0 ) ) + { + // InternalSolverLanguage.g:1743:2: ( ( rule__AtomicExpression__Group_3__0 ) ) + // InternalSolverLanguage.g:1744:3: ( rule__AtomicExpression__Group_3__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAtomicExpressionAccess().getGroup_3()); + } + // InternalSolverLanguage.g:1745:3: ( rule__AtomicExpression__Group_3__0 ) + // InternalSolverLanguage.g:1745:4: rule__AtomicExpression__Group_3__0 + { + pushFollow(FOLLOW_2); + rule__AtomicExpression__Group_3__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAtomicExpressionAccess().getGroup_3()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AtomicExpression__Alternatives" + + + // $ANTLR start "rule__Call__Alternatives_1" + // InternalSolverLanguage.g:1753:1: rule__Call__Alternatives_1 : ( ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) | ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) ); + public final void rule__Call__Alternatives_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1757:1: ( ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) | ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) ) + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0==RULE_STAR) ) { + alt10=1; + } + else if ( (LA10_0==RULE_PLUS) ) { + alt10=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 10, 0, input); + + throw nvae; + } + switch (alt10) { + case 1 : + // InternalSolverLanguage.g:1758:2: ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) + { + // InternalSolverLanguage.g:1758:2: ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) + // InternalSolverLanguage.g:1759:3: ( rule__Call__TransitiveClosureAssignment_1_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0()); + } + // InternalSolverLanguage.g:1760:3: ( rule__Call__TransitiveClosureAssignment_1_0 ) + // InternalSolverLanguage.g:1760:4: rule__Call__TransitiveClosureAssignment_1_0 + { + pushFollow(FOLLOW_2); + rule__Call__TransitiveClosureAssignment_1_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1764:2: ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) + { + // InternalSolverLanguage.g:1764:2: ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) + // InternalSolverLanguage.g:1765:3: ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1()); + } + // InternalSolverLanguage.g:1766:3: ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) + // InternalSolverLanguage.g:1766:4: rule__Call__ReflexiveTransitiveClosureAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__Call__ReflexiveTransitiveClosureAssignment_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Call__Alternatives_1" + + + // $ANTLR start "rule__Argument__Alternatives" + // InternalSolverLanguage.g:1774:1: rule__Argument__Alternatives : ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) ); + public final void rule__Argument__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1778:1: ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) ) + int alt11=4; + alt11 = dfa11.predict(input); + switch (alt11) { + case 1 : + // InternalSolverLanguage.g:1779:2: ( ruleExpressionArgument ) + { + // InternalSolverLanguage.g:1779:2: ( ruleExpressionArgument ) + // InternalSolverLanguage.g:1780:3: ruleExpressionArgument + { + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); + } + pushFollow(FOLLOW_2); + ruleExpressionArgument(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1785:2: ( ruleStarArgument ) + { + // InternalSolverLanguage.g:1785:2: ( ruleStarArgument ) + // InternalSolverLanguage.g:1786:3: ruleStarArgument + { + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); + } + pushFollow(FOLLOW_2); + ruleStarArgument(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); + } + + } + + + } + break; + case 3 : + // InternalSolverLanguage.g:1791:2: ( ruleTypedArgument ) + { + // InternalSolverLanguage.g:1791:2: ( ruleTypedArgument ) + // InternalSolverLanguage.g:1792:3: ruleTypedArgument + { + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); + } + pushFollow(FOLLOW_2); + ruleTypedArgument(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); + } + + } + + + } + break; + case 4 : + // InternalSolverLanguage.g:1797:2: ( ruleTypedStarArgument ) + { + // InternalSolverLanguage.g:1797:2: ( ruleTypedStarArgument ) + // InternalSolverLanguage.g:1798:3: ruleTypedStarArgument + { + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); + } + pushFollow(FOLLOW_2); + ruleTypedStarArgument(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Argument__Alternatives" + + + // $ANTLR start "rule__Literal__Alternatives" + // InternalSolverLanguage.g:1807:1: rule__Literal__Alternatives : ( ( ruleLogicLiteral ) | ( ruleNumericLiteral ) | ( ruleInfinityLiteral ) | ( ruleEmptyIntervalLiteral ) | ( ruleStringLiteral ) ); + public final void rule__Literal__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1811:1: ( ( ruleLogicLiteral ) | ( ruleNumericLiteral ) | ( ruleInfinityLiteral ) | ( ruleEmptyIntervalLiteral ) | ( ruleStringLiteral ) ) + int alt12=5; + switch ( input.LA(1) ) { + case 39: + case 40: + case 41: + case 42: + { + alt12=1; + } + break; + case RULE_INT: + { + alt12=2; + } + break; + case 66: + { + alt12=3; + } + break; + case 67: + { + alt12=4; + } + break; + case RULE_STRING: + { + alt12=5; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 12, 0, input); + + throw nvae; + } + + switch (alt12) { + case 1 : + // InternalSolverLanguage.g:1812:2: ( ruleLogicLiteral ) + { + // InternalSolverLanguage.g:1812:2: ( ruleLogicLiteral ) + // InternalSolverLanguage.g:1813:3: ruleLogicLiteral + { + if ( state.backtracking==0 ) { + before(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0()); + } + pushFollow(FOLLOW_2); + ruleLogicLiteral(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1818:2: ( ruleNumericLiteral ) + { + // InternalSolverLanguage.g:1818:2: ( ruleNumericLiteral ) + // InternalSolverLanguage.g:1819:3: ruleNumericLiteral + { + if ( state.backtracking==0 ) { + before(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); + } + pushFollow(FOLLOW_2); + ruleNumericLiteral(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); + } + + } + + + } + break; + case 3 : + // InternalSolverLanguage.g:1824:2: ( ruleInfinityLiteral ) + { + // InternalSolverLanguage.g:1824:2: ( ruleInfinityLiteral ) + // InternalSolverLanguage.g:1825:3: ruleInfinityLiteral + { + if ( state.backtracking==0 ) { + before(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); + } + pushFollow(FOLLOW_2); + ruleInfinityLiteral(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); + } + + } + + + } + break; + case 4 : + // InternalSolverLanguage.g:1830:2: ( ruleEmptyIntervalLiteral ) + { + // InternalSolverLanguage.g:1830:2: ( ruleEmptyIntervalLiteral ) + // InternalSolverLanguage.g:1831:3: ruleEmptyIntervalLiteral + { + if ( state.backtracking==0 ) { + before(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); + } + pushFollow(FOLLOW_2); + ruleEmptyIntervalLiteral(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); + } + + } + + + } + break; + case 5 : + // InternalSolverLanguage.g:1836:2: ( ruleStringLiteral ) + { + // InternalSolverLanguage.g:1836:2: ( ruleStringLiteral ) + // InternalSolverLanguage.g:1837:3: ruleStringLiteral + { + if ( state.backtracking==0 ) { + before(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); + } + pushFollow(FOLLOW_2); + ruleStringLiteral(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Literal__Alternatives" + + + // $ANTLR start "rule__Multiplicity__Alternatives" + // InternalSolverLanguage.g:1846:1: rule__Multiplicity__Alternatives : ( ( ruleManyMultiplicity ) | ( ruleExactMultiplicity ) | ( ruleBoundedMultiplicity ) ); + public final void rule__Multiplicity__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1850:1: ( ( ruleManyMultiplicity ) | ( ruleExactMultiplicity ) | ( ruleBoundedMultiplicity ) ) + int alt13=3; + int LA13_0 = input.LA(1); + + if ( (LA13_0==63) ) { + switch ( input.LA(2) ) { + case RULE_INT: + { + int LA13_2 = input.LA(3); + + if ( (LA13_2==64) ) { + alt13=3; + } + else if ( (LA13_2==65) ) { + alt13=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 13, 2, input); + + throw nvae; + } + } + break; + case 16: + { + alt13=2; + } + break; + case 65: + { + alt13=1; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 13, 1, input); + + throw nvae; + } + + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 13, 0, input); + + throw nvae; + } + switch (alt13) { + case 1 : + // InternalSolverLanguage.g:1851:2: ( ruleManyMultiplicity ) + { + // InternalSolverLanguage.g:1851:2: ( ruleManyMultiplicity ) + // InternalSolverLanguage.g:1852:3: ruleManyMultiplicity + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); + } + pushFollow(FOLLOW_2); + ruleManyMultiplicity(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1857:2: ( ruleExactMultiplicity ) + { + // InternalSolverLanguage.g:1857:2: ( ruleExactMultiplicity ) + // InternalSolverLanguage.g:1858:3: ruleExactMultiplicity + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); + } + pushFollow(FOLLOW_2); + ruleExactMultiplicity(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); + } + + } + + + } + break; + case 3 : + // InternalSolverLanguage.g:1863:2: ( ruleBoundedMultiplicity ) + { + // InternalSolverLanguage.g:1863:2: ( ruleBoundedMultiplicity ) + // InternalSolverLanguage.g:1864:3: ruleBoundedMultiplicity + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2()); + } + pushFollow(FOLLOW_2); + ruleBoundedMultiplicity(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Multiplicity__Alternatives" + + + // $ANTLR start "rule__ScopeDefinition__Alternatives" + // InternalSolverLanguage.g:1873:1: rule__ScopeDefinition__Alternatives : ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) ); + public final void rule__ScopeDefinition__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1877:1: ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) ) + int alt14=3; + alt14 = dfa14.predict(input); + switch (alt14) { + case 1 : + // InternalSolverLanguage.g:1878:2: ( ruleExactScopeDefinition ) + { + // InternalSolverLanguage.g:1878:2: ( ruleExactScopeDefinition ) + // InternalSolverLanguage.g:1879:3: ruleExactScopeDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); + } + pushFollow(FOLLOW_2); + ruleExactScopeDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1884:2: ( ruleBoundedScopeDefinition ) + { + // InternalSolverLanguage.g:1884:2: ( ruleBoundedScopeDefinition ) + // InternalSolverLanguage.g:1885:3: ruleBoundedScopeDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); + } + pushFollow(FOLLOW_2); + ruleBoundedScopeDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); + } + + } + + + } + break; + case 3 : + // InternalSolverLanguage.g:1890:2: ( ruleLowerBoundedScopeDefinition ) + { + // InternalSolverLanguage.g:1890:2: ( ruleLowerBoundedScopeDefinition ) + // InternalSolverLanguage.g:1891:3: ruleLowerBoundedScopeDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); + } + pushFollow(FOLLOW_2); + ruleLowerBoundedScopeDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeDefinition__Alternatives" + + + // $ANTLR start "rule__BoundedScopeDefinition__Alternatives_1" + // InternalSolverLanguage.g:1900:1: rule__BoundedScopeDefinition__Alternatives_1 : ( ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) ); + public final void rule__BoundedScopeDefinition__Alternatives_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1904:1: ( ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) ) + int alt15=2; + int LA15_0 = input.LA(1); + + if ( (LA15_0==RULE_INT) ) { + int LA15_1 = input.LA(2); + + if ( (LA15_1==24) ) { + alt15=2; + } + else if ( (LA15_1==22) ) { + alt15=1; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 15, 1, input); + + throw nvae; + } + } + else if ( (LA15_0==RULE_QUOTED_ID||LA15_0==RULE_ID) ) { + alt15=1; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 15, 0, input); + + throw nvae; + } + switch (alt15) { + case 1 : + // InternalSolverLanguage.g:1905:2: ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) + { + // InternalSolverLanguage.g:1905:2: ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) + // InternalSolverLanguage.g:1906:3: ( rule__BoundedScopeDefinition__Group_1_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0()); + } + // InternalSolverLanguage.g:1907:3: ( rule__BoundedScopeDefinition__Group_1_0__0 ) + // InternalSolverLanguage.g:1907:4: rule__BoundedScopeDefinition__Group_1_0__0 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__Group_1_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1911:2: ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) + { + // InternalSolverLanguage.g:1911:2: ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) + // InternalSolverLanguage.g:1912:3: ( rule__BoundedScopeDefinition__Group_1_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1()); + } + // InternalSolverLanguage.g:1913:3: ( rule__BoundedScopeDefinition__Group_1_1__0 ) + // InternalSolverLanguage.g:1913:4: rule__BoundedScopeDefinition__Group_1_1__0 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__Group_1_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__BoundedScopeDefinition__Alternatives_1" + + + // $ANTLR start "rule__LowerBoundedScopeDefinition__Alternatives_1" + // InternalSolverLanguage.g:1921:1: rule__LowerBoundedScopeDefinition__Alternatives_1 : ( ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) ); + public final void rule__LowerBoundedScopeDefinition__Alternatives_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1925:1: ( ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) ) + int alt16=2; + int LA16_0 = input.LA(1); + + if ( (LA16_0==RULE_INT) ) { + alt16=1; + } + else if ( (LA16_0==RULE_QUOTED_ID||LA16_0==RULE_ID) ) { + alt16=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 16, 0, input); + + throw nvae; + } + switch (alt16) { + case 1 : + // InternalSolverLanguage.g:1926:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) + { + // InternalSolverLanguage.g:1926:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) + // InternalSolverLanguage.g:1927:3: ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0()); + } + // InternalSolverLanguage.g:1928:3: ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) + // InternalSolverLanguage.g:1928:4: rule__LowerBoundedScopeDefinition__Group_1_0__0 + { + pushFollow(FOLLOW_2); + rule__LowerBoundedScopeDefinition__Group_1_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1932:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) + { + // InternalSolverLanguage.g:1932:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) + // InternalSolverLanguage.g:1933:3: ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1()); + } + // InternalSolverLanguage.g:1934:3: ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) + // InternalSolverLanguage.g:1934:4: rule__LowerBoundedScopeDefinition__Group_1_1__0 + { + pushFollow(FOLLOW_2); + rule__LowerBoundedScopeDefinition__Group_1_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__LowerBoundedScopeDefinition__Alternatives_1" + + + // $ANTLR start "rule__UpperMultiplicty__Alternatives" + // InternalSolverLanguage.g:1942:1: rule__UpperMultiplicty__Alternatives : ( ( RULE_INT ) | ( '*' ) ); + public final void rule__UpperMultiplicty__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1946:1: ( ( RULE_INT ) | ( '*' ) ) + int alt17=2; + int LA17_0 = input.LA(1); + + if ( (LA17_0==RULE_INT) ) { + alt17=1; + } + else if ( (LA17_0==16) ) { + alt17=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 17, 0, input); + + throw nvae; + } + switch (alt17) { + case 1 : + // InternalSolverLanguage.g:1947:2: ( RULE_INT ) + { + // InternalSolverLanguage.g:1947:2: ( RULE_INT ) + // InternalSolverLanguage.g:1948:3: RULE_INT + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0()); + } + match(input,RULE_INT,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1953:2: ( '*' ) + { + // InternalSolverLanguage.g:1953:2: ( '*' ) + // InternalSolverLanguage.g:1954:3: '*' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1()); + } + match(input,16,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UpperMultiplicty__Alternatives" + + + // $ANTLR start "rule__QualifiedName__Alternatives" + // InternalSolverLanguage.g:1963:1: rule__QualifiedName__Alternatives : ( ( ( rule__QualifiedName__Group_0__0 ) ) | ( RULE_QUOTED_ID ) ); + public final void rule__QualifiedName__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1967:1: ( ( ( rule__QualifiedName__Group_0__0 ) ) | ( RULE_QUOTED_ID ) ) + int alt18=2; + int LA18_0 = input.LA(1); + + if ( (LA18_0==RULE_ID) ) { + alt18=1; + } + else if ( (LA18_0==RULE_QUOTED_ID) ) { + alt18=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 18, 0, input); + + throw nvae; + } + switch (alt18) { + case 1 : + // InternalSolverLanguage.g:1968:2: ( ( rule__QualifiedName__Group_0__0 ) ) + { + // InternalSolverLanguage.g:1968:2: ( ( rule__QualifiedName__Group_0__0 ) ) + // InternalSolverLanguage.g:1969:3: ( rule__QualifiedName__Group_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getQualifiedNameAccess().getGroup_0()); + } + // InternalSolverLanguage.g:1970:3: ( rule__QualifiedName__Group_0__0 ) + // InternalSolverLanguage.g:1970:4: rule__QualifiedName__Group_0__0 + { + pushFollow(FOLLOW_2); + rule__QualifiedName__Group_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getQualifiedNameAccess().getGroup_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1974:2: ( RULE_QUOTED_ID ) + { + // InternalSolverLanguage.g:1974:2: ( RULE_QUOTED_ID ) + // InternalSolverLanguage.g:1975:3: RULE_QUOTED_ID + { + if ( state.backtracking==0 ) { + before(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); + } + match(input,RULE_QUOTED_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__QualifiedName__Alternatives" + + + // $ANTLR start "rule__MetricType__Alternatives" + // InternalSolverLanguage.g:1984:1: rule__MetricType__Alternatives : ( ( ( 'int' ) ) | ( ( 'real' ) ) ); + public final void rule__MetricType__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:1988:1: ( ( ( 'int' ) ) | ( ( 'real' ) ) ) + int alt19=2; + int LA19_0 = input.LA(1); + + if ( (LA19_0==17) ) { + alt19=1; + } + else if ( (LA19_0==18) ) { + alt19=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 19, 0, input); + + throw nvae; + } + switch (alt19) { + case 1 : + // InternalSolverLanguage.g:1989:2: ( ( 'int' ) ) + { + // InternalSolverLanguage.g:1989:2: ( ( 'int' ) ) + // InternalSolverLanguage.g:1990:3: ( 'int' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0()); + } + // InternalSolverLanguage.g:1991:3: ( 'int' ) + // InternalSolverLanguage.g:1991:4: 'int' + { + match(input,17,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:1995:2: ( ( 'real' ) ) + { + // InternalSolverLanguage.g:1995:2: ( ( 'real' ) ) + // InternalSolverLanguage.g:1996:3: ( 'real' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1()); + } + // InternalSolverLanguage.g:1997:3: ( 'real' ) + // InternalSolverLanguage.g:1997:4: 'real' + { + match(input,18,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetricType__Alternatives" + + + // $ANTLR start "rule__ComparisonOperator__Alternatives" + // InternalSolverLanguage.g:2005:1: rule__ComparisonOperator__Alternatives : ( ( ( '==' ) ) | ( ( '!=' ) ) | ( ( '<' ) ) | ( ( '<=' ) ) | ( ( '>' ) ) | ( ( '>=' ) ) | ( ( 'in' ) ) ); + public final void rule__ComparisonOperator__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2009:1: ( ( ( '==' ) ) | ( ( '!=' ) ) | ( ( '<' ) ) | ( ( '<=' ) ) | ( ( '>' ) ) | ( ( '>=' ) ) | ( ( 'in' ) ) ) + int alt20=7; + switch ( input.LA(1) ) { + case 19: + { + alt20=1; + } + break; + case 20: + { + alt20=2; + } + break; + case 21: + { + alt20=3; + } + break; + case 22: + { + alt20=4; + } + break; + case 23: + { + alt20=5; + } + break; + case 24: + { + alt20=6; + } + break; + case 25: + { + alt20=7; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 20, 0, input); + + throw nvae; + } + + switch (alt20) { + case 1 : + // InternalSolverLanguage.g:2010:2: ( ( '==' ) ) + { + // InternalSolverLanguage.g:2010:2: ( ( '==' ) ) + // InternalSolverLanguage.g:2011:3: ( '==' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); + } + // InternalSolverLanguage.g:2012:3: ( '==' ) + // InternalSolverLanguage.g:2012:4: '==' + { + match(input,19,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:2016:2: ( ( '!=' ) ) + { + // InternalSolverLanguage.g:2016:2: ( ( '!=' ) ) + // InternalSolverLanguage.g:2017:3: ( '!=' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); + } + // InternalSolverLanguage.g:2018:3: ( '!=' ) + // InternalSolverLanguage.g:2018:4: '!=' + { + match(input,20,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); + } + + } + + + } + break; + case 3 : + // InternalSolverLanguage.g:2022:2: ( ( '<' ) ) + { + // InternalSolverLanguage.g:2022:2: ( ( '<' ) ) + // InternalSolverLanguage.g:2023:3: ( '<' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2()); + } + // InternalSolverLanguage.g:2024:3: ( '<' ) + // InternalSolverLanguage.g:2024:4: '<' + { + match(input,21,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2()); + } + + } + + + } + break; + case 4 : + // InternalSolverLanguage.g:2028:2: ( ( '<=' ) ) + { + // InternalSolverLanguage.g:2028:2: ( ( '<=' ) ) + // InternalSolverLanguage.g:2029:3: ( '<=' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); + } + // InternalSolverLanguage.g:2030:3: ( '<=' ) + // InternalSolverLanguage.g:2030:4: '<=' + { + match(input,22,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); + } + + } + + + } + break; + case 5 : + // InternalSolverLanguage.g:2034:2: ( ( '>' ) ) + { + // InternalSolverLanguage.g:2034:2: ( ( '>' ) ) + // InternalSolverLanguage.g:2035:3: ( '>' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4()); + } + // InternalSolverLanguage.g:2036:3: ( '>' ) + // InternalSolverLanguage.g:2036:4: '>' + { + match(input,23,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4()); + } + + } + + + } + break; + case 6 : + // InternalSolverLanguage.g:2040:2: ( ( '>=' ) ) + { + // InternalSolverLanguage.g:2040:2: ( ( '>=' ) ) + // InternalSolverLanguage.g:2041:3: ( '>=' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); + } + // InternalSolverLanguage.g:2042:3: ( '>=' ) + // InternalSolverLanguage.g:2042:4: '>=' + { + match(input,24,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); + } + + } + + + } + break; + case 7 : + // InternalSolverLanguage.g:2046:2: ( ( 'in' ) ) + { + // InternalSolverLanguage.g:2046:2: ( ( 'in' ) ) + // InternalSolverLanguage.g:2047:3: ( 'in' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6()); + } + // InternalSolverLanguage.g:2048:3: ( 'in' ) + // InternalSolverLanguage.g:2048:4: 'in' + { + match(input,25,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComparisonOperator__Alternatives" + + + // $ANTLR start "rule__AdditiveBinaryOperator__Alternatives" + // InternalSolverLanguage.g:2056:1: rule__AdditiveBinaryOperator__Alternatives : ( ( ( '+' ) ) | ( ( '-' ) ) ); + public final void rule__AdditiveBinaryOperator__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2060:1: ( ( ( '+' ) ) | ( ( '-' ) ) ) + int alt21=2; + int LA21_0 = input.LA(1); + + if ( (LA21_0==26) ) { + alt21=1; + } + else if ( (LA21_0==27) ) { + alt21=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 21, 0, input); + + throw nvae; + } + switch (alt21) { + case 1 : + // InternalSolverLanguage.g:2061:2: ( ( '+' ) ) + { + // InternalSolverLanguage.g:2061:2: ( ( '+' ) ) + // InternalSolverLanguage.g:2062:3: ( '+' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); + } + // InternalSolverLanguage.g:2063:3: ( '+' ) + // InternalSolverLanguage.g:2063:4: '+' + { + match(input,26,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:2067:2: ( ( '-' ) ) + { + // InternalSolverLanguage.g:2067:2: ( ( '-' ) ) + // InternalSolverLanguage.g:2068:3: ( '-' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); + } + // InternalSolverLanguage.g:2069:3: ( '-' ) + // InternalSolverLanguage.g:2069:4: '-' + { + match(input,27,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AdditiveBinaryOperator__Alternatives" + + + // $ANTLR start "rule__MultiplicativeBinaryOperator__Alternatives" + // InternalSolverLanguage.g:2077:1: rule__MultiplicativeBinaryOperator__Alternatives : ( ( ( '*' ) ) | ( ( '/' ) ) ); + public final void rule__MultiplicativeBinaryOperator__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2081:1: ( ( ( '*' ) ) | ( ( '/' ) ) ) + int alt22=2; + int LA22_0 = input.LA(1); + + if ( (LA22_0==16) ) { + alt22=1; + } + else if ( (LA22_0==28) ) { + alt22=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 22, 0, input); + + throw nvae; + } + switch (alt22) { + case 1 : + // InternalSolverLanguage.g:2082:2: ( ( '*' ) ) + { + // InternalSolverLanguage.g:2082:2: ( ( '*' ) ) + // InternalSolverLanguage.g:2083:3: ( '*' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); + } + // InternalSolverLanguage.g:2084:3: ( '*' ) + // InternalSolverLanguage.g:2084:4: '*' + { + match(input,16,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:2088:2: ( ( '/' ) ) + { + // InternalSolverLanguage.g:2088:2: ( ( '/' ) ) + // InternalSolverLanguage.g:2089:3: ( '/' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); + } + // InternalSolverLanguage.g:2090:3: ( '/' ) + // InternalSolverLanguage.g:2090:4: '/' + { + match(input,28,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MultiplicativeBinaryOperator__Alternatives" + + + // $ANTLR start "rule__UnaryOp__Alternatives" + // InternalSolverLanguage.g:2098:1: rule__UnaryOp__Alternatives : ( ( ( '!' ) ) | ( ( '+' ) ) | ( ( '-' ) ) | ( ( 'may' ) ) | ( ( 'must' ) ) | ( ( 'current' ) ) ); + public final void rule__UnaryOp__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2102:1: ( ( ( '!' ) ) | ( ( '+' ) ) | ( ( '-' ) ) | ( ( 'may' ) ) | ( ( 'must' ) ) | ( ( 'current' ) ) ) + int alt23=6; + switch ( input.LA(1) ) { + case 29: + { + alt23=1; + } + break; + case 26: + { + alt23=2; + } + break; + case 27: + { + alt23=3; + } + break; + case 30: + { + alt23=4; + } + break; + case 31: + { + alt23=5; + } + break; + case 32: + { + alt23=6; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 23, 0, input); + + throw nvae; + } + + switch (alt23) { + case 1 : + // InternalSolverLanguage.g:2103:2: ( ( '!' ) ) + { + // InternalSolverLanguage.g:2103:2: ( ( '!' ) ) + // InternalSolverLanguage.g:2104:3: ( '!' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); + } + // InternalSolverLanguage.g:2105:3: ( '!' ) + // InternalSolverLanguage.g:2105:4: '!' + { + match(input,29,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:2109:2: ( ( '+' ) ) + { + // InternalSolverLanguage.g:2109:2: ( ( '+' ) ) + // InternalSolverLanguage.g:2110:3: ( '+' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); + } + // InternalSolverLanguage.g:2111:3: ( '+' ) + // InternalSolverLanguage.g:2111:4: '+' + { + match(input,26,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); + } + + } + + + } + break; + case 3 : + // InternalSolverLanguage.g:2115:2: ( ( '-' ) ) + { + // InternalSolverLanguage.g:2115:2: ( ( '-' ) ) + // InternalSolverLanguage.g:2116:3: ( '-' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); + } + // InternalSolverLanguage.g:2117:3: ( '-' ) + // InternalSolverLanguage.g:2117:4: '-' + { + match(input,27,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); + } + + } + + + } + break; + case 4 : + // InternalSolverLanguage.g:2121:2: ( ( 'may' ) ) + { + // InternalSolverLanguage.g:2121:2: ( ( 'may' ) ) + // InternalSolverLanguage.g:2122:3: ( 'may' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); + } + // InternalSolverLanguage.g:2123:3: ( 'may' ) + // InternalSolverLanguage.g:2123:4: 'may' + { + match(input,30,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); + } + + } + + + } + break; + case 5 : + // InternalSolverLanguage.g:2127:2: ( ( 'must' ) ) + { + // InternalSolverLanguage.g:2127:2: ( ( 'must' ) ) + // InternalSolverLanguage.g:2128:3: ( 'must' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); + } + // InternalSolverLanguage.g:2129:3: ( 'must' ) + // InternalSolverLanguage.g:2129:4: 'must' + { + match(input,31,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); + } + + } + + + } + break; + case 6 : + // InternalSolverLanguage.g:2133:2: ( ( 'current' ) ) + { + // InternalSolverLanguage.g:2133:2: ( ( 'current' ) ) + // InternalSolverLanguage.g:2134:3: ( 'current' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); + } + // InternalSolverLanguage.g:2135:3: ( 'current' ) + // InternalSolverLanguage.g:2135:4: 'current' + { + match(input,32,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnaryOp__Alternatives" + + + // $ANTLR start "rule__AggregationOp__Alternatives" + // InternalSolverLanguage.g:2143:1: rule__AggregationOp__Alternatives : ( ( ( 'only' ) ) | ( ( 'sum' ) ) | ( ( 'prod' ) ) | ( ( 'avg' ) ) | ( ( 'min' ) ) | ( ( 'max' ) ) ); + public final void rule__AggregationOp__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2147:1: ( ( ( 'only' ) ) | ( ( 'sum' ) ) | ( ( 'prod' ) ) | ( ( 'avg' ) ) | ( ( 'min' ) ) | ( ( 'max' ) ) ) + int alt24=6; + switch ( input.LA(1) ) { + case 33: + { + alt24=1; + } + break; + case 34: + { + alt24=2; + } + break; + case 35: + { + alt24=3; + } + break; + case 36: + { + alt24=4; + } + break; + case 37: + { + alt24=5; + } + break; + case 38: + { + alt24=6; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 24, 0, input); + + throw nvae; + } + + switch (alt24) { + case 1 : + // InternalSolverLanguage.g:2148:2: ( ( 'only' ) ) + { + // InternalSolverLanguage.g:2148:2: ( ( 'only' ) ) + // InternalSolverLanguage.g:2149:3: ( 'only' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0()); + } + // InternalSolverLanguage.g:2150:3: ( 'only' ) + // InternalSolverLanguage.g:2150:4: 'only' + { + match(input,33,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:2154:2: ( ( 'sum' ) ) + { + // InternalSolverLanguage.g:2154:2: ( ( 'sum' ) ) + // InternalSolverLanguage.g:2155:3: ( 'sum' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1()); + } + // InternalSolverLanguage.g:2156:3: ( 'sum' ) + // InternalSolverLanguage.g:2156:4: 'sum' + { + match(input,34,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1()); + } + + } + + + } + break; + case 3 : + // InternalSolverLanguage.g:2160:2: ( ( 'prod' ) ) + { + // InternalSolverLanguage.g:2160:2: ( ( 'prod' ) ) + // InternalSolverLanguage.g:2161:3: ( 'prod' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2()); + } + // InternalSolverLanguage.g:2162:3: ( 'prod' ) + // InternalSolverLanguage.g:2162:4: 'prod' + { + match(input,35,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2()); + } + + } + + + } + break; + case 4 : + // InternalSolverLanguage.g:2166:2: ( ( 'avg' ) ) + { + // InternalSolverLanguage.g:2166:2: ( ( 'avg' ) ) + // InternalSolverLanguage.g:2167:3: ( 'avg' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3()); + } + // InternalSolverLanguage.g:2168:3: ( 'avg' ) + // InternalSolverLanguage.g:2168:4: 'avg' + { + match(input,36,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3()); + } + + } + + + } + break; + case 5 : + // InternalSolverLanguage.g:2172:2: ( ( 'min' ) ) + { + // InternalSolverLanguage.g:2172:2: ( ( 'min' ) ) + // InternalSolverLanguage.g:2173:3: ( 'min' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4()); + } + // InternalSolverLanguage.g:2174:3: ( 'min' ) + // InternalSolverLanguage.g:2174:4: 'min' + { + match(input,37,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4()); + } + + } + + + } + break; + case 6 : + // InternalSolverLanguage.g:2178:2: ( ( 'max' ) ) + { + // InternalSolverLanguage.g:2178:2: ( ( 'max' ) ) + // InternalSolverLanguage.g:2179:3: ( 'max' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5()); + } + // InternalSolverLanguage.g:2180:3: ( 'max' ) + // InternalSolverLanguage.g:2180:4: 'max' + { + match(input,38,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AggregationOp__Alternatives" + + + // $ANTLR start "rule__LogicValue__Alternatives" + // InternalSolverLanguage.g:2188:1: rule__LogicValue__Alternatives : ( ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'unknown' ) ) | ( ( 'error' ) ) ); + public final void rule__LogicValue__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2192:1: ( ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'unknown' ) ) | ( ( 'error' ) ) ) + int alt25=4; + switch ( input.LA(1) ) { + case 39: + { + alt25=1; + } + break; + case 40: + { + alt25=2; + } + break; + case 41: + { + alt25=3; + } + break; + case 42: + { + alt25=4; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 25, 0, input); + + throw nvae; + } + + switch (alt25) { + case 1 : + // InternalSolverLanguage.g:2193:2: ( ( 'true' ) ) + { + // InternalSolverLanguage.g:2193:2: ( ( 'true' ) ) + // InternalSolverLanguage.g:2194:3: ( 'true' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); + } + // InternalSolverLanguage.g:2195:3: ( 'true' ) + // InternalSolverLanguage.g:2195:4: 'true' + { + match(input,39,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:2199:2: ( ( 'false' ) ) + { + // InternalSolverLanguage.g:2199:2: ( ( 'false' ) ) + // InternalSolverLanguage.g:2200:3: ( 'false' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); + } + // InternalSolverLanguage.g:2201:3: ( 'false' ) + // InternalSolverLanguage.g:2201:4: 'false' + { + match(input,40,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); + } + + } + + + } + break; + case 3 : + // InternalSolverLanguage.g:2205:2: ( ( 'unknown' ) ) + { + // InternalSolverLanguage.g:2205:2: ( ( 'unknown' ) ) + // InternalSolverLanguage.g:2206:3: ( 'unknown' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); + } + // InternalSolverLanguage.g:2207:3: ( 'unknown' ) + // InternalSolverLanguage.g:2207:4: 'unknown' + { + match(input,41,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); + } + + } + + + } + break; + case 4 : + // InternalSolverLanguage.g:2211:2: ( ( 'error' ) ) + { + // InternalSolverLanguage.g:2211:2: ( ( 'error' ) ) + // InternalSolverLanguage.g:2212:3: ( 'error' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3()); + } + // InternalSolverLanguage.g:2213:3: ( 'error' ) + // InternalSolverLanguage.g:2213:4: 'error' + { + match(input,42,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__LogicValue__Alternatives" + + + // $ANTLR start "rule__ObjectiveKind__Alternatives" + // InternalSolverLanguage.g:2221:1: rule__ObjectiveKind__Alternatives : ( ( ( 'minimize' ) ) | ( ( 'maximize' ) ) ); + public final void rule__ObjectiveKind__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2225:1: ( ( ( 'minimize' ) ) | ( ( 'maximize' ) ) ) + int alt26=2; + int LA26_0 = input.LA(1); + + if ( (LA26_0==43) ) { + alt26=1; + } + else if ( (LA26_0==44) ) { + alt26=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 26, 0, input); + + throw nvae; + } + switch (alt26) { + case 1 : + // InternalSolverLanguage.g:2226:2: ( ( 'minimize' ) ) + { + // InternalSolverLanguage.g:2226:2: ( ( 'minimize' ) ) + // InternalSolverLanguage.g:2227:3: ( 'minimize' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); + } + // InternalSolverLanguage.g:2228:3: ( 'minimize' ) + // InternalSolverLanguage.g:2228:4: 'minimize' + { + match(input,43,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); + } + + } + + + } + break; + case 2 : + // InternalSolverLanguage.g:2232:2: ( ( 'maximize' ) ) + { + // InternalSolverLanguage.g:2232:2: ( ( 'maximize' ) ) + // InternalSolverLanguage.g:2233:3: ( 'maximize' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); + } + // InternalSolverLanguage.g:2234:3: ( 'maximize' ) + // InternalSolverLanguage.g:2234:4: 'maximize' + { + match(input,44,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveKind__Alternatives" + + + // $ANTLR start "rule__Statement__Group__0" + // InternalSolverLanguage.g:2242:1: rule__Statement__Group__0 : rule__Statement__Group__0__Impl rule__Statement__Group__1 ; + public final void rule__Statement__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2246:1: ( rule__Statement__Group__0__Impl rule__Statement__Group__1 ) + // InternalSolverLanguage.g:2247:2: rule__Statement__Group__0__Impl rule__Statement__Group__1 + { + pushFollow(FOLLOW_4); + rule__Statement__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Statement__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Statement__Group__0" + + + // $ANTLR start "rule__Statement__Group__0__Impl" + // InternalSolverLanguage.g:2254:1: rule__Statement__Group__0__Impl : ( ( rule__Statement__Alternatives_0 ) ) ; + public final void rule__Statement__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2258:1: ( ( ( rule__Statement__Alternatives_0 ) ) ) + // InternalSolverLanguage.g:2259:1: ( ( rule__Statement__Alternatives_0 ) ) + { + // InternalSolverLanguage.g:2259:1: ( ( rule__Statement__Alternatives_0 ) ) + // InternalSolverLanguage.g:2260:2: ( rule__Statement__Alternatives_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getStatementAccess().getAlternatives_0()); + } + // InternalSolverLanguage.g:2261:2: ( rule__Statement__Alternatives_0 ) + // InternalSolverLanguage.g:2261:3: rule__Statement__Alternatives_0 + { + pushFollow(FOLLOW_2); + rule__Statement__Alternatives_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getStatementAccess().getAlternatives_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Statement__Group__0__Impl" + + + // $ANTLR start "rule__Statement__Group__1" + // InternalSolverLanguage.g:2269:1: rule__Statement__Group__1 : rule__Statement__Group__1__Impl ; + public final void rule__Statement__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2273:1: ( rule__Statement__Group__1__Impl ) + // InternalSolverLanguage.g:2274:2: rule__Statement__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__Statement__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Statement__Group__1" + + + // $ANTLR start "rule__Statement__Group__1__Impl" + // InternalSolverLanguage.g:2280:1: rule__Statement__Group__1__Impl : ( RULE_DOT ) ; + public final void rule__Statement__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2284:1: ( ( RULE_DOT ) ) + // InternalSolverLanguage.g:2285:1: ( RULE_DOT ) + { + // InternalSolverLanguage.g:2285:1: ( RULE_DOT ) + // InternalSolverLanguage.g:2286:2: RULE_DOT + { + if ( state.backtracking==0 ) { + before(grammarAccess.getStatementAccess().getDOTTerminalRuleCall_1()); + } + match(input,RULE_DOT,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getStatementAccess().getDOTTerminalRuleCall_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Statement__Group__1__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group__0" + // InternalSolverLanguage.g:2296:1: rule__AssertionOrDefinition__Group__0 : rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 ; + public final void rule__AssertionOrDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2300:1: ( rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 ) + // InternalSolverLanguage.g:2301:2: rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 + { + pushFollow(FOLLOW_5); + rule__AssertionOrDefinition__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group__0" + + + // $ANTLR start "rule__AssertionOrDefinition__Group__0__Impl" + // InternalSolverLanguage.g:2308:1: rule__AssertionOrDefinition__Group__0__Impl : ( ruleExpression ) ; + public final void rule__AssertionOrDefinition__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2312:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:2313:1: ( ruleExpression ) + { + // InternalSolverLanguage.g:2313:1: ( ruleExpression ) + // InternalSolverLanguage.g:2314:2: ruleExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); + } + pushFollow(FOLLOW_2); + ruleExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group__0__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group__1" + // InternalSolverLanguage.g:2323:1: rule__AssertionOrDefinition__Group__1 : rule__AssertionOrDefinition__Group__1__Impl ; + public final void rule__AssertionOrDefinition__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2327:1: ( rule__AssertionOrDefinition__Group__1__Impl ) + // InternalSolverLanguage.g:2328:2: rule__AssertionOrDefinition__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group__1" + + + // $ANTLR start "rule__AssertionOrDefinition__Group__1__Impl" + // InternalSolverLanguage.g:2334:1: rule__AssertionOrDefinition__Group__1__Impl : ( ( rule__AssertionOrDefinition__Alternatives_1 ) ) ; + public final void rule__AssertionOrDefinition__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2338:1: ( ( ( rule__AssertionOrDefinition__Alternatives_1 ) ) ) + // InternalSolverLanguage.g:2339:1: ( ( rule__AssertionOrDefinition__Alternatives_1 ) ) + { + // InternalSolverLanguage.g:2339:1: ( ( rule__AssertionOrDefinition__Alternatives_1 ) ) + // InternalSolverLanguage.g:2340:2: ( rule__AssertionOrDefinition__Alternatives_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); + } + // InternalSolverLanguage.g:2341:2: ( rule__AssertionOrDefinition__Alternatives_1 ) + // InternalSolverLanguage.g:2341:3: rule__AssertionOrDefinition__Alternatives_1 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Alternatives_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group__1__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__0" + // InternalSolverLanguage.g:2350:1: rule__AssertionOrDefinition__Group_1_0__0 : rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 ; + public final void rule__AssertionOrDefinition__Group_1_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2354:1: ( rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 ) + // InternalSolverLanguage.g:2355:2: rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 + { + pushFollow(FOLLOW_6); + rule__AssertionOrDefinition__Group_1_0__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_0__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__0" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__0__Impl" + // InternalSolverLanguage.g:2362:1: rule__AssertionOrDefinition__Group_1_0__0__Impl : ( () ) ; + public final void rule__AssertionOrDefinition__Group_1_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2366:1: ( ( () ) ) + // InternalSolverLanguage.g:2367:1: ( () ) + { + // InternalSolverLanguage.g:2367:1: ( () ) + // InternalSolverLanguage.g:2368:2: () + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0()); + } + // InternalSolverLanguage.g:2369:2: () + // InternalSolverLanguage.g:2369:3: + { + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0()); + } + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__0__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__1" + // InternalSolverLanguage.g:2377:1: rule__AssertionOrDefinition__Group_1_0__1 : rule__AssertionOrDefinition__Group_1_0__1__Impl ; + public final void rule__AssertionOrDefinition__Group_1_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2381:1: ( rule__AssertionOrDefinition__Group_1_0__1__Impl ) + // InternalSolverLanguage.g:2382:2: rule__AssertionOrDefinition__Group_1_0__1__Impl + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_0__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__1" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__1__Impl" + // InternalSolverLanguage.g:2388:1: rule__AssertionOrDefinition__Group_1_0__1__Impl : ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? ) ; + public final void rule__AssertionOrDefinition__Group_1_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2392:1: ( ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? ) ) + // InternalSolverLanguage.g:2393:1: ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? ) + { + // InternalSolverLanguage.g:2393:1: ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? ) + // InternalSolverLanguage.g:2394:2: ( rule__AssertionOrDefinition__Group_1_0_1__0 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1()); + } + // InternalSolverLanguage.g:2395:2: ( rule__AssertionOrDefinition__Group_1_0_1__0 )? + int alt27=2; + int LA27_0 = input.LA(1); + + if ( (LA27_0==45) ) { + alt27=1; + } + switch (alt27) { + case 1 : + // InternalSolverLanguage.g:2395:3: rule__AssertionOrDefinition__Group_1_0_1__0 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_0_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__1__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0_1__0" + // InternalSolverLanguage.g:2404:1: rule__AssertionOrDefinition__Group_1_0_1__0 : rule__AssertionOrDefinition__Group_1_0_1__0__Impl rule__AssertionOrDefinition__Group_1_0_1__1 ; + public final void rule__AssertionOrDefinition__Group_1_0_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2408:1: ( rule__AssertionOrDefinition__Group_1_0_1__0__Impl rule__AssertionOrDefinition__Group_1_0_1__1 ) + // InternalSolverLanguage.g:2409:2: rule__AssertionOrDefinition__Group_1_0_1__0__Impl rule__AssertionOrDefinition__Group_1_0_1__1 + { + pushFollow(FOLLOW_7); + rule__AssertionOrDefinition__Group_1_0_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_0_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0_1__0" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0_1__0__Impl" + // InternalSolverLanguage.g:2416:1: rule__AssertionOrDefinition__Group_1_0_1__0__Impl : ( ':' ) ; + public final void rule__AssertionOrDefinition__Group_1_0_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2420:1: ( ( ':' ) ) + // InternalSolverLanguage.g:2421:1: ( ':' ) + { + // InternalSolverLanguage.g:2421:1: ( ':' ) + // InternalSolverLanguage.g:2422:2: ':' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); + } + match(input,45,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0_1__0__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0_1__1" + // InternalSolverLanguage.g:2431:1: rule__AssertionOrDefinition__Group_1_0_1__1 : rule__AssertionOrDefinition__Group_1_0_1__1__Impl ; + public final void rule__AssertionOrDefinition__Group_1_0_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2435:1: ( rule__AssertionOrDefinition__Group_1_0_1__1__Impl ) + // InternalSolverLanguage.g:2436:2: rule__AssertionOrDefinition__Group_1_0_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_0_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0_1__1" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0_1__1__Impl" + // InternalSolverLanguage.g:2442:1: rule__AssertionOrDefinition__Group_1_0_1__1__Impl : ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) ) ; + public final void rule__AssertionOrDefinition__Group_1_0_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2446:1: ( ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) ) ) + // InternalSolverLanguage.g:2447:1: ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) ) + { + // InternalSolverLanguage.g:2447:1: ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) ) + // InternalSolverLanguage.g:2448:2: ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1()); + } + // InternalSolverLanguage.g:2449:2: ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) + // InternalSolverLanguage.g:2449:3: rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__RangeAssignment_1_0_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0_1__1__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__0" + // InternalSolverLanguage.g:2458:1: rule__AssertionOrDefinition__Group_1_1__0 : rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 ; + public final void rule__AssertionOrDefinition__Group_1_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2462:1: ( rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 ) + // InternalSolverLanguage.g:2463:2: rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 + { + pushFollow(FOLLOW_8); + rule__AssertionOrDefinition__Group_1_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__0" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__0__Impl" + // InternalSolverLanguage.g:2470:1: rule__AssertionOrDefinition__Group_1_1__0__Impl : ( () ) ; + public final void rule__AssertionOrDefinition__Group_1_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2474:1: ( ( () ) ) + // InternalSolverLanguage.g:2475:1: ( () ) + { + // InternalSolverLanguage.g:2475:1: ( () ) + // InternalSolverLanguage.g:2476:2: () + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); + } + // InternalSolverLanguage.g:2477:2: () + // InternalSolverLanguage.g:2477:3: + { + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); + } + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__0__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__1" + // InternalSolverLanguage.g:2485:1: rule__AssertionOrDefinition__Group_1_1__1 : rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 ; + public final void rule__AssertionOrDefinition__Group_1_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2489:1: ( rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 ) + // InternalSolverLanguage.g:2490:2: rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 + { + pushFollow(FOLLOW_7); + rule__AssertionOrDefinition__Group_1_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_1__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__1" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__1__Impl" + // InternalSolverLanguage.g:2497:1: rule__AssertionOrDefinition__Group_1_1__1__Impl : ( ':-' ) ; + public final void rule__AssertionOrDefinition__Group_1_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2501:1: ( ( ':-' ) ) + // InternalSolverLanguage.g:2502:1: ( ':-' ) + { + // InternalSolverLanguage.g:2502:1: ( ':-' ) + // InternalSolverLanguage.g:2503:2: ':-' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); + } + match(input,46,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__1__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__2" + // InternalSolverLanguage.g:2512:1: rule__AssertionOrDefinition__Group_1_1__2 : rule__AssertionOrDefinition__Group_1_1__2__Impl ; + public final void rule__AssertionOrDefinition__Group_1_1__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2516:1: ( rule__AssertionOrDefinition__Group_1_1__2__Impl ) + // InternalSolverLanguage.g:2517:2: rule__AssertionOrDefinition__Group_1_1__2__Impl + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_1__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__2" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__2__Impl" + // InternalSolverLanguage.g:2523:1: rule__AssertionOrDefinition__Group_1_1__2__Impl : ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) ; + public final void rule__AssertionOrDefinition__Group_1_1__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2527:1: ( ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) ) + // InternalSolverLanguage.g:2528:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) + { + // InternalSolverLanguage.g:2528:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) + // InternalSolverLanguage.g:2529:2: ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); + } + // InternalSolverLanguage.g:2530:2: ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) + // InternalSolverLanguage.g:2530:3: rule__AssertionOrDefinition__BodyAssignment_1_1_2 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__BodyAssignment_1_1_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__2__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__0" + // InternalSolverLanguage.g:2539:1: rule__AssertionOrDefinition__Group_1_2__0 : rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 ; + public final void rule__AssertionOrDefinition__Group_1_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2543:1: ( rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 ) + // InternalSolverLanguage.g:2544:2: rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 + { + pushFollow(FOLLOW_5); + rule__AssertionOrDefinition__Group_1_2__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_2__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__0" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__0__Impl" + // InternalSolverLanguage.g:2551:1: rule__AssertionOrDefinition__Group_1_2__0__Impl : ( () ) ; + public final void rule__AssertionOrDefinition__Group_1_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2555:1: ( ( () ) ) + // InternalSolverLanguage.g:2556:1: ( () ) + { + // InternalSolverLanguage.g:2556:1: ( () ) + // InternalSolverLanguage.g:2557:2: () + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0()); + } + // InternalSolverLanguage.g:2558:2: () + // InternalSolverLanguage.g:2558:3: + { + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0()); + } + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__0__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__1" + // InternalSolverLanguage.g:2566:1: rule__AssertionOrDefinition__Group_1_2__1 : rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 ; + public final void rule__AssertionOrDefinition__Group_1_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2570:1: ( rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 ) + // InternalSolverLanguage.g:2571:2: rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 + { + pushFollow(FOLLOW_7); + rule__AssertionOrDefinition__Group_1_2__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_2__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__1" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__1__Impl" + // InternalSolverLanguage.g:2578:1: rule__AssertionOrDefinition__Group_1_2__1__Impl : ( '=' ) ; + public final void rule__AssertionOrDefinition__Group_1_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2582:1: ( ( '=' ) ) + // InternalSolverLanguage.g:2583:1: ( '=' ) + { + // InternalSolverLanguage.g:2583:1: ( '=' ) + // InternalSolverLanguage.g:2584:2: '=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); + } + match(input,47,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__1__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__2" + // InternalSolverLanguage.g:2593:1: rule__AssertionOrDefinition__Group_1_2__2 : rule__AssertionOrDefinition__Group_1_2__2__Impl ; + public final void rule__AssertionOrDefinition__Group_1_2__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2597:1: ( rule__AssertionOrDefinition__Group_1_2__2__Impl ) + // InternalSolverLanguage.g:2598:2: rule__AssertionOrDefinition__Group_1_2__2__Impl + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_2__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__2" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__2__Impl" + // InternalSolverLanguage.g:2604:1: rule__AssertionOrDefinition__Group_1_2__2__Impl : ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) ; + public final void rule__AssertionOrDefinition__Group_1_2__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2608:1: ( ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) ) + // InternalSolverLanguage.g:2609:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) + { + // InternalSolverLanguage.g:2609:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) + // InternalSolverLanguage.g:2610:2: ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); + } + // InternalSolverLanguage.g:2611:2: ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) + // InternalSolverLanguage.g:2611:3: rule__AssertionOrDefinition__BodyAssignment_1_2_2 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__BodyAssignment_1_2_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__2__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group__0" + // InternalSolverLanguage.g:2620:1: rule__PredicateDefinition__Group__0 : rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ; + public final void rule__PredicateDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2624:1: ( rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ) + // InternalSolverLanguage.g:2625:2: rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 + { + pushFollow(FOLLOW_9); + rule__PredicateDefinition__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__0" + + + // $ANTLR start "rule__PredicateDefinition__Group__0__Impl" + // InternalSolverLanguage.g:2632:1: rule__PredicateDefinition__Group__0__Impl : ( ( rule__PredicateDefinition__Alternatives_0 ) ) ; + public final void rule__PredicateDefinition__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2636:1: ( ( ( rule__PredicateDefinition__Alternatives_0 ) ) ) + // InternalSolverLanguage.g:2637:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) + { + // InternalSolverLanguage.g:2637:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) + // InternalSolverLanguage.g:2638:2: ( rule__PredicateDefinition__Alternatives_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); + } + // InternalSolverLanguage.g:2639:2: ( rule__PredicateDefinition__Alternatives_0 ) + // InternalSolverLanguage.g:2639:3: rule__PredicateDefinition__Alternatives_0 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Alternatives_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__0__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group__1" + // InternalSolverLanguage.g:2647:1: rule__PredicateDefinition__Group__1 : rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ; + public final void rule__PredicateDefinition__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2651:1: ( rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ) + // InternalSolverLanguage.g:2652:2: rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 + { + pushFollow(FOLLOW_8); + rule__PredicateDefinition__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__1" + + + // $ANTLR start "rule__PredicateDefinition__Group__1__Impl" + // InternalSolverLanguage.g:2659:1: rule__PredicateDefinition__Group__1__Impl : ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) ; + public final void rule__PredicateDefinition__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2663:1: ( ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) ) + // InternalSolverLanguage.g:2664:1: ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) + { + // InternalSolverLanguage.g:2664:1: ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) + // InternalSolverLanguage.g:2665:2: ( rule__PredicateDefinition__HeadAssignment_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); + } + // InternalSolverLanguage.g:2666:2: ( rule__PredicateDefinition__HeadAssignment_1 ) + // InternalSolverLanguage.g:2666:3: rule__PredicateDefinition__HeadAssignment_1 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__HeadAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__1__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group__2" + // InternalSolverLanguage.g:2674:1: rule__PredicateDefinition__Group__2 : rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ; + public final void rule__PredicateDefinition__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2678:1: ( rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ) + // InternalSolverLanguage.g:2679:2: rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 + { + pushFollow(FOLLOW_7); + rule__PredicateDefinition__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__2" + + + // $ANTLR start "rule__PredicateDefinition__Group__2__Impl" + // InternalSolverLanguage.g:2686:1: rule__PredicateDefinition__Group__2__Impl : ( ':-' ) ; + public final void rule__PredicateDefinition__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2690:1: ( ( ':-' ) ) + // InternalSolverLanguage.g:2691:1: ( ':-' ) + { + // InternalSolverLanguage.g:2691:1: ( ':-' ) + // InternalSolverLanguage.g:2692:2: ':-' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); + } + match(input,46,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__2__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group__3" + // InternalSolverLanguage.g:2701:1: rule__PredicateDefinition__Group__3 : rule__PredicateDefinition__Group__3__Impl ; + public final void rule__PredicateDefinition__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2705:1: ( rule__PredicateDefinition__Group__3__Impl ) + // InternalSolverLanguage.g:2706:2: rule__PredicateDefinition__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group__3__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__3" + + + // $ANTLR start "rule__PredicateDefinition__Group__3__Impl" + // InternalSolverLanguage.g:2712:1: rule__PredicateDefinition__Group__3__Impl : ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) ; + public final void rule__PredicateDefinition__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2716:1: ( ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) ) + // InternalSolverLanguage.g:2717:1: ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) + { + // InternalSolverLanguage.g:2717:1: ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) + // InternalSolverLanguage.g:2718:2: ( rule__PredicateDefinition__BodyAssignment_3 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); + } + // InternalSolverLanguage.g:2719:2: ( rule__PredicateDefinition__BodyAssignment_3 ) + // InternalSolverLanguage.g:2719:3: rule__PredicateDefinition__BodyAssignment_3 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__BodyAssignment_3(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__3__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_0__0" + // InternalSolverLanguage.g:2728:1: rule__PredicateDefinition__Group_0_0__0 : rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ; + public final void rule__PredicateDefinition__Group_0_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2732:1: ( rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ) + // InternalSolverLanguage.g:2733:2: rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 + { + pushFollow(FOLLOW_10); + rule__PredicateDefinition__Group_0_0__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group_0_0__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_0__0" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_0__0__Impl" + // InternalSolverLanguage.g:2740:1: rule__PredicateDefinition__Group_0_0__0__Impl : ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) ; + public final void rule__PredicateDefinition__Group_0_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2744:1: ( ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) ) + // InternalSolverLanguage.g:2745:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) + { + // InternalSolverLanguage.g:2745:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) + // InternalSolverLanguage.g:2746:2: ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); + } + // InternalSolverLanguage.g:2747:2: ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) + // InternalSolverLanguage.g:2747:3: rule__PredicateDefinition__FunctionalAssignment_0_0_0 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__FunctionalAssignment_0_0_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_0__0__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_0__1" + // InternalSolverLanguage.g:2755:1: rule__PredicateDefinition__Group_0_0__1 : rule__PredicateDefinition__Group_0_0__1__Impl ; + public final void rule__PredicateDefinition__Group_0_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2759:1: ( rule__PredicateDefinition__Group_0_0__1__Impl ) + // InternalSolverLanguage.g:2760:2: rule__PredicateDefinition__Group_0_0__1__Impl + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group_0_0__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_0__1" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_0__1__Impl" + // InternalSolverLanguage.g:2766:1: rule__PredicateDefinition__Group_0_0__1__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) ; + public final void rule__PredicateDefinition__Group_0_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2770:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) ) + // InternalSolverLanguage.g:2771:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) + { + // InternalSolverLanguage.g:2771:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) + // InternalSolverLanguage.g:2772:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); + } + // InternalSolverLanguage.g:2773:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? + int alt28=2; + int LA28_0 = input.LA(1); + + if ( (LA28_0==42) ) { + alt28=1; + } + switch (alt28) { + case 1 : + // InternalSolverLanguage.g:2773:3: rule__PredicateDefinition__ErrorAssignment_0_0_1 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__ErrorAssignment_0_0_1(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_0__1__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_1__0" + // InternalSolverLanguage.g:2782:1: rule__PredicateDefinition__Group_0_1__0 : rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 ; + public final void rule__PredicateDefinition__Group_0_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2786:1: ( rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 ) + // InternalSolverLanguage.g:2787:2: rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 + { + pushFollow(FOLLOW_11); + rule__PredicateDefinition__Group_0_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group_0_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_1__0" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_1__0__Impl" + // InternalSolverLanguage.g:2794:1: rule__PredicateDefinition__Group_0_1__0__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) ; + public final void rule__PredicateDefinition__Group_0_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2798:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) ) + // InternalSolverLanguage.g:2799:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) + { + // InternalSolverLanguage.g:2799:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) + // InternalSolverLanguage.g:2800:2: ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); + } + // InternalSolverLanguage.g:2801:2: ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) + // InternalSolverLanguage.g:2801:3: rule__PredicateDefinition__ErrorAssignment_0_1_0 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__ErrorAssignment_0_1_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_1__0__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_1__1" + // InternalSolverLanguage.g:2809:1: rule__PredicateDefinition__Group_0_1__1 : rule__PredicateDefinition__Group_0_1__1__Impl ; + public final void rule__PredicateDefinition__Group_0_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2813:1: ( rule__PredicateDefinition__Group_0_1__1__Impl ) + // InternalSolverLanguage.g:2814:2: rule__PredicateDefinition__Group_0_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group_0_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_1__1" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_1__1__Impl" + // InternalSolverLanguage.g:2820:1: rule__PredicateDefinition__Group_0_1__1__Impl : ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) ; + public final void rule__PredicateDefinition__Group_0_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2824:1: ( ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) ) + // InternalSolverLanguage.g:2825:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) + { + // InternalSolverLanguage.g:2825:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) + // InternalSolverLanguage.g:2826:2: ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); + } + // InternalSolverLanguage.g:2827:2: ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? + int alt29=2; + int LA29_0 = input.LA(1); + + if ( (LA29_0==72) ) { + alt29=1; + } + switch (alt29) { + case 1 : + // InternalSolverLanguage.g:2827:3: rule__PredicateDefinition__FunctionalAssignment_0_1_1 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__FunctionalAssignment_0_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_1__1__Impl" + + + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__0" + // InternalSolverLanguage.g:2836:1: rule__UnnamedErrorPrediateDefinition__Group__0 : rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1 ; + public final void rule__UnnamedErrorPrediateDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2840:1: ( rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1 ) + // InternalSolverLanguage.g:2841:2: rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1 + { + pushFollow(FOLLOW_12); + rule__UnnamedErrorPrediateDefinition__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__UnnamedErrorPrediateDefinition__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__0" + + + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__0__Impl" + // InternalSolverLanguage.g:2848:1: rule__UnnamedErrorPrediateDefinition__Group__0__Impl : ( 'error' ) ; + public final void rule__UnnamedErrorPrediateDefinition__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2852:1: ( ( 'error' ) ) + // InternalSolverLanguage.g:2853:1: ( 'error' ) + { + // InternalSolverLanguage.g:2853:1: ( 'error' ) + // InternalSolverLanguage.g:2854:2: 'error' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); + } + match(input,42,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__0__Impl" + + + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__1" + // InternalSolverLanguage.g:2863:1: rule__UnnamedErrorPrediateDefinition__Group__1 : rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2 ; + public final void rule__UnnamedErrorPrediateDefinition__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2867:1: ( rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2 ) + // InternalSolverLanguage.g:2868:2: rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2 + { + pushFollow(FOLLOW_8); + rule__UnnamedErrorPrediateDefinition__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__UnnamedErrorPrediateDefinition__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__1" + + + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__1__Impl" + // InternalSolverLanguage.g:2875:1: rule__UnnamedErrorPrediateDefinition__Group__1__Impl : ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) ; + public final void rule__UnnamedErrorPrediateDefinition__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2879:1: ( ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) ) + // InternalSolverLanguage.g:2880:1: ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) + { + // InternalSolverLanguage.g:2880:1: ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) + // InternalSolverLanguage.g:2881:2: ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1()); + } + // InternalSolverLanguage.g:2882:2: ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) + // InternalSolverLanguage.g:2882:3: rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 + { + pushFollow(FOLLOW_2); + rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__1__Impl" + + + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__2" + // InternalSolverLanguage.g:2890:1: rule__UnnamedErrorPrediateDefinition__Group__2 : rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3 ; + public final void rule__UnnamedErrorPrediateDefinition__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2894:1: ( rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3 ) + // InternalSolverLanguage.g:2895:2: rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3 + { + pushFollow(FOLLOW_7); + rule__UnnamedErrorPrediateDefinition__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__UnnamedErrorPrediateDefinition__Group__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__2" + + + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__2__Impl" + // InternalSolverLanguage.g:2902:1: rule__UnnamedErrorPrediateDefinition__Group__2__Impl : ( ':-' ) ; + public final void rule__UnnamedErrorPrediateDefinition__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2906:1: ( ( ':-' ) ) + // InternalSolverLanguage.g:2907:1: ( ':-' ) + { + // InternalSolverLanguage.g:2907:1: ( ':-' ) + // InternalSolverLanguage.g:2908:2: ':-' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); + } + match(input,46,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__2__Impl" + + + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__3" + // InternalSolverLanguage.g:2917:1: rule__UnnamedErrorPrediateDefinition__Group__3 : rule__UnnamedErrorPrediateDefinition__Group__3__Impl ; + public final void rule__UnnamedErrorPrediateDefinition__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2921:1: ( rule__UnnamedErrorPrediateDefinition__Group__3__Impl ) + // InternalSolverLanguage.g:2922:2: rule__UnnamedErrorPrediateDefinition__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__UnnamedErrorPrediateDefinition__Group__3__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__3" + + + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__3__Impl" + // InternalSolverLanguage.g:2928:1: rule__UnnamedErrorPrediateDefinition__Group__3__Impl : ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) ; + public final void rule__UnnamedErrorPrediateDefinition__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2932:1: ( ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) ) + // InternalSolverLanguage.g:2933:1: ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) + { + // InternalSolverLanguage.g:2933:1: ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) + // InternalSolverLanguage.g:2934:2: ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3()); + } + // InternalSolverLanguage.g:2935:2: ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) + // InternalSolverLanguage.g:2935:3: rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 + { + pushFollow(FOLLOW_2); + rule__UnnamedErrorPrediateDefinition__BodyAssignment_3(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__3__Impl" + + + // $ANTLR start "rule__DefaultDefinition__Group__0" + // InternalSolverLanguage.g:2944:1: rule__DefaultDefinition__Group__0 : rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1 ; + public final void rule__DefaultDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2948:1: ( rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1 ) + // InternalSolverLanguage.g:2949:2: rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1 + { + pushFollow(FOLLOW_9); + rule__DefaultDefinition__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__DefaultDefinition__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultDefinition__Group__0" + + + // $ANTLR start "rule__DefaultDefinition__Group__0__Impl" + // InternalSolverLanguage.g:2956:1: rule__DefaultDefinition__Group__0__Impl : ( 'default' ) ; + public final void rule__DefaultDefinition__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2960:1: ( ( 'default' ) ) + // InternalSolverLanguage.g:2961:1: ( 'default' ) + { + // InternalSolverLanguage.g:2961:1: ( 'default' ) + // InternalSolverLanguage.g:2962:2: 'default' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); + } + match(input,48,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultDefinition__Group__0__Impl" + + + // $ANTLR start "rule__DefaultDefinition__Group__1" + // InternalSolverLanguage.g:2971:1: rule__DefaultDefinition__Group__1 : rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2 ; + public final void rule__DefaultDefinition__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2975:1: ( rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2 ) + // InternalSolverLanguage.g:2976:2: rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2 + { + pushFollow(FOLLOW_6); + rule__DefaultDefinition__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__DefaultDefinition__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultDefinition__Group__1" + + + // $ANTLR start "rule__DefaultDefinition__Group__1__Impl" + // InternalSolverLanguage.g:2983:1: rule__DefaultDefinition__Group__1__Impl : ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) ; + public final void rule__DefaultDefinition__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:2987:1: ( ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) ) + // InternalSolverLanguage.g:2988:1: ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) + { + // InternalSolverLanguage.g:2988:1: ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) + // InternalSolverLanguage.g:2989:2: ( rule__DefaultDefinition__HeadAssignment_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1()); + } + // InternalSolverLanguage.g:2990:2: ( rule__DefaultDefinition__HeadAssignment_1 ) + // InternalSolverLanguage.g:2990:3: rule__DefaultDefinition__HeadAssignment_1 + { + pushFollow(FOLLOW_2); + rule__DefaultDefinition__HeadAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultDefinition__Group__1__Impl" + + + // $ANTLR start "rule__DefaultDefinition__Group__2" + // InternalSolverLanguage.g:2998:1: rule__DefaultDefinition__Group__2 : rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3 ; + public final void rule__DefaultDefinition__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3002:1: ( rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3 ) + // InternalSolverLanguage.g:3003:2: rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3 + { + pushFollow(FOLLOW_7); + rule__DefaultDefinition__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__DefaultDefinition__Group__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultDefinition__Group__2" + + + // $ANTLR start "rule__DefaultDefinition__Group__2__Impl" + // InternalSolverLanguage.g:3010:1: rule__DefaultDefinition__Group__2__Impl : ( ':' ) ; + public final void rule__DefaultDefinition__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3014:1: ( ( ':' ) ) + // InternalSolverLanguage.g:3015:1: ( ':' ) + { + // InternalSolverLanguage.g:3015:1: ( ':' ) + // InternalSolverLanguage.g:3016:2: ':' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); + } + match(input,45,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultDefinition__Group__2__Impl" + + + // $ANTLR start "rule__DefaultDefinition__Group__3" + // InternalSolverLanguage.g:3025:1: rule__DefaultDefinition__Group__3 : rule__DefaultDefinition__Group__3__Impl ; + public final void rule__DefaultDefinition__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3029:1: ( rule__DefaultDefinition__Group__3__Impl ) + // InternalSolverLanguage.g:3030:2: rule__DefaultDefinition__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__DefaultDefinition__Group__3__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultDefinition__Group__3" + + + // $ANTLR start "rule__DefaultDefinition__Group__3__Impl" + // InternalSolverLanguage.g:3036:1: rule__DefaultDefinition__Group__3__Impl : ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) ; + public final void rule__DefaultDefinition__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3040:1: ( ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) ) + // InternalSolverLanguage.g:3041:1: ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) + { + // InternalSolverLanguage.g:3041:1: ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) + // InternalSolverLanguage.g:3042:2: ( rule__DefaultDefinition__RangeAssignment_3 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3()); + } + // InternalSolverLanguage.g:3043:2: ( rule__DefaultDefinition__RangeAssignment_3 ) + // InternalSolverLanguage.g:3043:3: rule__DefaultDefinition__RangeAssignment_3 + { + pushFollow(FOLLOW_2); + rule__DefaultDefinition__RangeAssignment_3(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultDefinition__Group__3__Impl" + + + // $ANTLR start "rule__ExternPredicateDefinition__Group__0" + // InternalSolverLanguage.g:3052:1: rule__ExternPredicateDefinition__Group__0 : rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1 ; + public final void rule__ExternPredicateDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3056:1: ( rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1 ) + // InternalSolverLanguage.g:3057:2: rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1 + { + pushFollow(FOLLOW_9); + rule__ExternPredicateDefinition__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ExternPredicateDefinition__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExternPredicateDefinition__Group__0" + + + // $ANTLR start "rule__ExternPredicateDefinition__Group__0__Impl" + // InternalSolverLanguage.g:3064:1: rule__ExternPredicateDefinition__Group__0__Impl : ( 'extern' ) ; + public final void rule__ExternPredicateDefinition__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3068:1: ( ( 'extern' ) ) + // InternalSolverLanguage.g:3069:1: ( 'extern' ) + { + // InternalSolverLanguage.g:3069:1: ( 'extern' ) + // InternalSolverLanguage.g:3070:2: 'extern' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); + } + match(input,49,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExternPredicateDefinition__Group__0__Impl" + + + // $ANTLR start "rule__ExternPredicateDefinition__Group__1" + // InternalSolverLanguage.g:3079:1: rule__ExternPredicateDefinition__Group__1 : rule__ExternPredicateDefinition__Group__1__Impl rule__ExternPredicateDefinition__Group__2 ; + public final void rule__ExternPredicateDefinition__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3083:1: ( rule__ExternPredicateDefinition__Group__1__Impl rule__ExternPredicateDefinition__Group__2 ) + // InternalSolverLanguage.g:3084:2: rule__ExternPredicateDefinition__Group__1__Impl rule__ExternPredicateDefinition__Group__2 + { + pushFollow(FOLLOW_13); + rule__ExternPredicateDefinition__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ExternPredicateDefinition__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExternPredicateDefinition__Group__1" + + + // $ANTLR start "rule__ExternPredicateDefinition__Group__1__Impl" + // InternalSolverLanguage.g:3091:1: rule__ExternPredicateDefinition__Group__1__Impl : ( ( rule__ExternPredicateDefinition__HeadAssignment_1 ) ) ; + public final void rule__ExternPredicateDefinition__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3095:1: ( ( ( rule__ExternPredicateDefinition__HeadAssignment_1 ) ) ) + // InternalSolverLanguage.g:3096:1: ( ( rule__ExternPredicateDefinition__HeadAssignment_1 ) ) + { + // InternalSolverLanguage.g:3096:1: ( ( rule__ExternPredicateDefinition__HeadAssignment_1 ) ) + // InternalSolverLanguage.g:3097:2: ( rule__ExternPredicateDefinition__HeadAssignment_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1()); + } + // InternalSolverLanguage.g:3098:2: ( rule__ExternPredicateDefinition__HeadAssignment_1 ) + // InternalSolverLanguage.g:3098:3: rule__ExternPredicateDefinition__HeadAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ExternPredicateDefinition__HeadAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExternPredicateDefinition__Group__1__Impl" + + + // $ANTLR start "rule__ExternPredicateDefinition__Group__2" + // InternalSolverLanguage.g:3106:1: rule__ExternPredicateDefinition__Group__2 : rule__ExternPredicateDefinition__Group__2__Impl ; + public final void rule__ExternPredicateDefinition__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3110:1: ( rule__ExternPredicateDefinition__Group__2__Impl ) + // InternalSolverLanguage.g:3111:2: rule__ExternPredicateDefinition__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__ExternPredicateDefinition__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExternPredicateDefinition__Group__2" + + + // $ANTLR start "rule__ExternPredicateDefinition__Group__2__Impl" + // InternalSolverLanguage.g:3117:1: rule__ExternPredicateDefinition__Group__2__Impl : ( '.' ) ; + public final void rule__ExternPredicateDefinition__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3121:1: ( ( '.' ) ) + // InternalSolverLanguage.g:3122:1: ( '.' ) + { + // InternalSolverLanguage.g:3122:1: ( '.' ) + // InternalSolverLanguage.g:3123:2: '.' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExternPredicateDefinitionAccess().getFullStopKeyword_2()); + } + match(input,50,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExternPredicateDefinitionAccess().getFullStopKeyword_2()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExternPredicateDefinition__Group__2__Impl" + + + // $ANTLR start "rule__MetricDefinition__Group__0" + // InternalSolverLanguage.g:3133:1: rule__MetricDefinition__Group__0 : rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1 ; + public final void rule__MetricDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3137:1: ( rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1 ) + // InternalSolverLanguage.g:3138:2: rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1 + { + pushFollow(FOLLOW_7); + rule__MetricDefinition__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__MetricDefinition__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetricDefinition__Group__0" + + + // $ANTLR start "rule__MetricDefinition__Group__0__Impl" + // InternalSolverLanguage.g:3145:1: rule__MetricDefinition__Group__0__Impl : ( ( rule__MetricDefinition__TypeAssignment_0 ) ) ; + public final void rule__MetricDefinition__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3149:1: ( ( ( rule__MetricDefinition__TypeAssignment_0 ) ) ) + // InternalSolverLanguage.g:3150:1: ( ( rule__MetricDefinition__TypeAssignment_0 ) ) + { + // InternalSolverLanguage.g:3150:1: ( ( rule__MetricDefinition__TypeAssignment_0 ) ) + // InternalSolverLanguage.g:3151:2: ( rule__MetricDefinition__TypeAssignment_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); + } + // InternalSolverLanguage.g:3152:2: ( rule__MetricDefinition__TypeAssignment_0 ) + // InternalSolverLanguage.g:3152:3: rule__MetricDefinition__TypeAssignment_0 + { + pushFollow(FOLLOW_2); + rule__MetricDefinition__TypeAssignment_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetricDefinition__Group__0__Impl" + + + // $ANTLR start "rule__MetricDefinition__Group__1" + // InternalSolverLanguage.g:3160:1: rule__MetricDefinition__Group__1 : rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2 ; + public final void rule__MetricDefinition__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3164:1: ( rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2 ) + // InternalSolverLanguage.g:3165:2: rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2 + { + pushFollow(FOLLOW_14); + rule__MetricDefinition__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__MetricDefinition__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetricDefinition__Group__1" + + + // $ANTLR start "rule__MetricDefinition__Group__1__Impl" + // InternalSolverLanguage.g:3172:1: rule__MetricDefinition__Group__1__Impl : ( ( rule__MetricDefinition__HeadAssignment_1 ) ) ; + public final void rule__MetricDefinition__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3176:1: ( ( ( rule__MetricDefinition__HeadAssignment_1 ) ) ) + // InternalSolverLanguage.g:3177:1: ( ( rule__MetricDefinition__HeadAssignment_1 ) ) + { + // InternalSolverLanguage.g:3177:1: ( ( rule__MetricDefinition__HeadAssignment_1 ) ) + // InternalSolverLanguage.g:3178:2: ( rule__MetricDefinition__HeadAssignment_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); + } + // InternalSolverLanguage.g:3179:2: ( rule__MetricDefinition__HeadAssignment_1 ) + // InternalSolverLanguage.g:3179:3: rule__MetricDefinition__HeadAssignment_1 + { + pushFollow(FOLLOW_2); + rule__MetricDefinition__HeadAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetricDefinition__Group__1__Impl" + + + // $ANTLR start "rule__MetricDefinition__Group__2" + // InternalSolverLanguage.g:3187:1: rule__MetricDefinition__Group__2 : rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3 ; + public final void rule__MetricDefinition__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3191:1: ( rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3 ) + // InternalSolverLanguage.g:3192:2: rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3 + { + pushFollow(FOLLOW_7); + rule__MetricDefinition__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__MetricDefinition__Group__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetricDefinition__Group__2" + + + // $ANTLR start "rule__MetricDefinition__Group__2__Impl" + // InternalSolverLanguage.g:3199:1: rule__MetricDefinition__Group__2__Impl : ( '=' ) ; + public final void rule__MetricDefinition__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3203:1: ( ( '=' ) ) + // InternalSolverLanguage.g:3204:1: ( '=' ) + { + // InternalSolverLanguage.g:3204:1: ( '=' ) + // InternalSolverLanguage.g:3205:2: '=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); + } + match(input,47,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetricDefinition__Group__2__Impl" + + + // $ANTLR start "rule__MetricDefinition__Group__3" + // InternalSolverLanguage.g:3214:1: rule__MetricDefinition__Group__3 : rule__MetricDefinition__Group__3__Impl ; + public final void rule__MetricDefinition__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3218:1: ( rule__MetricDefinition__Group__3__Impl ) + // InternalSolverLanguage.g:3219:2: rule__MetricDefinition__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__MetricDefinition__Group__3__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetricDefinition__Group__3" + + + // $ANTLR start "rule__MetricDefinition__Group__3__Impl" + // InternalSolverLanguage.g:3225:1: rule__MetricDefinition__Group__3__Impl : ( ( rule__MetricDefinition__BodyAssignment_3 ) ) ; + public final void rule__MetricDefinition__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3229:1: ( ( ( rule__MetricDefinition__BodyAssignment_3 ) ) ) + // InternalSolverLanguage.g:3230:1: ( ( rule__MetricDefinition__BodyAssignment_3 ) ) + { + // InternalSolverLanguage.g:3230:1: ( ( rule__MetricDefinition__BodyAssignment_3 ) ) + // InternalSolverLanguage.g:3231:2: ( rule__MetricDefinition__BodyAssignment_3 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); + } + // InternalSolverLanguage.g:3232:2: ( rule__MetricDefinition__BodyAssignment_3 ) + // InternalSolverLanguage.g:3232:3: rule__MetricDefinition__BodyAssignment_3 + { + pushFollow(FOLLOW_2); + rule__MetricDefinition__BodyAssignment_3(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetricDefinition__Group__3__Impl" + + + // $ANTLR start "rule__ExternMetricDefinition__Group__0" + // InternalSolverLanguage.g:3241:1: rule__ExternMetricDefinition__Group__0 : rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1 ; + public final void rule__ExternMetricDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3245:1: ( rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1 ) + // InternalSolverLanguage.g:3246:2: rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1 + { + pushFollow(FOLLOW_15); + rule__ExternMetricDefinition__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ExternMetricDefinition__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExternMetricDefinition__Group__0" + + + // $ANTLR start "rule__ExternMetricDefinition__Group__0__Impl" + // InternalSolverLanguage.g:3253:1: rule__ExternMetricDefinition__Group__0__Impl : ( 'extern' ) ; + public final void rule__ExternMetricDefinition__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3257:1: ( ( 'extern' ) ) + // InternalSolverLanguage.g:3258:1: ( 'extern' ) + { + // InternalSolverLanguage.g:3258:1: ( 'extern' ) + // InternalSolverLanguage.g:3259:2: 'extern' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); + } + match(input,49,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExternMetricDefinition__Group__0__Impl" + + + // $ANTLR start "rule__ExternMetricDefinition__Group__1" + // InternalSolverLanguage.g:3268:1: rule__ExternMetricDefinition__Group__1 : rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2 ; + public final void rule__ExternMetricDefinition__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3272:1: ( rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2 ) + // InternalSolverLanguage.g:3273:2: rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2 + { + pushFollow(FOLLOW_9); + rule__ExternMetricDefinition__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ExternMetricDefinition__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExternMetricDefinition__Group__1" + + + // $ANTLR start "rule__ExternMetricDefinition__Group__1__Impl" + // InternalSolverLanguage.g:3280:1: rule__ExternMetricDefinition__Group__1__Impl : ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) ; + public final void rule__ExternMetricDefinition__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3284:1: ( ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) ) + // InternalSolverLanguage.g:3285:1: ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) + { + // InternalSolverLanguage.g:3285:1: ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) + // InternalSolverLanguage.g:3286:2: ( rule__ExternMetricDefinition__TypeAssignment_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1()); + } + // InternalSolverLanguage.g:3287:2: ( rule__ExternMetricDefinition__TypeAssignment_1 ) + // InternalSolverLanguage.g:3287:3: rule__ExternMetricDefinition__TypeAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ExternMetricDefinition__TypeAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExternMetricDefinition__Group__1__Impl" + + + // $ANTLR start "rule__ExternMetricDefinition__Group__2" + // InternalSolverLanguage.g:3295:1: rule__ExternMetricDefinition__Group__2 : rule__ExternMetricDefinition__Group__2__Impl ; + public final void rule__ExternMetricDefinition__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3299:1: ( rule__ExternMetricDefinition__Group__2__Impl ) + // InternalSolverLanguage.g:3300:2: rule__ExternMetricDefinition__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__ExternMetricDefinition__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExternMetricDefinition__Group__2" + + + // $ANTLR start "rule__ExternMetricDefinition__Group__2__Impl" + // InternalSolverLanguage.g:3306:1: rule__ExternMetricDefinition__Group__2__Impl : ( ( rule__ExternMetricDefinition__HeadAssignment_2 ) ) ; + public final void rule__ExternMetricDefinition__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3310:1: ( ( ( rule__ExternMetricDefinition__HeadAssignment_2 ) ) ) + // InternalSolverLanguage.g:3311:1: ( ( rule__ExternMetricDefinition__HeadAssignment_2 ) ) + { + // InternalSolverLanguage.g:3311:1: ( ( rule__ExternMetricDefinition__HeadAssignment_2 ) ) + // InternalSolverLanguage.g:3312:2: ( rule__ExternMetricDefinition__HeadAssignment_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2()); + } + // InternalSolverLanguage.g:3313:2: ( rule__ExternMetricDefinition__HeadAssignment_2 ) + // InternalSolverLanguage.g:3313:3: rule__ExternMetricDefinition__HeadAssignment_2 + { + pushFollow(FOLLOW_2); + rule__ExternMetricDefinition__HeadAssignment_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExternMetricDefinition__Group__2__Impl" + + + // $ANTLR start "rule__IfElse__Group__0" + // InternalSolverLanguage.g:3322:1: rule__IfElse__Group__0 : rule__IfElse__Group__0__Impl rule__IfElse__Group__1 ; + public final void rule__IfElse__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3326:1: ( rule__IfElse__Group__0__Impl rule__IfElse__Group__1 ) + // InternalSolverLanguage.g:3327:2: rule__IfElse__Group__0__Impl rule__IfElse__Group__1 + { + pushFollow(FOLLOW_7); + rule__IfElse__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__IfElse__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IfElse__Group__0" + + + // $ANTLR start "rule__IfElse__Group__0__Impl" + // InternalSolverLanguage.g:3334:1: rule__IfElse__Group__0__Impl : ( 'if' ) ; + public final void rule__IfElse__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3338:1: ( ( 'if' ) ) + // InternalSolverLanguage.g:3339:1: ( 'if' ) + { + // InternalSolverLanguage.g:3339:1: ( 'if' ) + // InternalSolverLanguage.g:3340:2: 'if' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getIfElseAccess().getIfKeyword_0()); + } + match(input,51,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getIfElseAccess().getIfKeyword_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IfElse__Group__0__Impl" + + + // $ANTLR start "rule__IfElse__Group__1" + // InternalSolverLanguage.g:3349:1: rule__IfElse__Group__1 : rule__IfElse__Group__1__Impl rule__IfElse__Group__2 ; + public final void rule__IfElse__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3353:1: ( rule__IfElse__Group__1__Impl rule__IfElse__Group__2 ) + // InternalSolverLanguage.g:3354:2: rule__IfElse__Group__1__Impl rule__IfElse__Group__2 + { + pushFollow(FOLLOW_16); + rule__IfElse__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__IfElse__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IfElse__Group__1" + + + // $ANTLR start "rule__IfElse__Group__1__Impl" + // InternalSolverLanguage.g:3361:1: rule__IfElse__Group__1__Impl : ( ( rule__IfElse__ConditionAssignment_1 ) ) ; + public final void rule__IfElse__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3365:1: ( ( ( rule__IfElse__ConditionAssignment_1 ) ) ) + // InternalSolverLanguage.g:3366:1: ( ( rule__IfElse__ConditionAssignment_1 ) ) + { + // InternalSolverLanguage.g:3366:1: ( ( rule__IfElse__ConditionAssignment_1 ) ) + // InternalSolverLanguage.g:3367:2: ( rule__IfElse__ConditionAssignment_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getIfElseAccess().getConditionAssignment_1()); + } + // InternalSolverLanguage.g:3368:2: ( rule__IfElse__ConditionAssignment_1 ) + // InternalSolverLanguage.g:3368:3: rule__IfElse__ConditionAssignment_1 + { + pushFollow(FOLLOW_2); + rule__IfElse__ConditionAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getIfElseAccess().getConditionAssignment_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IfElse__Group__1__Impl" + + + // $ANTLR start "rule__IfElse__Group__2" + // InternalSolverLanguage.g:3376:1: rule__IfElse__Group__2 : rule__IfElse__Group__2__Impl rule__IfElse__Group__3 ; + public final void rule__IfElse__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3380:1: ( rule__IfElse__Group__2__Impl rule__IfElse__Group__3 ) + // InternalSolverLanguage.g:3381:2: rule__IfElse__Group__2__Impl rule__IfElse__Group__3 + { + pushFollow(FOLLOW_7); + rule__IfElse__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__IfElse__Group__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IfElse__Group__2" + + + // $ANTLR start "rule__IfElse__Group__2__Impl" + // InternalSolverLanguage.g:3388:1: rule__IfElse__Group__2__Impl : ( 'then' ) ; + public final void rule__IfElse__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3392:1: ( ( 'then' ) ) + // InternalSolverLanguage.g:3393:1: ( 'then' ) + { + // InternalSolverLanguage.g:3393:1: ( 'then' ) + // InternalSolverLanguage.g:3394:2: 'then' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getIfElseAccess().getThenKeyword_2()); + } + match(input,52,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getIfElseAccess().getThenKeyword_2()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IfElse__Group__2__Impl" + + + // $ANTLR start "rule__IfElse__Group__3" + // InternalSolverLanguage.g:3403:1: rule__IfElse__Group__3 : rule__IfElse__Group__3__Impl rule__IfElse__Group__4 ; + public final void rule__IfElse__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3407:1: ( rule__IfElse__Group__3__Impl rule__IfElse__Group__4 ) + // InternalSolverLanguage.g:3408:2: rule__IfElse__Group__3__Impl rule__IfElse__Group__4 + { + pushFollow(FOLLOW_17); + rule__IfElse__Group__3__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__IfElse__Group__4(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IfElse__Group__3" + + + // $ANTLR start "rule__IfElse__Group__3__Impl" + // InternalSolverLanguage.g:3415:1: rule__IfElse__Group__3__Impl : ( ( rule__IfElse__ThenAssignment_3 ) ) ; + public final void rule__IfElse__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3419:1: ( ( ( rule__IfElse__ThenAssignment_3 ) ) ) + // InternalSolverLanguage.g:3420:1: ( ( rule__IfElse__ThenAssignment_3 ) ) + { + // InternalSolverLanguage.g:3420:1: ( ( rule__IfElse__ThenAssignment_3 ) ) + // InternalSolverLanguage.g:3421:2: ( rule__IfElse__ThenAssignment_3 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getIfElseAccess().getThenAssignment_3()); + } + // InternalSolverLanguage.g:3422:2: ( rule__IfElse__ThenAssignment_3 ) + // InternalSolverLanguage.g:3422:3: rule__IfElse__ThenAssignment_3 + { + pushFollow(FOLLOW_2); + rule__IfElse__ThenAssignment_3(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getIfElseAccess().getThenAssignment_3()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IfElse__Group__3__Impl" + + + // $ANTLR start "rule__IfElse__Group__4" + // InternalSolverLanguage.g:3430:1: rule__IfElse__Group__4 : rule__IfElse__Group__4__Impl rule__IfElse__Group__5 ; + public final void rule__IfElse__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3434:1: ( rule__IfElse__Group__4__Impl rule__IfElse__Group__5 ) + // InternalSolverLanguage.g:3435:2: rule__IfElse__Group__4__Impl rule__IfElse__Group__5 + { + pushFollow(FOLLOW_7); + rule__IfElse__Group__4__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__IfElse__Group__5(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IfElse__Group__4" + + + // $ANTLR start "rule__IfElse__Group__4__Impl" + // InternalSolverLanguage.g:3442:1: rule__IfElse__Group__4__Impl : ( 'else' ) ; + public final void rule__IfElse__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3446:1: ( ( 'else' ) ) + // InternalSolverLanguage.g:3447:1: ( 'else' ) + { + // InternalSolverLanguage.g:3447:1: ( 'else' ) + // InternalSolverLanguage.g:3448:2: 'else' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getIfElseAccess().getElseKeyword_4()); + } + match(input,53,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getIfElseAccess().getElseKeyword_4()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IfElse__Group__4__Impl" + + + // $ANTLR start "rule__IfElse__Group__5" + // InternalSolverLanguage.g:3457:1: rule__IfElse__Group__5 : rule__IfElse__Group__5__Impl ; + public final void rule__IfElse__Group__5() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3461:1: ( rule__IfElse__Group__5__Impl ) + // InternalSolverLanguage.g:3462:2: rule__IfElse__Group__5__Impl + { + pushFollow(FOLLOW_2); + rule__IfElse__Group__5__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IfElse__Group__5" + + + // $ANTLR start "rule__IfElse__Group__5__Impl" + // InternalSolverLanguage.g:3468:1: rule__IfElse__Group__5__Impl : ( ( rule__IfElse__ElseAssignment_5 ) ) ; + public final void rule__IfElse__Group__5__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3472:1: ( ( ( rule__IfElse__ElseAssignment_5 ) ) ) + // InternalSolverLanguage.g:3473:1: ( ( rule__IfElse__ElseAssignment_5 ) ) + { + // InternalSolverLanguage.g:3473:1: ( ( rule__IfElse__ElseAssignment_5 ) ) + // InternalSolverLanguage.g:3474:2: ( rule__IfElse__ElseAssignment_5 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getIfElseAccess().getElseAssignment_5()); + } + // InternalSolverLanguage.g:3475:2: ( rule__IfElse__ElseAssignment_5 ) + // InternalSolverLanguage.g:3475:3: rule__IfElse__ElseAssignment_5 + { + pushFollow(FOLLOW_2); + rule__IfElse__ElseAssignment_5(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getIfElseAccess().getElseAssignment_5()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IfElse__Group__5__Impl" + + + // $ANTLR start "rule__DisjunctiveExpression__Group__0" + // InternalSolverLanguage.g:3484:1: rule__DisjunctiveExpression__Group__0 : rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 ; + public final void rule__DisjunctiveExpression__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3488:1: ( rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 ) + // InternalSolverLanguage.g:3489:2: rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 + { + pushFollow(FOLLOW_18); + rule__DisjunctiveExpression__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group__0" + + + // $ANTLR start "rule__DisjunctiveExpression__Group__0__Impl" + // InternalSolverLanguage.g:3496:1: rule__DisjunctiveExpression__Group__0__Impl : ( ruleConjunctiveExpression ) ; + public final void rule__DisjunctiveExpression__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3500:1: ( ( ruleConjunctiveExpression ) ) + // InternalSolverLanguage.g:3501:1: ( ruleConjunctiveExpression ) + { + // InternalSolverLanguage.g:3501:1: ( ruleConjunctiveExpression ) + // InternalSolverLanguage.g:3502:2: ruleConjunctiveExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); + } + pushFollow(FOLLOW_2); + ruleConjunctiveExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group__0__Impl" + + + // $ANTLR start "rule__DisjunctiveExpression__Group__1" + // InternalSolverLanguage.g:3511:1: rule__DisjunctiveExpression__Group__1 : rule__DisjunctiveExpression__Group__1__Impl ; + public final void rule__DisjunctiveExpression__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3515:1: ( rule__DisjunctiveExpression__Group__1__Impl ) + // InternalSolverLanguage.g:3516:2: rule__DisjunctiveExpression__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group__1" + + + // $ANTLR start "rule__DisjunctiveExpression__Group__1__Impl" + // InternalSolverLanguage.g:3522:1: rule__DisjunctiveExpression__Group__1__Impl : ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) ; + public final void rule__DisjunctiveExpression__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3526:1: ( ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) ) + // InternalSolverLanguage.g:3527:1: ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) + { + // InternalSolverLanguage.g:3527:1: ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) + // InternalSolverLanguage.g:3528:2: ( rule__DisjunctiveExpression__Alternatives_1 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); + } + // InternalSolverLanguage.g:3529:2: ( rule__DisjunctiveExpression__Alternatives_1 )? + int alt30=2; + int LA30_0 = input.LA(1); + + if ( ((LA30_0>=54 && LA30_0<=55)) ) { + alt30=1; + } + switch (alt30) { + case 1 : + // InternalSolverLanguage.g:3529:3: rule__DisjunctiveExpression__Alternatives_1 + { + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Alternatives_1(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group__1__Impl" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__0" + // InternalSolverLanguage.g:3538:1: rule__DisjunctiveExpression__Group_1_0__0 : rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 ; + public final void rule__DisjunctiveExpression__Group_1_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3542:1: ( rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 ) + // InternalSolverLanguage.g:3543:2: rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 + { + pushFollow(FOLLOW_19); + rule__DisjunctiveExpression__Group_1_0__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Group_1_0__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__0" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__0__Impl" + // InternalSolverLanguage.g:3550:1: rule__DisjunctiveExpression__Group_1_0__0__Impl : ( () ) ; + public final void rule__DisjunctiveExpression__Group_1_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3554:1: ( ( () ) ) + // InternalSolverLanguage.g:3555:1: ( () ) + { + // InternalSolverLanguage.g:3555:1: ( () ) + // InternalSolverLanguage.g:3556:2: () + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); + } + // InternalSolverLanguage.g:3557:2: () + // InternalSolverLanguage.g:3557:3: + { + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); + } + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__0__Impl" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__1" + // InternalSolverLanguage.g:3565:1: rule__DisjunctiveExpression__Group_1_0__1 : rule__DisjunctiveExpression__Group_1_0__1__Impl ; + public final void rule__DisjunctiveExpression__Group_1_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3569:1: ( rule__DisjunctiveExpression__Group_1_0__1__Impl ) + // InternalSolverLanguage.g:3570:2: rule__DisjunctiveExpression__Group_1_0__1__Impl + { + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Group_1_0__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__1" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__1__Impl" + // InternalSolverLanguage.g:3576:1: rule__DisjunctiveExpression__Group_1_0__1__Impl : ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) ; + public final void rule__DisjunctiveExpression__Group_1_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3580:1: ( ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) ) + // InternalSolverLanguage.g:3581:1: ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) + { + // InternalSolverLanguage.g:3581:1: ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) + // InternalSolverLanguage.g:3582:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) + { + // InternalSolverLanguage.g:3582:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) + // InternalSolverLanguage.g:3583:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); + } + // InternalSolverLanguage.g:3584:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 ) + // InternalSolverLanguage.g:3584:4: rule__DisjunctiveExpression__Group_1_0_1__0 + { + pushFollow(FOLLOW_20); + rule__DisjunctiveExpression__Group_1_0_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); + } + + } + + // InternalSolverLanguage.g:3587:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) + // InternalSolverLanguage.g:3588:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )* + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); + } + // InternalSolverLanguage.g:3589:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )* + loop31: + do { + int alt31=2; + int LA31_0 = input.LA(1); + + if ( (LA31_0==54) ) { + alt31=1; + } + + + switch (alt31) { + case 1 : + // InternalSolverLanguage.g:3589:4: rule__DisjunctiveExpression__Group_1_0_1__0 + { + pushFollow(FOLLOW_20); + rule__DisjunctiveExpression__Group_1_0_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + default : + break loop31; + } + } while (true); + + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); + } + + } + + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__1__Impl" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__0" + // InternalSolverLanguage.g:3599:1: rule__DisjunctiveExpression__Group_1_0_1__0 : rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 ; + public final void rule__DisjunctiveExpression__Group_1_0_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3603:1: ( rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 ) + // InternalSolverLanguage.g:3604:2: rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 + { + pushFollow(FOLLOW_7); + rule__DisjunctiveExpression__Group_1_0_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Group_1_0_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__0" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__0__Impl" + // InternalSolverLanguage.g:3611:1: rule__DisjunctiveExpression__Group_1_0_1__0__Impl : ( ';' ) ; + public final void rule__DisjunctiveExpression__Group_1_0_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3615:1: ( ( ';' ) ) + // InternalSolverLanguage.g:3616:1: ( ';' ) + { + // InternalSolverLanguage.g:3616:1: ( ';' ) + // InternalSolverLanguage.g:3617:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); + } + match(input,54,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__0__Impl" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__1" + // InternalSolverLanguage.g:3626:1: rule__DisjunctiveExpression__Group_1_0_1__1 : rule__DisjunctiveExpression__Group_1_0_1__1__Impl ; + public final void rule__DisjunctiveExpression__Group_1_0_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3630:1: ( rule__DisjunctiveExpression__Group_1_0_1__1__Impl ) + // InternalSolverLanguage.g:3631:2: rule__DisjunctiveExpression__Group_1_0_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Group_1_0_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__1" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__1__Impl" + // InternalSolverLanguage.g:3637:1: rule__DisjunctiveExpression__Group_1_0_1__1__Impl : ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) ; + public final void rule__DisjunctiveExpression__Group_1_0_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3641:1: ( ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) ) + // InternalSolverLanguage.g:3642:1: ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) + { + // InternalSolverLanguage.g:3642:1: ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) + // InternalSolverLanguage.g:3643:2: ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); + } + // InternalSolverLanguage.g:3644:2: ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) + // InternalSolverLanguage.g:3644:3: rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 + { + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__1__Impl" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__0" + // InternalSolverLanguage.g:3653:1: rule__DisjunctiveExpression__Group_1_1__0 : rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 ; + public final void rule__DisjunctiveExpression__Group_1_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3657:1: ( rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 ) + // InternalSolverLanguage.g:3658:2: rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 + { + pushFollow(FOLLOW_18); + rule__DisjunctiveExpression__Group_1_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Group_1_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__0" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__0__Impl" + // InternalSolverLanguage.g:3665:1: rule__DisjunctiveExpression__Group_1_1__0__Impl : ( () ) ; + public final void rule__DisjunctiveExpression__Group_1_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3669:1: ( ( () ) ) + // InternalSolverLanguage.g:3670:1: ( () ) + { + // InternalSolverLanguage.g:3670:1: ( () ) + // InternalSolverLanguage.g:3671:2: () + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); + } + // InternalSolverLanguage.g:3672:2: () + // InternalSolverLanguage.g:3672:3: + { + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); + } + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__0__Impl" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__1" + // InternalSolverLanguage.g:3680:1: rule__DisjunctiveExpression__Group_1_1__1 : rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 ; + public final void rule__DisjunctiveExpression__Group_1_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3684:1: ( rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 ) + // InternalSolverLanguage.g:3685:2: rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 + { + pushFollow(FOLLOW_7); + rule__DisjunctiveExpression__Group_1_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Group_1_1__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__1" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__1__Impl" + // InternalSolverLanguage.g:3692:1: rule__DisjunctiveExpression__Group_1_1__1__Impl : ( '->' ) ; + public final void rule__DisjunctiveExpression__Group_1_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3696:1: ( ( '->' ) ) + // InternalSolverLanguage.g:3697:1: ( '->' ) + { + // InternalSolverLanguage.g:3697:1: ( '->' ) + // InternalSolverLanguage.g:3698:2: '->' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); + } + match(input,55,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__1__Impl" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__2" + // InternalSolverLanguage.g:3707:1: rule__DisjunctiveExpression__Group_1_1__2 : rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 ; + public final void rule__DisjunctiveExpression__Group_1_1__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3711:1: ( rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 ) + // InternalSolverLanguage.g:3712:2: rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 + { + pushFollow(FOLLOW_19); + rule__DisjunctiveExpression__Group_1_1__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Group_1_1__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__2" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__2__Impl" + // InternalSolverLanguage.g:3719:1: rule__DisjunctiveExpression__Group_1_1__2__Impl : ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) ; + public final void rule__DisjunctiveExpression__Group_1_1__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3723:1: ( ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) ) + // InternalSolverLanguage.g:3724:1: ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) + { + // InternalSolverLanguage.g:3724:1: ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) + // InternalSolverLanguage.g:3725:2: ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); + } + // InternalSolverLanguage.g:3726:2: ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) + // InternalSolverLanguage.g:3726:3: rule__DisjunctiveExpression__BodyAssignment_1_1_2 + { + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__BodyAssignment_1_1_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__2__Impl" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__3" + // InternalSolverLanguage.g:3734:1: rule__DisjunctiveExpression__Group_1_1__3 : rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 ; + public final void rule__DisjunctiveExpression__Group_1_1__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3738:1: ( rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 ) + // InternalSolverLanguage.g:3739:2: rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 + { + pushFollow(FOLLOW_19); + rule__DisjunctiveExpression__Group_1_1__3__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Group_1_1__4(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__3" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__3__Impl" + // InternalSolverLanguage.g:3746:1: rule__DisjunctiveExpression__Group_1_1__3__Impl : ( () ) ; + public final void rule__DisjunctiveExpression__Group_1_1__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3750:1: ( ( () ) ) + // InternalSolverLanguage.g:3751:1: ( () ) + { + // InternalSolverLanguage.g:3751:1: ( () ) + // InternalSolverLanguage.g:3752:2: () + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); + } + // InternalSolverLanguage.g:3753:2: () + // InternalSolverLanguage.g:3753:3: + { + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); + } + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__3__Impl" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__4" + // InternalSolverLanguage.g:3761:1: rule__DisjunctiveExpression__Group_1_1__4 : rule__DisjunctiveExpression__Group_1_1__4__Impl ; + public final void rule__DisjunctiveExpression__Group_1_1__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3765:1: ( rule__DisjunctiveExpression__Group_1_1__4__Impl ) + // InternalSolverLanguage.g:3766:2: rule__DisjunctiveExpression__Group_1_1__4__Impl + { + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Group_1_1__4__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__4" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__4__Impl" + // InternalSolverLanguage.g:3772:1: rule__DisjunctiveExpression__Group_1_1__4__Impl : ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) ; + public final void rule__DisjunctiveExpression__Group_1_1__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3776:1: ( ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) ) + // InternalSolverLanguage.g:3777:1: ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) + { + // InternalSolverLanguage.g:3777:1: ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) + // InternalSolverLanguage.g:3778:2: ( rule__DisjunctiveExpression__Group_1_1_4__0 )* + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); + } + // InternalSolverLanguage.g:3779:2: ( rule__DisjunctiveExpression__Group_1_1_4__0 )* + loop32: + do { + int alt32=2; + int LA32_0 = input.LA(1); + + if ( (LA32_0==54) ) { + alt32=1; + } + + + switch (alt32) { + case 1 : + // InternalSolverLanguage.g:3779:3: rule__DisjunctiveExpression__Group_1_1_4__0 + { + pushFollow(FOLLOW_20); + rule__DisjunctiveExpression__Group_1_1_4__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + default : + break loop32; + } + } while (true); + + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__4__Impl" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__0" + // InternalSolverLanguage.g:3788:1: rule__DisjunctiveExpression__Group_1_1_4__0 : rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 ; + public final void rule__DisjunctiveExpression__Group_1_1_4__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3792:1: ( rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 ) + // InternalSolverLanguage.g:3793:2: rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 + { + pushFollow(FOLLOW_7); + rule__DisjunctiveExpression__Group_1_1_4__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Group_1_1_4__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__0" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__0__Impl" + // InternalSolverLanguage.g:3800:1: rule__DisjunctiveExpression__Group_1_1_4__0__Impl : ( ';' ) ; + public final void rule__DisjunctiveExpression__Group_1_1_4__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3804:1: ( ( ';' ) ) + // InternalSolverLanguage.g:3805:1: ( ';' ) + { + // InternalSolverLanguage.g:3805:1: ( ';' ) + // InternalSolverLanguage.g:3806:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); + } + match(input,54,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__0__Impl" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__1" + // InternalSolverLanguage.g:3815:1: rule__DisjunctiveExpression__Group_1_1_4__1 : rule__DisjunctiveExpression__Group_1_1_4__1__Impl ; + public final void rule__DisjunctiveExpression__Group_1_1_4__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3819:1: ( rule__DisjunctiveExpression__Group_1_1_4__1__Impl ) + // InternalSolverLanguage.g:3820:2: rule__DisjunctiveExpression__Group_1_1_4__1__Impl + { + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Group_1_1_4__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__1" + + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__1__Impl" + // InternalSolverLanguage.g:3826:1: rule__DisjunctiveExpression__Group_1_1_4__1__Impl : ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) ; + public final void rule__DisjunctiveExpression__Group_1_1_4__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3830:1: ( ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) ) + // InternalSolverLanguage.g:3831:1: ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) + { + // InternalSolverLanguage.g:3831:1: ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) + // InternalSolverLanguage.g:3832:2: ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); + } + // InternalSolverLanguage.g:3833:2: ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) + // InternalSolverLanguage.g:3833:3: rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 + { + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__CasesAssignment_1_1_4_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__1__Impl" + + + // $ANTLR start "rule__Case__Group__0" + // InternalSolverLanguage.g:3842:1: rule__Case__Group__0 : rule__Case__Group__0__Impl rule__Case__Group__1 ; + public final void rule__Case__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3846:1: ( rule__Case__Group__0__Impl rule__Case__Group__1 ) + // InternalSolverLanguage.g:3847:2: rule__Case__Group__0__Impl rule__Case__Group__1 + { + pushFollow(FOLLOW_21); + rule__Case__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Case__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Case__Group__0" + + + // $ANTLR start "rule__Case__Group__0__Impl" + // InternalSolverLanguage.g:3854:1: rule__Case__Group__0__Impl : ( ( rule__Case__ConditionAssignment_0 ) ) ; + public final void rule__Case__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3858:1: ( ( ( rule__Case__ConditionAssignment_0 ) ) ) + // InternalSolverLanguage.g:3859:1: ( ( rule__Case__ConditionAssignment_0 ) ) + { + // InternalSolverLanguage.g:3859:1: ( ( rule__Case__ConditionAssignment_0 ) ) + // InternalSolverLanguage.g:3860:2: ( rule__Case__ConditionAssignment_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getCaseAccess().getConditionAssignment_0()); + } + // InternalSolverLanguage.g:3861:2: ( rule__Case__ConditionAssignment_0 ) + // InternalSolverLanguage.g:3861:3: rule__Case__ConditionAssignment_0 + { + pushFollow(FOLLOW_2); + rule__Case__ConditionAssignment_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getCaseAccess().getConditionAssignment_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Case__Group__0__Impl" + + + // $ANTLR start "rule__Case__Group__1" + // InternalSolverLanguage.g:3869:1: rule__Case__Group__1 : rule__Case__Group__1__Impl rule__Case__Group__2 ; + public final void rule__Case__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3873:1: ( rule__Case__Group__1__Impl rule__Case__Group__2 ) + // InternalSolverLanguage.g:3874:2: rule__Case__Group__1__Impl rule__Case__Group__2 + { + pushFollow(FOLLOW_7); + rule__Case__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Case__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Case__Group__1" + + + // $ANTLR start "rule__Case__Group__1__Impl" + // InternalSolverLanguage.g:3881:1: rule__Case__Group__1__Impl : ( '->' ) ; + public final void rule__Case__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3885:1: ( ( '->' ) ) + // InternalSolverLanguage.g:3886:1: ( '->' ) + { + // InternalSolverLanguage.g:3886:1: ( '->' ) + // InternalSolverLanguage.g:3887:2: '->' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); + } + match(input,55,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Case__Group__1__Impl" + + + // $ANTLR start "rule__Case__Group__2" + // InternalSolverLanguage.g:3896:1: rule__Case__Group__2 : rule__Case__Group__2__Impl ; + public final void rule__Case__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3900:1: ( rule__Case__Group__2__Impl ) + // InternalSolverLanguage.g:3901:2: rule__Case__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__Case__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Case__Group__2" + + + // $ANTLR start "rule__Case__Group__2__Impl" + // InternalSolverLanguage.g:3907:1: rule__Case__Group__2__Impl : ( ( rule__Case__BodyAssignment_2 ) ) ; + public final void rule__Case__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3911:1: ( ( ( rule__Case__BodyAssignment_2 ) ) ) + // InternalSolverLanguage.g:3912:1: ( ( rule__Case__BodyAssignment_2 ) ) + { + // InternalSolverLanguage.g:3912:1: ( ( rule__Case__BodyAssignment_2 ) ) + // InternalSolverLanguage.g:3913:2: ( rule__Case__BodyAssignment_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getCaseAccess().getBodyAssignment_2()); + } + // InternalSolverLanguage.g:3914:2: ( rule__Case__BodyAssignment_2 ) + // InternalSolverLanguage.g:3914:3: rule__Case__BodyAssignment_2 + { + pushFollow(FOLLOW_2); + rule__Case__BodyAssignment_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getCaseAccess().getBodyAssignment_2()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Case__Group__2__Impl" + + + // $ANTLR start "rule__ConjunctiveExpression__Group__0" + // InternalSolverLanguage.g:3923:1: rule__ConjunctiveExpression__Group__0 : rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 ; + public final void rule__ConjunctiveExpression__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3927:1: ( rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 ) + // InternalSolverLanguage.g:3928:2: rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 + { + pushFollow(FOLLOW_22); + rule__ConjunctiveExpression__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ConjunctiveExpression__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConjunctiveExpression__Group__0" + + + // $ANTLR start "rule__ConjunctiveExpression__Group__0__Impl" + // InternalSolverLanguage.g:3935:1: rule__ConjunctiveExpression__Group__0__Impl : ( ruleComparisonExpression ) ; + public final void rule__ConjunctiveExpression__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3939:1: ( ( ruleComparisonExpression ) ) + // InternalSolverLanguage.g:3940:1: ( ruleComparisonExpression ) + { + // InternalSolverLanguage.g:3940:1: ( ruleComparisonExpression ) + // InternalSolverLanguage.g:3941:2: ruleComparisonExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); + } + pushFollow(FOLLOW_2); + ruleComparisonExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConjunctiveExpression__Group__0__Impl" + + + // $ANTLR start "rule__ConjunctiveExpression__Group__1" + // InternalSolverLanguage.g:3950:1: rule__ConjunctiveExpression__Group__1 : rule__ConjunctiveExpression__Group__1__Impl ; + public final void rule__ConjunctiveExpression__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3954:1: ( rule__ConjunctiveExpression__Group__1__Impl ) + // InternalSolverLanguage.g:3955:2: rule__ConjunctiveExpression__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__ConjunctiveExpression__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConjunctiveExpression__Group__1" + + + // $ANTLR start "rule__ConjunctiveExpression__Group__1__Impl" + // InternalSolverLanguage.g:3961:1: rule__ConjunctiveExpression__Group__1__Impl : ( ( rule__ConjunctiveExpression__Group_1__0 )? ) ; + public final void rule__ConjunctiveExpression__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3965:1: ( ( ( rule__ConjunctiveExpression__Group_1__0 )? ) ) + // InternalSolverLanguage.g:3966:1: ( ( rule__ConjunctiveExpression__Group_1__0 )? ) + { + // InternalSolverLanguage.g:3966:1: ( ( rule__ConjunctiveExpression__Group_1__0 )? ) + // InternalSolverLanguage.g:3967:2: ( rule__ConjunctiveExpression__Group_1__0 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); + } + // InternalSolverLanguage.g:3968:2: ( rule__ConjunctiveExpression__Group_1__0 )? + int alt33=2; + int LA33_0 = input.LA(1); + + if ( (LA33_0==56) ) { + alt33=1; + } + switch (alt33) { + case 1 : + // InternalSolverLanguage.g:3968:3: rule__ConjunctiveExpression__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__ConjunctiveExpression__Group_1__0(); + + state._fsp--; + if (state.failed) return ; } break; - case 3 : - // InternalSolverLanguage.g:1211:2: ( ( 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:1213:3: ( rule__TruthValue__Group_2__0 ) - // InternalSolverLanguage.g:1213:4: rule__TruthValue__Group_2__0 + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConjunctiveExpression__Group__1__Impl" + + + // $ANTLR start "rule__ConjunctiveExpression__Group_1__0" + // InternalSolverLanguage.g:3977:1: rule__ConjunctiveExpression__Group_1__0 : rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 ; + public final void rule__ConjunctiveExpression__Group_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3981:1: ( rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 ) + // InternalSolverLanguage.g:3982:2: rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 + { + pushFollow(FOLLOW_22); + rule__ConjunctiveExpression__Group_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ConjunctiveExpression__Group_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConjunctiveExpression__Group_1__0" + + + // $ANTLR start "rule__ConjunctiveExpression__Group_1__0__Impl" + // InternalSolverLanguage.g:3989:1: rule__ConjunctiveExpression__Group_1__0__Impl : ( () ) ; + public final void rule__ConjunctiveExpression__Group_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:3993:1: ( ( () ) ) + // InternalSolverLanguage.g:3994:1: ( () ) + { + // InternalSolverLanguage.g:3994:1: ( () ) + // InternalSolverLanguage.g:3995:2: () + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); + } + // InternalSolverLanguage.g:3996:2: () + // InternalSolverLanguage.g:3996:3: + { + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); + } + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConjunctiveExpression__Group_1__0__Impl" + + + // $ANTLR start "rule__ConjunctiveExpression__Group_1__1" + // InternalSolverLanguage.g:4004:1: rule__ConjunctiveExpression__Group_1__1 : rule__ConjunctiveExpression__Group_1__1__Impl ; + public final void rule__ConjunctiveExpression__Group_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4008:1: ( rule__ConjunctiveExpression__Group_1__1__Impl ) + // InternalSolverLanguage.g:4009:2: rule__ConjunctiveExpression__Group_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__ConjunctiveExpression__Group_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConjunctiveExpression__Group_1__1" + + + // $ANTLR start "rule__ConjunctiveExpression__Group_1__1__Impl" + // InternalSolverLanguage.g:4015:1: rule__ConjunctiveExpression__Group_1__1__Impl : ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) ; + public final void rule__ConjunctiveExpression__Group_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4019:1: ( ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) ) + // InternalSolverLanguage.g:4020:1: ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) + { + // InternalSolverLanguage.g:4020:1: ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) + // InternalSolverLanguage.g:4021:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) + { + // InternalSolverLanguage.g:4021:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) + // InternalSolverLanguage.g:4022:3: ( rule__ConjunctiveExpression__Group_1_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); + } + // InternalSolverLanguage.g:4023:3: ( rule__ConjunctiveExpression__Group_1_1__0 ) + // InternalSolverLanguage.g:4023:4: rule__ConjunctiveExpression__Group_1_1__0 + { + pushFollow(FOLLOW_23); + rule__ConjunctiveExpression__Group_1_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); + } + + } + + // InternalSolverLanguage.g:4026:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) + // InternalSolverLanguage.g:4027:3: ( rule__ConjunctiveExpression__Group_1_1__0 )* + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); + } + // InternalSolverLanguage.g:4028:3: ( rule__ConjunctiveExpression__Group_1_1__0 )* + loop34: + do { + int alt34=2; + int LA34_0 = input.LA(1); + + if ( (LA34_0==56) ) { + alt34=1; + } + + + switch (alt34) { + case 1 : + // InternalSolverLanguage.g:4028:4: rule__ConjunctiveExpression__Group_1_1__0 + { + pushFollow(FOLLOW_23); + rule__ConjunctiveExpression__Group_1_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + default : + break loop34; + } + } while (true); + + if ( state.backtracking==0 ) { + after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); + } + + } + + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConjunctiveExpression__Group_1__1__Impl" + + + // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__0" + // InternalSolverLanguage.g:4038:1: rule__ConjunctiveExpression__Group_1_1__0 : rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 ; + public final void rule__ConjunctiveExpression__Group_1_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4042:1: ( rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 ) + // InternalSolverLanguage.g:4043:2: rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 + { + pushFollow(FOLLOW_7); + rule__ConjunctiveExpression__Group_1_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ConjunctiveExpression__Group_1_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__0" + + + // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__0__Impl" + // InternalSolverLanguage.g:4050:1: rule__ConjunctiveExpression__Group_1_1__0__Impl : ( ',' ) ; + public final void rule__ConjunctiveExpression__Group_1_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4054:1: ( ( ',' ) ) + // InternalSolverLanguage.g:4055:1: ( ',' ) + { + // InternalSolverLanguage.g:4055:1: ( ',' ) + // InternalSolverLanguage.g:4056:2: ',' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); + } + match(input,56,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__0__Impl" + + + // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__1" + // InternalSolverLanguage.g:4065:1: rule__ConjunctiveExpression__Group_1_1__1 : rule__ConjunctiveExpression__Group_1_1__1__Impl ; + public final void rule__ConjunctiveExpression__Group_1_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4069:1: ( rule__ConjunctiveExpression__Group_1_1__1__Impl ) + // InternalSolverLanguage.g:4070:2: rule__ConjunctiveExpression__Group_1_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__ConjunctiveExpression__Group_1_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__1" + + + // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__1__Impl" + // InternalSolverLanguage.g:4076:1: rule__ConjunctiveExpression__Group_1_1__1__Impl : ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) ; + public final void rule__ConjunctiveExpression__Group_1_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4080:1: ( ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) ) + // InternalSolverLanguage.g:4081:1: ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) + { + // InternalSolverLanguage.g:4081:1: ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) + // InternalSolverLanguage.g:4082:2: ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); + } + // InternalSolverLanguage.g:4083:2: ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) + // InternalSolverLanguage.g:4083:3: rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 + { + pushFollow(FOLLOW_2); + rule__ConjunctiveExpression__ChildrenAssignment_1_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__1__Impl" + + + // $ANTLR start "rule__ComparisonExpression__Group__0" + // InternalSolverLanguage.g:4092:1: rule__ComparisonExpression__Group__0 : rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 ; + public final void rule__ComparisonExpression__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4096:1: ( rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 ) + // InternalSolverLanguage.g:4097:2: rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 + { + pushFollow(FOLLOW_24); + rule__ComparisonExpression__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComparisonExpression__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComparisonExpression__Group__0" + + + // $ANTLR start "rule__ComparisonExpression__Group__0__Impl" + // InternalSolverLanguage.g:4104:1: rule__ComparisonExpression__Group__0__Impl : ( ruleAdditiveExpression ) ; + public final void rule__ComparisonExpression__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4108:1: ( ( ruleAdditiveExpression ) ) + // InternalSolverLanguage.g:4109:1: ( ruleAdditiveExpression ) + { + // InternalSolverLanguage.g:4109:1: ( ruleAdditiveExpression ) + // InternalSolverLanguage.g:4110:2: ruleAdditiveExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); + } + pushFollow(FOLLOW_2); + ruleAdditiveExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComparisonExpression__Group__0__Impl" + + + // $ANTLR start "rule__ComparisonExpression__Group__1" + // InternalSolverLanguage.g:4119:1: rule__ComparisonExpression__Group__1 : rule__ComparisonExpression__Group__1__Impl ; + public final void rule__ComparisonExpression__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4123:1: ( rule__ComparisonExpression__Group__1__Impl ) + // InternalSolverLanguage.g:4124:2: rule__ComparisonExpression__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__ComparisonExpression__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComparisonExpression__Group__1" + + + // $ANTLR start "rule__ComparisonExpression__Group__1__Impl" + // InternalSolverLanguage.g:4130:1: rule__ComparisonExpression__Group__1__Impl : ( ( rule__ComparisonExpression__Group_1__0 )? ) ; + public final void rule__ComparisonExpression__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4134:1: ( ( ( rule__ComparisonExpression__Group_1__0 )? ) ) + // InternalSolverLanguage.g:4135:1: ( ( rule__ComparisonExpression__Group_1__0 )? ) + { + // InternalSolverLanguage.g:4135:1: ( ( rule__ComparisonExpression__Group_1__0 )? ) + // InternalSolverLanguage.g:4136:2: ( rule__ComparisonExpression__Group_1__0 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComparisonExpressionAccess().getGroup_1()); + } + // InternalSolverLanguage.g:4137:2: ( rule__ComparisonExpression__Group_1__0 )? + int alt35=2; + int LA35_0 = input.LA(1); + + if ( ((LA35_0>=19 && LA35_0<=25)) ) { + alt35=1; + } + switch (alt35) { + case 1 : + // InternalSolverLanguage.g:4137:3: rule__ComparisonExpression__Group_1__0 { pushFollow(FOLLOW_2); - rule__TruthValue__Group_2__0(); + rule__ComparisonExpression__Group_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComparisonExpressionAccess().getGroup_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComparisonExpression__Group__1__Impl" + + + // $ANTLR start "rule__ComparisonExpression__Group_1__0" + // InternalSolverLanguage.g:4146:1: rule__ComparisonExpression__Group_1__0 : rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 ; + public final void rule__ComparisonExpression__Group_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4150:1: ( rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 ) + // InternalSolverLanguage.g:4151:2: rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 + { + pushFollow(FOLLOW_24); + rule__ComparisonExpression__Group_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComparisonExpression__Group_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComparisonExpression__Group_1__0" + + + // $ANTLR start "rule__ComparisonExpression__Group_1__0__Impl" + // InternalSolverLanguage.g:4158:1: rule__ComparisonExpression__Group_1__0__Impl : ( () ) ; + public final void rule__ComparisonExpression__Group_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4162:1: ( ( () ) ) + // InternalSolverLanguage.g:4163:1: ( () ) + { + // InternalSolverLanguage.g:4163:1: ( () ) + // InternalSolverLanguage.g:4164:2: () + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); + } + // InternalSolverLanguage.g:4165:2: () + // InternalSolverLanguage.g:4165:3: + { + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); + } + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComparisonExpression__Group_1__0__Impl" + + + // $ANTLR start "rule__ComparisonExpression__Group_1__1" + // InternalSolverLanguage.g:4173:1: rule__ComparisonExpression__Group_1__1 : rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 ; + public final void rule__ComparisonExpression__Group_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4177:1: ( rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 ) + // InternalSolverLanguage.g:4178:2: rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 + { + pushFollow(FOLLOW_7); + rule__ComparisonExpression__Group_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComparisonExpression__Group_1__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComparisonExpression__Group_1__1" + + + // $ANTLR start "rule__ComparisonExpression__Group_1__1__Impl" + // InternalSolverLanguage.g:4185:1: rule__ComparisonExpression__Group_1__1__Impl : ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) ; + public final void rule__ComparisonExpression__Group_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4189:1: ( ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) ) + // InternalSolverLanguage.g:4190:1: ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) + { + // InternalSolverLanguage.g:4190:1: ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguage.g:4191:2: ( rule__ComparisonExpression__OpAssignment_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); + } + // InternalSolverLanguage.g:4192:2: ( rule__ComparisonExpression__OpAssignment_1_1 ) + // InternalSolverLanguage.g:4192:3: rule__ComparisonExpression__OpAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__ComparisonExpression__OpAssignment_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComparisonExpression__Group_1__1__Impl" + + + // $ANTLR start "rule__ComparisonExpression__Group_1__2" + // InternalSolverLanguage.g:4200:1: rule__ComparisonExpression__Group_1__2 : rule__ComparisonExpression__Group_1__2__Impl ; + public final void rule__ComparisonExpression__Group_1__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4204:1: ( rule__ComparisonExpression__Group_1__2__Impl ) + // InternalSolverLanguage.g:4205:2: rule__ComparisonExpression__Group_1__2__Impl + { + pushFollow(FOLLOW_2); + rule__ComparisonExpression__Group_1__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComparisonExpression__Group_1__2" + + + // $ANTLR start "rule__ComparisonExpression__Group_1__2__Impl" + // InternalSolverLanguage.g:4211:1: rule__ComparisonExpression__Group_1__2__Impl : ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) ; + public final void rule__ComparisonExpression__Group_1__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4215:1: ( ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) ) + // InternalSolverLanguage.g:4216:1: ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) + { + // InternalSolverLanguage.g:4216:1: ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguage.g:4217:2: ( rule__ComparisonExpression__RightAssignment_1_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); + } + // InternalSolverLanguage.g:4218:2: ( rule__ComparisonExpression__RightAssignment_1_2 ) + // InternalSolverLanguage.g:4218:3: rule__ComparisonExpression__RightAssignment_1_2 + { + pushFollow(FOLLOW_2); + rule__ComparisonExpression__RightAssignment_1_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComparisonExpression__Group_1__2__Impl" + + + // $ANTLR start "rule__AdditiveExpression__Group__0" + // InternalSolverLanguage.g:4227:1: rule__AdditiveExpression__Group__0 : rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 ; + public final void rule__AdditiveExpression__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4231:1: ( rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 ) + // InternalSolverLanguage.g:4232:2: rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 + { + pushFollow(FOLLOW_25); + rule__AdditiveExpression__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__AdditiveExpression__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AdditiveExpression__Group__0" + + + // $ANTLR start "rule__AdditiveExpression__Group__0__Impl" + // InternalSolverLanguage.g:4239:1: rule__AdditiveExpression__Group__0__Impl : ( ruleMultiplicativeExpression ) ; + public final void rule__AdditiveExpression__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4243:1: ( ( ruleMultiplicativeExpression ) ) + // InternalSolverLanguage.g:4244:1: ( ruleMultiplicativeExpression ) + { + // InternalSolverLanguage.g:4244:1: ( ruleMultiplicativeExpression ) + // InternalSolverLanguage.g:4245:2: ruleMultiplicativeExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); + } + pushFollow(FOLLOW_2); + ruleMultiplicativeExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AdditiveExpression__Group__0__Impl" + + + // $ANTLR start "rule__AdditiveExpression__Group__1" + // InternalSolverLanguage.g:4254:1: rule__AdditiveExpression__Group__1 : rule__AdditiveExpression__Group__1__Impl ; + public final void rule__AdditiveExpression__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4258:1: ( rule__AdditiveExpression__Group__1__Impl ) + // InternalSolverLanguage.g:4259:2: rule__AdditiveExpression__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__AdditiveExpression__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AdditiveExpression__Group__1" + + + // $ANTLR start "rule__AdditiveExpression__Group__1__Impl" + // InternalSolverLanguage.g:4265:1: rule__AdditiveExpression__Group__1__Impl : ( ( rule__AdditiveExpression__Group_1__0 )* ) ; + public final void rule__AdditiveExpression__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4269:1: ( ( ( rule__AdditiveExpression__Group_1__0 )* ) ) + // InternalSolverLanguage.g:4270:1: ( ( rule__AdditiveExpression__Group_1__0 )* ) + { + // InternalSolverLanguage.g:4270:1: ( ( rule__AdditiveExpression__Group_1__0 )* ) + // InternalSolverLanguage.g:4271:2: ( rule__AdditiveExpression__Group_1__0 )* + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); + } + // InternalSolverLanguage.g:4272:2: ( rule__AdditiveExpression__Group_1__0 )* + loop36: + do { + int alt36=2; + int LA36_0 = input.LA(1); + + if ( ((LA36_0>=26 && LA36_0<=27)) ) { + alt36=1; + } + + + switch (alt36) { + case 1 : + // InternalSolverLanguage.g:4272:3: rule__AdditiveExpression__Group_1__0 + { + pushFollow(FOLLOW_26); + rule__AdditiveExpression__Group_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + default : + break loop36; + } + } while (true); + + if ( state.backtracking==0 ) { + after(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AdditiveExpression__Group__1__Impl" + + + // $ANTLR start "rule__AdditiveExpression__Group_1__0" + // InternalSolverLanguage.g:4281:1: rule__AdditiveExpression__Group_1__0 : rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 ; + public final void rule__AdditiveExpression__Group_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4285:1: ( rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 ) + // InternalSolverLanguage.g:4286:2: rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 + { + pushFollow(FOLLOW_25); + rule__AdditiveExpression__Group_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__AdditiveExpression__Group_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AdditiveExpression__Group_1__0" + + + // $ANTLR start "rule__AdditiveExpression__Group_1__0__Impl" + // InternalSolverLanguage.g:4293:1: rule__AdditiveExpression__Group_1__0__Impl : ( () ) ; + public final void rule__AdditiveExpression__Group_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4297:1: ( ( () ) ) + // InternalSolverLanguage.g:4298:1: ( () ) + { + // InternalSolverLanguage.g:4298:1: ( () ) + // InternalSolverLanguage.g:4299:2: () + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); + } + // InternalSolverLanguage.g:4300:2: () + // InternalSolverLanguage.g:4300:3: + { + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); + } + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AdditiveExpression__Group_1__0__Impl" + + + // $ANTLR start "rule__AdditiveExpression__Group_1__1" + // InternalSolverLanguage.g:4308:1: rule__AdditiveExpression__Group_1__1 : rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 ; + public final void rule__AdditiveExpression__Group_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4312:1: ( rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 ) + // InternalSolverLanguage.g:4313:2: rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 + { + pushFollow(FOLLOW_7); + rule__AdditiveExpression__Group_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__AdditiveExpression__Group_1__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AdditiveExpression__Group_1__1" + + + // $ANTLR start "rule__AdditiveExpression__Group_1__1__Impl" + // InternalSolverLanguage.g:4320:1: rule__AdditiveExpression__Group_1__1__Impl : ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) ; + public final void rule__AdditiveExpression__Group_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4324:1: ( ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) ) + // InternalSolverLanguage.g:4325:1: ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) + { + // InternalSolverLanguage.g:4325:1: ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguage.g:4326:2: ( rule__AdditiveExpression__OpAssignment_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); + } + // InternalSolverLanguage.g:4327:2: ( rule__AdditiveExpression__OpAssignment_1_1 ) + // InternalSolverLanguage.g:4327:3: rule__AdditiveExpression__OpAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__AdditiveExpression__OpAssignment_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AdditiveExpression__Group_1__1__Impl" + + + // $ANTLR start "rule__AdditiveExpression__Group_1__2" + // InternalSolverLanguage.g:4335:1: rule__AdditiveExpression__Group_1__2 : rule__AdditiveExpression__Group_1__2__Impl ; + public final void rule__AdditiveExpression__Group_1__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4339:1: ( rule__AdditiveExpression__Group_1__2__Impl ) + // InternalSolverLanguage.g:4340:2: rule__AdditiveExpression__Group_1__2__Impl + { + pushFollow(FOLLOW_2); + rule__AdditiveExpression__Group_1__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AdditiveExpression__Group_1__2" + + + // $ANTLR start "rule__AdditiveExpression__Group_1__2__Impl" + // InternalSolverLanguage.g:4346:1: rule__AdditiveExpression__Group_1__2__Impl : ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) ; + public final void rule__AdditiveExpression__Group_1__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4350:1: ( ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) ) + // InternalSolverLanguage.g:4351:1: ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) + { + // InternalSolverLanguage.g:4351:1: ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguage.g:4352:2: ( rule__AdditiveExpression__RightAssignment_1_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); + } + // InternalSolverLanguage.g:4353:2: ( rule__AdditiveExpression__RightAssignment_1_2 ) + // InternalSolverLanguage.g:4353:3: rule__AdditiveExpression__RightAssignment_1_2 + { + pushFollow(FOLLOW_2); + rule__AdditiveExpression__RightAssignment_1_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AdditiveExpression__Group_1__2__Impl" + + + // $ANTLR start "rule__MultiplicativeExpression__Group__0" + // InternalSolverLanguage.g:4362:1: rule__MultiplicativeExpression__Group__0 : rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 ; + public final void rule__MultiplicativeExpression__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4366:1: ( rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 ) + // InternalSolverLanguage.g:4367:2: rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 + { + pushFollow(FOLLOW_27); + rule__MultiplicativeExpression__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__MultiplicativeExpression__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MultiplicativeExpression__Group__0" + + + // $ANTLR start "rule__MultiplicativeExpression__Group__0__Impl" + // InternalSolverLanguage.g:4374:1: rule__MultiplicativeExpression__Group__0__Impl : ( ruleExponentialExpression ) ; + public final void rule__MultiplicativeExpression__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4378:1: ( ( ruleExponentialExpression ) ) + // InternalSolverLanguage.g:4379:1: ( ruleExponentialExpression ) + { + // InternalSolverLanguage.g:4379:1: ( ruleExponentialExpression ) + // InternalSolverLanguage.g:4380:2: ruleExponentialExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); + } + pushFollow(FOLLOW_2); + ruleExponentialExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); + } + + } + + + } - state._fsp--; + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + } + return ; + } + // $ANTLR end "rule__MultiplicativeExpression__Group__0__Impl" - } - after(grammarAccess.getTruthValueAccess().getGroup_2()); + // $ANTLR start "rule__MultiplicativeExpression__Group__1" + // InternalSolverLanguage.g:4389:1: rule__MultiplicativeExpression__Group__1 : rule__MultiplicativeExpression__Group__1__Impl ; + public final void rule__MultiplicativeExpression__Group__1() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4393:1: ( rule__MultiplicativeExpression__Group__1__Impl ) + // InternalSolverLanguage.g:4394:2: rule__MultiplicativeExpression__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__MultiplicativeExpression__Group__1__Impl(); + state._fsp--; + if (state.failed) return ; - } - break; - case 4 : - // InternalSolverLanguage.g:1217:2: ( ( 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:1219:3: ( rule__TruthValue__Group_3__0 ) - // InternalSolverLanguage.g:1219:4: rule__TruthValue__Group_3__0 - { - pushFollow(FOLLOW_2); - rule__TruthValue__Group_3__0(); + } - state._fsp--; + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__MultiplicativeExpression__Group__1" - after(grammarAccess.getTruthValueAccess().getGroup_3()); - } + // $ANTLR start "rule__MultiplicativeExpression__Group__1__Impl" + // InternalSolverLanguage.g:4400:1: rule__MultiplicativeExpression__Group__1__Impl : ( ( rule__MultiplicativeExpression__Group_1__0 )* ) ; + public final void rule__MultiplicativeExpression__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4404:1: ( ( ( rule__MultiplicativeExpression__Group_1__0 )* ) ) + // InternalSolverLanguage.g:4405:1: ( ( rule__MultiplicativeExpression__Group_1__0 )* ) + { + // InternalSolverLanguage.g:4405:1: ( ( rule__MultiplicativeExpression__Group_1__0 )* ) + // InternalSolverLanguage.g:4406:2: ( rule__MultiplicativeExpression__Group_1__0 )* + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); + } + // InternalSolverLanguage.g:4407:2: ( rule__MultiplicativeExpression__Group_1__0 )* + loop37: + do { + int alt37=2; + int LA37_0 = input.LA(1); + if ( (LA37_0==16||LA37_0==28) ) { + alt37=1; + } - } - break; + + switch (alt37) { + case 1 : + // InternalSolverLanguage.g:4407:3: rule__MultiplicativeExpression__Group_1__0 + { + pushFollow(FOLLOW_28); + rule__MultiplicativeExpression__Group_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + default : + break loop37; + } + } while (true); + + if ( state.backtracking==0 ) { + after(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); + } } + + + } + } catch (RecognitionException re) { reportError(re); @@ -3814,111 +15203,111 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TruthValue__Alternatives" + // $ANTLR end "rule__MultiplicativeExpression__Group__1__Impl" - // $ANTLR start "rule__Interpretation__Alternatives" - // InternalSolverLanguage.g:1227:1: rule__Interpretation__Alternatives : ( ( ruleBasicInterpretation ) | ( ruleDefaultInterpretation ) | ( ruleCDInterpretation ) ); - public final void rule__Interpretation__Alternatives() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group_1__0" + // InternalSolverLanguage.g:4416:1: rule__MultiplicativeExpression__Group_1__0 : rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 ; + public final void rule__MultiplicativeExpression__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1231:1: ( ( ruleBasicInterpretation ) | ( ruleDefaultInterpretation ) | ( ruleCDInterpretation ) ) - int alt5=3; - switch ( input.LA(1) ) { - case RULE_ID: - case 21: - case 22: - case 23: - case 24: - case 25: - case 26: - { - alt5=1; - } - break; - case 32: - { - alt5=2; - } - break; - case 33: - case 37: - case 38: - case 40: - case 41: - { - alt5=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 5, 0, input); + // InternalSolverLanguage.g:4420:1: ( rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 ) + // InternalSolverLanguage.g:4421:2: rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 + { + pushFollow(FOLLOW_27); + rule__MultiplicativeExpression__Group_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__MultiplicativeExpression__Group_1__1(); + + state._fsp--; + if (state.failed) return ; - throw nvae; } - switch (alt5) { - case 1 : - // InternalSolverLanguage.g:1232:2: ( ruleBasicInterpretation ) - { - // InternalSolverLanguage.g:1232:2: ( ruleBasicInterpretation ) - // InternalSolverLanguage.g:1233:3: ruleBasicInterpretation - { - before(grammarAccess.getInterpretationAccess().getBasicInterpretationParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleBasicInterpretation(); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - state._fsp--; + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MultiplicativeExpression__Group_1__0" - after(grammarAccess.getInterpretationAccess().getBasicInterpretationParserRuleCall_0()); - } + // $ANTLR start "rule__MultiplicativeExpression__Group_1__0__Impl" + // InternalSolverLanguage.g:4428:1: rule__MultiplicativeExpression__Group_1__0__Impl : ( () ) ; + public final void rule__MultiplicativeExpression__Group_1__0__Impl() throws RecognitionException { + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4432:1: ( ( () ) ) + // InternalSolverLanguage.g:4433:1: ( () ) + { + // InternalSolverLanguage.g:4433:1: ( () ) + // InternalSolverLanguage.g:4434:2: () + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); + } + // InternalSolverLanguage.g:4435:2: () + // InternalSolverLanguage.g:4435:3: + { + } - } - break; - case 2 : - // InternalSolverLanguage.g:1238:2: ( ruleDefaultInterpretation ) - { - // InternalSolverLanguage.g:1238:2: ( ruleDefaultInterpretation ) - // InternalSolverLanguage.g:1239:3: ruleDefaultInterpretation - { - before(grammarAccess.getInterpretationAccess().getDefaultInterpretationParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleDefaultInterpretation(); + if ( state.backtracking==0 ) { + after(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); + } - state._fsp--; + } - after(grammarAccess.getInterpretationAccess().getDefaultInterpretationParserRuleCall_1()); - } + } + } + finally { - } - break; - case 3 : - // InternalSolverLanguage.g:1244:2: ( ruleCDInterpretation ) - { - // InternalSolverLanguage.g:1244:2: ( ruleCDInterpretation ) - // InternalSolverLanguage.g:1245:3: ruleCDInterpretation - { - before(grammarAccess.getInterpretationAccess().getCDInterpretationParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleCDInterpretation(); + restoreStackSize(stackSize); - state._fsp--; + } + return ; + } + // $ANTLR end "rule__MultiplicativeExpression__Group_1__0__Impl" - after(grammarAccess.getInterpretationAccess().getCDInterpretationParserRuleCall_2()); - } + // $ANTLR start "rule__MultiplicativeExpression__Group_1__1" + // InternalSolverLanguage.g:4443:1: rule__MultiplicativeExpression__Group_1__1 : rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 ; + public final void rule__MultiplicativeExpression__Group_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4447:1: ( rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 ) + // InternalSolverLanguage.g:4448:2: rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 + { + pushFollow(FOLLOW_7); + rule__MultiplicativeExpression__Group_1__1__Impl(); + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__MultiplicativeExpression__Group_1__2(); - } - break; + state._fsp--; + if (state.failed) return ; } + } catch (RecognitionException re) { reportError(re); @@ -3931,105 +15320,167 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interpretation__Alternatives" + // $ANTLR end "rule__MultiplicativeExpression__Group_1__1" - // $ANTLR start "rule__Symbol__Alternatives" - // InternalSolverLanguage.g:1254:1: rule__Symbol__Alternatives : ( ( ruleModelSymbol ) | ( rulePartialitySymbol ) | ( ruleDataSymbol ) ); - public final void rule__Symbol__Alternatives() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group_1__1__Impl" + // InternalSolverLanguage.g:4455:1: rule__MultiplicativeExpression__Group_1__1__Impl : ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) ; + public final void rule__MultiplicativeExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1258:1: ( ( ruleModelSymbol ) | ( rulePartialitySymbol ) | ( ruleDataSymbol ) ) - int alt6=3; - switch ( input.LA(1) ) { - case RULE_ID: - { - alt6=1; - } - break; - case 21: - case 22: - { - alt6=2; - } - break; - case 23: - case 24: - case 25: - case 26: - { - alt6=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 6, 0, input); + // InternalSolverLanguage.g:4459:1: ( ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) ) + // InternalSolverLanguage.g:4460:1: ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) + { + // InternalSolverLanguage.g:4460:1: ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguage.g:4461:2: ( rule__MultiplicativeExpression__OpAssignment_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); + } + // InternalSolverLanguage.g:4462:2: ( rule__MultiplicativeExpression__OpAssignment_1_1 ) + // InternalSolverLanguage.g:4462:3: rule__MultiplicativeExpression__OpAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__MultiplicativeExpression__OpAssignment_1_1(); + + state._fsp--; + if (state.failed) return ; - throw nvae; } - switch (alt6) { - case 1 : - // InternalSolverLanguage.g:1259:2: ( ruleModelSymbol ) - { - // InternalSolverLanguage.g:1259:2: ( ruleModelSymbol ) - // InternalSolverLanguage.g:1260:3: ruleModelSymbol - { - before(grammarAccess.getSymbolAccess().getModelSymbolParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleModelSymbol(); + if ( state.backtracking==0 ) { + after(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MultiplicativeExpression__Group_1__1__Impl" + + + // $ANTLR start "rule__MultiplicativeExpression__Group_1__2" + // InternalSolverLanguage.g:4470:1: rule__MultiplicativeExpression__Group_1__2 : rule__MultiplicativeExpression__Group_1__2__Impl ; + public final void rule__MultiplicativeExpression__Group_1__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4474:1: ( rule__MultiplicativeExpression__Group_1__2__Impl ) + // InternalSolverLanguage.g:4475:2: rule__MultiplicativeExpression__Group_1__2__Impl + { + pushFollow(FOLLOW_2); + rule__MultiplicativeExpression__Group_1__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MultiplicativeExpression__Group_1__2" + + + // $ANTLR start "rule__MultiplicativeExpression__Group_1__2__Impl" + // InternalSolverLanguage.g:4481:1: rule__MultiplicativeExpression__Group_1__2__Impl : ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) ; + public final void rule__MultiplicativeExpression__Group_1__2__Impl() throws RecognitionException { - state._fsp--; + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4485:1: ( ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) ) + // InternalSolverLanguage.g:4486:1: ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) + { + // InternalSolverLanguage.g:4486:1: ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguage.g:4487:2: ( rule__MultiplicativeExpression__RightAssignment_1_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); + } + // InternalSolverLanguage.g:4488:2: ( rule__MultiplicativeExpression__RightAssignment_1_2 ) + // InternalSolverLanguage.g:4488:3: rule__MultiplicativeExpression__RightAssignment_1_2 + { + pushFollow(FOLLOW_2); + rule__MultiplicativeExpression__RightAssignment_1_2(); - after(grammarAccess.getSymbolAccess().getModelSymbolParserRuleCall_0()); + state._fsp--; + if (state.failed) return ; - } + } + if ( state.backtracking==0 ) { + after(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); + } - } - break; - case 2 : - // InternalSolverLanguage.g:1265:2: ( rulePartialitySymbol ) - { - // InternalSolverLanguage.g:1265:2: ( rulePartialitySymbol ) - // InternalSolverLanguage.g:1266:3: rulePartialitySymbol - { - before(grammarAccess.getSymbolAccess().getPartialitySymbolParserRuleCall_1()); - pushFollow(FOLLOW_2); - rulePartialitySymbol(); + } - state._fsp--; - after(grammarAccess.getSymbolAccess().getPartialitySymbolParserRuleCall_1()); + } - } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + restoreStackSize(stackSize); - } - break; - case 3 : - // InternalSolverLanguage.g:1271:2: ( ruleDataSymbol ) - { - // InternalSolverLanguage.g:1271:2: ( ruleDataSymbol ) - // InternalSolverLanguage.g:1272:3: ruleDataSymbol - { - before(grammarAccess.getSymbolAccess().getDataSymbolParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleDataSymbol(); + } + return ; + } + // $ANTLR end "rule__MultiplicativeExpression__Group_1__2__Impl" - state._fsp--; - after(grammarAccess.getSymbolAccess().getDataSymbolParserRuleCall_2()); + // $ANTLR start "rule__ExponentialExpression__Group__0" + // InternalSolverLanguage.g:4497:1: rule__ExponentialExpression__Group__0 : rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 ; + public final void rule__ExponentialExpression__Group__0() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4501:1: ( rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 ) + // InternalSolverLanguage.g:4502:2: rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 + { + pushFollow(FOLLOW_29); + rule__ExponentialExpression__Group__0__Impl(); + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ExponentialExpression__Group__1(); - } - break; + state._fsp--; + if (state.failed) return ; } + } catch (RecognitionException re) { reportError(re); @@ -4042,73 +15493,72 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Symbol__Alternatives" + // $ANTLR end "rule__ExponentialExpression__Group__0" - // $ANTLR start "rule__PartialitySymbol__Alternatives" - // InternalSolverLanguage.g:1281:1: rule__PartialitySymbol__Alternatives : ( ( ruleExistSymbol ) | ( ruleEqualsSymbol ) ); - public final void rule__PartialitySymbol__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group__0__Impl" + // InternalSolverLanguage.g:4509:1: rule__ExponentialExpression__Group__0__Impl : ( ruleUnaryExpression ) ; + public final void rule__ExponentialExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1285:1: ( ( ruleExistSymbol ) | ( ruleEqualsSymbol ) ) - int alt7=2; - int LA7_0 = input.LA(1); - - if ( (LA7_0==21) ) { - alt7=1; - } - else if ( (LA7_0==22) ) { - alt7=2; + // InternalSolverLanguage.g:4513:1: ( ( ruleUnaryExpression ) ) + // InternalSolverLanguage.g:4514:1: ( ruleUnaryExpression ) + { + // InternalSolverLanguage.g:4514:1: ( ruleUnaryExpression ) + // InternalSolverLanguage.g:4515:2: ruleUnaryExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0()); } - else { - NoViableAltException nvae = - new NoViableAltException("", 7, 0, input); + pushFollow(FOLLOW_2); + ruleUnaryExpression(); - throw nvae; + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0()); } - switch (alt7) { - case 1 : - // InternalSolverLanguage.g:1286:2: ( ruleExistSymbol ) - { - // InternalSolverLanguage.g:1286:2: ( ruleExistSymbol ) - // InternalSolverLanguage.g:1287:3: ruleExistSymbol - { - before(grammarAccess.getPartialitySymbolAccess().getExistSymbolParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleExistSymbol(); - state._fsp--; + } - after(grammarAccess.getPartialitySymbolAccess().getExistSymbolParserRuleCall_0()); - } + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - } - break; - case 2 : - // InternalSolverLanguage.g:1292:2: ( ruleEqualsSymbol ) - { - // InternalSolverLanguage.g:1292:2: ( ruleEqualsSymbol ) - // InternalSolverLanguage.g:1293:3: ruleEqualsSymbol - { - before(grammarAccess.getPartialitySymbolAccess().getEqualsSymbolParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleEqualsSymbol(); + restoreStackSize(stackSize); - state._fsp--; + } + return ; + } + // $ANTLR end "rule__ExponentialExpression__Group__0__Impl" - after(grammarAccess.getPartialitySymbolAccess().getEqualsSymbolParserRuleCall_1()); - } + // $ANTLR start "rule__ExponentialExpression__Group__1" + // InternalSolverLanguage.g:4524:1: rule__ExponentialExpression__Group__1 : rule__ExponentialExpression__Group__1__Impl ; + public final void rule__ExponentialExpression__Group__1() throws RecognitionException { + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4528:1: ( rule__ExponentialExpression__Group__1__Impl ) + // InternalSolverLanguage.g:4529:2: rule__ExponentialExpression__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__ExponentialExpression__Group__1__Impl(); - } - break; + state._fsp--; + if (state.failed) return ; } + } catch (RecognitionException re) { reportError(re); @@ -4121,125 +15571,94 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PartialitySymbol__Alternatives" + // $ANTLR end "rule__ExponentialExpression__Group__1" - // $ANTLR start "rule__DataSymbol__Alternatives" - // InternalSolverLanguage.g:1302:1: rule__DataSymbol__Alternatives : ( ( ruleBooleanSymbol ) | ( ruleIntegerSymbol ) | ( ruleRealSymbol ) | ( ruleStringSymbol ) ); - public final void rule__DataSymbol__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group__1__Impl" + // InternalSolverLanguage.g:4535:1: rule__ExponentialExpression__Group__1__Impl : ( ( rule__ExponentialExpression__Group_1__0 )? ) ; + public final void rule__ExponentialExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1306:1: ( ( ruleBooleanSymbol ) | ( ruleIntegerSymbol ) | ( ruleRealSymbol ) | ( ruleStringSymbol ) ) - int alt8=4; - switch ( input.LA(1) ) { - case 23: - { - alt8=1; - } - break; - case 24: - { - alt8=2; - } - break; - case 25: - { - alt8=3; - } - break; - case 26: - { - alt8=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 8, 0, input); - - throw nvae; + // InternalSolverLanguage.g:4539:1: ( ( ( rule__ExponentialExpression__Group_1__0 )? ) ) + // InternalSolverLanguage.g:4540:1: ( ( rule__ExponentialExpression__Group_1__0 )? ) + { + // InternalSolverLanguage.g:4540:1: ( ( rule__ExponentialExpression__Group_1__0 )? ) + // InternalSolverLanguage.g:4541:2: ( rule__ExponentialExpression__Group_1__0 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExponentialExpressionAccess().getGroup_1()); } + // InternalSolverLanguage.g:4542:2: ( rule__ExponentialExpression__Group_1__0 )? + int alt38=2; + int LA38_0 = input.LA(1); - switch (alt8) { + if ( (LA38_0==15) ) { + alt38=1; + } + switch (alt38) { case 1 : - // InternalSolverLanguage.g:1307:2: ( ruleBooleanSymbol ) - { - // InternalSolverLanguage.g:1307:2: ( ruleBooleanSymbol ) - // InternalSolverLanguage.g:1308:3: ruleBooleanSymbol + // InternalSolverLanguage.g:4542:3: rule__ExponentialExpression__Group_1__0 { - before(grammarAccess.getDataSymbolAccess().getBooleanSymbolParserRuleCall_0()); pushFollow(FOLLOW_2); - ruleBooleanSymbol(); + rule__ExponentialExpression__Group_1__0(); state._fsp--; - - after(grammarAccess.getDataSymbolAccess().getBooleanSymbolParserRuleCall_0()); - - } - + if (state.failed) return ; } break; - case 2 : - // InternalSolverLanguage.g:1313:2: ( ruleIntegerSymbol ) - { - // InternalSolverLanguage.g:1313:2: ( ruleIntegerSymbol ) - // InternalSolverLanguage.g:1314:3: ruleIntegerSymbol - { - before(grammarAccess.getDataSymbolAccess().getIntegerSymbolParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleIntegerSymbol(); - state._fsp--; - - after(grammarAccess.getDataSymbolAccess().getIntegerSymbolParserRuleCall_1()); - - } + } + if ( state.backtracking==0 ) { + after(grammarAccess.getExponentialExpressionAccess().getGroup_1()); + } - } - break; - case 3 : - // InternalSolverLanguage.g:1319:2: ( ruleRealSymbol ) - { - // InternalSolverLanguage.g:1319:2: ( ruleRealSymbol ) - // InternalSolverLanguage.g:1320:3: ruleRealSymbol - { - before(grammarAccess.getDataSymbolAccess().getRealSymbolParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleRealSymbol(); + } - state._fsp--; - after(grammarAccess.getDataSymbolAccess().getRealSymbolParserRuleCall_2()); + } - } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + restoreStackSize(stackSize); - } - break; - case 4 : - // InternalSolverLanguage.g:1325:2: ( ruleStringSymbol ) - { - // InternalSolverLanguage.g:1325:2: ( ruleStringSymbol ) - // InternalSolverLanguage.g:1326:3: ruleStringSymbol - { - before(grammarAccess.getDataSymbolAccess().getStringSymbolParserRuleCall_3()); - pushFollow(FOLLOW_2); - ruleStringSymbol(); + } + return ; + } + // $ANTLR end "rule__ExponentialExpression__Group__1__Impl" - state._fsp--; - after(grammarAccess.getDataSymbolAccess().getStringSymbolParserRuleCall_3()); + // $ANTLR start "rule__ExponentialExpression__Group_1__0" + // InternalSolverLanguage.g:4551:1: rule__ExponentialExpression__Group_1__0 : rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 ; + public final void rule__ExponentialExpression__Group_1__0() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4555:1: ( rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 ) + // InternalSolverLanguage.g:4556:2: rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 + { + pushFollow(FOLLOW_29); + rule__ExponentialExpression__Group_1__0__Impl(); + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ExponentialExpression__Group_1__1(); - } - break; + state._fsp--; + if (state.failed) return ; } + } catch (RecognitionException re) { reportError(re); @@ -4252,107 +15671,73 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DataSymbol__Alternatives" + // $ANTLR end "rule__ExponentialExpression__Group_1__0" - // $ANTLR start "rule__ComplexObject__Alternatives" - // InternalSolverLanguage.g:1335:1: rule__ComplexObject__Alternatives : ( ( ruleObject ) | ( ruleAllInstances ) | ( ruleAllObjects ) ); - public final void rule__ComplexObject__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group_1__0__Impl" + // InternalSolverLanguage.g:4563:1: rule__ExponentialExpression__Group_1__0__Impl : ( () ) ; + public final void rule__ExponentialExpression__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1339:1: ( ( ruleObject ) | ( ruleAllInstances ) | ( ruleAllObjects ) ) - int alt9=3; - switch ( input.LA(1) ) { - case RULE_INT: - case RULE_ID: - case RULE_STRING: - case 11: - case 12: - case 13: - case 27: - { - alt9=1; - } - break; - case 17: - { - alt9=2; - } - break; - case 31: - { - alt9=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 9, 0, input); - - throw nvae; + // InternalSolverLanguage.g:4567:1: ( ( () ) ) + // InternalSolverLanguage.g:4568:1: ( () ) + { + // InternalSolverLanguage.g:4568:1: ( () ) + // InternalSolverLanguage.g:4569:2: () + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); + } + // InternalSolverLanguage.g:4570:2: () + // InternalSolverLanguage.g:4570:3: + { } - switch (alt9) { - case 1 : - // InternalSolverLanguage.g:1340:2: ( ruleObject ) - { - // InternalSolverLanguage.g:1340:2: ( ruleObject ) - // InternalSolverLanguage.g:1341:3: ruleObject - { - before(grammarAccess.getComplexObjectAccess().getObjectParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleObject(); - - state._fsp--; - - after(grammarAccess.getComplexObjectAccess().getObjectParserRuleCall_0()); - - } - + if ( state.backtracking==0 ) { + after(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); + } - } - break; - case 2 : - // InternalSolverLanguage.g:1346:2: ( ruleAllInstances ) - { - // InternalSolverLanguage.g:1346:2: ( ruleAllInstances ) - // InternalSolverLanguage.g:1347:3: ruleAllInstances - { - before(grammarAccess.getComplexObjectAccess().getAllInstancesParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleAllInstances(); + } - state._fsp--; - after(grammarAccess.getComplexObjectAccess().getAllInstancesParserRuleCall_1()); + } - } + } + finally { + restoreStackSize(stackSize); - } - break; - case 3 : - // InternalSolverLanguage.g:1352:2: ( ruleAllObjects ) - { - // InternalSolverLanguage.g:1352:2: ( ruleAllObjects ) - // InternalSolverLanguage.g:1353:3: ruleAllObjects - { - before(grammarAccess.getComplexObjectAccess().getAllObjectsParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleAllObjects(); + } + return ; + } + // $ANTLR end "rule__ExponentialExpression__Group_1__0__Impl" - state._fsp--; - after(grammarAccess.getComplexObjectAccess().getAllObjectsParserRuleCall_2()); + // $ANTLR start "rule__ExponentialExpression__Group_1__1" + // InternalSolverLanguage.g:4578:1: rule__ExponentialExpression__Group_1__1 : rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 ; + public final void rule__ExponentialExpression__Group_1__1() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4582:1: ( rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 ) + // InternalSolverLanguage.g:4583:2: rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 + { + pushFollow(FOLLOW_7); + rule__ExponentialExpression__Group_1__1__Impl(); + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ExponentialExpression__Group_1__2(); - } - break; + state._fsp--; + if (state.failed) return ; } + } catch (RecognitionException re) { reportError(re); @@ -4365,105 +15750,78 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComplexObject__Alternatives" + // $ANTLR end "rule__ExponentialExpression__Group_1__1" - // $ANTLR start "rule__Object__Alternatives" - // InternalSolverLanguage.g:1362:1: rule__Object__Alternatives : ( ( ruleNamedObject ) | ( ruleUnnamedObject ) | ( ruleDataObject ) ); - public final void rule__Object__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group_1__1__Impl" + // InternalSolverLanguage.g:4590:1: rule__ExponentialExpression__Group_1__1__Impl : ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) ; + public final void rule__ExponentialExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1366:1: ( ( ruleNamedObject ) | ( ruleUnnamedObject ) | ( ruleDataObject ) ) - int alt10=3; - switch ( input.LA(1) ) { - case 27: - { - alt10=1; - } - break; - case RULE_ID: - { - alt10=2; - } - break; - case RULE_INT: - case RULE_STRING: - case 11: - case 12: - case 13: - { - alt10=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 10, 0, input); - - throw nvae; + // InternalSolverLanguage.g:4594:1: ( ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) ) + // InternalSolverLanguage.g:4595:1: ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) + { + // InternalSolverLanguage.g:4595:1: ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguage.g:4596:2: ( rule__ExponentialExpression__OpAssignment_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); } + // InternalSolverLanguage.g:4597:2: ( rule__ExponentialExpression__OpAssignment_1_1 ) + // InternalSolverLanguage.g:4597:3: rule__ExponentialExpression__OpAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__ExponentialExpression__OpAssignment_1_1(); - switch (alt10) { - case 1 : - // InternalSolverLanguage.g:1367:2: ( ruleNamedObject ) - { - // InternalSolverLanguage.g:1367:2: ( ruleNamedObject ) - // InternalSolverLanguage.g:1368:3: ruleNamedObject - { - before(grammarAccess.getObjectAccess().getNamedObjectParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleNamedObject(); - - state._fsp--; - - after(grammarAccess.getObjectAccess().getNamedObjectParserRuleCall_0()); - - } + state._fsp--; + if (state.failed) return ; + } - } - break; - case 2 : - // InternalSolverLanguage.g:1373:2: ( ruleUnnamedObject ) - { - // InternalSolverLanguage.g:1373:2: ( ruleUnnamedObject ) - // InternalSolverLanguage.g:1374:3: ruleUnnamedObject - { - before(grammarAccess.getObjectAccess().getUnnamedObjectParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleUnnamedObject(); + if ( state.backtracking==0 ) { + after(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); + } - state._fsp--; + } - after(grammarAccess.getObjectAccess().getUnnamedObjectParserRuleCall_1()); - } + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - } - break; - case 3 : - // InternalSolverLanguage.g:1379:2: ( ruleDataObject ) - { - // InternalSolverLanguage.g:1379:2: ( ruleDataObject ) - // InternalSolverLanguage.g:1380:3: ruleDataObject - { - before(grammarAccess.getObjectAccess().getDataObjectParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleDataObject(); + restoreStackSize(stackSize); - state._fsp--; + } + return ; + } + // $ANTLR end "rule__ExponentialExpression__Group_1__1__Impl" - after(grammarAccess.getObjectAccess().getDataObjectParserRuleCall_2()); - } + // $ANTLR start "rule__ExponentialExpression__Group_1__2" + // InternalSolverLanguage.g:4605:1: rule__ExponentialExpression__Group_1__2 : rule__ExponentialExpression__Group_1__2__Impl ; + public final void rule__ExponentialExpression__Group_1__2() throws RecognitionException { + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4609:1: ( rule__ExponentialExpression__Group_1__2__Impl ) + // InternalSolverLanguage.g:4610:2: rule__ExponentialExpression__Group_1__2__Impl + { + pushFollow(FOLLOW_2); + rule__ExponentialExpression__Group_1__2__Impl(); - } - break; + state._fsp--; + if (state.failed) return ; } + } catch (RecognitionException re) { reportError(re); @@ -4476,162 +15834,162 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Object__Alternatives" + // $ANTLR end "rule__ExponentialExpression__Group_1__2" - // $ANTLR start "rule__DataObject__Alternatives" - // InternalSolverLanguage.g:1389:1: rule__DataObject__Alternatives : ( ( ruleBooleanObject ) | ( ruleIntObject ) | ( ruleRealObject ) | ( ruleStringObject ) ); - public final void rule__DataObject__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group_1__2__Impl" + // InternalSolverLanguage.g:4616:1: rule__ExponentialExpression__Group_1__2__Impl : ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) ; + public final void rule__ExponentialExpression__Group_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1393:1: ( ( ruleBooleanObject ) | ( ruleIntObject ) | ( ruleRealObject ) | ( ruleStringObject ) ) - int alt11=4; - switch ( input.LA(1) ) { - case 11: - case 12: - { - alt11=1; - } - break; - case 13: - { - int LA11_2 = input.LA(2); - - if ( (LA11_2==RULE_INT) ) { - int LA11_3 = input.LA(3); + // InternalSolverLanguage.g:4620:1: ( ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) ) + // InternalSolverLanguage.g:4621:1: ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) + { + // InternalSolverLanguage.g:4621:1: ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguage.g:4622:2: ( rule__ExponentialExpression__RightAssignment_1_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); + } + // InternalSolverLanguage.g:4623:2: ( rule__ExponentialExpression__RightAssignment_1_2 ) + // InternalSolverLanguage.g:4623:3: rule__ExponentialExpression__RightAssignment_1_2 + { + pushFollow(FOLLOW_2); + rule__ExponentialExpression__RightAssignment_1_2(); - 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); + state._fsp--; + if (state.failed) return ; - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("", 11, 2, input); + } - throw nvae; - } - } - break; - case RULE_INT: - { - int LA11_3 = input.LA(2); + if ( state.backtracking==0 ) { + after(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); + } - 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); + } - throw nvae; - } - } - break; - case RULE_STRING: - { - alt11=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 11, 0, input); - throw nvae; } - switch (alt11) { - case 1 : - // InternalSolverLanguage.g:1394:2: ( ruleBooleanObject ) - { - // InternalSolverLanguage.g:1394:2: ( ruleBooleanObject ) - // InternalSolverLanguage.g:1395:3: ruleBooleanObject - { - before(grammarAccess.getDataObjectAccess().getBooleanObjectParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleBooleanObject(); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - state._fsp--; + restoreStackSize(stackSize); - after(grammarAccess.getDataObjectAccess().getBooleanObjectParserRuleCall_0()); + } + return ; + } + // $ANTLR end "rule__ExponentialExpression__Group_1__2__Impl" - } + // $ANTLR start "rule__UnaryExpression__Group_1__0" + // InternalSolverLanguage.g:4632:1: rule__UnaryExpression__Group_1__0 : rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 ; + public final void rule__UnaryExpression__Group_1__0() throws RecognitionException { - } - break; - case 2 : - // InternalSolverLanguage.g:1400:2: ( ruleIntObject ) - { - // InternalSolverLanguage.g:1400:2: ( ruleIntObject ) - // InternalSolverLanguage.g:1401:3: ruleIntObject - { - before(grammarAccess.getDataObjectAccess().getIntObjectParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleIntObject(); + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4636:1: ( rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 ) + // InternalSolverLanguage.g:4637:2: rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 + { + pushFollow(FOLLOW_7); + rule__UnaryExpression__Group_1__0__Impl(); - state._fsp--; + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__UnaryExpression__Group_1__1(); - after(grammarAccess.getDataObjectAccess().getIntObjectParserRuleCall_1()); + state._fsp--; + if (state.failed) return ; - } + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - } - break; - case 3 : - // InternalSolverLanguage.g:1406:2: ( ruleRealObject ) - { - // InternalSolverLanguage.g:1406:2: ( ruleRealObject ) - // InternalSolverLanguage.g:1407:3: ruleRealObject - { - before(grammarAccess.getDataObjectAccess().getRealObjectParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleRealObject(); + restoreStackSize(stackSize); - state._fsp--; + } + return ; + } + // $ANTLR end "rule__UnaryExpression__Group_1__0" - after(grammarAccess.getDataObjectAccess().getRealObjectParserRuleCall_2()); - } + // $ANTLR start "rule__UnaryExpression__Group_1__0__Impl" + // InternalSolverLanguage.g:4644:1: rule__UnaryExpression__Group_1__0__Impl : ( () ) ; + public final void rule__UnaryExpression__Group_1__0__Impl() throws RecognitionException { + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4648:1: ( ( () ) ) + // InternalSolverLanguage.g:4649:1: ( () ) + { + // InternalSolverLanguage.g:4649:1: ( () ) + // InternalSolverLanguage.g:4650:2: () + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); + } + // InternalSolverLanguage.g:4651:2: () + // InternalSolverLanguage.g:4651:3: + { + } - } - break; - case 4 : - // InternalSolverLanguage.g:1412:2: ( ruleStringObject ) - { - // InternalSolverLanguage.g:1412:2: ( ruleStringObject ) - // InternalSolverLanguage.g:1413:3: ruleStringObject - { - before(grammarAccess.getDataObjectAccess().getStringObjectParserRuleCall_3()); - pushFollow(FOLLOW_2); - ruleStringObject(); + if ( state.backtracking==0 ) { + after(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); + } - state._fsp--; + } - after(grammarAccess.getDataObjectAccess().getStringObjectParserRuleCall_3()); - } + } + + } + finally { + restoreStackSize(stackSize); - } - break; + } + return ; + } + // $ANTLR end "rule__UnaryExpression__Group_1__0__Impl" + + + // $ANTLR start "rule__UnaryExpression__Group_1__1" + // InternalSolverLanguage.g:4659:1: rule__UnaryExpression__Group_1__1 : rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 ; + public final void rule__UnaryExpression__Group_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4663:1: ( rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 ) + // InternalSolverLanguage.g:4664:2: rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 + { + pushFollow(FOLLOW_30); + rule__UnaryExpression__Group_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__UnaryExpression__Group_1__2(); + + state._fsp--; + if (state.failed) return ; } + } catch (RecognitionException re) { reportError(re); @@ -4644,75 +16002,78 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DataObject__Alternatives" + // $ANTLR end "rule__UnaryExpression__Group_1__1" - // $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 { + // $ANTLR start "rule__UnaryExpression__Group_1__1__Impl" + // InternalSolverLanguage.g:4671:1: rule__UnaryExpression__Group_1__1__Impl : ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) ; + public final void rule__UnaryExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1426:1: ( ( 'false' ) | ( ( rule__Predicate__Group_4_1__0 ) ) ) - int alt12=2; - int LA12_0 = input.LA(1); - - if ( (LA12_0==11) ) { - alt12=1; + // InternalSolverLanguage.g:4675:1: ( ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) ) + // InternalSolverLanguage.g:4676:1: ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) + { + // InternalSolverLanguage.g:4676:1: ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguage.g:4677:2: ( rule__UnaryExpression__OpAssignment_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); } - else if ( (LA12_0==EOF||LA12_0==RULE_ID||(LA12_0>=12 && LA12_0<=14)||(LA12_0>=29 && LA12_0<=31)) ) { - alt12=2; + // InternalSolverLanguage.g:4678:2: ( rule__UnaryExpression__OpAssignment_1_1 ) + // InternalSolverLanguage.g:4678:3: rule__UnaryExpression__OpAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__UnaryExpression__OpAssignment_1_1(); + + state._fsp--; + if (state.failed) return ; + } - else { - NoViableAltException nvae = - new NoViableAltException("", 12, 0, input); - throw nvae; + if ( state.backtracking==0 ) { + after(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); } - switch (alt12) { - case 1 : - // InternalSolverLanguage.g:1427:2: ( 'false' ) - { - // InternalSolverLanguage.g:1427:2: ( 'false' ) - // InternalSolverLanguage.g:1428:3: 'false' - { - before(grammarAccess.getPredicateAccess().getFalseKeyword_4_0()); - match(input,11,FOLLOW_2); - after(grammarAccess.getPredicateAccess().getFalseKeyword_4_0()); - } + } - } - break; - case 2 : - // InternalSolverLanguage.g:1433:2: ( ( rule__Predicate__Group_4_1__0 ) ) - { - // 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 - { - pushFollow(FOLLOW_2); - rule__Predicate__Group_4_1__0(); + } - state._fsp--; + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__UnaryExpression__Group_1__1__Impl" - after(grammarAccess.getPredicateAccess().getGroup_4_1()); - } + // $ANTLR start "rule__UnaryExpression__Group_1__2" + // InternalSolverLanguage.g:4686:1: rule__UnaryExpression__Group_1__2 : rule__UnaryExpression__Group_1__2__Impl ; + public final void rule__UnaryExpression__Group_1__2() throws RecognitionException { + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4690:1: ( rule__UnaryExpression__Group_1__2__Impl ) + // InternalSolverLanguage.g:4691:2: rule__UnaryExpression__Group_1__2__Impl + { + pushFollow(FOLLOW_2); + rule__UnaryExpression__Group_1__2__Impl(); - } - break; + state._fsp--; + if (state.failed) return ; } + } catch (RecognitionException re) { reportError(re); @@ -4725,93 +16086,83 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Alternatives_4" + // $ANTLR end "rule__UnaryExpression__Group_1__2" - // $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 { + // $ANTLR start "rule__UnaryExpression__Group_1__2__Impl" + // InternalSolverLanguage.g:4697:1: rule__UnaryExpression__Group_1__2__Impl : ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) ; + public final void rule__UnaryExpression__Group_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1447:1: ( ( 'true' ) | ( ( rule__PatternBody__ConstraintsAssignment_1_1 )* ) ) - int alt14=2; - int LA14_0 = input.LA(1); - - if ( (LA14_0==12) ) { - alt14=1; - } - 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("", 14, 0, input); - - throw nvae; + // InternalSolverLanguage.g:4701:1: ( ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) ) + // InternalSolverLanguage.g:4702:1: ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) + { + // InternalSolverLanguage.g:4702:1: ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) + // InternalSolverLanguage.g:4703:2: ( rule__UnaryExpression__BodyAssignment_1_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); } - switch (alt14) { - case 1 : - // InternalSolverLanguage.g:1448:2: ( 'true' ) - { - // InternalSolverLanguage.g:1448:2: ( 'true' ) - // InternalSolverLanguage.g:1449:3: 'true' - { - before(grammarAccess.getPatternBodyAccess().getTrueKeyword_1_0()); - match(input,12,FOLLOW_2); - after(grammarAccess.getPatternBodyAccess().getTrueKeyword_1_0()); + // InternalSolverLanguage.g:4704:2: ( rule__UnaryExpression__BodyAssignment_1_2 ) + // InternalSolverLanguage.g:4704:3: rule__UnaryExpression__BodyAssignment_1_2 + { + pushFollow(FOLLOW_2); + rule__UnaryExpression__BodyAssignment_1_2(); - } + state._fsp--; + if (state.failed) return ; + } - } - break; - case 2 : - // InternalSolverLanguage.g:1454:2: ( ( rule__PatternBody__ConstraintsAssignment_1_1 )* ) - { - // InternalSolverLanguage.g:1454:2: ( ( rule__PatternBody__ConstraintsAssignment_1_1 )* ) - // InternalSolverLanguage.g:1455:3: ( rule__PatternBody__ConstraintsAssignment_1_1 )* - { - 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); + if ( state.backtracking==0 ) { + after(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); + } - 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--; + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + restoreStackSize(stackSize); - } - break; + } + return ; + } + // $ANTLR end "rule__UnaryExpression__Group_1__2__Impl" - default : - break loop13; - } - } while (true); - after(grammarAccess.getPatternBodyAccess().getConstraintsAssignment_1_1()); + // $ANTLR start "rule__Count__Group__0" + // InternalSolverLanguage.g:4713:1: rule__Count__Group__0 : rule__Count__Group__0__Impl rule__Count__Group__1 ; + public final void rule__Count__Group__0() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4717:1: ( rule__Count__Group__0__Impl rule__Count__Group__1 ) + // InternalSolverLanguage.g:4718:2: rule__Count__Group__0__Impl rule__Count__Group__1 + { + pushFollow(FOLLOW_31); + rule__Count__Group__0__Impl(); + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Count__Group__1(); - } - break; + state._fsp--; + if (state.failed) return ; } + } catch (RecognitionException re) { reportError(re); @@ -4824,85 +16175,73 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PatternBody__Alternatives_1" + // $ANTLR end "rule__Count__Group__0" - // $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 { + // $ANTLR start "rule__Count__Group__0__Impl" + // InternalSolverLanguage.g:4725:1: rule__Count__Group__0__Impl : ( 'count' ) ; + public final void rule__Count__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1468:1: ( ( ( rule__Polarity__Group_0__0 ) ) | ( ( rule__Polarity__Group_1__0 ) ) ) - int alt15=2; - int LA15_0 = input.LA(1); - - if ( (LA15_0==30) ) { - alt15=1; + // InternalSolverLanguage.g:4729:1: ( ( 'count' ) ) + // InternalSolverLanguage.g:4730:1: ( 'count' ) + { + // InternalSolverLanguage.g:4730:1: ( 'count' ) + // InternalSolverLanguage.g:4731:2: 'count' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getCountAccess().getCountKeyword_0()); } - else if ( (LA15_0==13) ) { - alt15=2; + match(input,57,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getCountAccess().getCountKeyword_0()); } - else { - NoViableAltException nvae = - new NoViableAltException("", 15, 0, input); - throw nvae; } - switch (alt15) { - case 1 : - // InternalSolverLanguage.g:1469:2: ( ( rule__Polarity__Group_0__0 ) ) - { - // InternalSolverLanguage.g:1469:2: ( ( rule__Polarity__Group_0__0 ) ) - // InternalSolverLanguage.g:1470:3: ( rule__Polarity__Group_0__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()); - - } + } - } - break; - case 2 : - // InternalSolverLanguage.g:1475:2: ( ( rule__Polarity__Group_1__0 ) ) - { - // InternalSolverLanguage.g:1475:2: ( ( rule__Polarity__Group_1__0 ) ) - // InternalSolverLanguage.g:1476:3: ( rule__Polarity__Group_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__Polarity__Group_1__0(); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - state._fsp--; + restoreStackSize(stackSize); + } + return ; + } + // $ANTLR end "rule__Count__Group__0__Impl" - } - after(grammarAccess.getPolarityAccess().getGroup_1()); + // $ANTLR start "rule__Count__Group__1" + // InternalSolverLanguage.g:4740:1: rule__Count__Group__1 : rule__Count__Group__1__Impl rule__Count__Group__2 ; + public final void rule__Count__Group__1() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4744:1: ( rule__Count__Group__1__Impl rule__Count__Group__2 ) + // InternalSolverLanguage.g:4745:2: rule__Count__Group__1__Impl rule__Count__Group__2 + { + pushFollow(FOLLOW_7); + rule__Count__Group__1__Impl(); + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Count__Group__2(); - } - break; + state._fsp--; + if (state.failed) return ; } + } catch (RecognitionException re) { reportError(re); @@ -4915,108 +16254,73 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Polarity__Alternatives" + // $ANTLR end "rule__Count__Group__1" - // $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 { + // $ANTLR start "rule__Count__Group__1__Impl" + // InternalSolverLanguage.g:4752:1: rule__Count__Group__1__Impl : ( '{' ) ; + public final void rule__Count__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1489:1: ( ( ( rule__Constraint__Group_0__0 ) ) | ( ( rule__Constraint__Group_1__0 ) ) ) - int alt16=2; - switch ( input.LA(1) ) { - case 30: - { - int LA16_1 = input.LA(2); - - 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; - } - break; - case 31: - { - alt16=2; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 16, 0, input); - - throw nvae; + // InternalSolverLanguage.g:4756:1: ( ( '{' ) ) + // InternalSolverLanguage.g:4757:1: ( '{' ) + { + // InternalSolverLanguage.g:4757:1: ( '{' ) + // InternalSolverLanguage.g:4758:2: '{' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); + } + match(input,58,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); } - switch (alt16) { - case 1 : - // InternalSolverLanguage.g:1490:2: ( ( rule__Constraint__Group_0__0 ) ) - { - // InternalSolverLanguage.g:1490:2: ( ( rule__Constraint__Group_0__0 ) ) - // InternalSolverLanguage.g:1491:3: ( rule__Constraint__Group_0__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()); + } - } + } - } - break; - case 2 : - // InternalSolverLanguage.g:1496:2: ( ( rule__Constraint__Group_1__0 ) ) - { - // InternalSolverLanguage.g:1496:2: ( ( rule__Constraint__Group_1__0 ) ) - // InternalSolverLanguage.g:1497:3: ( rule__Constraint__Group_1__0 ) - { - 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(); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - state._fsp--; + restoreStackSize(stackSize); + } + return ; + } + // $ANTLR end "rule__Count__Group__1__Impl" - } - after(grammarAccess.getConstraintAccess().getGroup_1()); + // $ANTLR start "rule__Count__Group__2" + // InternalSolverLanguage.g:4767:1: rule__Count__Group__2 : rule__Count__Group__2__Impl rule__Count__Group__3 ; + public final void rule__Count__Group__2() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4771:1: ( rule__Count__Group__2__Impl rule__Count__Group__3 ) + // InternalSolverLanguage.g:4772:2: rule__Count__Group__2__Impl rule__Count__Group__3 + { + pushFollow(FOLLOW_32); + rule__Count__Group__2__Impl(); + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Count__Group__3(); - } - break; + state._fsp--; + if (state.failed) return ; } + } catch (RecognitionException re) { reportError(re); @@ -5029,85 +16333,78 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Alternatives" + // $ANTLR end "rule__Count__Group__2" - // $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 { + // $ANTLR start "rule__Count__Group__2__Impl" + // InternalSolverLanguage.g:4779:1: rule__Count__Group__2__Impl : ( ( rule__Count__BodyAssignment_2 ) ) ; + public final void rule__Count__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1510:1: ( ( ( rule__ClosureType__Group_0__0 ) ) | ( ( rule__ClosureType__Group_1__0 ) ) ) - int alt17=2; - int LA17_0 = input.LA(1); - - if ( (LA17_0==31) ) { - alt17=1; - } - else if ( (LA17_0==30) ) { - alt17=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 17, 0, input); - - throw nvae; + // InternalSolverLanguage.g:4783:1: ( ( ( rule__Count__BodyAssignment_2 ) ) ) + // InternalSolverLanguage.g:4784:1: ( ( rule__Count__BodyAssignment_2 ) ) + { + // InternalSolverLanguage.g:4784:1: ( ( rule__Count__BodyAssignment_2 ) ) + // InternalSolverLanguage.g:4785:2: ( rule__Count__BodyAssignment_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getCountAccess().getBodyAssignment_2()); } - switch (alt17) { - case 1 : - // InternalSolverLanguage.g:1511:2: ( ( rule__ClosureType__Group_0__0 ) ) - { - // InternalSolverLanguage.g:1511:2: ( ( rule__ClosureType__Group_0__0 ) ) - // InternalSolverLanguage.g:1512:3: ( rule__ClosureType__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__ClosureType__Group_0__0(); - - state._fsp--; + // InternalSolverLanguage.g:4786:2: ( rule__Count__BodyAssignment_2 ) + // InternalSolverLanguage.g:4786:3: rule__Count__BodyAssignment_2 + { + pushFollow(FOLLOW_2); + rule__Count__BodyAssignment_2(); + state._fsp--; + if (state.failed) return ; - } + } - after(grammarAccess.getClosureTypeAccess().getGroup_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getCountAccess().getBodyAssignment_2()); + } - } + } - } - break; - case 2 : - // InternalSolverLanguage.g:1517:2: ( ( rule__ClosureType__Group_1__0 ) ) - { - // InternalSolverLanguage.g:1517:2: ( ( rule__ClosureType__Group_1__0 ) ) - // InternalSolverLanguage.g:1518:3: ( rule__ClosureType__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__ClosureType__Group_1__0(); + } - state._fsp--; + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__Count__Group__2__Impl" - after(grammarAccess.getClosureTypeAccess().getGroup_1()); - } + // $ANTLR start "rule__Count__Group__3" + // InternalSolverLanguage.g:4794:1: rule__Count__Group__3 : rule__Count__Group__3__Impl ; + public final void rule__Count__Group__3() throws RecognitionException { + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4798:1: ( rule__Count__Group__3__Impl ) + // InternalSolverLanguage.g:4799:2: rule__Count__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__Count__Group__3__Impl(); - } - break; + state._fsp--; + if (state.failed) return ; } + } catch (RecognitionException re) { reportError(re); @@ -5120,105 +16417,73 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClosureType__Alternatives" + // $ANTLR end "rule__Count__Group__3" - // $ANTLR start "rule__Literal__Alternatives" - // InternalSolverLanguage.g:1527:1: rule__Literal__Alternatives : ( ( ruleVariable ) | ( ruleDataObject ) | ( ruleNamedObject ) ); - public final void rule__Literal__Alternatives() throws RecognitionException { + // $ANTLR start "rule__Count__Group__3__Impl" + // InternalSolverLanguage.g:4805:1: rule__Count__Group__3__Impl : ( '}' ) ; + public final void rule__Count__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1531:1: ( ( ruleVariable ) | ( ruleDataObject ) | ( ruleNamedObject ) ) - int alt18=3; - switch ( input.LA(1) ) { - case RULE_ID: - { - alt18=1; - } - break; - case RULE_INT: - case RULE_STRING: - case 11: - case 12: - case 13: - { - alt18=2; - } - break; - case 27: - { - alt18=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 18, 0, input); - - throw nvae; + // InternalSolverLanguage.g:4809:1: ( ( '}' ) ) + // InternalSolverLanguage.g:4810:1: ( '}' ) + { + // InternalSolverLanguage.g:4810:1: ( '}' ) + // InternalSolverLanguage.g:4811:2: '}' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); + } + match(input,59,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); } - switch (alt18) { - case 1 : - // InternalSolverLanguage.g:1532:2: ( ruleVariable ) - { - // InternalSolverLanguage.g:1532:2: ( ruleVariable ) - // InternalSolverLanguage.g:1533:3: ruleVariable - { - before(grammarAccess.getLiteralAccess().getVariableParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleVariable(); - - state._fsp--; - - after(grammarAccess.getLiteralAccess().getVariableParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalSolverLanguage.g:1538:2: ( ruleDataObject ) - { - // InternalSolverLanguage.g:1538:2: ( ruleDataObject ) - // InternalSolverLanguage.g:1539:3: ruleDataObject - { - before(grammarAccess.getLiteralAccess().getDataObjectParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleDataObject(); + } - state._fsp--; - after(grammarAccess.getLiteralAccess().getDataObjectParserRuleCall_1()); + } - } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + restoreStackSize(stackSize); - } - break; - case 3 : - // InternalSolverLanguage.g:1544:2: ( ruleNamedObject ) - { - // InternalSolverLanguage.g:1544:2: ( ruleNamedObject ) - // InternalSolverLanguage.g:1545:3: ruleNamedObject - { - before(grammarAccess.getLiteralAccess().getNamedObjectParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleNamedObject(); + } + return ; + } + // $ANTLR end "rule__Count__Group__3__Impl" - state._fsp--; - after(grammarAccess.getLiteralAccess().getNamedObjectParserRuleCall_2()); + // $ANTLR start "rule__Aggregation__Group__0" + // InternalSolverLanguage.g:4821:1: rule__Aggregation__Group__0 : rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 ; + public final void rule__Aggregation__Group__0() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4825:1: ( rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 ) + // InternalSolverLanguage.g:4826:2: rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 + { + pushFollow(FOLLOW_31); + rule__Aggregation__Group__0__Impl(); + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Aggregation__Group__1(); - } - break; + state._fsp--; + if (state.failed) return ; } + } catch (RecognitionException re) { reportError(re); @@ -5231,103 +16496,83 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Literal__Alternatives" + // $ANTLR end "rule__Aggregation__Group__0" - // $ANTLR start "rule__CDInterpretation__Alternatives" - // InternalSolverLanguage.g:1554:1: rule__CDInterpretation__Alternatives : ( ( ruleClassInterpretation ) | ( ruleEnumInterpretation ) | ( ruleGlobalRelationInterpretation ) ); - public final void rule__CDInterpretation__Alternatives() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__0__Impl" + // InternalSolverLanguage.g:4833:1: rule__Aggregation__Group__0__Impl : ( ( rule__Aggregation__OpAssignment_0 ) ) ; + public final void rule__Aggregation__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1558:1: ( ( ruleClassInterpretation ) | ( ruleEnumInterpretation ) | ( ruleGlobalRelationInterpretation ) ) - int alt19=3; - switch ( input.LA(1) ) { - case 33: - case 40: - { - alt19=1; - } - break; - case 37: - { - alt19=2; - } - break; - case 38: - case 41: - { - alt19=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 19, 0, input); - - throw nvae; + // InternalSolverLanguage.g:4837:1: ( ( ( rule__Aggregation__OpAssignment_0 ) ) ) + // InternalSolverLanguage.g:4838:1: ( ( rule__Aggregation__OpAssignment_0 ) ) + { + // InternalSolverLanguage.g:4838:1: ( ( rule__Aggregation__OpAssignment_0 ) ) + // InternalSolverLanguage.g:4839:2: ( rule__Aggregation__OpAssignment_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationAccess().getOpAssignment_0()); } + // InternalSolverLanguage.g:4840:2: ( rule__Aggregation__OpAssignment_0 ) + // InternalSolverLanguage.g:4840:3: rule__Aggregation__OpAssignment_0 + { + pushFollow(FOLLOW_2); + rule__Aggregation__OpAssignment_0(); - switch (alt19) { - case 1 : - // InternalSolverLanguage.g:1559:2: ( ruleClassInterpretation ) - { - // InternalSolverLanguage.g:1559:2: ( ruleClassInterpretation ) - // InternalSolverLanguage.g:1560:3: ruleClassInterpretation - { - before(grammarAccess.getCDInterpretationAccess().getClassInterpretationParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleClassInterpretation(); - - state._fsp--; - - after(grammarAccess.getCDInterpretationAccess().getClassInterpretationParserRuleCall_0()); + state._fsp--; + if (state.failed) return ; - } + } + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationAccess().getOpAssignment_0()); + } - } - break; - case 2 : - // InternalSolverLanguage.g:1565:2: ( ruleEnumInterpretation ) - { - // InternalSolverLanguage.g:1565:2: ( ruleEnumInterpretation ) - // InternalSolverLanguage.g:1566:3: ruleEnumInterpretation - { - before(grammarAccess.getCDInterpretationAccess().getEnumInterpretationParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleEnumInterpretation(); + } - state._fsp--; - after(grammarAccess.getCDInterpretationAccess().getEnumInterpretationParserRuleCall_1()); + } - } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + restoreStackSize(stackSize); - } - break; - case 3 : - // InternalSolverLanguage.g:1571:2: ( ruleGlobalRelationInterpretation ) - { - // InternalSolverLanguage.g:1571:2: ( ruleGlobalRelationInterpretation ) - // InternalSolverLanguage.g:1572:3: ruleGlobalRelationInterpretation - { - before(grammarAccess.getCDInterpretationAccess().getGlobalRelationInterpretationParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleGlobalRelationInterpretation(); + } + return ; + } + // $ANTLR end "rule__Aggregation__Group__0__Impl" - state._fsp--; - after(grammarAccess.getCDInterpretationAccess().getGlobalRelationInterpretationParserRuleCall_2()); + // $ANTLR start "rule__Aggregation__Group__1" + // InternalSolverLanguage.g:4848:1: rule__Aggregation__Group__1 : rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 ; + public final void rule__Aggregation__Group__1() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:4852:1: ( rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 ) + // InternalSolverLanguage.g:4853:2: rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 + { + pushFollow(FOLLOW_7); + rule__Aggregation__Group__1__Impl(); + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Aggregation__Group__2(); - } - break; + state._fsp--; + if (state.failed) return ; } + } catch (RecognitionException re) { reportError(re); @@ -5340,85 +16585,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__CDInterpretation__Alternatives" + // $ANTLR end "rule__Aggregation__Group__1" - // $ANTLR start "rule__MultiplicityDefinition__Alternatives_2" - // 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 { + // $ANTLR start "rule__Aggregation__Group__1__Impl" + // InternalSolverLanguage.g:4860:1: rule__Aggregation__Group__1__Impl : ( '{' ) ; + public final void rule__Aggregation__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1585:1: ( ( ( rule__MultiplicityDefinition__UpperAssignment_2_0 ) ) | ( ( rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 ) ) ) - int alt20=2; - int LA20_0 = input.LA(1); - - if ( (LA20_0==RULE_INT) ) { - alt20=1; + // InternalSolverLanguage.g:4864:1: ( ( '{' ) ) + // InternalSolverLanguage.g:4865:1: ( '{' ) + { + // InternalSolverLanguage.g:4865:1: ( '{' ) + // InternalSolverLanguage.g:4866:2: '{' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); } - else if ( (LA20_0==31) ) { - alt20=2; + match(input,58,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); } - else { - NoViableAltException nvae = - new NoViableAltException("", 20, 0, input); - throw nvae; } - switch (alt20) { - case 1 : - // InternalSolverLanguage.g:1586:2: ( ( 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:1588:3: ( rule__MultiplicityDefinition__UpperAssignment_2_0 ) - // InternalSolverLanguage.g:1588:4: rule__MultiplicityDefinition__UpperAssignment_2_0 - { - pushFollow(FOLLOW_2); - rule__MultiplicityDefinition__UpperAssignment_2_0(); - - state._fsp--; - - - } - - after(grammarAccess.getMultiplicityDefinitionAccess().getUpperAssignment_2_0()); - - } - - - } - break; - case 2 : - // InternalSolverLanguage.g:1592:2: ( ( 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:1594:3: ( rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 ) - // InternalSolverLanguage.g:1594:4: rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 - { - pushFollow(FOLLOW_2); - rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1(); - - state._fsp--; - - - } - - after(grammarAccess.getMultiplicityDefinitionAccess().getUnlimitedUpperAssignment_2_1()); - - } - } - break; - } + } catch (RecognitionException re) { reportError(re); @@ -5431,29 +16626,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicityDefinition__Alternatives_2" + // $ANTLR end "rule__Aggregation__Group__1__Impl" - // $ANTLR start "rule__REALLiteral__Group__0" - // 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 { + // $ANTLR start "rule__Aggregation__Group__2" + // InternalSolverLanguage.g:4875:1: rule__Aggregation__Group__2 : rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 ; + public final void rule__Aggregation__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1606:1: ( rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 ) - // InternalSolverLanguage.g:1607:2: rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 + // InternalSolverLanguage.g:4879:1: ( rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 ) + // InternalSolverLanguage.g:4880:2: rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 { - pushFollow(FOLLOW_5); - rule__REALLiteral__Group__0__Impl(); + pushFollow(FOLLOW_33); + rule__Aggregation__Group__2__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__REALLiteral__Group__1(); + rule__Aggregation__Group__3(); state._fsp--; - + if (state.failed) return ; } @@ -5469,42 +16664,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__REALLiteral__Group__0" + // $ANTLR end "rule__Aggregation__Group__2" - // $ANTLR start "rule__REALLiteral__Group__0__Impl" - // InternalSolverLanguage.g:1614:1: rule__REALLiteral__Group__0__Impl : ( ( '-' )? ) ; - public final void rule__REALLiteral__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__2__Impl" + // InternalSolverLanguage.g:4887:1: rule__Aggregation__Group__2__Impl : ( ( rule__Aggregation__BodyAssignment_2 ) ) ; + public final void rule__Aggregation__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1618:1: ( ( ( '-' )? ) ) - // InternalSolverLanguage.g:1619:1: ( ( '-' )? ) + // InternalSolverLanguage.g:4891:1: ( ( ( rule__Aggregation__BodyAssignment_2 ) ) ) + // InternalSolverLanguage.g:4892:1: ( ( rule__Aggregation__BodyAssignment_2 ) ) { - // InternalSolverLanguage.g:1619:1: ( ( '-' )? ) - // InternalSolverLanguage.g:1620:2: ( '-' )? + // InternalSolverLanguage.g:4892:1: ( ( rule__Aggregation__BodyAssignment_2 ) ) + // InternalSolverLanguage.g:4893:2: ( rule__Aggregation__BodyAssignment_2 ) { - before(grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); - // InternalSolverLanguage.g:1621:2: ( '-' )? - int alt21=2; - int LA21_0 = input.LA(1); - - if ( (LA21_0==13) ) { - alt21=1; + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationAccess().getBodyAssignment_2()); } - switch (alt21) { - case 1 : - // InternalSolverLanguage.g:1621:3: '-' - { - match(input,13,FOLLOW_2); + // InternalSolverLanguage.g:4894:2: ( rule__Aggregation__BodyAssignment_2 ) + // InternalSolverLanguage.g:4894:3: rule__Aggregation__BodyAssignment_2 + { + pushFollow(FOLLOW_2); + rule__Aggregation__BodyAssignment_2(); - } - break; + state._fsp--; + if (state.failed) return ; } - after(grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationAccess().getBodyAssignment_2()); + } } @@ -5523,29 +16715,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__REALLiteral__Group__0__Impl" + // $ANTLR end "rule__Aggregation__Group__2__Impl" - // $ANTLR start "rule__REALLiteral__Group__1" - // 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 { + // $ANTLR start "rule__Aggregation__Group__3" + // InternalSolverLanguage.g:4902:1: rule__Aggregation__Group__3 : rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 ; + public final void rule__Aggregation__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1633:1: ( rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 ) - // InternalSolverLanguage.g:1634:2: rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 + // InternalSolverLanguage.g:4906:1: ( rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 ) + // InternalSolverLanguage.g:4907:2: rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 { - pushFollow(FOLLOW_6); - rule__REALLiteral__Group__1__Impl(); + pushFollow(FOLLOW_7); + rule__Aggregation__Group__3__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__REALLiteral__Group__2(); + rule__Aggregation__Group__4(); state._fsp--; - + if (state.failed) return ; } @@ -5561,25 +16753,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__REALLiteral__Group__1" + // $ANTLR end "rule__Aggregation__Group__3" - // $ANTLR start "rule__REALLiteral__Group__1__Impl" - // InternalSolverLanguage.g:1641:1: rule__REALLiteral__Group__1__Impl : ( RULE_INT ) ; - public final void rule__REALLiteral__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__3__Impl" + // InternalSolverLanguage.g:4914:1: rule__Aggregation__Group__3__Impl : ( '|' ) ; + public final void rule__Aggregation__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1645:1: ( ( RULE_INT ) ) - // InternalSolverLanguage.g:1646:1: ( RULE_INT ) + // InternalSolverLanguage.g:4918:1: ( ( '|' ) ) + // InternalSolverLanguage.g:4919:1: ( '|' ) { - // InternalSolverLanguage.g:1646:1: ( RULE_INT ) - // InternalSolverLanguage.g:1647:2: RULE_INT + // InternalSolverLanguage.g:4919:1: ( '|' ) + // InternalSolverLanguage.g:4920:2: '|' { - before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); + } + match(input,60,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); + } } @@ -5598,29 +16794,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__REALLiteral__Group__1__Impl" + // $ANTLR end "rule__Aggregation__Group__3__Impl" - // $ANTLR start "rule__REALLiteral__Group__2" - // 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 { + // $ANTLR start "rule__Aggregation__Group__4" + // InternalSolverLanguage.g:4929:1: rule__Aggregation__Group__4 : rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 ; + public final void rule__Aggregation__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1660:1: ( rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 ) - // InternalSolverLanguage.g:1661:2: rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 + // InternalSolverLanguage.g:4933:1: ( rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 ) + // InternalSolverLanguage.g:4934:2: rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 { - pushFollow(FOLLOW_5); - rule__REALLiteral__Group__2__Impl(); + pushFollow(FOLLOW_32); + rule__Aggregation__Group__4__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__REALLiteral__Group__3(); + rule__Aggregation__Group__5(); state._fsp--; - + if (state.failed) return ; } @@ -5636,25 +16832,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__REALLiteral__Group__2" + // $ANTLR end "rule__Aggregation__Group__4" - // $ANTLR start "rule__REALLiteral__Group__2__Impl" - // InternalSolverLanguage.g:1668:1: rule__REALLiteral__Group__2__Impl : ( '.' ) ; - public final void rule__REALLiteral__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__4__Impl" + // InternalSolverLanguage.g:4941:1: rule__Aggregation__Group__4__Impl : ( ( rule__Aggregation__ConditionAssignment_4 ) ) ; + public final void rule__Aggregation__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1672:1: ( ( '.' ) ) - // InternalSolverLanguage.g:1673:1: ( '.' ) + // InternalSolverLanguage.g:4945:1: ( ( ( rule__Aggregation__ConditionAssignment_4 ) ) ) + // InternalSolverLanguage.g:4946:1: ( ( rule__Aggregation__ConditionAssignment_4 ) ) + { + // InternalSolverLanguage.g:4946:1: ( ( rule__Aggregation__ConditionAssignment_4 ) ) + // InternalSolverLanguage.g:4947:2: ( rule__Aggregation__ConditionAssignment_4 ) { - // InternalSolverLanguage.g:1673:1: ( '.' ) - // InternalSolverLanguage.g:1674:2: '.' + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationAccess().getConditionAssignment_4()); + } + // InternalSolverLanguage.g:4948:2: ( rule__Aggregation__ConditionAssignment_4 ) + // InternalSolverLanguage.g:4948:3: rule__Aggregation__ConditionAssignment_4 { - before(grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); - match(input,14,FOLLOW_2); - after(grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); + pushFollow(FOLLOW_2); + rule__Aggregation__ConditionAssignment_4(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationAccess().getConditionAssignment_4()); + } } @@ -5673,24 +16883,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__REALLiteral__Group__2__Impl" + // $ANTLR end "rule__Aggregation__Group__4__Impl" - // $ANTLR start "rule__REALLiteral__Group__3" - // InternalSolverLanguage.g:1683:1: rule__REALLiteral__Group__3 : rule__REALLiteral__Group__3__Impl ; - public final void rule__REALLiteral__Group__3() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__5" + // InternalSolverLanguage.g:4956:1: rule__Aggregation__Group__5 : rule__Aggregation__Group__5__Impl ; + public final void rule__Aggregation__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1687:1: ( rule__REALLiteral__Group__3__Impl ) - // InternalSolverLanguage.g:1688:2: rule__REALLiteral__Group__3__Impl + // InternalSolverLanguage.g:4960:1: ( rule__Aggregation__Group__5__Impl ) + // InternalSolverLanguage.g:4961:2: rule__Aggregation__Group__5__Impl { pushFollow(FOLLOW_2); - rule__REALLiteral__Group__3__Impl(); + rule__Aggregation__Group__5__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -5706,25 +16916,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__REALLiteral__Group__3" + // $ANTLR end "rule__Aggregation__Group__5" - // $ANTLR start "rule__REALLiteral__Group__3__Impl" - // InternalSolverLanguage.g:1694:1: rule__REALLiteral__Group__3__Impl : ( RULE_INT ) ; - public final void rule__REALLiteral__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__5__Impl" + // InternalSolverLanguage.g:4967:1: rule__Aggregation__Group__5__Impl : ( '}' ) ; + public final void rule__Aggregation__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1698:1: ( ( RULE_INT ) ) - // InternalSolverLanguage.g:1699:1: ( RULE_INT ) + // InternalSolverLanguage.g:4971:1: ( ( '}' ) ) + // InternalSolverLanguage.g:4972:1: ( '}' ) { - // InternalSolverLanguage.g:1699:1: ( RULE_INT ) - // InternalSolverLanguage.g:1700:2: RULE_INT + // InternalSolverLanguage.g:4972:1: ( '}' ) + // InternalSolverLanguage.g:4973:2: '}' { - before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); + } + match(input,59,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); + } } @@ -5743,29 +16957,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__REALLiteral__Group__3__Impl" + // $ANTLR end "rule__Aggregation__Group__5__Impl" - // $ANTLR start "rule__INTLiteral__Group__0" - // 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 { + // $ANTLR start "rule__AtomicExpression__Group_0__0" + // InternalSolverLanguage.g:4983:1: rule__AtomicExpression__Group_0__0 : rule__AtomicExpression__Group_0__0__Impl rule__AtomicExpression__Group_0__1 ; + public final void rule__AtomicExpression__Group_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:4987:1: ( rule__AtomicExpression__Group_0__0__Impl rule__AtomicExpression__Group_0__1 ) + // InternalSolverLanguage.g:4988:2: rule__AtomicExpression__Group_0__0__Impl rule__AtomicExpression__Group_0__1 { - pushFollow(FOLLOW_5); - rule__INTLiteral__Group__0__Impl(); + pushFollow(FOLLOW_12); + rule__AtomicExpression__Group_0__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__INTLiteral__Group__1(); + rule__AtomicExpression__Group_0__1(); state._fsp--; - + if (state.failed) return ; } @@ -5781,43 +16995,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__INTLiteral__Group__0" + // $ANTLR end "rule__AtomicExpression__Group_0__0" - // $ANTLR start "rule__INTLiteral__Group__0__Impl" - // InternalSolverLanguage.g:1722:1: rule__INTLiteral__Group__0__Impl : ( ( '-' )? ) ; - public final void rule__INTLiteral__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__AtomicExpression__Group_0__0__Impl" + // InternalSolverLanguage.g:4995:1: rule__AtomicExpression__Group_0__0__Impl : ( ruleReference ) ; + public final void rule__AtomicExpression__Group_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1726:1: ( ( ( '-' )? ) ) - // InternalSolverLanguage.g:1727:1: ( ( '-' )? ) + // InternalSolverLanguage.g:4999:1: ( ( ruleReference ) ) + // InternalSolverLanguage.g:5000:1: ( ruleReference ) { - // InternalSolverLanguage.g:1727:1: ( ( '-' )? ) - // InternalSolverLanguage.g:1728:2: ( '-' )? + // InternalSolverLanguage.g:5000:1: ( ruleReference ) + // InternalSolverLanguage.g:5001:2: ruleReference { - before(grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); - // InternalSolverLanguage.g:1729:2: ( '-' )? - int alt22=2; - int LA22_0 = input.LA(1); - - if ( (LA22_0==13) ) { - alt22=1; + if ( state.backtracking==0 ) { + before(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0_0()); } - switch (alt22) { - case 1 : - // InternalSolverLanguage.g:1729:3: '-' - { - match(input,13,FOLLOW_2); - - } - break; + pushFollow(FOLLOW_2); + ruleReference(); + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0_0()); } - after(grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); - } @@ -5835,24 +17040,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__INTLiteral__Group__0__Impl" + // $ANTLR end "rule__AtomicExpression__Group_0__0__Impl" - // $ANTLR start "rule__INTLiteral__Group__1" - // InternalSolverLanguage.g:1737:1: rule__INTLiteral__Group__1 : rule__INTLiteral__Group__1__Impl ; - public final void rule__INTLiteral__Group__1() throws RecognitionException { + // $ANTLR start "rule__AtomicExpression__Group_0__1" + // InternalSolverLanguage.g:5010:1: rule__AtomicExpression__Group_0__1 : rule__AtomicExpression__Group_0__1__Impl ; + public final void rule__AtomicExpression__Group_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1741:1: ( rule__INTLiteral__Group__1__Impl ) - // InternalSolverLanguage.g:1742:2: rule__INTLiteral__Group__1__Impl + // InternalSolverLanguage.g:5014:1: ( rule__AtomicExpression__Group_0__1__Impl ) + // InternalSolverLanguage.g:5015:2: rule__AtomicExpression__Group_0__1__Impl { pushFollow(FOLLOW_2); - rule__INTLiteral__Group__1__Impl(); + rule__AtomicExpression__Group_0__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -5868,25 +17073,50 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__INTLiteral__Group__1" + // $ANTLR end "rule__AtomicExpression__Group_0__1" - // $ANTLR start "rule__INTLiteral__Group__1__Impl" - // InternalSolverLanguage.g:1748:1: rule__INTLiteral__Group__1__Impl : ( RULE_INT ) ; - public final void rule__INTLiteral__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__AtomicExpression__Group_0__1__Impl" + // InternalSolverLanguage.g:5021:1: rule__AtomicExpression__Group_0__1__Impl : ( ( rule__AtomicExpression__Group_0_1__0 )? ) ; + public final void rule__AtomicExpression__Group_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1752:1: ( ( RULE_INT ) ) - // InternalSolverLanguage.g:1753:1: ( RULE_INT ) + // InternalSolverLanguage.g:5025:1: ( ( ( rule__AtomicExpression__Group_0_1__0 )? ) ) + // InternalSolverLanguage.g:5026:1: ( ( rule__AtomicExpression__Group_0_1__0 )? ) { - // InternalSolverLanguage.g:1753:1: ( RULE_INT ) - // InternalSolverLanguage.g:1754:2: RULE_INT + // InternalSolverLanguage.g:5026:1: ( ( rule__AtomicExpression__Group_0_1__0 )? ) + // InternalSolverLanguage.g:5027:2: ( rule__AtomicExpression__Group_0_1__0 )? { - before(grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); + if ( state.backtracking==0 ) { + before(grammarAccess.getAtomicExpressionAccess().getGroup_0_1()); + } + // InternalSolverLanguage.g:5028:2: ( rule__AtomicExpression__Group_0_1__0 )? + int alt39=2; + int LA39_0 = input.LA(1); + + if ( (LA39_0==61) ) { + alt39=1; + } + switch (alt39) { + case 1 : + // InternalSolverLanguage.g:5028:3: rule__AtomicExpression__Group_0_1__0 + { + pushFollow(FOLLOW_2); + rule__AtomicExpression__Group_0_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAtomicExpressionAccess().getGroup_0_1()); + } } @@ -5905,29 +17135,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__INTLiteral__Group__1__Impl" + // $ANTLR end "rule__AtomicExpression__Group_0__1__Impl" - // $ANTLR start "rule__BooleanValue__Group_0__0" - // 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 { + // $ANTLR start "rule__AtomicExpression__Group_0_1__0" + // InternalSolverLanguage.g:5037:1: rule__AtomicExpression__Group_0_1__0 : rule__AtomicExpression__Group_0_1__0__Impl rule__AtomicExpression__Group_0_1__1 ; + public final void rule__AtomicExpression__Group_0_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:5041:1: ( rule__AtomicExpression__Group_0_1__0__Impl rule__AtomicExpression__Group_0_1__1 ) + // InternalSolverLanguage.g:5042:2: rule__AtomicExpression__Group_0_1__0__Impl rule__AtomicExpression__Group_0_1__1 { - pushFollow(FOLLOW_7); - rule__BooleanValue__Group_0__0__Impl(); + pushFollow(FOLLOW_12); + rule__AtomicExpression__Group_0_1__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__BooleanValue__Group_0__1(); + rule__AtomicExpression__Group_0_1__1(); state._fsp--; - + if (state.failed) return ; } @@ -5943,29 +17173,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BooleanValue__Group_0__0" + // $ANTLR end "rule__AtomicExpression__Group_0_1__0" - // $ANTLR start "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 { + // $ANTLR start "rule__AtomicExpression__Group_0_1__0__Impl" + // InternalSolverLanguage.g:5049:1: rule__AtomicExpression__Group_0_1__0__Impl : ( () ) ; + public final void rule__AtomicExpression__Group_0_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1780:1: ( ( () ) ) - // InternalSolverLanguage.g:1781:1: ( () ) + // InternalSolverLanguage.g:5053:1: ( ( () ) ) + // InternalSolverLanguage.g:5054:1: ( () ) { - // InternalSolverLanguage.g:1781:1: ( () ) - // InternalSolverLanguage.g:1782:2: () + // InternalSolverLanguage.g:5054:1: ( () ) + // InternalSolverLanguage.g:5055:2: () { - before(grammarAccess.getBooleanValueAccess().getBooleanTrueAction_0_0()); - // InternalSolverLanguage.g:1783:2: () - // InternalSolverLanguage.g:1783:3: + if ( state.backtracking==0 ) { + before(grammarAccess.getAtomicExpressionAccess().getCallFunctorAction_0_1_0()); + } + // InternalSolverLanguage.g:5056:2: () + // InternalSolverLanguage.g:5056:3: { } - after(grammarAccess.getBooleanValueAccess().getBooleanTrueAction_0_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getAtomicExpressionAccess().getCallFunctorAction_0_1_0()); + } } @@ -5980,24 +17214,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BooleanValue__Group_0__0__Impl" + // $ANTLR end "rule__AtomicExpression__Group_0_1__0__Impl" - // $ANTLR start "rule__BooleanValue__Group_0__1" - // 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 { + // $ANTLR start "rule__AtomicExpression__Group_0_1__1" + // InternalSolverLanguage.g:5064:1: rule__AtomicExpression__Group_0_1__1 : rule__AtomicExpression__Group_0_1__1__Impl ; + public final void rule__AtomicExpression__Group_0_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1795:1: ( rule__BooleanValue__Group_0__1__Impl ) - // InternalSolverLanguage.g:1796:2: rule__BooleanValue__Group_0__1__Impl + // InternalSolverLanguage.g:5068:1: ( rule__AtomicExpression__Group_0_1__1__Impl ) + // InternalSolverLanguage.g:5069:2: rule__AtomicExpression__Group_0_1__1__Impl { pushFollow(FOLLOW_2); - rule__BooleanValue__Group_0__1__Impl(); + rule__AtomicExpression__Group_0_1__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -6013,25 +17247,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BooleanValue__Group_0__1" + // $ANTLR end "rule__AtomicExpression__Group_0_1__1" - // $ANTLR start "rule__BooleanValue__Group_0__1__Impl" - // InternalSolverLanguage.g:1802:1: rule__BooleanValue__Group_0__1__Impl : ( 'true' ) ; - public final void rule__BooleanValue__Group_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__AtomicExpression__Group_0_1__1__Impl" + // InternalSolverLanguage.g:5075:1: rule__AtomicExpression__Group_0_1__1__Impl : ( ( rule__AtomicExpression__ArgumentListAssignment_0_1_1 ) ) ; + public final void rule__AtomicExpression__Group_0_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1806:1: ( ( 'true' ) ) - // InternalSolverLanguage.g:1807:1: ( 'true' ) + // InternalSolverLanguage.g:5079:1: ( ( ( rule__AtomicExpression__ArgumentListAssignment_0_1_1 ) ) ) + // InternalSolverLanguage.g:5080:1: ( ( rule__AtomicExpression__ArgumentListAssignment_0_1_1 ) ) + { + // InternalSolverLanguage.g:5080:1: ( ( rule__AtomicExpression__ArgumentListAssignment_0_1_1 ) ) + // InternalSolverLanguage.g:5081:2: ( rule__AtomicExpression__ArgumentListAssignment_0_1_1 ) { - // InternalSolverLanguage.g:1807:1: ( 'true' ) - // InternalSolverLanguage.g:1808:2: 'true' + if ( state.backtracking==0 ) { + before(grammarAccess.getAtomicExpressionAccess().getArgumentListAssignment_0_1_1()); + } + // InternalSolverLanguage.g:5082:2: ( rule__AtomicExpression__ArgumentListAssignment_0_1_1 ) + // InternalSolverLanguage.g:5082:3: rule__AtomicExpression__ArgumentListAssignment_0_1_1 { - before(grammarAccess.getBooleanValueAccess().getTrueKeyword_0_1()); - match(input,12,FOLLOW_2); - after(grammarAccess.getBooleanValueAccess().getTrueKeyword_0_1()); + pushFollow(FOLLOW_2); + rule__AtomicExpression__ArgumentListAssignment_0_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getAtomicExpressionAccess().getArgumentListAssignment_0_1_1()); + } } @@ -6050,29 +17298,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BooleanValue__Group_0__1__Impl" + // $ANTLR end "rule__AtomicExpression__Group_0_1__1__Impl" - // $ANTLR start "rule__BooleanValue__Group_1__0" - // 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 { + // $ANTLR start "rule__AtomicExpression__Group_3__0" + // InternalSolverLanguage.g:5091:1: rule__AtomicExpression__Group_3__0 : rule__AtomicExpression__Group_3__0__Impl rule__AtomicExpression__Group_3__1 ; + public final void rule__AtomicExpression__Group_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:5095:1: ( rule__AtomicExpression__Group_3__0__Impl rule__AtomicExpression__Group_3__1 ) + // InternalSolverLanguage.g:5096:2: rule__AtomicExpression__Group_3__0__Impl rule__AtomicExpression__Group_3__1 { - pushFollow(FOLLOW_1); - rule__BooleanValue__Group_1__0__Impl(); + pushFollow(FOLLOW_7); + rule__AtomicExpression__Group_3__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__BooleanValue__Group_1__1(); + rule__AtomicExpression__Group_3__1(); state._fsp--; - + if (state.failed) return ; } @@ -6088,25 +17336,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BooleanValue__Group_1__0" + // $ANTLR end "rule__AtomicExpression__Group_3__0" - // $ANTLR start "rule__BooleanValue__Group_1__0__Impl" - // InternalSolverLanguage.g:1830:1: rule__BooleanValue__Group_1__0__Impl : ( 'false' ) ; - public final void rule__BooleanValue__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__AtomicExpression__Group_3__0__Impl" + // InternalSolverLanguage.g:5103:1: rule__AtomicExpression__Group_3__0__Impl : ( '(' ) ; + public final void rule__AtomicExpression__Group_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1834:1: ( ( 'false' ) ) - // InternalSolverLanguage.g:1835:1: ( 'false' ) + // InternalSolverLanguage.g:5107:1: ( ( '(' ) ) + // InternalSolverLanguage.g:5108:1: ( '(' ) { - // InternalSolverLanguage.g:1835:1: ( 'false' ) - // InternalSolverLanguage.g:1836:2: 'false' + // InternalSolverLanguage.g:5108:1: ( '(' ) + // InternalSolverLanguage.g:5109:2: '(' { - before(grammarAccess.getBooleanValueAccess().getFalseKeyword_1_0()); - match(input,11,FOLLOW_2); - after(grammarAccess.getBooleanValueAccess().getFalseKeyword_1_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_3_0()); + } + match(input,61,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_3_0()); + } } @@ -6125,24 +17377,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BooleanValue__Group_1__0__Impl" + // $ANTLR end "rule__AtomicExpression__Group_3__0__Impl" - // $ANTLR start "rule__BooleanValue__Group_1__1" - // 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 { + // $ANTLR start "rule__AtomicExpression__Group_3__1" + // InternalSolverLanguage.g:5118:1: rule__AtomicExpression__Group_3__1 : rule__AtomicExpression__Group_3__1__Impl rule__AtomicExpression__Group_3__2 ; + public final void rule__AtomicExpression__Group_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1849:1: ( rule__BooleanValue__Group_1__1__Impl ) - // InternalSolverLanguage.g:1850:2: rule__BooleanValue__Group_1__1__Impl + // InternalSolverLanguage.g:5122:1: ( rule__AtomicExpression__Group_3__1__Impl rule__AtomicExpression__Group_3__2 ) + // InternalSolverLanguage.g:5123:2: rule__AtomicExpression__Group_3__1__Impl rule__AtomicExpression__Group_3__2 { - pushFollow(FOLLOW_2); - rule__BooleanValue__Group_1__1__Impl(); + pushFollow(FOLLOW_34); + rule__AtomicExpression__Group_3__1__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__AtomicExpression__Group_3__2(); + state._fsp--; + if (state.failed) return ; } @@ -6158,29 +17415,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BooleanValue__Group_1__1" + // $ANTLR end "rule__AtomicExpression__Group_3__1" - // $ANTLR start "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 { + // $ANTLR start "rule__AtomicExpression__Group_3__1__Impl" + // InternalSolverLanguage.g:5130:1: rule__AtomicExpression__Group_3__1__Impl : ( ruleExpression ) ; + public final void rule__AtomicExpression__Group_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1860:1: ( ( () ) ) - // InternalSolverLanguage.g:1861:1: ( () ) + // InternalSolverLanguage.g:5134:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:5135:1: ( ruleExpression ) { - // InternalSolverLanguage.g:1861:1: ( () ) - // InternalSolverLanguage.g:1862:2: () - { - before(grammarAccess.getBooleanValueAccess().getBooleanFalseAction_1_1()); - // InternalSolverLanguage.g:1863:2: () - // InternalSolverLanguage.g:1863:3: + // InternalSolverLanguage.g:5135:1: ( ruleExpression ) + // InternalSolverLanguage.g:5136:2: ruleExpression { + if ( state.backtracking==0 ) { + before(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_3_1()); } + pushFollow(FOLLOW_2); + ruleExpression(); - after(grammarAccess.getBooleanValueAccess().getBooleanFalseAction_1_1()); + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_3_1()); + } } @@ -6188,6 +17449,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -6195,29 +17460,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BooleanValue__Group_1__1__Impl" + // $ANTLR end "rule__AtomicExpression__Group_3__1__Impl" - // $ANTLR start "rule__TruthValue__Group_0__0" - // 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 { + // $ANTLR start "rule__AtomicExpression__Group_3__2" + // InternalSolverLanguage.g:5145:1: rule__AtomicExpression__Group_3__2 : rule__AtomicExpression__Group_3__2__Impl ; + public final void rule__AtomicExpression__Group_3__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:5149:1: ( rule__AtomicExpression__Group_3__2__Impl ) + // InternalSolverLanguage.g:5150:2: rule__AtomicExpression__Group_3__2__Impl { - pushFollow(FOLLOW_7); - rule__TruthValue__Group_0__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__TruthValue__Group_0__1(); + rule__AtomicExpression__Group_3__2__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -6233,29 +17493,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TruthValue__Group_0__0" + // $ANTLR end "rule__AtomicExpression__Group_3__2" - // $ANTLR start "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 { + // $ANTLR start "rule__AtomicExpression__Group_3__2__Impl" + // InternalSolverLanguage.g:5156:1: rule__AtomicExpression__Group_3__2__Impl : ( ')' ) ; + public final void rule__AtomicExpression__Group_3__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1888:1: ( ( () ) ) - // InternalSolverLanguage.g:1889:1: ( () ) - { - // InternalSolverLanguage.g:1889:1: ( () ) - // InternalSolverLanguage.g:1890:2: () + // InternalSolverLanguage.g:5160:1: ( ( ')' ) ) + // InternalSolverLanguage.g:5161:1: ( ')' ) { - before(grammarAccess.getTruthValueAccess().getTrueAction_0_0()); - // InternalSolverLanguage.g:1891:2: () - // InternalSolverLanguage.g:1891:3: + // InternalSolverLanguage.g:5161:1: ( ')' ) + // InternalSolverLanguage.g:5162:2: ')' { + if ( state.backtracking==0 ) { + before(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_3_2()); + } + match(input,62,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_3_2()); } - - after(grammarAccess.getTruthValueAccess().getTrueAction_0_0()); } @@ -6263,6 +17523,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -6270,24 +17534,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TruthValue__Group_0__0__Impl" + // $ANTLR end "rule__AtomicExpression__Group_3__2__Impl" - // $ANTLR start "rule__TruthValue__Group_0__1" - // 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 { + // $ANTLR start "rule__Call__Group__0" + // InternalSolverLanguage.g:5172:1: rule__Call__Group__0 : rule__Call__Group__0__Impl rule__Call__Group__1 ; + public final void rule__Call__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1903:1: ( rule__TruthValue__Group_0__1__Impl ) - // InternalSolverLanguage.g:1904:2: rule__TruthValue__Group_0__1__Impl + // InternalSolverLanguage.g:5176:1: ( rule__Call__Group__0__Impl rule__Call__Group__1 ) + // InternalSolverLanguage.g:5177:2: rule__Call__Group__0__Impl rule__Call__Group__1 { - pushFollow(FOLLOW_2); - rule__TruthValue__Group_0__1__Impl(); + pushFollow(FOLLOW_35); + rule__Call__Group__0__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Call__Group__1(); + state._fsp--; + if (state.failed) return ; } @@ -6303,25 +17572,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TruthValue__Group_0__1" + // $ANTLR end "rule__Call__Group__0" - // $ANTLR start "rule__TruthValue__Group_0__1__Impl" - // InternalSolverLanguage.g:1910:1: rule__TruthValue__Group_0__1__Impl : ( 'true' ) ; - public final void rule__TruthValue__Group_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Call__Group__0__Impl" + // InternalSolverLanguage.g:5184:1: rule__Call__Group__0__Impl : ( ( rule__Call__FunctorAssignment_0 ) ) ; + public final void rule__Call__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1914:1: ( ( 'true' ) ) - // InternalSolverLanguage.g:1915:1: ( 'true' ) + // InternalSolverLanguage.g:5188:1: ( ( ( rule__Call__FunctorAssignment_0 ) ) ) + // InternalSolverLanguage.g:5189:1: ( ( rule__Call__FunctorAssignment_0 ) ) { - // InternalSolverLanguage.g:1915:1: ( 'true' ) - // InternalSolverLanguage.g:1916:2: 'true' + // InternalSolverLanguage.g:5189:1: ( ( rule__Call__FunctorAssignment_0 ) ) + // InternalSolverLanguage.g:5190:2: ( rule__Call__FunctorAssignment_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getCallAccess().getFunctorAssignment_0()); + } + // InternalSolverLanguage.g:5191:2: ( rule__Call__FunctorAssignment_0 ) + // InternalSolverLanguage.g:5191:3: rule__Call__FunctorAssignment_0 { - before(grammarAccess.getTruthValueAccess().getTrueKeyword_0_1()); - match(input,12,FOLLOW_2); - after(grammarAccess.getTruthValueAccess().getTrueKeyword_0_1()); + pushFollow(FOLLOW_2); + rule__Call__FunctorAssignment_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getCallAccess().getFunctorAssignment_0()); + } } @@ -6340,29 +17623,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TruthValue__Group_0__1__Impl" + // $ANTLR end "rule__Call__Group__0__Impl" - // $ANTLR start "rule__TruthValue__Group_1__0" - // 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 { + // $ANTLR start "rule__Call__Group__1" + // InternalSolverLanguage.g:5199:1: rule__Call__Group__1 : rule__Call__Group__1__Impl rule__Call__Group__2 ; + public final void rule__Call__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:5203:1: ( rule__Call__Group__1__Impl rule__Call__Group__2 ) + // InternalSolverLanguage.g:5204:2: rule__Call__Group__1__Impl rule__Call__Group__2 { - pushFollow(FOLLOW_8); - rule__TruthValue__Group_1__0__Impl(); + pushFollow(FOLLOW_35); + rule__Call__Group__1__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__TruthValue__Group_1__1(); + rule__Call__Group__2(); state._fsp--; - + if (state.failed) return ; } @@ -6378,29 +17661,50 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TruthValue__Group_1__0" + // $ANTLR end "rule__Call__Group__1" - // $ANTLR start "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 { + // $ANTLR start "rule__Call__Group__1__Impl" + // InternalSolverLanguage.g:5211:1: rule__Call__Group__1__Impl : ( ( rule__Call__Alternatives_1 )? ) ; + public final void rule__Call__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1942:1: ( ( () ) ) - // InternalSolverLanguage.g:1943:1: ( () ) - { - // InternalSolverLanguage.g:1943:1: ( () ) - // InternalSolverLanguage.g:1944:2: () + // InternalSolverLanguage.g:5215:1: ( ( ( rule__Call__Alternatives_1 )? ) ) + // InternalSolverLanguage.g:5216:1: ( ( rule__Call__Alternatives_1 )? ) { - before(grammarAccess.getTruthValueAccess().getFalseAction_1_0()); - // InternalSolverLanguage.g:1945:2: () - // InternalSolverLanguage.g:1945:3: + // InternalSolverLanguage.g:5216:1: ( ( rule__Call__Alternatives_1 )? ) + // InternalSolverLanguage.g:5217:2: ( rule__Call__Alternatives_1 )? { + if ( state.backtracking==0 ) { + before(grammarAccess.getCallAccess().getAlternatives_1()); + } + // InternalSolverLanguage.g:5218:2: ( rule__Call__Alternatives_1 )? + int alt40=2; + int LA40_0 = input.LA(1); + + if ( ((LA40_0>=RULE_STAR && LA40_0<=RULE_PLUS)) ) { + alt40=1; + } + switch (alt40) { + case 1 : + // InternalSolverLanguage.g:5218:3: rule__Call__Alternatives_1 + { + pushFollow(FOLLOW_2); + rule__Call__Alternatives_1(); + + state._fsp--; + if (state.failed) return ; + + } + break; + } - after(grammarAccess.getTruthValueAccess().getFalseAction_1_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getCallAccess().getAlternatives_1()); + } } @@ -6408,6 +17712,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -6415,24 +17723,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TruthValue__Group_1__0__Impl" + // $ANTLR end "rule__Call__Group__1__Impl" - // $ANTLR start "rule__TruthValue__Group_1__1" - // 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 { + // $ANTLR start "rule__Call__Group__2" + // InternalSolverLanguage.g:5226:1: rule__Call__Group__2 : rule__Call__Group__2__Impl ; + public final void rule__Call__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1957:1: ( rule__TruthValue__Group_1__1__Impl ) - // InternalSolverLanguage.g:1958:2: rule__TruthValue__Group_1__1__Impl + // InternalSolverLanguage.g:5230:1: ( rule__Call__Group__2__Impl ) + // InternalSolverLanguage.g:5231:2: rule__Call__Group__2__Impl { pushFollow(FOLLOW_2); - rule__TruthValue__Group_1__1__Impl(); + rule__Call__Group__2__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -6448,25 +17756,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TruthValue__Group_1__1" + // $ANTLR end "rule__Call__Group__2" - // $ANTLR start "rule__TruthValue__Group_1__1__Impl" - // InternalSolverLanguage.g:1964:1: rule__TruthValue__Group_1__1__Impl : ( 'false' ) ; - public final void rule__TruthValue__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Call__Group__2__Impl" + // InternalSolverLanguage.g:5237:1: rule__Call__Group__2__Impl : ( ( rule__Call__ArgumentListAssignment_2 ) ) ; + public final void rule__Call__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1968:1: ( ( 'false' ) ) - // InternalSolverLanguage.g:1969:1: ( 'false' ) + // InternalSolverLanguage.g:5241:1: ( ( ( rule__Call__ArgumentListAssignment_2 ) ) ) + // InternalSolverLanguage.g:5242:1: ( ( rule__Call__ArgumentListAssignment_2 ) ) { - // InternalSolverLanguage.g:1969:1: ( 'false' ) - // InternalSolverLanguage.g:1970:2: 'false' + // InternalSolverLanguage.g:5242:1: ( ( rule__Call__ArgumentListAssignment_2 ) ) + // InternalSolverLanguage.g:5243:2: ( rule__Call__ArgumentListAssignment_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getCallAccess().getArgumentListAssignment_2()); + } + // InternalSolverLanguage.g:5244:2: ( rule__Call__ArgumentListAssignment_2 ) + // InternalSolverLanguage.g:5244:3: rule__Call__ArgumentListAssignment_2 { - before(grammarAccess.getTruthValueAccess().getFalseKeyword_1_1()); - match(input,11,FOLLOW_2); - after(grammarAccess.getTruthValueAccess().getFalseKeyword_1_1()); + pushFollow(FOLLOW_2); + rule__Call__ArgumentListAssignment_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getCallAccess().getArgumentListAssignment_2()); + } } @@ -6485,29 +17807,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TruthValue__Group_1__1__Impl" + // $ANTLR end "rule__Call__Group__2__Impl" - // $ANTLR start "rule__TruthValue__Group_2__0" - // 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 { + // $ANTLR start "rule__ArgumentList__Group__0" + // InternalSolverLanguage.g:5253:1: rule__ArgumentList__Group__0 : rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 ; + public final void rule__ArgumentList__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:5257:1: ( rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 ) + // InternalSolverLanguage.g:5258:2: rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 { - pushFollow(FOLLOW_9); - rule__TruthValue__Group_2__0__Impl(); + pushFollow(FOLLOW_12); + rule__ArgumentList__Group__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__TruthValue__Group_2__1(); + rule__ArgumentList__Group__1(); state._fsp--; - + if (state.failed) return ; } @@ -6523,29 +17845,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TruthValue__Group_2__0" + // $ANTLR end "rule__ArgumentList__Group__0" - // $ANTLR start "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 { + // $ANTLR start "rule__ArgumentList__Group__0__Impl" + // InternalSolverLanguage.g:5265:1: rule__ArgumentList__Group__0__Impl : ( () ) ; + public final void rule__ArgumentList__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:1996:1: ( ( () ) ) - // InternalSolverLanguage.g:1997:1: ( () ) + // InternalSolverLanguage.g:5269:1: ( ( () ) ) + // InternalSolverLanguage.g:5270:1: ( () ) { - // InternalSolverLanguage.g:1997:1: ( () ) - // InternalSolverLanguage.g:1998:2: () + // InternalSolverLanguage.g:5270:1: ( () ) + // InternalSolverLanguage.g:5271:2: () { - before(grammarAccess.getTruthValueAccess().getUnknownAction_2_0()); - // InternalSolverLanguage.g:1999:2: () - // InternalSolverLanguage.g:1999:3: + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); + } + // InternalSolverLanguage.g:5272:2: () + // InternalSolverLanguage.g:5272:3: { } - after(grammarAccess.getTruthValueAccess().getUnknownAction_2_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); + } } @@ -6560,24 +17886,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TruthValue__Group_2__0__Impl" + // $ANTLR end "rule__ArgumentList__Group__0__Impl" - // $ANTLR start "rule__TruthValue__Group_2__1" - // 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 { + // $ANTLR start "rule__ArgumentList__Group__1" + // InternalSolverLanguage.g:5280:1: rule__ArgumentList__Group__1 : rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 ; + public final void rule__ArgumentList__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2011:1: ( rule__TruthValue__Group_2__1__Impl ) - // InternalSolverLanguage.g:2012:2: rule__TruthValue__Group_2__1__Impl + // InternalSolverLanguage.g:5284:1: ( rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 ) + // InternalSolverLanguage.g:5285:2: rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 { - pushFollow(FOLLOW_2); - rule__TruthValue__Group_2__1__Impl(); + pushFollow(FOLLOW_36); + rule__ArgumentList__Group__1__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ArgumentList__Group__2(); + state._fsp--; + if (state.failed) return ; } @@ -6593,25 +17924,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TruthValue__Group_2__1" + // $ANTLR end "rule__ArgumentList__Group__1" - // $ANTLR start "rule__TruthValue__Group_2__1__Impl" - // InternalSolverLanguage.g:2018:1: rule__TruthValue__Group_2__1__Impl : ( 'unknown' ) ; - public final void rule__TruthValue__Group_2__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__1__Impl" + // InternalSolverLanguage.g:5292:1: rule__ArgumentList__Group__1__Impl : ( '(' ) ; + public final void rule__ArgumentList__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2022:1: ( ( 'unknown' ) ) - // InternalSolverLanguage.g:2023:1: ( 'unknown' ) + // InternalSolverLanguage.g:5296:1: ( ( '(' ) ) + // InternalSolverLanguage.g:5297:1: ( '(' ) { - // InternalSolverLanguage.g:2023:1: ( 'unknown' ) - // InternalSolverLanguage.g:2024:2: 'unknown' + // InternalSolverLanguage.g:5297:1: ( '(' ) + // InternalSolverLanguage.g:5298:2: '(' { - before(grammarAccess.getTruthValueAccess().getUnknownKeyword_2_1()); - match(input,15,FOLLOW_2); - after(grammarAccess.getTruthValueAccess().getUnknownKeyword_2_1()); + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); + } + match(input,61,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); + } } @@ -6630,29 +17965,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TruthValue__Group_2__1__Impl" + // $ANTLR end "rule__ArgumentList__Group__1__Impl" - // $ANTLR start "rule__TruthValue__Group_3__0" - // 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 { + // $ANTLR start "rule__ArgumentList__Group__2" + // InternalSolverLanguage.g:5307:1: rule__ArgumentList__Group__2 : rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 ; + public final void rule__ArgumentList__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:5311:1: ( rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 ) + // InternalSolverLanguage.g:5312:2: rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 { - pushFollow(FOLLOW_10); - rule__TruthValue__Group_3__0__Impl(); + pushFollow(FOLLOW_36); + rule__ArgumentList__Group__2__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__TruthValue__Group_3__1(); + rule__ArgumentList__Group__3(); state._fsp--; - + if (state.failed) return ; } @@ -6668,29 +18003,50 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TruthValue__Group_3__0" + // $ANTLR end "rule__ArgumentList__Group__2" - // $ANTLR start "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 { + // $ANTLR start "rule__ArgumentList__Group__2__Impl" + // InternalSolverLanguage.g:5319:1: rule__ArgumentList__Group__2__Impl : ( ( rule__ArgumentList__Group_2__0 )? ) ; + public final void rule__ArgumentList__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2050:1: ( ( () ) ) - // InternalSolverLanguage.g:2051:1: ( () ) - { - // InternalSolverLanguage.g:2051:1: ( () ) - // InternalSolverLanguage.g:2052:2: () + // InternalSolverLanguage.g:5323:1: ( ( ( rule__ArgumentList__Group_2__0 )? ) ) + // InternalSolverLanguage.g:5324:1: ( ( rule__ArgumentList__Group_2__0 )? ) { - before(grammarAccess.getTruthValueAccess().getErrorAction_3_0()); - // InternalSolverLanguage.g:2053:2: () - // InternalSolverLanguage.g:2053:3: + // InternalSolverLanguage.g:5324:1: ( ( rule__ArgumentList__Group_2__0 )? ) + // InternalSolverLanguage.g:5325:2: ( rule__ArgumentList__Group_2__0 )? { + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentListAccess().getGroup_2()); } + // InternalSolverLanguage.g:5326:2: ( rule__ArgumentList__Group_2__0 )? + int alt41=2; + int LA41_0 = input.LA(1); - after(grammarAccess.getTruthValueAccess().getErrorAction_3_0()); + if ( ((LA41_0>=RULE_INT && LA41_0<=RULE_QUOTED_ID)||LA41_0==RULE_ID||LA41_0==RULE_STRING||LA41_0==16||(LA41_0>=26 && LA41_0<=27)||(LA41_0>=29 && LA41_0<=42)||LA41_0==57||LA41_0==61||LA41_0==63||(LA41_0>=66 && LA41_0<=67)) ) { + alt41=1; + } + switch (alt41) { + case 1 : + // InternalSolverLanguage.g:5326:3: rule__ArgumentList__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__ArgumentList__Group_2__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentListAccess().getGroup_2()); + } } @@ -6698,6 +18054,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -6705,24 +18065,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TruthValue__Group_3__0__Impl" + // $ANTLR end "rule__ArgumentList__Group__2__Impl" - // $ANTLR start "rule__TruthValue__Group_3__1" - // 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 { + // $ANTLR start "rule__ArgumentList__Group__3" + // InternalSolverLanguage.g:5334:1: rule__ArgumentList__Group__3 : rule__ArgumentList__Group__3__Impl ; + public final void rule__ArgumentList__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2065:1: ( rule__TruthValue__Group_3__1__Impl ) - // InternalSolverLanguage.g:2066:2: rule__TruthValue__Group_3__1__Impl + // InternalSolverLanguage.g:5338:1: ( rule__ArgumentList__Group__3__Impl ) + // InternalSolverLanguage.g:5339:2: rule__ArgumentList__Group__3__Impl { pushFollow(FOLLOW_2); - rule__TruthValue__Group_3__1__Impl(); + rule__ArgumentList__Group__3__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -6738,25 +18098,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TruthValue__Group_3__1" + // $ANTLR end "rule__ArgumentList__Group__3" - // $ANTLR start "rule__TruthValue__Group_3__1__Impl" - // InternalSolverLanguage.g:2072:1: rule__TruthValue__Group_3__1__Impl : ( 'error' ) ; - public final void rule__TruthValue__Group_3__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__3__Impl" + // InternalSolverLanguage.g:5345:1: rule__ArgumentList__Group__3__Impl : ( ')' ) ; + public final void rule__ArgumentList__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2076:1: ( ( 'error' ) ) - // InternalSolverLanguage.g:2077:1: ( 'error' ) + // InternalSolverLanguage.g:5349:1: ( ( ')' ) ) + // InternalSolverLanguage.g:5350:1: ( ')' ) { - // InternalSolverLanguage.g:2077:1: ( 'error' ) - // InternalSolverLanguage.g:2078:2: 'error' + // InternalSolverLanguage.g:5350:1: ( ')' ) + // InternalSolverLanguage.g:5351:2: ')' { - before(grammarAccess.getTruthValueAccess().getErrorKeyword_3_1()); - match(input,16,FOLLOW_2); - after(grammarAccess.getTruthValueAccess().getErrorKeyword_3_1()); + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); + } + match(input,62,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); + } } @@ -6775,29 +18139,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TruthValue__Group_3__1__Impl" + // $ANTLR end "rule__ArgumentList__Group__3__Impl" - // $ANTLR start "rule__BasicInterpretation__Group__0" - // 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 { + // $ANTLR start "rule__ArgumentList__Group_2__0" + // InternalSolverLanguage.g:5361:1: rule__ArgumentList__Group_2__0 : rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 ; + public final void rule__ArgumentList__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:5365:1: ( rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 ) + // InternalSolverLanguage.g:5366:2: rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 { - pushFollow(FOLLOW_11); - rule__BasicInterpretation__Group__0__Impl(); + pushFollow(FOLLOW_22); + rule__ArgumentList__Group_2__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__BasicInterpretation__Group__1(); + rule__ArgumentList__Group_2__1(); state._fsp--; - + if (state.failed) return ; } @@ -6813,35 +18177,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group__0" + // $ANTLR end "rule__ArgumentList__Group_2__0" - // $ANTLR start "rule__BasicInterpretation__Group__0__Impl" - // InternalSolverLanguage.g:2100:1: rule__BasicInterpretation__Group__0__Impl : ( ( rule__BasicInterpretation__SymbolAssignment_0 ) ) ; - public final void rule__BasicInterpretation__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2__0__Impl" + // InternalSolverLanguage.g:5373:1: rule__ArgumentList__Group_2__0__Impl : ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) ; + public final void rule__ArgumentList__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2104:1: ( ( ( rule__BasicInterpretation__SymbolAssignment_0 ) ) ) - // InternalSolverLanguage.g:2105:1: ( ( rule__BasicInterpretation__SymbolAssignment_0 ) ) + // InternalSolverLanguage.g:5377:1: ( ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) ) + // InternalSolverLanguage.g:5378:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) { - // InternalSolverLanguage.g:2105:1: ( ( rule__BasicInterpretation__SymbolAssignment_0 ) ) - // InternalSolverLanguage.g:2106:2: ( rule__BasicInterpretation__SymbolAssignment_0 ) + // InternalSolverLanguage.g:5378:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) + // InternalSolverLanguage.g:5379:2: ( rule__ArgumentList__ArgumentsAssignment_2_0 ) { - before(grammarAccess.getBasicInterpretationAccess().getSymbolAssignment_0()); - // InternalSolverLanguage.g:2107:2: ( rule__BasicInterpretation__SymbolAssignment_0 ) - // InternalSolverLanguage.g:2107:3: rule__BasicInterpretation__SymbolAssignment_0 + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); + } + // InternalSolverLanguage.g:5380:2: ( rule__ArgumentList__ArgumentsAssignment_2_0 ) + // InternalSolverLanguage.g:5380:3: rule__ArgumentList__ArgumentsAssignment_2_0 { pushFollow(FOLLOW_2); - rule__BasicInterpretation__SymbolAssignment_0(); + rule__ArgumentList__ArgumentsAssignment_2_0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getBasicInterpretationAccess().getSymbolAssignment_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); + } } @@ -6860,29 +18228,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group__0__Impl" + // $ANTLR end "rule__ArgumentList__Group_2__0__Impl" - // $ANTLR start "rule__BasicInterpretation__Group__1" - // 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 { + // $ANTLR start "rule__ArgumentList__Group_2__1" + // InternalSolverLanguage.g:5388:1: rule__ArgumentList__Group_2__1 : rule__ArgumentList__Group_2__1__Impl ; + public final void rule__ArgumentList__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2119:1: ( rule__BasicInterpretation__Group__1__Impl rule__BasicInterpretation__Group__2 ) - // InternalSolverLanguage.g:2120:2: rule__BasicInterpretation__Group__1__Impl rule__BasicInterpretation__Group__2 + // InternalSolverLanguage.g:5392:1: ( rule__ArgumentList__Group_2__1__Impl ) + // InternalSolverLanguage.g:5393:2: rule__ArgumentList__Group_2__1__Impl { - pushFollow(FOLLOW_11); - rule__BasicInterpretation__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__BasicInterpretation__Group__2(); + rule__ArgumentList__Group_2__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -6898,46 +18261,57 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group__1" + // $ANTLR end "rule__ArgumentList__Group_2__1" - // $ANTLR start "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 { + // $ANTLR start "rule__ArgumentList__Group_2__1__Impl" + // InternalSolverLanguage.g:5399:1: rule__ArgumentList__Group_2__1__Impl : ( ( rule__ArgumentList__Group_2_1__0 )* ) ; + public final void rule__ArgumentList__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2131:1: ( ( ( rule__BasicInterpretation__Group_1__0 )? ) ) - // InternalSolverLanguage.g:2132:1: ( ( rule__BasicInterpretation__Group_1__0 )? ) + // InternalSolverLanguage.g:5403:1: ( ( ( rule__ArgumentList__Group_2_1__0 )* ) ) + // InternalSolverLanguage.g:5404:1: ( ( rule__ArgumentList__Group_2_1__0 )* ) { - // InternalSolverLanguage.g:2132:1: ( ( rule__BasicInterpretation__Group_1__0 )? ) - // InternalSolverLanguage.g:2133:2: ( rule__BasicInterpretation__Group_1__0 )? + // InternalSolverLanguage.g:5404:1: ( ( rule__ArgumentList__Group_2_1__0 )* ) + // InternalSolverLanguage.g:5405:2: ( rule__ArgumentList__Group_2_1__0 )* { - 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; + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentListAccess().getGroup_2_1()); } - switch (alt23) { - case 1 : - // InternalSolverLanguage.g:2134:3: rule__BasicInterpretation__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__BasicInterpretation__Group_1__0(); + // InternalSolverLanguage.g:5406:2: ( rule__ArgumentList__Group_2_1__0 )* + loop42: + do { + int alt42=2; + int LA42_0 = input.LA(1); - state._fsp--; + if ( (LA42_0==56) ) { + alt42=1; + } - } - break; + switch (alt42) { + case 1 : + // InternalSolverLanguage.g:5406:3: rule__ArgumentList__Group_2_1__0 + { + pushFollow(FOLLOW_23); + rule__ArgumentList__Group_2_1__0(); - } + state._fsp--; + if (state.failed) return ; + + } + break; + + default : + break loop42; + } + } while (true); - after(grammarAccess.getBasicInterpretationAccess().getGroup_1()); + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentListAccess().getGroup_2_1()); + } } @@ -6956,29 +18330,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group__1__Impl" + // $ANTLR end "rule__ArgumentList__Group_2__1__Impl" - // $ANTLR start "rule__BasicInterpretation__Group__2" - // 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 { + // $ANTLR start "rule__ArgumentList__Group_2_1__0" + // InternalSolverLanguage.g:5415:1: rule__ArgumentList__Group_2_1__0 : rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 ; + public final void rule__ArgumentList__Group_2_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:5419:1: ( rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 ) + // InternalSolverLanguage.g:5420:2: rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 { - pushFollow(FOLLOW_12); - rule__BasicInterpretation__Group__2__Impl(); + pushFollow(FOLLOW_37); + rule__ArgumentList__Group_2_1__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__BasicInterpretation__Group__3(); + rule__ArgumentList__Group_2_1__1(); state._fsp--; - + if (state.failed) return ; } @@ -6994,25 +18368,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group__2" + // $ANTLR end "rule__ArgumentList__Group_2_1__0" - // $ANTLR start "rule__BasicInterpretation__Group__2__Impl" - // InternalSolverLanguage.g:2154:1: rule__BasicInterpretation__Group__2__Impl : ( ':' ) ; - public final void rule__BasicInterpretation__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2_1__0__Impl" + // InternalSolverLanguage.g:5427:1: rule__ArgumentList__Group_2_1__0__Impl : ( ',' ) ; + public final void rule__ArgumentList__Group_2_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2158:1: ( ( ':' ) ) - // InternalSolverLanguage.g:2159:1: ( ':' ) + // InternalSolverLanguage.g:5431:1: ( ( ',' ) ) + // InternalSolverLanguage.g:5432:1: ( ',' ) { - // InternalSolverLanguage.g:2159:1: ( ':' ) - // InternalSolverLanguage.g:2160:2: ':' + // InternalSolverLanguage.g:5432:1: ( ',' ) + // InternalSolverLanguage.g:5433:2: ',' { - before(grammarAccess.getBasicInterpretationAccess().getColonKeyword_2()); - match(input,17,FOLLOW_2); - after(grammarAccess.getBasicInterpretationAccess().getColonKeyword_2()); + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); + } + match(input,56,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); + } } @@ -7031,24 +18409,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group__2__Impl" + // $ANTLR end "rule__ArgumentList__Group_2_1__0__Impl" - // $ANTLR start "rule__BasicInterpretation__Group__3" - // InternalSolverLanguage.g:2169:1: rule__BasicInterpretation__Group__3 : rule__BasicInterpretation__Group__3__Impl ; - public final void rule__BasicInterpretation__Group__3() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2_1__1" + // InternalSolverLanguage.g:5442:1: rule__ArgumentList__Group_2_1__1 : rule__ArgumentList__Group_2_1__1__Impl ; + public final void rule__ArgumentList__Group_2_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2173:1: ( rule__BasicInterpretation__Group__3__Impl ) - // InternalSolverLanguage.g:2174:2: rule__BasicInterpretation__Group__3__Impl + // InternalSolverLanguage.g:5446:1: ( rule__ArgumentList__Group_2_1__1__Impl ) + // InternalSolverLanguage.g:5447:2: rule__ArgumentList__Group_2_1__1__Impl { pushFollow(FOLLOW_2); - rule__BasicInterpretation__Group__3__Impl(); + rule__ArgumentList__Group_2_1__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -7064,110 +18442,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group__3" + // $ANTLR end "rule__ArgumentList__Group_2_1__1" - // $ANTLR start "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 { + // $ANTLR start "rule__ArgumentList__Group_2_1__1__Impl" + // InternalSolverLanguage.g:5453:1: rule__ArgumentList__Group_2_1__1__Impl : ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) ; + public final void rule__ArgumentList__Group_2_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2184:1: ( ( ( rule__BasicInterpretation__ValueAssignment_3 ) ) ) - // InternalSolverLanguage.g:2185:1: ( ( rule__BasicInterpretation__ValueAssignment_3 ) ) + // InternalSolverLanguage.g:5457:1: ( ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) ) + // InternalSolverLanguage.g:5458:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) { - // InternalSolverLanguage.g:2185:1: ( ( rule__BasicInterpretation__ValueAssignment_3 ) ) - // InternalSolverLanguage.g:2186:2: ( rule__BasicInterpretation__ValueAssignment_3 ) + // InternalSolverLanguage.g:5458:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) + // InternalSolverLanguage.g:5459:2: ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) { - 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()); - - } - - + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__BasicInterpretation__Group__3__Impl" - - - // $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: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 + // InternalSolverLanguage.g:5460:2: ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) + // InternalSolverLanguage.g:5460:3: rule__ArgumentList__ArgumentsAssignment_2_1_1 { - pushFollow(FOLLOW_13); - rule__BasicInterpretation__Group_1__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__BasicInterpretation__Group_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__BasicInterpretation__Group_1__0" - + rule__ArgumentList__ArgumentsAssignment_2_1_1(); - // $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:2212:1: ( ( '(' ) ) - // InternalSolverLanguage.g:2213:1: ( '(' ) - { - // InternalSolverLanguage.g:2213:1: ( '(' ) - // InternalSolverLanguage.g:2214:2: '(' - { - before(grammarAccess.getBasicInterpretationAccess().getLeftParenthesisKeyword_1_0()); - match(input,18,FOLLOW_2); - after(grammarAccess.getBasicInterpretationAccess().getLeftParenthesisKeyword_1_0()); + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); + } } @@ -7186,29 +18493,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group_1__0__Impl" + // $ANTLR end "rule__ArgumentList__Group_2_1__1__Impl" - // $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 { + // $ANTLR start "rule__StarArgument__Group__0" + // InternalSolverLanguage.g:5469:1: rule__StarArgument__Group__0 : rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 ; + public final void rule__StarArgument__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:5473:1: ( rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 ) + // InternalSolverLanguage.g:5474:2: rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 { - pushFollow(FOLLOW_13); - rule__BasicInterpretation__Group_1__1__Impl(); + pushFollow(FOLLOW_38); + rule__StarArgument__Group__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__BasicInterpretation__Group_1__2(); + rule__StarArgument__Group__1(); state._fsp--; - + if (state.failed) return ; } @@ -7224,46 +18531,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group_1__1" + // $ANTLR end "rule__StarArgument__Group__0" - // $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 { + // $ANTLR start "rule__StarArgument__Group__0__Impl" + // InternalSolverLanguage.g:5481:1: rule__StarArgument__Group__0__Impl : ( () ) ; + public final void rule__StarArgument__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2239:1: ( ( ( rule__BasicInterpretation__Group_1_1__0 )? ) ) - // InternalSolverLanguage.g:2240:1: ( ( rule__BasicInterpretation__Group_1_1__0 )? ) + // InternalSolverLanguage.g:5485:1: ( ( () ) ) + // InternalSolverLanguage.g:5486:1: ( () ) { - // InternalSolverLanguage.g:2240:1: ( ( rule__BasicInterpretation__Group_1_1__0 )? ) - // InternalSolverLanguage.g:2241:2: ( rule__BasicInterpretation__Group_1_1__0 )? + // InternalSolverLanguage.g:5486:1: ( () ) + // InternalSolverLanguage.g:5487:2: () { - 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; + if ( state.backtracking==0 ) { + before(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); } - 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--; - - - } - break; - + // InternalSolverLanguage.g:5488:2: () + // InternalSolverLanguage.g:5488:3: + { } - after(grammarAccess.getBasicInterpretationAccess().getGroup_1_1()); + if ( state.backtracking==0 ) { + after(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); + } } @@ -7271,10 +18565,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -7282,24 +18572,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group_1__1__Impl" + // $ANTLR end "rule__StarArgument__Group__0__Impl" - // $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 { + // $ANTLR start "rule__StarArgument__Group__1" + // InternalSolverLanguage.g:5496:1: rule__StarArgument__Group__1 : rule__StarArgument__Group__1__Impl ; + public final void rule__StarArgument__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2254:1: ( rule__BasicInterpretation__Group_1__2__Impl ) - // InternalSolverLanguage.g:2255:2: rule__BasicInterpretation__Group_1__2__Impl + // InternalSolverLanguage.g:5500:1: ( rule__StarArgument__Group__1__Impl ) + // InternalSolverLanguage.g:5501:2: rule__StarArgument__Group__1__Impl { pushFollow(FOLLOW_2); - rule__BasicInterpretation__Group_1__2__Impl(); + rule__StarArgument__Group__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -7315,25 +18605,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group_1__2" + // $ANTLR end "rule__StarArgument__Group__1" - // $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 { + // $ANTLR start "rule__StarArgument__Group__1__Impl" + // InternalSolverLanguage.g:5507:1: rule__StarArgument__Group__1__Impl : ( '*' ) ; + public final void rule__StarArgument__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2265:1: ( ( ')' ) ) - // InternalSolverLanguage.g:2266:1: ( ')' ) + // InternalSolverLanguage.g:5511:1: ( ( '*' ) ) + // InternalSolverLanguage.g:5512:1: ( '*' ) { - // InternalSolverLanguage.g:2266:1: ( ')' ) - // InternalSolverLanguage.g:2267:2: ')' + // InternalSolverLanguage.g:5512:1: ( '*' ) + // InternalSolverLanguage.g:5513:2: '*' { - before(grammarAccess.getBasicInterpretationAccess().getRightParenthesisKeyword_1_2()); - match(input,19,FOLLOW_2); - after(grammarAccess.getBasicInterpretationAccess().getRightParenthesisKeyword_1_2()); + if ( state.backtracking==0 ) { + before(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); + } + match(input,16,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); + } } @@ -7352,29 +18646,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group_1__2__Impl" + // $ANTLR end "rule__StarArgument__Group__1__Impl" - // $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 { + // $ANTLR start "rule__TypedArgument__Group__0" + // InternalSolverLanguage.g:5523:1: rule__TypedArgument__Group__0 : rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1 ; + public final void rule__TypedArgument__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:5527:1: ( rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1 ) + // InternalSolverLanguage.g:5528:2: rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1 { - pushFollow(FOLLOW_14); - rule__BasicInterpretation__Group_1_1__0__Impl(); + pushFollow(FOLLOW_9); + rule__TypedArgument__Group__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__BasicInterpretation__Group_1_1__1(); + rule__TypedArgument__Group__1(); state._fsp--; - + if (state.failed) return ; } @@ -7390,35 +18684,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group_1_1__0" + // $ANTLR end "rule__TypedArgument__Group__0" - // $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 { + // $ANTLR start "rule__TypedArgument__Group__0__Impl" + // InternalSolverLanguage.g:5535:1: rule__TypedArgument__Group__0__Impl : ( ( rule__TypedArgument__TypeAssignment_0 ) ) ; + public final void rule__TypedArgument__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2293:1: ( ( ( rule__BasicInterpretation__ObjectsAssignment_1_1_0 ) ) ) - // InternalSolverLanguage.g:2294:1: ( ( rule__BasicInterpretation__ObjectsAssignment_1_1_0 ) ) + // InternalSolverLanguage.g:5539:1: ( ( ( rule__TypedArgument__TypeAssignment_0 ) ) ) + // InternalSolverLanguage.g:5540:1: ( ( rule__TypedArgument__TypeAssignment_0 ) ) { - // InternalSolverLanguage.g:2294:1: ( ( rule__BasicInterpretation__ObjectsAssignment_1_1_0 ) ) - // InternalSolverLanguage.g:2295:2: ( rule__BasicInterpretation__ObjectsAssignment_1_1_0 ) + // InternalSolverLanguage.g:5540:1: ( ( rule__TypedArgument__TypeAssignment_0 ) ) + // InternalSolverLanguage.g:5541:2: ( rule__TypedArgument__TypeAssignment_0 ) { - 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 + if ( state.backtracking==0 ) { + before(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0()); + } + // InternalSolverLanguage.g:5542:2: ( rule__TypedArgument__TypeAssignment_0 ) + // InternalSolverLanguage.g:5542:3: rule__TypedArgument__TypeAssignment_0 { pushFollow(FOLLOW_2); - rule__BasicInterpretation__ObjectsAssignment_1_1_0(); + rule__TypedArgument__TypeAssignment_0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_1_1_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0()); + } } @@ -7437,24 +18735,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group_1_1__0__Impl" + // $ANTLR end "rule__TypedArgument__Group__0__Impl" - // $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 { + // $ANTLR start "rule__TypedArgument__Group__1" + // InternalSolverLanguage.g:5550:1: rule__TypedArgument__Group__1 : rule__TypedArgument__Group__1__Impl ; + public final void rule__TypedArgument__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2308:1: ( rule__BasicInterpretation__Group_1_1__1__Impl ) - // InternalSolverLanguage.g:2309:2: rule__BasicInterpretation__Group_1_1__1__Impl + // InternalSolverLanguage.g:5554:1: ( rule__TypedArgument__Group__1__Impl ) + // InternalSolverLanguage.g:5555:2: rule__TypedArgument__Group__1__Impl { pushFollow(FOLLOW_2); - rule__BasicInterpretation__Group_1_1__1__Impl(); + rule__TypedArgument__Group__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -7470,53 +18768,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group_1_1__1" + // $ANTLR end "rule__TypedArgument__Group__1" - // $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 { + // $ANTLR start "rule__TypedArgument__Group__1__Impl" + // InternalSolverLanguage.g:5561:1: rule__TypedArgument__Group__1__Impl : ( ( rule__TypedArgument__VariableAssignment_1 ) ) ; + public final void rule__TypedArgument__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2319:1: ( ( ( rule__BasicInterpretation__Group_1_1_1__0 )* ) ) - // InternalSolverLanguage.g:2320:1: ( ( rule__BasicInterpretation__Group_1_1_1__0 )* ) + // InternalSolverLanguage.g:5565:1: ( ( ( rule__TypedArgument__VariableAssignment_1 ) ) ) + // InternalSolverLanguage.g:5566:1: ( ( rule__TypedArgument__VariableAssignment_1 ) ) { - // InternalSolverLanguage.g:2320:1: ( ( rule__BasicInterpretation__Group_1_1_1__0 )* ) - // InternalSolverLanguage.g:2321:2: ( rule__BasicInterpretation__Group_1_1_1__0 )* + // InternalSolverLanguage.g:5566:1: ( ( rule__TypedArgument__VariableAssignment_1 ) ) + // InternalSolverLanguage.g:5567:2: ( rule__TypedArgument__VariableAssignment_1 ) { - 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--; - + if ( state.backtracking==0 ) { + before(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1()); + } + // InternalSolverLanguage.g:5568:2: ( rule__TypedArgument__VariableAssignment_1 ) + // InternalSolverLanguage.g:5568:3: rule__TypedArgument__VariableAssignment_1 + { + pushFollow(FOLLOW_2); + rule__TypedArgument__VariableAssignment_1(); - } - break; + state._fsp--; + if (state.failed) return ; - default : - break loop25; - } - } while (true); + } - after(grammarAccess.getBasicInterpretationAccess().getGroup_1_1_1()); + if ( state.backtracking==0 ) { + after(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1()); + } } @@ -7535,29 +18819,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group_1_1__1__Impl" + // $ANTLR end "rule__TypedArgument__Group__1__Impl" - // $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 { + // $ANTLR start "rule__TypedStarArgument__Group__0" + // InternalSolverLanguage.g:5577:1: rule__TypedStarArgument__Group__0 : rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 ; + public final void rule__TypedStarArgument__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:5581:1: ( rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 ) + // InternalSolverLanguage.g:5582:2: rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 { - pushFollow(FOLLOW_16); - rule__BasicInterpretation__Group_1_1_1__0__Impl(); + pushFollow(FOLLOW_38); + rule__TypedStarArgument__Group__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__BasicInterpretation__Group_1_1_1__1(); + rule__TypedStarArgument__Group__1(); state._fsp--; - + if (state.failed) return ; } @@ -7573,25 +18857,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group_1_1_1__0" + // $ANTLR end "rule__TypedStarArgument__Group__0" - // $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 { + // $ANTLR start "rule__TypedStarArgument__Group__0__Impl" + // InternalSolverLanguage.g:5589:1: rule__TypedStarArgument__Group__0__Impl : ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) ; + public final void rule__TypedStarArgument__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2347:1: ( ( ',' ) ) - // InternalSolverLanguage.g:2348:1: ( ',' ) + // InternalSolverLanguage.g:5593:1: ( ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) ) + // InternalSolverLanguage.g:5594:1: ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) { - // InternalSolverLanguage.g:2348:1: ( ',' ) - // InternalSolverLanguage.g:2349:2: ',' + // InternalSolverLanguage.g:5594:1: ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) + // InternalSolverLanguage.g:5595:2: ( rule__TypedStarArgument__TypeAssignment_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0()); + } + // InternalSolverLanguage.g:5596:2: ( rule__TypedStarArgument__TypeAssignment_0 ) + // InternalSolverLanguage.g:5596:3: rule__TypedStarArgument__TypeAssignment_0 { - before(grammarAccess.getBasicInterpretationAccess().getCommaKeyword_1_1_1_0()); - match(input,20,FOLLOW_2); - after(grammarAccess.getBasicInterpretationAccess().getCommaKeyword_1_1_1_0()); + pushFollow(FOLLOW_2); + rule__TypedStarArgument__TypeAssignment_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0()); + } } @@ -7610,24 +18908,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group_1_1_1__0__Impl" + // $ANTLR end "rule__TypedStarArgument__Group__0__Impl" - // $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 { + // $ANTLR start "rule__TypedStarArgument__Group__1" + // InternalSolverLanguage.g:5604:1: rule__TypedStarArgument__Group__1 : rule__TypedStarArgument__Group__1__Impl ; + public final void rule__TypedStarArgument__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2362:1: ( rule__BasicInterpretation__Group_1_1_1__1__Impl ) - // InternalSolverLanguage.g:2363:2: rule__BasicInterpretation__Group_1_1_1__1__Impl + // InternalSolverLanguage.g:5608:1: ( rule__TypedStarArgument__Group__1__Impl ) + // InternalSolverLanguage.g:5609:2: rule__TypedStarArgument__Group__1__Impl { pushFollow(FOLLOW_2); - rule__BasicInterpretation__Group_1_1_1__1__Impl(); + rule__TypedStarArgument__Group__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -7643,35 +18941,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group_1_1_1__1" + // $ANTLR end "rule__TypedStarArgument__Group__1" - // $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 { + // $ANTLR start "rule__TypedStarArgument__Group__1__Impl" + // InternalSolverLanguage.g:5615:1: rule__TypedStarArgument__Group__1__Impl : ( '*' ) ; + public final void rule__TypedStarArgument__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2373:1: ( ( ( rule__BasicInterpretation__ObjectsAssignment_1_1_1_1 ) ) ) - // InternalSolverLanguage.g:2374:1: ( ( rule__BasicInterpretation__ObjectsAssignment_1_1_1_1 ) ) + // InternalSolverLanguage.g:5619:1: ( ( '*' ) ) + // InternalSolverLanguage.g:5620:1: ( '*' ) { - // InternalSolverLanguage.g:2374:1: ( ( rule__BasicInterpretation__ObjectsAssignment_1_1_1_1 ) ) - // InternalSolverLanguage.g:2375:2: ( rule__BasicInterpretation__ObjectsAssignment_1_1_1_1 ) + // InternalSolverLanguage.g:5620:1: ( '*' ) + // InternalSolverLanguage.g:5621:2: '*' { - 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--; - - + if ( state.backtracking==0 ) { + before(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); + } + match(input,16,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); } - - after(grammarAccess.getBasicInterpretationAccess().getObjectsAssignment_1_1_1_1()); } @@ -7690,29 +18982,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__Group_1_1_1__1__Impl" + // $ANTLR end "rule__TypedStarArgument__Group__1__Impl" - // $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 { + // $ANTLR start "rule__Interval__Group__0" + // InternalSolverLanguage.g:5631:1: rule__Interval__Group__0 : rule__Interval__Group__0__Impl rule__Interval__Group__1 ; + public final void rule__Interval__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2389:1: ( rule__ExistSymbol__Group__0__Impl rule__ExistSymbol__Group__1 ) - // InternalSolverLanguage.g:2390:2: rule__ExistSymbol__Group__0__Impl rule__ExistSymbol__Group__1 + // InternalSolverLanguage.g:5635:1: ( rule__Interval__Group__0__Impl rule__Interval__Group__1 ) + // InternalSolverLanguage.g:5636:2: rule__Interval__Group__0__Impl rule__Interval__Group__1 { - pushFollow(FOLLOW_1); - rule__ExistSymbol__Group__0__Impl(); + pushFollow(FOLLOW_7); + rule__Interval__Group__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__ExistSymbol__Group__1(); + rule__Interval__Group__1(); state._fsp--; - + if (state.failed) return ; } @@ -7728,25 +19020,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExistSymbol__Group__0" + // $ANTLR end "rule__Interval__Group__0" - // $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 { + // $ANTLR start "rule__Interval__Group__0__Impl" + // InternalSolverLanguage.g:5643:1: rule__Interval__Group__0__Impl : ( '[' ) ; + public final void rule__Interval__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2401:1: ( ( 'exists' ) ) - // InternalSolverLanguage.g:2402:1: ( 'exists' ) + // InternalSolverLanguage.g:5647:1: ( ( '[' ) ) + // InternalSolverLanguage.g:5648:1: ( '[' ) { - // InternalSolverLanguage.g:2402:1: ( 'exists' ) - // InternalSolverLanguage.g:2403:2: 'exists' + // InternalSolverLanguage.g:5648:1: ( '[' ) + // InternalSolverLanguage.g:5649:2: '[' { - before(grammarAccess.getExistSymbolAccess().getExistsKeyword_0()); - match(input,21,FOLLOW_2); - after(grammarAccess.getExistSymbolAccess().getExistsKeyword_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); + } + match(input,63,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); + } } @@ -7765,24 +19061,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExistSymbol__Group__0__Impl" + // $ANTLR end "rule__Interval__Group__0__Impl" - // $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 { + // $ANTLR start "rule__Interval__Group__1" + // InternalSolverLanguage.g:5658:1: rule__Interval__Group__1 : rule__Interval__Group__1__Impl rule__Interval__Group__2 ; + public final void rule__Interval__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2416:1: ( rule__ExistSymbol__Group__1__Impl ) - // InternalSolverLanguage.g:2417:2: rule__ExistSymbol__Group__1__Impl + // InternalSolverLanguage.g:5662:1: ( rule__Interval__Group__1__Impl rule__Interval__Group__2 ) + // InternalSolverLanguage.g:5663:2: rule__Interval__Group__1__Impl rule__Interval__Group__2 { - pushFollow(FOLLOW_2); - rule__ExistSymbol__Group__1__Impl(); + pushFollow(FOLLOW_39); + rule__Interval__Group__1__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Interval__Group__2(); + state._fsp--; + if (state.failed) return ; } @@ -7798,29 +19099,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExistSymbol__Group__1" + // $ANTLR end "rule__Interval__Group__1" - // $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 { + // $ANTLR start "rule__Interval__Group__1__Impl" + // InternalSolverLanguage.g:5670:1: rule__Interval__Group__1__Impl : ( ( rule__Interval__LowerBoundAssignment_1 ) ) ; + public final void rule__Interval__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2427:1: ( ( () ) ) - // InternalSolverLanguage.g:2428:1: ( () ) + // InternalSolverLanguage.g:5674:1: ( ( ( rule__Interval__LowerBoundAssignment_1 ) ) ) + // InternalSolverLanguage.g:5675:1: ( ( rule__Interval__LowerBoundAssignment_1 ) ) { - // InternalSolverLanguage.g:2428:1: ( () ) - // InternalSolverLanguage.g:2429:2: () + // InternalSolverLanguage.g:5675:1: ( ( rule__Interval__LowerBoundAssignment_1 ) ) + // InternalSolverLanguage.g:5676:2: ( rule__Interval__LowerBoundAssignment_1 ) { - before(grammarAccess.getExistSymbolAccess().getExistSymbolAction_1()); - // InternalSolverLanguage.g:2430:2: () - // InternalSolverLanguage.g:2430:3: + if ( state.backtracking==0 ) { + before(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); + } + // InternalSolverLanguage.g:5677:2: ( rule__Interval__LowerBoundAssignment_1 ) + // InternalSolverLanguage.g:5677:3: rule__Interval__LowerBoundAssignment_1 { + pushFollow(FOLLOW_2); + rule__Interval__LowerBoundAssignment_1(); + + state._fsp--; + if (state.failed) return ; + } - after(grammarAccess.getExistSymbolAccess().getExistSymbolAction_1()); + if ( state.backtracking==0 ) { + after(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); + } } @@ -7828,6 +19139,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -7835,29 +19150,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExistSymbol__Group__1__Impl" + // $ANTLR end "rule__Interval__Group__1__Impl" - // $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 { + // $ANTLR start "rule__Interval__Group__2" + // InternalSolverLanguage.g:5685:1: rule__Interval__Group__2 : rule__Interval__Group__2__Impl rule__Interval__Group__3 ; + public final void rule__Interval__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2443:1: ( rule__EqualsSymbol__Group__0__Impl rule__EqualsSymbol__Group__1 ) - // InternalSolverLanguage.g:2444:2: rule__EqualsSymbol__Group__0__Impl rule__EqualsSymbol__Group__1 + // InternalSolverLanguage.g:5689:1: ( rule__Interval__Group__2__Impl rule__Interval__Group__3 ) + // InternalSolverLanguage.g:5690:2: rule__Interval__Group__2__Impl rule__Interval__Group__3 { - pushFollow(FOLLOW_1); - rule__EqualsSymbol__Group__0__Impl(); + pushFollow(FOLLOW_7); + rule__Interval__Group__2__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__EqualsSymbol__Group__1(); + rule__Interval__Group__3(); state._fsp--; - + if (state.failed) return ; } @@ -7873,25 +19188,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EqualsSymbol__Group__0" + // $ANTLR end "rule__Interval__Group__2" - // $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 { + // $ANTLR start "rule__Interval__Group__2__Impl" + // InternalSolverLanguage.g:5697:1: rule__Interval__Group__2__Impl : ( '..' ) ; + public final void rule__Interval__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2455:1: ( ( 'equals' ) ) - // InternalSolverLanguage.g:2456:1: ( 'equals' ) + // InternalSolverLanguage.g:5701:1: ( ( '..' ) ) + // InternalSolverLanguage.g:5702:1: ( '..' ) { - // InternalSolverLanguage.g:2456:1: ( 'equals' ) - // InternalSolverLanguage.g:2457:2: 'equals' + // InternalSolverLanguage.g:5702:1: ( '..' ) + // InternalSolverLanguage.g:5703:2: '..' { - before(grammarAccess.getEqualsSymbolAccess().getEqualsKeyword_0()); - match(input,22,FOLLOW_2); - after(grammarAccess.getEqualsSymbolAccess().getEqualsKeyword_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); + } + match(input,64,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); + } } @@ -7910,24 +19229,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EqualsSymbol__Group__0__Impl" + // $ANTLR end "rule__Interval__Group__2__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 { + // $ANTLR start "rule__Interval__Group__3" + // InternalSolverLanguage.g:5712:1: rule__Interval__Group__3 : rule__Interval__Group__3__Impl rule__Interval__Group__4 ; + public final void rule__Interval__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2470:1: ( rule__EqualsSymbol__Group__1__Impl ) - // InternalSolverLanguage.g:2471:2: rule__EqualsSymbol__Group__1__Impl + // InternalSolverLanguage.g:5716:1: ( rule__Interval__Group__3__Impl rule__Interval__Group__4 ) + // InternalSolverLanguage.g:5717:2: rule__Interval__Group__3__Impl rule__Interval__Group__4 { - pushFollow(FOLLOW_2); - rule__EqualsSymbol__Group__1__Impl(); + pushFollow(FOLLOW_40); + rule__Interval__Group__3__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Interval__Group__4(); + state._fsp--; + if (state.failed) return ; } @@ -7943,29 +19267,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EqualsSymbol__Group__1" + // $ANTLR end "rule__Interval__Group__3" - // $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 { + // $ANTLR start "rule__Interval__Group__3__Impl" + // InternalSolverLanguage.g:5724:1: rule__Interval__Group__3__Impl : ( ( rule__Interval__UpperBoundAssignment_3 ) ) ; + public final void rule__Interval__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2481:1: ( ( () ) ) - // InternalSolverLanguage.g:2482:1: ( () ) + // InternalSolverLanguage.g:5728:1: ( ( ( rule__Interval__UpperBoundAssignment_3 ) ) ) + // InternalSolverLanguage.g:5729:1: ( ( rule__Interval__UpperBoundAssignment_3 ) ) { - // InternalSolverLanguage.g:2482:1: ( () ) - // InternalSolverLanguage.g:2483:2: () + // InternalSolverLanguage.g:5729:1: ( ( rule__Interval__UpperBoundAssignment_3 ) ) + // InternalSolverLanguage.g:5730:2: ( rule__Interval__UpperBoundAssignment_3 ) { - before(grammarAccess.getEqualsSymbolAccess().getEqualsSymbolAction_1()); - // InternalSolverLanguage.g:2484:2: () - // InternalSolverLanguage.g:2484:3: + if ( state.backtracking==0 ) { + before(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); + } + // InternalSolverLanguage.g:5731:2: ( rule__Interval__UpperBoundAssignment_3 ) + // InternalSolverLanguage.g:5731:3: rule__Interval__UpperBoundAssignment_3 { + pushFollow(FOLLOW_2); + rule__Interval__UpperBoundAssignment_3(); + + state._fsp--; + if (state.failed) return ; + } - after(grammarAccess.getEqualsSymbolAccess().getEqualsSymbolAction_1()); + if ( state.backtracking==0 ) { + after(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); + } } @@ -7973,6 +19307,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -7980,29 +19318,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EqualsSymbol__Group__1__Impl" + // $ANTLR end "rule__Interval__Group__3__Impl" - // $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 { + // $ANTLR start "rule__Interval__Group__4" + // InternalSolverLanguage.g:5739:1: rule__Interval__Group__4 : rule__Interval__Group__4__Impl ; + public final void rule__Interval__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2497:1: ( rule__BooleanSymbol__Group__0__Impl rule__BooleanSymbol__Group__1 ) - // InternalSolverLanguage.g:2498:2: rule__BooleanSymbol__Group__0__Impl rule__BooleanSymbol__Group__1 + // InternalSolverLanguage.g:5743:1: ( rule__Interval__Group__4__Impl ) + // InternalSolverLanguage.g:5744:2: rule__Interval__Group__4__Impl { - pushFollow(FOLLOW_1); - rule__BooleanSymbol__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__BooleanSymbol__Group__1(); + rule__Interval__Group__4__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -8018,25 +19351,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BooleanSymbol__Group__0" + // $ANTLR end "rule__Interval__Group__4" - // $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 { + // $ANTLR start "rule__Interval__Group__4__Impl" + // InternalSolverLanguage.g:5750:1: rule__Interval__Group__4__Impl : ( ']' ) ; + public final void rule__Interval__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2509:1: ( ( 'bool' ) ) - // InternalSolverLanguage.g:2510:1: ( 'bool' ) + // InternalSolverLanguage.g:5754:1: ( ( ']' ) ) + // InternalSolverLanguage.g:5755:1: ( ']' ) { - // InternalSolverLanguage.g:2510:1: ( 'bool' ) - // InternalSolverLanguage.g:2511:2: 'bool' + // InternalSolverLanguage.g:5755:1: ( ']' ) + // InternalSolverLanguage.g:5756:2: ']' { - before(grammarAccess.getBooleanSymbolAccess().getBoolKeyword_0()); - match(input,23,FOLLOW_2); - after(grammarAccess.getBooleanSymbolAccess().getBoolKeyword_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); + } + match(input,65,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); + } } @@ -8055,24 +19392,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BooleanSymbol__Group__0__Impl" + // $ANTLR end "rule__Interval__Group__4__Impl" - // $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 { + // $ANTLR start "rule__InfinityLiteral__Group__0" + // InternalSolverLanguage.g:5766:1: rule__InfinityLiteral__Group__0 : rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 ; + public final void rule__InfinityLiteral__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2524:1: ( rule__BooleanSymbol__Group__1__Impl ) - // InternalSolverLanguage.g:2525:2: rule__BooleanSymbol__Group__1__Impl + // InternalSolverLanguage.g:5770:1: ( rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 ) + // InternalSolverLanguage.g:5771:2: rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 { - pushFollow(FOLLOW_2); - rule__BooleanSymbol__Group__1__Impl(); + pushFollow(FOLLOW_41); + rule__InfinityLiteral__Group__0__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__InfinityLiteral__Group__1(); + state._fsp--; + if (state.failed) return ; } @@ -8088,29 +19430,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BooleanSymbol__Group__1" + // $ANTLR end "rule__InfinityLiteral__Group__0" - // $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 { + // $ANTLR start "rule__InfinityLiteral__Group__0__Impl" + // InternalSolverLanguage.g:5778:1: rule__InfinityLiteral__Group__0__Impl : ( () ) ; + public final void rule__InfinityLiteral__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2535:1: ( ( () ) ) - // InternalSolverLanguage.g:2536:1: ( () ) + // InternalSolverLanguage.g:5782:1: ( ( () ) ) + // InternalSolverLanguage.g:5783:1: ( () ) { - // InternalSolverLanguage.g:2536:1: ( () ) - // InternalSolverLanguage.g:2537:2: () + // InternalSolverLanguage.g:5783:1: ( () ) + // InternalSolverLanguage.g:5784:2: () { - before(grammarAccess.getBooleanSymbolAccess().getBooleanSymbolAction_1()); - // InternalSolverLanguage.g:2538:2: () - // InternalSolverLanguage.g:2538:3: + if ( state.backtracking==0 ) { + before(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); + } + // InternalSolverLanguage.g:5785:2: () + // InternalSolverLanguage.g:5785:3: { } - after(grammarAccess.getBooleanSymbolAccess().getBooleanSymbolAction_1()); + if ( state.backtracking==0 ) { + after(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); + } } @@ -8125,29 +19471,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BooleanSymbol__Group__1__Impl" + // $ANTLR end "rule__InfinityLiteral__Group__0__Impl" - // $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 { + // $ANTLR start "rule__InfinityLiteral__Group__1" + // InternalSolverLanguage.g:5793:1: rule__InfinityLiteral__Group__1 : rule__InfinityLiteral__Group__1__Impl ; + public final void rule__InfinityLiteral__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2551:1: ( rule__IntegerSymbol__Group__0__Impl rule__IntegerSymbol__Group__1 ) - // InternalSolverLanguage.g:2552:2: rule__IntegerSymbol__Group__0__Impl rule__IntegerSymbol__Group__1 + // InternalSolverLanguage.g:5797:1: ( rule__InfinityLiteral__Group__1__Impl ) + // InternalSolverLanguage.g:5798:2: rule__InfinityLiteral__Group__1__Impl { - pushFollow(FOLLOW_1); - rule__IntegerSymbol__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__IntegerSymbol__Group__1(); + rule__InfinityLiteral__Group__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -8163,25 +19504,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IntegerSymbol__Group__0" + // $ANTLR end "rule__InfinityLiteral__Group__1" - // $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 { + // $ANTLR start "rule__InfinityLiteral__Group__1__Impl" + // InternalSolverLanguage.g:5804:1: rule__InfinityLiteral__Group__1__Impl : ( 'inf' ) ; + public final void rule__InfinityLiteral__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2563:1: ( ( 'int' ) ) - // InternalSolverLanguage.g:2564:1: ( 'int' ) + // InternalSolverLanguage.g:5808:1: ( ( 'inf' ) ) + // InternalSolverLanguage.g:5809:1: ( 'inf' ) { - // InternalSolverLanguage.g:2564:1: ( 'int' ) - // InternalSolverLanguage.g:2565:2: 'int' + // InternalSolverLanguage.g:5809:1: ( 'inf' ) + // InternalSolverLanguage.g:5810:2: 'inf' { - before(grammarAccess.getIntegerSymbolAccess().getIntKeyword_0()); - match(input,24,FOLLOW_2); - after(grammarAccess.getIntegerSymbolAccess().getIntKeyword_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); + } + match(input,66,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); + } } @@ -8200,24 +19545,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IntegerSymbol__Group__0__Impl" + // $ANTLR end "rule__InfinityLiteral__Group__1__Impl" - // $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 { + // $ANTLR start "rule__EmptyIntervalLiteral__Group__0" + // InternalSolverLanguage.g:5820:1: rule__EmptyIntervalLiteral__Group__0 : rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1 ; + public final void rule__EmptyIntervalLiteral__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2578:1: ( rule__IntegerSymbol__Group__1__Impl ) - // InternalSolverLanguage.g:2579:2: rule__IntegerSymbol__Group__1__Impl + // InternalSolverLanguage.g:5824:1: ( rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1 ) + // InternalSolverLanguage.g:5825:2: rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1 { - pushFollow(FOLLOW_2); - rule__IntegerSymbol__Group__1__Impl(); + pushFollow(FOLLOW_42); + rule__EmptyIntervalLiteral__Group__0__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__EmptyIntervalLiteral__Group__1(); + state._fsp--; + if (state.failed) return ; } @@ -8233,29 +19583,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IntegerSymbol__Group__1" + // $ANTLR end "rule__EmptyIntervalLiteral__Group__0" - // $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 { + // $ANTLR start "rule__EmptyIntervalLiteral__Group__0__Impl" + // InternalSolverLanguage.g:5832:1: rule__EmptyIntervalLiteral__Group__0__Impl : ( () ) ; + public final void rule__EmptyIntervalLiteral__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2589:1: ( ( () ) ) - // InternalSolverLanguage.g:2590:1: ( () ) + // InternalSolverLanguage.g:5836:1: ( ( () ) ) + // InternalSolverLanguage.g:5837:1: ( () ) { - // InternalSolverLanguage.g:2590:1: ( () ) - // InternalSolverLanguage.g:2591:2: () + // InternalSolverLanguage.g:5837:1: ( () ) + // InternalSolverLanguage.g:5838:2: () { - before(grammarAccess.getIntegerSymbolAccess().getIntegerSymbolAction_1()); - // InternalSolverLanguage.g:2592:2: () - // InternalSolverLanguage.g:2592:3: + if ( state.backtracking==0 ) { + before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0()); + } + // InternalSolverLanguage.g:5839:2: () + // InternalSolverLanguage.g:5839:3: { } - after(grammarAccess.getIntegerSymbolAccess().getIntegerSymbolAction_1()); + if ( state.backtracking==0 ) { + after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0()); + } } @@ -8270,29 +19624,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IntegerSymbol__Group__1__Impl" + // $ANTLR end "rule__EmptyIntervalLiteral__Group__0__Impl" - // $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 { + // $ANTLR start "rule__EmptyIntervalLiteral__Group__1" + // InternalSolverLanguage.g:5847:1: rule__EmptyIntervalLiteral__Group__1 : rule__EmptyIntervalLiteral__Group__1__Impl ; + public final void rule__EmptyIntervalLiteral__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2605:1: ( rule__RealSymbol__Group__0__Impl rule__RealSymbol__Group__1 ) - // InternalSolverLanguage.g:2606:2: rule__RealSymbol__Group__0__Impl rule__RealSymbol__Group__1 + // InternalSolverLanguage.g:5851:1: ( rule__EmptyIntervalLiteral__Group__1__Impl ) + // InternalSolverLanguage.g:5852:2: rule__EmptyIntervalLiteral__Group__1__Impl { - pushFollow(FOLLOW_1); - rule__RealSymbol__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__RealSymbol__Group__1(); + rule__EmptyIntervalLiteral__Group__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -8308,25 +19657,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__RealSymbol__Group__0" + // $ANTLR end "rule__EmptyIntervalLiteral__Group__1" - // $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 { + // $ANTLR start "rule__EmptyIntervalLiteral__Group__1__Impl" + // InternalSolverLanguage.g:5858:1: rule__EmptyIntervalLiteral__Group__1__Impl : ( 'empty' ) ; + public final void rule__EmptyIntervalLiteral__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2617:1: ( ( 'real' ) ) - // InternalSolverLanguage.g:2618:1: ( 'real' ) + // InternalSolverLanguage.g:5862:1: ( ( 'empty' ) ) + // InternalSolverLanguage.g:5863:1: ( 'empty' ) { - // InternalSolverLanguage.g:2618:1: ( 'real' ) - // InternalSolverLanguage.g:2619:2: 'real' + // InternalSolverLanguage.g:5863:1: ( 'empty' ) + // InternalSolverLanguage.g:5864:2: 'empty' { - before(grammarAccess.getRealSymbolAccess().getRealKeyword_0()); - match(input,25,FOLLOW_2); - after(grammarAccess.getRealSymbolAccess().getRealKeyword_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); + } + match(input,67,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); + } } @@ -8345,24 +19698,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__RealSymbol__Group__0__Impl" + // $ANTLR end "rule__EmptyIntervalLiteral__Group__1__Impl" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group__0" + // InternalSolverLanguage.g:5874:1: rule__ClassDefinition__Group__0 : rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1 ; + public final void rule__ClassDefinition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2632:1: ( rule__RealSymbol__Group__1__Impl ) - // InternalSolverLanguage.g:2633:2: rule__RealSymbol__Group__1__Impl + // InternalSolverLanguage.g:5878:1: ( rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1 ) + // InternalSolverLanguage.g:5879:2: rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1 { - pushFollow(FOLLOW_2); - rule__RealSymbol__Group__1__Impl(); + pushFollow(FOLLOW_43); + rule__ClassDefinition__Group__0__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ClassDefinition__Group__1(); + state._fsp--; + if (state.failed) return ; } @@ -8378,29 +19736,50 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__RealSymbol__Group__1" + // $ANTLR end "rule__ClassDefinition__Group__0" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group__0__Impl" + // InternalSolverLanguage.g:5886:1: rule__ClassDefinition__Group__0__Impl : ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) ; + public final void rule__ClassDefinition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2643:1: ( ( () ) ) - // InternalSolverLanguage.g:2644:1: ( () ) - { - // InternalSolverLanguage.g:2644:1: ( () ) - // InternalSolverLanguage.g:2645:2: () + // InternalSolverLanguage.g:5890:1: ( ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) ) + // InternalSolverLanguage.g:5891:1: ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) { - before(grammarAccess.getRealSymbolAccess().getRealSymbolAction_1()); - // InternalSolverLanguage.g:2646:2: () - // InternalSolverLanguage.g:2646:3: + // InternalSolverLanguage.g:5891:1: ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) + // InternalSolverLanguage.g:5892:2: ( rule__ClassDefinition__AbstractAssignment_0 )? { + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0()); + } + // InternalSolverLanguage.g:5893:2: ( rule__ClassDefinition__AbstractAssignment_0 )? + int alt43=2; + int LA43_0 = input.LA(1); + + if ( (LA43_0==73) ) { + alt43=1; + } + switch (alt43) { + case 1 : + // InternalSolverLanguage.g:5893:3: rule__ClassDefinition__AbstractAssignment_0 + { + pushFollow(FOLLOW_2); + rule__ClassDefinition__AbstractAssignment_0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + } - after(grammarAccess.getRealSymbolAccess().getRealSymbolAction_1()); + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0()); + } } @@ -8408,6 +19787,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -8415,29 +19798,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__RealSymbol__Group__1__Impl" + // $ANTLR end "rule__ClassDefinition__Group__0__Impl" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group__1" + // InternalSolverLanguage.g:5901:1: rule__ClassDefinition__Group__1 : rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2 ; + public final void rule__ClassDefinition__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2659:1: ( rule__StringSymbol__Group__0__Impl rule__StringSymbol__Group__1 ) - // InternalSolverLanguage.g:2660:2: rule__StringSymbol__Group__0__Impl rule__StringSymbol__Group__1 + // InternalSolverLanguage.g:5905:1: ( rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2 ) + // InternalSolverLanguage.g:5906:2: rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2 { - pushFollow(FOLLOW_1); - rule__StringSymbol__Group__0__Impl(); + pushFollow(FOLLOW_44); + rule__ClassDefinition__Group__1__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__StringSymbol__Group__1(); + rule__ClassDefinition__Group__2(); state._fsp--; - + if (state.failed) return ; } @@ -8453,25 +19836,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__StringSymbol__Group__0" + // $ANTLR end "rule__ClassDefinition__Group__1" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group__1__Impl" + // InternalSolverLanguage.g:5913:1: rule__ClassDefinition__Group__1__Impl : ( 'class' ) ; + public final void rule__ClassDefinition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2671:1: ( ( 'string' ) ) - // InternalSolverLanguage.g:2672:1: ( 'string' ) + // InternalSolverLanguage.g:5917:1: ( ( 'class' ) ) + // InternalSolverLanguage.g:5918:1: ( 'class' ) { - // InternalSolverLanguage.g:2672:1: ( 'string' ) - // InternalSolverLanguage.g:2673:2: 'string' + // InternalSolverLanguage.g:5918:1: ( 'class' ) + // InternalSolverLanguage.g:5919:2: 'class' { - before(grammarAccess.getStringSymbolAccess().getStringKeyword_0()); - match(input,26,FOLLOW_2); - after(grammarAccess.getStringSymbolAccess().getStringKeyword_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); + } + match(input,68,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); + } } @@ -8490,24 +19877,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__StringSymbol__Group__0__Impl" + // $ANTLR end "rule__ClassDefinition__Group__1__Impl" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group__2" + // InternalSolverLanguage.g:5928:1: rule__ClassDefinition__Group__2 : rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3 ; + public final void rule__ClassDefinition__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2686:1: ( rule__StringSymbol__Group__1__Impl ) - // InternalSolverLanguage.g:2687:2: rule__StringSymbol__Group__1__Impl + // InternalSolverLanguage.g:5932:1: ( rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3 ) + // InternalSolverLanguage.g:5933:2: rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3 { - pushFollow(FOLLOW_2); - rule__StringSymbol__Group__1__Impl(); + pushFollow(FOLLOW_45); + rule__ClassDefinition__Group__2__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ClassDefinition__Group__3(); + state._fsp--; + if (state.failed) return ; } @@ -8523,100 +19915,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__StringSymbol__Group__1" + // $ANTLR end "rule__ClassDefinition__Group__2" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group__2__Impl" + // InternalSolverLanguage.g:5940:1: rule__ClassDefinition__Group__2__Impl : ( ( rule__ClassDefinition__NameAssignment_2 ) ) ; + public final void rule__ClassDefinition__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2697:1: ( ( () ) ) - // InternalSolverLanguage.g:2698:1: ( () ) - { - // InternalSolverLanguage.g:2698:1: ( () ) - // InternalSolverLanguage.g:2699:2: () + // InternalSolverLanguage.g:5944:1: ( ( ( rule__ClassDefinition__NameAssignment_2 ) ) ) + // InternalSolverLanguage.g:5945:1: ( ( rule__ClassDefinition__NameAssignment_2 ) ) { - before(grammarAccess.getStringSymbolAccess().getStringSymbolAction_1()); - // InternalSolverLanguage.g:2700:2: () - // InternalSolverLanguage.g:2700:3: + // InternalSolverLanguage.g:5945:1: ( ( rule__ClassDefinition__NameAssignment_2 ) ) + // InternalSolverLanguage.g:5946:2: ( rule__ClassDefinition__NameAssignment_2 ) { + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getNameAssignment_2()); } - - after(grammarAccess.getStringSymbolAccess().getStringSymbolAction_1()); - - } - - - } - - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringSymbol__Group__1__Impl" - - - // $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:2713:1: ( rule__NamedObject__Group__0__Impl rule__NamedObject__Group__1 ) - // InternalSolverLanguage.g:2714:2: rule__NamedObject__Group__0__Impl rule__NamedObject__Group__1 + // InternalSolverLanguage.g:5947:2: ( rule__ClassDefinition__NameAssignment_2 ) + // InternalSolverLanguage.g:5947:3: rule__ClassDefinition__NameAssignment_2 { - pushFollow(FOLLOW_17); - rule__NamedObject__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__NamedObject__Group__1(); + rule__ClassDefinition__NameAssignment_2(); state._fsp--; - + if (state.failed) return ; } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__NamedObject__Group__0" - - - // $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:2725:1: ( ( '\\'' ) ) - // InternalSolverLanguage.g:2726:1: ( '\\'' ) - { - // InternalSolverLanguage.g:2726:1: ( '\\'' ) - // InternalSolverLanguage.g:2727:2: '\\'' - { - before(grammarAccess.getNamedObjectAccess().getApostropheKeyword_0()); - match(input,27,FOLLOW_2); - after(grammarAccess.getNamedObjectAccess().getApostropheKeyword_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getNameAssignment_2()); + } } @@ -8635,29 +19966,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__NamedObject__Group__0__Impl" + // $ANTLR end "rule__ClassDefinition__Group__2__Impl" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group__3" + // InternalSolverLanguage.g:5955:1: rule__ClassDefinition__Group__3 : rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4 ; + public final void rule__ClassDefinition__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2740:1: ( rule__NamedObject__Group__1__Impl rule__NamedObject__Group__2 ) - // InternalSolverLanguage.g:2741:2: rule__NamedObject__Group__1__Impl rule__NamedObject__Group__2 + // InternalSolverLanguage.g:5959:1: ( rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4 ) + // InternalSolverLanguage.g:5960:2: rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4 { - pushFollow(FOLLOW_18); - rule__NamedObject__Group__1__Impl(); + pushFollow(FOLLOW_45); + rule__ClassDefinition__Group__3__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__NamedObject__Group__2(); + rule__ClassDefinition__Group__4(); state._fsp--; - + if (state.failed) return ; } @@ -8673,35 +20004,50 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__NamedObject__Group__1" + // $ANTLR end "rule__ClassDefinition__Group__3" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group__3__Impl" + // InternalSolverLanguage.g:5967:1: rule__ClassDefinition__Group__3__Impl : ( ( rule__ClassDefinition__Group_3__0 )? ) ; + public final void rule__ClassDefinition__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2752:1: ( ( ( rule__NamedObject__NameAssignment_1 ) ) ) - // InternalSolverLanguage.g:2753:1: ( ( rule__NamedObject__NameAssignment_1 ) ) - { - // InternalSolverLanguage.g:2753:1: ( ( rule__NamedObject__NameAssignment_1 ) ) - // InternalSolverLanguage.g:2754:2: ( rule__NamedObject__NameAssignment_1 ) + // InternalSolverLanguage.g:5971:1: ( ( ( rule__ClassDefinition__Group_3__0 )? ) ) + // InternalSolverLanguage.g:5972:1: ( ( rule__ClassDefinition__Group_3__0 )? ) { - before(grammarAccess.getNamedObjectAccess().getNameAssignment_1()); - // InternalSolverLanguage.g:2755:2: ( rule__NamedObject__NameAssignment_1 ) - // InternalSolverLanguage.g:2755:3: rule__NamedObject__NameAssignment_1 + // InternalSolverLanguage.g:5972:1: ( ( rule__ClassDefinition__Group_3__0 )? ) + // InternalSolverLanguage.g:5973:2: ( rule__ClassDefinition__Group_3__0 )? { - pushFollow(FOLLOW_2); - rule__NamedObject__NameAssignment_1(); + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getGroup_3()); + } + // InternalSolverLanguage.g:5974:2: ( rule__ClassDefinition__Group_3__0 )? + int alt44=2; + int LA44_0 = input.LA(1); - state._fsp--; + if ( (LA44_0==69) ) { + alt44=1; + } + switch (alt44) { + case 1 : + // InternalSolverLanguage.g:5974:3: rule__ClassDefinition__Group_3__0 + { + pushFollow(FOLLOW_2); + rule__ClassDefinition__Group_3__0(); + + state._fsp--; + if (state.failed) return ; + } + break; } - after(grammarAccess.getNamedObjectAccess().getNameAssignment_1()); + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getGroup_3()); + } } @@ -8720,24 +20066,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__NamedObject__Group__1__Impl" + // $ANTLR end "rule__ClassDefinition__Group__3__Impl" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group__4" + // InternalSolverLanguage.g:5982:1: rule__ClassDefinition__Group__4 : rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5 ; + public final void rule__ClassDefinition__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2767:1: ( rule__NamedObject__Group__2__Impl ) - // InternalSolverLanguage.g:2768:2: rule__NamedObject__Group__2__Impl + // InternalSolverLanguage.g:5986:1: ( rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5 ) + // InternalSolverLanguage.g:5987:2: rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5 { - pushFollow(FOLLOW_2); - rule__NamedObject__Group__2__Impl(); + pushFollow(FOLLOW_46); + rule__ClassDefinition__Group__4__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ClassDefinition__Group__5(); + state._fsp--; + if (state.failed) return ; } @@ -8753,25 +20104,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__NamedObject__Group__2" + // $ANTLR end "rule__ClassDefinition__Group__4" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group__4__Impl" + // InternalSolverLanguage.g:5994:1: rule__ClassDefinition__Group__4__Impl : ( '{' ) ; + public final void rule__ClassDefinition__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2778:1: ( ( '\\'' ) ) - // InternalSolverLanguage.g:2779:1: ( '\\'' ) + // InternalSolverLanguage.g:5998:1: ( ( '{' ) ) + // InternalSolverLanguage.g:5999:1: ( '{' ) { - // InternalSolverLanguage.g:2779:1: ( '\\'' ) - // InternalSolverLanguage.g:2780:2: '\\'' + // InternalSolverLanguage.g:5999:1: ( '{' ) + // InternalSolverLanguage.g:6000:2: '{' { - before(grammarAccess.getNamedObjectAccess().getApostropheKeyword_2()); - match(input,27,FOLLOW_2); - after(grammarAccess.getNamedObjectAccess().getApostropheKeyword_2()); + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); + } + match(input,58,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); + } } @@ -8790,29 +20145,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__NamedObject__Group__2__Impl" + // $ANTLR end "rule__ClassDefinition__Group__4__Impl" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group__5" + // InternalSolverLanguage.g:6009:1: rule__ClassDefinition__Group__5 : rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6 ; + public final void rule__ClassDefinition__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2794:1: ( rule__Predicate__Group__0__Impl rule__Predicate__Group__1 ) - // InternalSolverLanguage.g:2795:2: rule__Predicate__Group__0__Impl rule__Predicate__Group__1 + // InternalSolverLanguage.g:6013:1: ( rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6 ) + // InternalSolverLanguage.g:6014:2: rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6 { - pushFollow(FOLLOW_19); - rule__Predicate__Group__0__Impl(); + pushFollow(FOLLOW_46); + rule__ClassDefinition__Group__5__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Predicate__Group__1(); + rule__ClassDefinition__Group__6(); state._fsp--; - + if (state.failed) return ; } @@ -8828,46 +20183,57 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group__0" + // $ANTLR end "rule__ClassDefinition__Group__5" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group__5__Impl" + // InternalSolverLanguage.g:6021:1: rule__ClassDefinition__Group__5__Impl : ( ( rule__ClassDefinition__MembersAssignment_5 )* ) ; + public final void rule__ClassDefinition__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2806:1: ( ( ( rule__Predicate__IsErrorAssignment_0 )? ) ) - // InternalSolverLanguage.g:2807:1: ( ( rule__Predicate__IsErrorAssignment_0 )? ) + // InternalSolverLanguage.g:6025:1: ( ( ( rule__ClassDefinition__MembersAssignment_5 )* ) ) + // InternalSolverLanguage.g:6026:1: ( ( rule__ClassDefinition__MembersAssignment_5 )* ) { - // InternalSolverLanguage.g:2807:1: ( ( rule__Predicate__IsErrorAssignment_0 )? ) - // InternalSolverLanguage.g:2808:2: ( rule__Predicate__IsErrorAssignment_0 )? + // InternalSolverLanguage.g:6026:1: ( ( rule__ClassDefinition__MembersAssignment_5 )* ) + // InternalSolverLanguage.g:6027:2: ( rule__ClassDefinition__MembersAssignment_5 )* { - 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; + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5()); } - switch (alt26) { - case 1 : - // InternalSolverLanguage.g:2809:3: rule__Predicate__IsErrorAssignment_0 - { - pushFollow(FOLLOW_2); - rule__Predicate__IsErrorAssignment_0(); + // InternalSolverLanguage.g:6028:2: ( rule__ClassDefinition__MembersAssignment_5 )* + loop45: + do { + int alt45=2; + int LA45_0 = input.LA(1); - state._fsp--; + if ( (LA45_0==RULE_QUOTED_ID||LA45_0==RULE_ID||LA45_0==74) ) { + alt45=1; + } - } - break; + switch (alt45) { + case 1 : + // InternalSolverLanguage.g:6028:3: rule__ClassDefinition__MembersAssignment_5 + { + pushFollow(FOLLOW_47); + rule__ClassDefinition__MembersAssignment_5(); - } + state._fsp--; + if (state.failed) return ; + + } + break; - after(grammarAccess.getPredicateAccess().getIsErrorAssignment_0()); + default : + break loop45; + } + } while (true); + + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5()); + } } @@ -8886,29 +20252,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group__0__Impl" + // $ANTLR end "rule__ClassDefinition__Group__5__Impl" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group__6" + // InternalSolverLanguage.g:6036:1: rule__ClassDefinition__Group__6 : rule__ClassDefinition__Group__6__Impl ; + public final void rule__ClassDefinition__Group__6() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2821:1: ( rule__Predicate__Group__1__Impl rule__Predicate__Group__2 ) - // InternalSolverLanguage.g:2822:2: rule__Predicate__Group__1__Impl rule__Predicate__Group__2 + // InternalSolverLanguage.g:6040:1: ( rule__ClassDefinition__Group__6__Impl ) + // InternalSolverLanguage.g:6041:2: rule__ClassDefinition__Group__6__Impl { - pushFollow(FOLLOW_20); - rule__Predicate__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Predicate__Group__2(); + rule__ClassDefinition__Group__6__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -8924,35 +20285,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group__1" + // $ANTLR end "rule__ClassDefinition__Group__6" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group__6__Impl" + // InternalSolverLanguage.g:6047:1: rule__ClassDefinition__Group__6__Impl : ( '}' ) ; + public final void rule__ClassDefinition__Group__6__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2833:1: ( ( ( rule__Predicate__SymbolAssignment_1 ) ) ) - // InternalSolverLanguage.g:2834:1: ( ( rule__Predicate__SymbolAssignment_1 ) ) + // InternalSolverLanguage.g:6051:1: ( ( '}' ) ) + // InternalSolverLanguage.g:6052:1: ( '}' ) { - // InternalSolverLanguage.g:2834:1: ( ( rule__Predicate__SymbolAssignment_1 ) ) - // InternalSolverLanguage.g:2835:2: ( rule__Predicate__SymbolAssignment_1 ) + // InternalSolverLanguage.g:6052:1: ( '}' ) + // InternalSolverLanguage.g:6053:2: '}' { - 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--; - - + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); + } + match(input,59,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); } - - after(grammarAccess.getPredicateAccess().getSymbolAssignment_1()); } @@ -8971,29 +20326,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group__1__Impl" + // $ANTLR end "rule__ClassDefinition__Group__6__Impl" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group_3__0" + // InternalSolverLanguage.g:6063:1: rule__ClassDefinition__Group_3__0 : rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1 ; + public final void rule__ClassDefinition__Group_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:6067:1: ( rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1 ) + // InternalSolverLanguage.g:6068:2: rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1 { - pushFollow(FOLLOW_20); - rule__Predicate__Group__2__Impl(); + pushFollow(FOLLOW_9); + rule__ClassDefinition__Group_3__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Predicate__Group__3(); + rule__ClassDefinition__Group_3__1(); state._fsp--; - + if (state.failed) return ; } @@ -9009,47 +20364,30 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group__2" + // $ANTLR end "rule__ClassDefinition__Group_3__0" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group_3__0__Impl" + // InternalSolverLanguage.g:6075:1: rule__ClassDefinition__Group_3__0__Impl : ( 'extends' ) ; + public final void rule__ClassDefinition__Group_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2860:1: ( ( ( rule__Predicate__Group_2__0 )? ) ) - // InternalSolverLanguage.g:2861:1: ( ( rule__Predicate__Group_2__0 )? ) + // InternalSolverLanguage.g:6079:1: ( ( 'extends' ) ) + // InternalSolverLanguage.g:6080:1: ( 'extends' ) { - // InternalSolverLanguage.g:2861:1: ( ( rule__Predicate__Group_2__0 )? ) - // InternalSolverLanguage.g:2862:2: ( rule__Predicate__Group_2__0 )? + // InternalSolverLanguage.g:6080:1: ( 'extends' ) + // InternalSolverLanguage.g:6081:2: 'extends' { - before(grammarAccess.getPredicateAccess().getGroup_2()); - // InternalSolverLanguage.g:2863:2: ( rule__Predicate__Group_2__0 )? - int alt27=2; - int LA27_0 = input.LA(1); - - if ( (LA27_0==18) ) { - alt27=1; + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); } - switch (alt27) { - case 1 : - // InternalSolverLanguage.g:2863:3: rule__Predicate__Group_2__0 - { - pushFollow(FOLLOW_2); - rule__Predicate__Group_2__0(); - - state._fsp--; - - - } - break; - + match(input,69,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); } - after(grammarAccess.getPredicateAccess().getGroup_2()); - } @@ -9067,29 +20405,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group__2__Impl" + // $ANTLR end "rule__ClassDefinition__Group_3__0__Impl" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group_3__1" + // InternalSolverLanguage.g:6090:1: rule__ClassDefinition__Group_3__1 : rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2 ; + public final void rule__ClassDefinition__Group_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:6094:1: ( rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2 ) + // InternalSolverLanguage.g:6095:2: rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2 { - pushFollow(FOLLOW_21); - rule__Predicate__Group__3__Impl(); + pushFollow(FOLLOW_22); + rule__ClassDefinition__Group_3__1__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Predicate__Group__4(); + rule__ClassDefinition__Group_3__2(); state._fsp--; - + if (state.failed) return ; } @@ -9105,25 +20443,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group__3" + // $ANTLR end "rule__ClassDefinition__Group_3__1" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group_3__1__Impl" + // InternalSolverLanguage.g:6102:1: rule__ClassDefinition__Group_3__1__Impl : ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) ; + public final void rule__ClassDefinition__Group_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2887:1: ( ( ':-' ) ) - // InternalSolverLanguage.g:2888:1: ( ':-' ) + // InternalSolverLanguage.g:6106:1: ( ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) ) + // InternalSolverLanguage.g:6107:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) { - // InternalSolverLanguage.g:2888:1: ( ':-' ) - // InternalSolverLanguage.g:2889:2: ':-' + // InternalSolverLanguage.g:6107:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) + // InternalSolverLanguage.g:6108:2: ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1()); + } + // InternalSolverLanguage.g:6109:2: ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) + // InternalSolverLanguage.g:6109:3: rule__ClassDefinition__SuperclassesAssignment_3_1 { - before(grammarAccess.getPredicateAccess().getColonHyphenMinusKeyword_3()); - match(input,28,FOLLOW_2); - after(grammarAccess.getPredicateAccess().getColonHyphenMinusKeyword_3()); + pushFollow(FOLLOW_2); + rule__ClassDefinition__SuperclassesAssignment_3_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1()); + } } @@ -9142,29 +20494,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group__3__Impl" + // $ANTLR end "rule__ClassDefinition__Group_3__1__Impl" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group_3__2" + // InternalSolverLanguage.g:6117:1: rule__ClassDefinition__Group_3__2 : rule__ClassDefinition__Group_3__2__Impl ; + public final void rule__ClassDefinition__Group_3__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2902:1: ( rule__Predicate__Group__4__Impl rule__Predicate__Group__5 ) - // InternalSolverLanguage.g:2903:2: rule__Predicate__Group__4__Impl rule__Predicate__Group__5 + // InternalSolverLanguage.g:6121:1: ( rule__ClassDefinition__Group_3__2__Impl ) + // InternalSolverLanguage.g:6122:2: rule__ClassDefinition__Group_3__2__Impl { - pushFollow(FOLLOW_6); - rule__Predicate__Group__4__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Predicate__Group__5(); + rule__ClassDefinition__Group_3__2__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -9180,35 +20527,57 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group__4" + // $ANTLR end "rule__ClassDefinition__Group_3__2" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group_3__2__Impl" + // InternalSolverLanguage.g:6128:1: rule__ClassDefinition__Group_3__2__Impl : ( ( rule__ClassDefinition__Group_3_2__0 )* ) ; + public final void rule__ClassDefinition__Group_3__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2914:1: ( ( ( rule__Predicate__Alternatives_4 ) ) ) - // InternalSolverLanguage.g:2915:1: ( ( rule__Predicate__Alternatives_4 ) ) + // InternalSolverLanguage.g:6132:1: ( ( ( rule__ClassDefinition__Group_3_2__0 )* ) ) + // InternalSolverLanguage.g:6133:1: ( ( rule__ClassDefinition__Group_3_2__0 )* ) { - // InternalSolverLanguage.g:2915:1: ( ( rule__Predicate__Alternatives_4 ) ) - // InternalSolverLanguage.g:2916:2: ( rule__Predicate__Alternatives_4 ) + // InternalSolverLanguage.g:6133:1: ( ( rule__ClassDefinition__Group_3_2__0 )* ) + // InternalSolverLanguage.g:6134:2: ( rule__ClassDefinition__Group_3_2__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__Predicate__Alternatives_4(); + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getGroup_3_2()); + } + // InternalSolverLanguage.g:6135:2: ( rule__ClassDefinition__Group_3_2__0 )* + loop46: + do { + int alt46=2; + int LA46_0 = input.LA(1); - state._fsp--; + if ( (LA46_0==56) ) { + alt46=1; + } - } + switch (alt46) { + case 1 : + // InternalSolverLanguage.g:6135:3: rule__ClassDefinition__Group_3_2__0 + { + pushFollow(FOLLOW_23); + rule__ClassDefinition__Group_3_2__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + default : + break loop46; + } + } while (true); - after(grammarAccess.getPredicateAccess().getAlternatives_4()); + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getGroup_3_2()); + } } @@ -9227,24 +20596,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group__4__Impl" + // $ANTLR end "rule__ClassDefinition__Group_3__2__Impl" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group_3_2__0" + // InternalSolverLanguage.g:6144:1: rule__ClassDefinition__Group_3_2__0 : rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1 ; + public final void rule__ClassDefinition__Group_3_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2929:1: ( rule__Predicate__Group__5__Impl ) - // InternalSolverLanguage.g:2930:2: rule__Predicate__Group__5__Impl + // InternalSolverLanguage.g:6148:1: ( rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1 ) + // InternalSolverLanguage.g:6149:2: rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1 { - pushFollow(FOLLOW_2); - rule__Predicate__Group__5__Impl(); + pushFollow(FOLLOW_9); + rule__ClassDefinition__Group_3_2__0__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ClassDefinition__Group_3_2__1(); + state._fsp--; + if (state.failed) return ; } @@ -9260,25 +20634,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group__5" + // $ANTLR end "rule__ClassDefinition__Group_3_2__0" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group_3_2__0__Impl" + // InternalSolverLanguage.g:6156:1: rule__ClassDefinition__Group_3_2__0__Impl : ( ',' ) ; + public final void rule__ClassDefinition__Group_3_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2940:1: ( ( '.' ) ) - // InternalSolverLanguage.g:2941:1: ( '.' ) + // InternalSolverLanguage.g:6160:1: ( ( ',' ) ) + // InternalSolverLanguage.g:6161:1: ( ',' ) { - // InternalSolverLanguage.g:2941:1: ( '.' ) - // InternalSolverLanguage.g:2942:2: '.' + // InternalSolverLanguage.g:6161:1: ( ',' ) + // InternalSolverLanguage.g:6162:2: ',' { - before(grammarAccess.getPredicateAccess().getFullStopKeyword_5()); - match(input,14,FOLLOW_2); - after(grammarAccess.getPredicateAccess().getFullStopKeyword_5()); + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); + } + match(input,56,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); + } } @@ -9297,29 +20675,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group__5__Impl" + // $ANTLR end "rule__ClassDefinition__Group_3_2__0__Impl" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group_3_2__1" + // InternalSolverLanguage.g:6171:1: rule__ClassDefinition__Group_3_2__1 : rule__ClassDefinition__Group_3_2__1__Impl ; + public final void rule__ClassDefinition__Group_3_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:6175:1: ( rule__ClassDefinition__Group_3_2__1__Impl ) + // InternalSolverLanguage.g:6176:2: rule__ClassDefinition__Group_3_2__1__Impl { - pushFollow(FOLLOW_22); - rule__Predicate__Group_2__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Predicate__Group_2__1(); + rule__ClassDefinition__Group_3_2__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -9335,25 +20708,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_2__0" + // $ANTLR end "rule__ClassDefinition__Group_3_2__1" - // $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 { + // $ANTLR start "rule__ClassDefinition__Group_3_2__1__Impl" + // InternalSolverLanguage.g:6182:1: rule__ClassDefinition__Group_3_2__1__Impl : ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) ; + public final void rule__ClassDefinition__Group_3_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2968:1: ( ( '(' ) ) - // InternalSolverLanguage.g:2969:1: ( '(' ) + // InternalSolverLanguage.g:6186:1: ( ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) ) + // InternalSolverLanguage.g:6187:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) { - // InternalSolverLanguage.g:2969:1: ( '(' ) - // InternalSolverLanguage.g:2970:2: '(' + // InternalSolverLanguage.g:6187:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) + // InternalSolverLanguage.g:6188:2: ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1()); + } + // InternalSolverLanguage.g:6189:2: ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) + // InternalSolverLanguage.g:6189:3: rule__ClassDefinition__SuperclassesAssignment_3_2_1 { - before(grammarAccess.getPredicateAccess().getLeftParenthesisKeyword_2_0()); - match(input,18,FOLLOW_2); - after(grammarAccess.getPredicateAccess().getLeftParenthesisKeyword_2_0()); + pushFollow(FOLLOW_2); + rule__ClassDefinition__SuperclassesAssignment_3_2_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1()); + } } @@ -9372,29 +20759,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_2__0__Impl" + // $ANTLR end "rule__ClassDefinition__Group_3_2__1__Impl" - // $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 { + // $ANTLR start "rule__MemberDefinition__Group__0" + // InternalSolverLanguage.g:6198:1: rule__MemberDefinition__Group__0 : rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1 ; + public final void rule__MemberDefinition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:6202:1: ( rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1 ) + // InternalSolverLanguage.g:6203:2: rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1 { - pushFollow(FOLLOW_22); - rule__Predicate__Group_2__1__Impl(); + pushFollow(FOLLOW_48); + rule__MemberDefinition__Group__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Predicate__Group_2__2(); + rule__MemberDefinition__Group__1(); state._fsp--; - + if (state.failed) return ; } @@ -9410,46 +20797,50 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_2__1" + // $ANTLR end "rule__MemberDefinition__Group__0" - // $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 { + // $ANTLR start "rule__MemberDefinition__Group__0__Impl" + // InternalSolverLanguage.g:6210:1: rule__MemberDefinition__Group__0__Impl : ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) ; + public final void rule__MemberDefinition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:2995:1: ( ( ( rule__Predicate__Group_2_1__0 )? ) ) - // InternalSolverLanguage.g:2996:1: ( ( rule__Predicate__Group_2_1__0 )? ) + // InternalSolverLanguage.g:6214:1: ( ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) ) + // InternalSolverLanguage.g:6215:1: ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) { - // InternalSolverLanguage.g:2996:1: ( ( rule__Predicate__Group_2_1__0 )? ) - // InternalSolverLanguage.g:2997:2: ( rule__Predicate__Group_2_1__0 )? + // InternalSolverLanguage.g:6215:1: ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) + // InternalSolverLanguage.g:6216:2: ( rule__MemberDefinition__ContainmentAssignment_0 )? { - 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 ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0()); + } + // InternalSolverLanguage.g:6217:2: ( rule__MemberDefinition__ContainmentAssignment_0 )? + int alt47=2; + int LA47_0 = input.LA(1); - if ( (LA28_0==RULE_ID) ) { - alt28=1; + if ( (LA47_0==74) ) { + alt47=1; } - switch (alt28) { + switch (alt47) { case 1 : - // InternalSolverLanguage.g:2998:3: rule__Predicate__Group_2_1__0 + // InternalSolverLanguage.g:6217:3: rule__MemberDefinition__ContainmentAssignment_0 { pushFollow(FOLLOW_2); - rule__Predicate__Group_2_1__0(); + rule__MemberDefinition__ContainmentAssignment_0(); state._fsp--; - + if (state.failed) return ; } break; } - after(grammarAccess.getPredicateAccess().getGroup_2_1()); + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0()); + } } @@ -9468,24 +20859,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_2__1__Impl" + // $ANTLR end "rule__MemberDefinition__Group__0__Impl" - // $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 { + // $ANTLR start "rule__MemberDefinition__Group__1" + // InternalSolverLanguage.g:6225:1: rule__MemberDefinition__Group__1 : rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2 ; + public final void rule__MemberDefinition__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3010:1: ( rule__Predicate__Group_2__2__Impl ) - // InternalSolverLanguage.g:3011:2: rule__Predicate__Group_2__2__Impl + // InternalSolverLanguage.g:6229:1: ( rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2 ) + // InternalSolverLanguage.g:6230:2: rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2 { - pushFollow(FOLLOW_2); - rule__Predicate__Group_2__2__Impl(); + pushFollow(FOLLOW_49); + rule__MemberDefinition__Group__1__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__MemberDefinition__Group__2(); + state._fsp--; + if (state.failed) return ; } @@ -9501,25 +20897,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_2__2" + // $ANTLR end "rule__MemberDefinition__Group__1" - // $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 { + // $ANTLR start "rule__MemberDefinition__Group__1__Impl" + // InternalSolverLanguage.g:6237:1: rule__MemberDefinition__Group__1__Impl : ( ( rule__MemberDefinition__TypeAssignment_1 ) ) ; + public final void rule__MemberDefinition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3021:1: ( ( ')' ) ) - // InternalSolverLanguage.g:3022:1: ( ')' ) + // InternalSolverLanguage.g:6241:1: ( ( ( rule__MemberDefinition__TypeAssignment_1 ) ) ) + // InternalSolverLanguage.g:6242:1: ( ( rule__MemberDefinition__TypeAssignment_1 ) ) { - // InternalSolverLanguage.g:3022:1: ( ')' ) - // InternalSolverLanguage.g:3023:2: ')' + // InternalSolverLanguage.g:6242:1: ( ( rule__MemberDefinition__TypeAssignment_1 ) ) + // InternalSolverLanguage.g:6243:2: ( rule__MemberDefinition__TypeAssignment_1 ) { - before(grammarAccess.getPredicateAccess().getRightParenthesisKeyword_2_2()); - match(input,19,FOLLOW_2); - after(grammarAccess.getPredicateAccess().getRightParenthesisKeyword_2_2()); + if ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1()); + } + // InternalSolverLanguage.g:6244:2: ( rule__MemberDefinition__TypeAssignment_1 ) + // InternalSolverLanguage.g:6244:3: rule__MemberDefinition__TypeAssignment_1 + { + pushFollow(FOLLOW_2); + rule__MemberDefinition__TypeAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1()); + } } @@ -9538,29 +20948,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_2__2__Impl" + // $ANTLR end "rule__MemberDefinition__Group__1__Impl" - // $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 { + // $ANTLR start "rule__MemberDefinition__Group__2" + // InternalSolverLanguage.g:6252:1: rule__MemberDefinition__Group__2 : rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3 ; + public final void rule__MemberDefinition__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:6256:1: ( rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3 ) + // InternalSolverLanguage.g:6257:2: rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3 { - pushFollow(FOLLOW_14); - rule__Predicate__Group_2_1__0__Impl(); + pushFollow(FOLLOW_49); + rule__MemberDefinition__Group__2__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Predicate__Group_2_1__1(); + rule__MemberDefinition__Group__3(); state._fsp--; - + if (state.failed) return ; } @@ -9576,35 +20986,50 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_2_1__0" + // $ANTLR end "rule__MemberDefinition__Group__2" - // $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 { + // $ANTLR start "rule__MemberDefinition__Group__2__Impl" + // InternalSolverLanguage.g:6264:1: rule__MemberDefinition__Group__2__Impl : ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) ; + public final void rule__MemberDefinition__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3049:1: ( ( ( rule__Predicate__ParametersAssignment_2_1_0 ) ) ) - // InternalSolverLanguage.g:3050:1: ( ( rule__Predicate__ParametersAssignment_2_1_0 ) ) + // InternalSolverLanguage.g:6268:1: ( ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) ) + // InternalSolverLanguage.g:6269:1: ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) { - // InternalSolverLanguage.g:3050:1: ( ( rule__Predicate__ParametersAssignment_2_1_0 ) ) - // InternalSolverLanguage.g:3051:2: ( rule__Predicate__ParametersAssignment_2_1_0 ) + // InternalSolverLanguage.g:6269:1: ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) + // InternalSolverLanguage.g:6270:2: ( rule__MemberDefinition__MultiplicityAssignment_2 )? { - 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(); + if ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2()); + } + // InternalSolverLanguage.g:6271:2: ( rule__MemberDefinition__MultiplicityAssignment_2 )? + int alt48=2; + int LA48_0 = input.LA(1); - state._fsp--; + if ( (LA48_0==63) ) { + alt48=1; + } + switch (alt48) { + case 1 : + // InternalSolverLanguage.g:6271:3: rule__MemberDefinition__MultiplicityAssignment_2 + { + pushFollow(FOLLOW_2); + rule__MemberDefinition__MultiplicityAssignment_2(); + state._fsp--; + if (state.failed) return ; + + } + break; } - after(grammarAccess.getPredicateAccess().getParametersAssignment_2_1_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2()); + } } @@ -9623,24 +21048,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_2_1__0__Impl" + // $ANTLR end "rule__MemberDefinition__Group__2__Impl" - // $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 { + // $ANTLR start "rule__MemberDefinition__Group__3" + // InternalSolverLanguage.g:6279:1: rule__MemberDefinition__Group__3 : rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4 ; + public final void rule__MemberDefinition__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3064:1: ( rule__Predicate__Group_2_1__1__Impl ) - // InternalSolverLanguage.g:3065:2: rule__Predicate__Group_2_1__1__Impl + // InternalSolverLanguage.g:6283:1: ( rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4 ) + // InternalSolverLanguage.g:6284:2: rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4 { - pushFollow(FOLLOW_2); - rule__Predicate__Group_2_1__1__Impl(); + pushFollow(FOLLOW_50); + rule__MemberDefinition__Group__3__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__MemberDefinition__Group__4(); + state._fsp--; + if (state.failed) return ; } @@ -9656,53 +21086,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_2_1__1" + // $ANTLR end "rule__MemberDefinition__Group__3" - // $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 { + // $ANTLR start "rule__MemberDefinition__Group__3__Impl" + // InternalSolverLanguage.g:6291:1: rule__MemberDefinition__Group__3__Impl : ( ( rule__MemberDefinition__NameAssignment_3 ) ) ; + public final void rule__MemberDefinition__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3075:1: ( ( ( rule__Predicate__Group_2_1_1__0 )* ) ) - // InternalSolverLanguage.g:3076:1: ( ( rule__Predicate__Group_2_1_1__0 )* ) + // InternalSolverLanguage.g:6295:1: ( ( ( rule__MemberDefinition__NameAssignment_3 ) ) ) + // InternalSolverLanguage.g:6296:1: ( ( rule__MemberDefinition__NameAssignment_3 ) ) { - // InternalSolverLanguage.g:3076:1: ( ( rule__Predicate__Group_2_1_1__0 )* ) - // InternalSolverLanguage.g:3077:2: ( rule__Predicate__Group_2_1_1__0 )* + // InternalSolverLanguage.g:6296:1: ( ( rule__MemberDefinition__NameAssignment_3 ) ) + // InternalSolverLanguage.g:6297:2: ( rule__MemberDefinition__NameAssignment_3 ) { - 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 ( (LA29_0==20) ) { - alt29=1; - } - - - 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--; - + if ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3()); + } + // InternalSolverLanguage.g:6298:2: ( rule__MemberDefinition__NameAssignment_3 ) + // InternalSolverLanguage.g:6298:3: rule__MemberDefinition__NameAssignment_3 + { + pushFollow(FOLLOW_2); + rule__MemberDefinition__NameAssignment_3(); - } - break; + state._fsp--; + if (state.failed) return ; - default : - break loop29; - } - } while (true); + } - after(grammarAccess.getPredicateAccess().getGroup_2_1_1()); + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3()); + } } @@ -9721,29 +21137,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_2_1__1__Impl" + // $ANTLR end "rule__MemberDefinition__Group__3__Impl" - // $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 { + // $ANTLR start "rule__MemberDefinition__Group__4" + // InternalSolverLanguage.g:6306:1: rule__MemberDefinition__Group__4 : rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5 ; + public final void rule__MemberDefinition__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:6310:1: ( rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5 ) + // InternalSolverLanguage.g:6311:2: rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5 { - pushFollow(FOLLOW_17); - rule__Predicate__Group_2_1_1__0__Impl(); + pushFollow(FOLLOW_50); + rule__MemberDefinition__Group__4__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Predicate__Group_2_1_1__1(); + rule__MemberDefinition__Group__5(); state._fsp--; - + if (state.failed) return ; } @@ -9759,25 +21175,50 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_2_1_1__0" + // $ANTLR end "rule__MemberDefinition__Group__4" - // $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 { + // $ANTLR start "rule__MemberDefinition__Group__4__Impl" + // InternalSolverLanguage.g:6318:1: rule__MemberDefinition__Group__4__Impl : ( ( rule__MemberDefinition__Group_4__0 )? ) ; + public final void rule__MemberDefinition__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3103:1: ( ( ',' ) ) - // InternalSolverLanguage.g:3104:1: ( ',' ) + // InternalSolverLanguage.g:6322:1: ( ( ( rule__MemberDefinition__Group_4__0 )? ) ) + // InternalSolverLanguage.g:6323:1: ( ( rule__MemberDefinition__Group_4__0 )? ) { - // InternalSolverLanguage.g:3104:1: ( ',' ) - // InternalSolverLanguage.g:3105:2: ',' + // InternalSolverLanguage.g:6323:1: ( ( rule__MemberDefinition__Group_4__0 )? ) + // InternalSolverLanguage.g:6324:2: ( rule__MemberDefinition__Group_4__0 )? { - before(grammarAccess.getPredicateAccess().getCommaKeyword_2_1_1_0()); - match(input,20,FOLLOW_2); - after(grammarAccess.getPredicateAccess().getCommaKeyword_2_1_1_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionAccess().getGroup_4()); + } + // InternalSolverLanguage.g:6325:2: ( rule__MemberDefinition__Group_4__0 )? + int alt49=2; + int LA49_0 = input.LA(1); + + if ( (LA49_0==70) ) { + alt49=1; + } + switch (alt49) { + case 1 : + // InternalSolverLanguage.g:6325:3: rule__MemberDefinition__Group_4__0 + { + pushFollow(FOLLOW_2); + rule__MemberDefinition__Group_4__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionAccess().getGroup_4()); + } } @@ -9796,24 +21237,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_2_1_1__0__Impl" + // $ANTLR end "rule__MemberDefinition__Group__4__Impl" - // $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 { + // $ANTLR start "rule__MemberDefinition__Group__5" + // InternalSolverLanguage.g:6333:1: rule__MemberDefinition__Group__5 : rule__MemberDefinition__Group__5__Impl ; + public final void rule__MemberDefinition__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3118:1: ( rule__Predicate__Group_2_1_1__1__Impl ) - // InternalSolverLanguage.g:3119:2: rule__Predicate__Group_2_1_1__1__Impl + // InternalSolverLanguage.g:6337:1: ( rule__MemberDefinition__Group__5__Impl ) + // InternalSolverLanguage.g:6338:2: rule__MemberDefinition__Group__5__Impl { pushFollow(FOLLOW_2); - rule__Predicate__Group_2_1_1__1__Impl(); + rule__MemberDefinition__Group__5__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -9829,35 +21270,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_2_1_1__1" + // $ANTLR end "rule__MemberDefinition__Group__5" - // $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 { + // $ANTLR start "rule__MemberDefinition__Group__5__Impl" + // InternalSolverLanguage.g:6344:1: rule__MemberDefinition__Group__5__Impl : ( ( ';' )? ) ; + public final void rule__MemberDefinition__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3129:1: ( ( ( rule__Predicate__ParametersAssignment_2_1_1_1 ) ) ) - // InternalSolverLanguage.g:3130:1: ( ( rule__Predicate__ParametersAssignment_2_1_1_1 ) ) + // InternalSolverLanguage.g:6348:1: ( ( ( ';' )? ) ) + // InternalSolverLanguage.g:6349:1: ( ( ';' )? ) { - // InternalSolverLanguage.g:3130:1: ( ( rule__Predicate__ParametersAssignment_2_1_1_1 ) ) - // InternalSolverLanguage.g:3131:2: ( rule__Predicate__ParametersAssignment_2_1_1_1 ) + // InternalSolverLanguage.g:6349:1: ( ( ';' )? ) + // InternalSolverLanguage.g:6350:2: ( ';' )? { - 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(); + if ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); + } + // InternalSolverLanguage.g:6351:2: ( ';' )? + int alt50=2; + int LA50_0 = input.LA(1); - state._fsp--; + if ( (LA50_0==54) ) { + alt50=1; + } + switch (alt50) { + case 1 : + // InternalSolverLanguage.g:6351:3: ';' + { + match(input,54,FOLLOW_2); if (state.failed) return ; + } + break; } - after(grammarAccess.getPredicateAccess().getParametersAssignment_2_1_1_1()); + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); + } } @@ -9876,29 +21328,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_2_1_1__1__Impl" + // $ANTLR end "rule__MemberDefinition__Group__5__Impl" - // $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 { + // $ANTLR start "rule__MemberDefinition__Group_4__0" + // InternalSolverLanguage.g:6360:1: rule__MemberDefinition__Group_4__0 : rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1 ; + public final void rule__MemberDefinition__Group_4__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:6364:1: ( rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1 ) + // InternalSolverLanguage.g:6365:2: rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1 { - pushFollow(FOLLOW_23); - rule__Predicate__Group_4_1__0__Impl(); + pushFollow(FOLLOW_9); + rule__MemberDefinition__Group_4__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Predicate__Group_4_1__1(); + rule__MemberDefinition__Group_4__1(); state._fsp--; - + if (state.failed) return ; } @@ -9914,35 +21366,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_4_1__0" + // $ANTLR end "rule__MemberDefinition__Group_4__0" - // $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 { + // $ANTLR start "rule__MemberDefinition__Group_4__0__Impl" + // InternalSolverLanguage.g:6372:1: rule__MemberDefinition__Group_4__0__Impl : ( 'opposite' ) ; + public final void rule__MemberDefinition__Group_4__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3157:1: ( ( ( rule__Predicate__BodiesAssignment_4_1_0 ) ) ) - // InternalSolverLanguage.g:3158:1: ( ( rule__Predicate__BodiesAssignment_4_1_0 ) ) + // InternalSolverLanguage.g:6376:1: ( ( 'opposite' ) ) + // InternalSolverLanguage.g:6377:1: ( 'opposite' ) { - // InternalSolverLanguage.g:3158:1: ( ( rule__Predicate__BodiesAssignment_4_1_0 ) ) - // InternalSolverLanguage.g:3159:2: ( rule__Predicate__BodiesAssignment_4_1_0 ) + // InternalSolverLanguage.g:6377:1: ( 'opposite' ) + // InternalSolverLanguage.g:6378:2: 'opposite' { - 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__Predicate__BodiesAssignment_4_1_0(); - - state._fsp--; - - + if ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); + } + match(input,70,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); } - - after(grammarAccess.getPredicateAccess().getBodiesAssignment_4_1_0()); } @@ -9961,24 +21407,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_4_1__0__Impl" + // $ANTLR end "rule__MemberDefinition__Group_4__0__Impl" - // $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 { + // $ANTLR start "rule__MemberDefinition__Group_4__1" + // InternalSolverLanguage.g:6387:1: rule__MemberDefinition__Group_4__1 : rule__MemberDefinition__Group_4__1__Impl ; + public final void rule__MemberDefinition__Group_4__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3172:1: ( rule__Predicate__Group_4_1__1__Impl ) - // InternalSolverLanguage.g:3173:2: rule__Predicate__Group_4_1__1__Impl + // InternalSolverLanguage.g:6391:1: ( rule__MemberDefinition__Group_4__1__Impl ) + // InternalSolverLanguage.g:6392:2: rule__MemberDefinition__Group_4__1__Impl { pushFollow(FOLLOW_2); - rule__Predicate__Group_4_1__1__Impl(); + rule__MemberDefinition__Group_4__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -9994,53 +21440,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_4_1__1" + // $ANTLR end "rule__MemberDefinition__Group_4__1" - // $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 { + // $ANTLR start "rule__MemberDefinition__Group_4__1__Impl" + // InternalSolverLanguage.g:6398:1: rule__MemberDefinition__Group_4__1__Impl : ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) ; + public final void rule__MemberDefinition__Group_4__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3183:1: ( ( ( rule__Predicate__Group_4_1_1__0 )* ) ) - // InternalSolverLanguage.g:3184:1: ( ( rule__Predicate__Group_4_1_1__0 )* ) + // InternalSolverLanguage.g:6402:1: ( ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) ) + // InternalSolverLanguage.g:6403:1: ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) { - // InternalSolverLanguage.g:3184:1: ( ( rule__Predicate__Group_4_1_1__0 )* ) - // InternalSolverLanguage.g:3185:2: ( rule__Predicate__Group_4_1_1__0 )* + // InternalSolverLanguage.g:6403:1: ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) + // InternalSolverLanguage.g:6404:2: ( rule__MemberDefinition__OppositeAssignment_4_1 ) { - 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--; - + if ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1()); + } + // InternalSolverLanguage.g:6405:2: ( rule__MemberDefinition__OppositeAssignment_4_1 ) + // InternalSolverLanguage.g:6405:3: rule__MemberDefinition__OppositeAssignment_4_1 + { + pushFollow(FOLLOW_2); + rule__MemberDefinition__OppositeAssignment_4_1(); - } - break; + state._fsp--; + if (state.failed) return ; - default : - break loop30; - } - } while (true); + } - after(grammarAccess.getPredicateAccess().getGroup_4_1_1()); + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1()); + } } @@ -10059,29 +21491,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_4_1__1__Impl" + // $ANTLR end "rule__MemberDefinition__Group_4__1__Impl" - // $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 { + // $ANTLR start "rule__ManyMultiplicity__Group__0" + // InternalSolverLanguage.g:6414:1: rule__ManyMultiplicity__Group__0 : rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1 ; + public final void rule__ManyMultiplicity__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:6418:1: ( rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1 ) + // InternalSolverLanguage.g:6419:2: rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1 { - pushFollow(FOLLOW_21); - rule__Predicate__Group_4_1_1__0__Impl(); + pushFollow(FOLLOW_51); + rule__ManyMultiplicity__Group__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Predicate__Group_4_1_1__1(); + rule__ManyMultiplicity__Group__1(); state._fsp--; - + if (state.failed) return ; } @@ -10097,25 +21529,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_4_1_1__0" + // $ANTLR end "rule__ManyMultiplicity__Group__0" - // $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 { + // $ANTLR start "rule__ManyMultiplicity__Group__0__Impl" + // InternalSolverLanguage.g:6426:1: rule__ManyMultiplicity__Group__0__Impl : ( () ) ; + public final void rule__ManyMultiplicity__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3211:1: ( ( '|' ) ) - // InternalSolverLanguage.g:3212:1: ( '|' ) + // InternalSolverLanguage.g:6430:1: ( ( () ) ) + // InternalSolverLanguage.g:6431:1: ( () ) + { + // InternalSolverLanguage.g:6431:1: ( () ) + // InternalSolverLanguage.g:6432:2: () { - // InternalSolverLanguage.g:3212:1: ( '|' ) - // InternalSolverLanguage.g:3213:2: '|' + if ( state.backtracking==0 ) { + before(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0()); + } + // InternalSolverLanguage.g:6433:2: () + // InternalSolverLanguage.g:6433:3: { - before(grammarAccess.getPredicateAccess().getVerticalLineKeyword_4_1_1_0()); - match(input,29,FOLLOW_2); - after(grammarAccess.getPredicateAccess().getVerticalLineKeyword_4_1_1_0()); + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0()); + } } @@ -10123,10 +21563,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -10134,24 +21570,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_4_1_1__0__Impl" + // $ANTLR end "rule__ManyMultiplicity__Group__0__Impl" - // $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 { + // $ANTLR start "rule__ManyMultiplicity__Group__1" + // InternalSolverLanguage.g:6441:1: rule__ManyMultiplicity__Group__1 : rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2 ; + public final void rule__ManyMultiplicity__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3226:1: ( rule__Predicate__Group_4_1_1__1__Impl ) - // InternalSolverLanguage.g:3227:2: rule__Predicate__Group_4_1_1__1__Impl + // InternalSolverLanguage.g:6445:1: ( rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2 ) + // InternalSolverLanguage.g:6446:2: rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2 { - pushFollow(FOLLOW_2); - rule__Predicate__Group_4_1_1__1__Impl(); + pushFollow(FOLLOW_40); + rule__ManyMultiplicity__Group__1__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ManyMultiplicity__Group__2(); + state._fsp--; + if (state.failed) return ; } @@ -10167,35 +21608,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_4_1_1__1" + // $ANTLR end "rule__ManyMultiplicity__Group__1" - // $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 { + // $ANTLR start "rule__ManyMultiplicity__Group__1__Impl" + // InternalSolverLanguage.g:6453:1: rule__ManyMultiplicity__Group__1__Impl : ( '[' ) ; + public final void rule__ManyMultiplicity__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3237:1: ( ( ( rule__Predicate__BodiesAssignment_4_1_1_1 ) ) ) - // InternalSolverLanguage.g:3238:1: ( ( rule__Predicate__BodiesAssignment_4_1_1_1 ) ) + // InternalSolverLanguage.g:6457:1: ( ( '[' ) ) + // InternalSolverLanguage.g:6458:1: ( '[' ) { - // InternalSolverLanguage.g:3238:1: ( ( rule__Predicate__BodiesAssignment_4_1_1_1 ) ) - // InternalSolverLanguage.g:3239:2: ( rule__Predicate__BodiesAssignment_4_1_1_1 ) + // InternalSolverLanguage.g:6458:1: ( '[' ) + // InternalSolverLanguage.g:6459:2: '[' { - 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--; - - + if ( state.backtracking==0 ) { + before(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); + } + match(input,63,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); } - - after(grammarAccess.getPredicateAccess().getBodiesAssignment_4_1_1_1()); } @@ -10214,29 +21649,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__Group_4_1_1__1__Impl" + // $ANTLR end "rule__ManyMultiplicity__Group__1__Impl" - // $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 { + // $ANTLR start "rule__ManyMultiplicity__Group__2" + // InternalSolverLanguage.g:6468:1: rule__ManyMultiplicity__Group__2 : rule__ManyMultiplicity__Group__2__Impl ; + public final void rule__ManyMultiplicity__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3253:1: ( rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ) - // InternalSolverLanguage.g:3254:2: rule__Parameter__Group__0__Impl rule__Parameter__Group__1 + // InternalSolverLanguage.g:6472:1: ( rule__ManyMultiplicity__Group__2__Impl ) + // InternalSolverLanguage.g:6473:2: rule__ManyMultiplicity__Group__2__Impl { - pushFollow(FOLLOW_25); - rule__Parameter__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Parameter__Group__1(); + rule__ManyMultiplicity__Group__2__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -10252,35 +21682,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Parameter__Group__0" + // $ANTLR end "rule__ManyMultiplicity__Group__2" - // $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 { + // $ANTLR start "rule__ManyMultiplicity__Group__2__Impl" + // InternalSolverLanguage.g:6479:1: rule__ManyMultiplicity__Group__2__Impl : ( ']' ) ; + public final void rule__ManyMultiplicity__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3265:1: ( ( ( rule__Parameter__VariableAssignment_0 ) ) ) - // InternalSolverLanguage.g:3266:1: ( ( rule__Parameter__VariableAssignment_0 ) ) - { - // InternalSolverLanguage.g:3266:1: ( ( rule__Parameter__VariableAssignment_0 ) ) - // InternalSolverLanguage.g:3267:2: ( rule__Parameter__VariableAssignment_0 ) + // InternalSolverLanguage.g:6483:1: ( ( ']' ) ) + // InternalSolverLanguage.g:6484:1: ( ']' ) { - before(grammarAccess.getParameterAccess().getVariableAssignment_0()); - // InternalSolverLanguage.g:3268:2: ( rule__Parameter__VariableAssignment_0 ) - // InternalSolverLanguage.g:3268:3: rule__Parameter__VariableAssignment_0 + // InternalSolverLanguage.g:6484:1: ( ']' ) + // InternalSolverLanguage.g:6485:2: ']' { - pushFollow(FOLLOW_2); - rule__Parameter__VariableAssignment_0(); - - state._fsp--; - - + if ( state.backtracking==0 ) { + before(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); + } + match(input,65,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); } - - after(grammarAccess.getParameterAccess().getVariableAssignment_0()); } @@ -10299,24 +21723,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Parameter__Group__0__Impl" + // $ANTLR end "rule__ManyMultiplicity__Group__2__Impl" - // $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 { + // $ANTLR start "rule__ExactMultiplicity__Group__0" + // InternalSolverLanguage.g:6495:1: rule__ExactMultiplicity__Group__0 : rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 ; + public final void rule__ExactMultiplicity__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3280:1: ( rule__Parameter__Group__1__Impl ) - // InternalSolverLanguage.g:3281:2: rule__Parameter__Group__1__Impl + // InternalSolverLanguage.g:6499:1: ( rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 ) + // InternalSolverLanguage.g:6500:2: rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 { - pushFollow(FOLLOW_2); - rule__Parameter__Group__1__Impl(); + pushFollow(FOLLOW_52); + rule__ExactMultiplicity__Group__0__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ExactMultiplicity__Group__1(); + state._fsp--; + if (state.failed) return ; } @@ -10332,47 +21761,30 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Parameter__Group__1" + // $ANTLR end "rule__ExactMultiplicity__Group__0" - // $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 { + // $ANTLR start "rule__ExactMultiplicity__Group__0__Impl" + // InternalSolverLanguage.g:6507:1: rule__ExactMultiplicity__Group__0__Impl : ( '[' ) ; + public final void rule__ExactMultiplicity__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3291:1: ( ( ( rule__Parameter__Group_1__0 )? ) ) - // InternalSolverLanguage.g:3292:1: ( ( rule__Parameter__Group_1__0 )? ) + // InternalSolverLanguage.g:6511:1: ( ( '[' ) ) + // InternalSolverLanguage.g:6512:1: ( '[' ) { - // InternalSolverLanguage.g:3292:1: ( ( rule__Parameter__Group_1__0 )? ) - // InternalSolverLanguage.g:3293:2: ( rule__Parameter__Group_1__0 )? + // InternalSolverLanguage.g:6512:1: ( '[' ) + // InternalSolverLanguage.g:6513:2: '[' { - before(grammarAccess.getParameterAccess().getGroup_1()); - // InternalSolverLanguage.g:3294:2: ( rule__Parameter__Group_1__0 )? - int alt31=2; - int LA31_0 = input.LA(1); - - if ( (LA31_0==17) ) { - alt31=1; + if ( state.backtracking==0 ) { + before(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); } - switch (alt31) { - case 1 : - // InternalSolverLanguage.g:3294:3: rule__Parameter__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__Parameter__Group_1__0(); - - state._fsp--; - - - } - break; - + match(input,63,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); } - after(grammarAccess.getParameterAccess().getGroup_1()); - } @@ -10390,29 +21802,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Parameter__Group__1__Impl" + // $ANTLR end "rule__ExactMultiplicity__Group__0__Impl" - // $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 { + // $ANTLR start "rule__ExactMultiplicity__Group__1" + // InternalSolverLanguage.g:6522:1: rule__ExactMultiplicity__Group__1 : rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 ; + public final void rule__ExactMultiplicity__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:6526:1: ( rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 ) + // InternalSolverLanguage.g:6527:2: rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 { - pushFollow(FOLLOW_26); - rule__Parameter__Group_1__0__Impl(); + pushFollow(FOLLOW_40); + rule__ExactMultiplicity__Group__1__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Parameter__Group_1__1(); + rule__ExactMultiplicity__Group__2(); state._fsp--; - + if (state.failed) return ; } @@ -10428,25 +21840,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Parameter__Group_1__0" + // $ANTLR end "rule__ExactMultiplicity__Group__1" - // $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 { + // $ANTLR start "rule__ExactMultiplicity__Group__1__Impl" + // InternalSolverLanguage.g:6534:1: rule__ExactMultiplicity__Group__1__Impl : ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) ; + public final void rule__ExactMultiplicity__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3319:1: ( ( ':' ) ) - // InternalSolverLanguage.g:3320:1: ( ':' ) + // InternalSolverLanguage.g:6538:1: ( ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) ) + // InternalSolverLanguage.g:6539:1: ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) + { + // InternalSolverLanguage.g:6539:1: ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) + // InternalSolverLanguage.g:6540:2: ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) { - // InternalSolverLanguage.g:3320:1: ( ':' ) - // InternalSolverLanguage.g:3321:2: ':' + if ( state.backtracking==0 ) { + before(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1()); + } + // InternalSolverLanguage.g:6541:2: ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) + // InternalSolverLanguage.g:6541:3: rule__ExactMultiplicity__MultiplicityAssignment_1 { - before(grammarAccess.getParameterAccess().getColonKeyword_1_0()); - match(input,17,FOLLOW_2); - after(grammarAccess.getParameterAccess().getColonKeyword_1_0()); + pushFollow(FOLLOW_2); + rule__ExactMultiplicity__MultiplicityAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1()); + } } @@ -10465,24 +21891,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Parameter__Group_1__0__Impl" + // $ANTLR end "rule__ExactMultiplicity__Group__1__Impl" - // $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 { + // $ANTLR start "rule__ExactMultiplicity__Group__2" + // InternalSolverLanguage.g:6549:1: rule__ExactMultiplicity__Group__2 : rule__ExactMultiplicity__Group__2__Impl ; + public final void rule__ExactMultiplicity__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3334:1: ( rule__Parameter__Group_1__1__Impl ) - // InternalSolverLanguage.g:3335:2: rule__Parameter__Group_1__1__Impl + // InternalSolverLanguage.g:6553:1: ( rule__ExactMultiplicity__Group__2__Impl ) + // InternalSolverLanguage.g:6554:2: rule__ExactMultiplicity__Group__2__Impl { pushFollow(FOLLOW_2); - rule__Parameter__Group_1__1__Impl(); + rule__ExactMultiplicity__Group__2__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -10498,35 +21924,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Parameter__Group_1__1" + // $ANTLR end "rule__ExactMultiplicity__Group__2" - // $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 { + // $ANTLR start "rule__ExactMultiplicity__Group__2__Impl" + // InternalSolverLanguage.g:6560:1: rule__ExactMultiplicity__Group__2__Impl : ( ']' ) ; + public final void rule__ExactMultiplicity__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3345:1: ( ( ( rule__Parameter__TypeAssignment_1_1 ) ) ) - // InternalSolverLanguage.g:3346:1: ( ( rule__Parameter__TypeAssignment_1_1 ) ) - { - // InternalSolverLanguage.g:3346:1: ( ( rule__Parameter__TypeAssignment_1_1 ) ) - // InternalSolverLanguage.g:3347:2: ( rule__Parameter__TypeAssignment_1_1 ) + // InternalSolverLanguage.g:6564:1: ( ( ']' ) ) + // InternalSolverLanguage.g:6565:1: ( ']' ) { - before(grammarAccess.getParameterAccess().getTypeAssignment_1_1()); - // InternalSolverLanguage.g:3348:2: ( rule__Parameter__TypeAssignment_1_1 ) - // InternalSolverLanguage.g:3348:3: rule__Parameter__TypeAssignment_1_1 + // InternalSolverLanguage.g:6565:1: ( ']' ) + // InternalSolverLanguage.g:6566:2: ']' { - pushFollow(FOLLOW_2); - rule__Parameter__TypeAssignment_1_1(); - - state._fsp--; - - + if ( state.backtracking==0 ) { + before(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); + } + match(input,65,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); } - - after(grammarAccess.getParameterAccess().getTypeAssignment_1_1()); } @@ -10545,29 +21965,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Parameter__Group_1__1__Impl" + // $ANTLR end "rule__ExactMultiplicity__Group__2__Impl" - // $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 { + // $ANTLR start "rule__BoundedMultiplicity__Group__0" + // InternalSolverLanguage.g:6576:1: rule__BoundedMultiplicity__Group__0 : rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 ; + public final void rule__BoundedMultiplicity__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3361:1: ( rule__PatternBody__Group__0__Impl rule__PatternBody__Group__1 ) - // InternalSolverLanguage.g:3362:2: rule__PatternBody__Group__0__Impl rule__PatternBody__Group__1 + // InternalSolverLanguage.g:6580:1: ( rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 ) + // InternalSolverLanguage.g:6581:2: rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 { - pushFollow(FOLLOW_21); - rule__PatternBody__Group__0__Impl(); + pushFollow(FOLLOW_53); + rule__BoundedMultiplicity__Group__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__PatternBody__Group__1(); + rule__BoundedMultiplicity__Group__1(); state._fsp--; - + if (state.failed) return ; } @@ -10583,29 +22003,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PatternBody__Group__0" + // $ANTLR end "rule__BoundedMultiplicity__Group__0" - // $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 { + // $ANTLR start "rule__BoundedMultiplicity__Group__0__Impl" + // InternalSolverLanguage.g:6588:1: rule__BoundedMultiplicity__Group__0__Impl : ( '[' ) ; + public final void rule__BoundedMultiplicity__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3373:1: ( ( () ) ) - // InternalSolverLanguage.g:3374:1: ( () ) + // InternalSolverLanguage.g:6592:1: ( ( '[' ) ) + // InternalSolverLanguage.g:6593:1: ( '[' ) { - // InternalSolverLanguage.g:3374:1: ( () ) - // InternalSolverLanguage.g:3375:2: () - { - before(grammarAccess.getPatternBodyAccess().getPatternBodyAction_0()); - // InternalSolverLanguage.g:3376:2: () - // InternalSolverLanguage.g:3376:3: + // InternalSolverLanguage.g:6593:1: ( '[' ) + // InternalSolverLanguage.g:6594:2: '[' { + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); + } + match(input,63,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); } - - after(grammarAccess.getPatternBodyAccess().getPatternBodyAction_0()); } @@ -10613,6 +22033,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -10620,24 +22044,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PatternBody__Group__0__Impl" + // $ANTLR end "rule__BoundedMultiplicity__Group__0__Impl" - // $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 { + // $ANTLR start "rule__BoundedMultiplicity__Group__1" + // InternalSolverLanguage.g:6603:1: rule__BoundedMultiplicity__Group__1 : rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 ; + public final void rule__BoundedMultiplicity__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3388:1: ( rule__PatternBody__Group__1__Impl ) - // InternalSolverLanguage.g:3389:2: rule__PatternBody__Group__1__Impl + // InternalSolverLanguage.g:6607:1: ( rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 ) + // InternalSolverLanguage.g:6608:2: rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 { - pushFollow(FOLLOW_2); - rule__PatternBody__Group__1__Impl(); + pushFollow(FOLLOW_39); + rule__BoundedMultiplicity__Group__1__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__BoundedMultiplicity__Group__2(); + state._fsp--; + if (state.failed) return ; } @@ -10653,35 +22082,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PatternBody__Group__1" + // $ANTLR end "rule__BoundedMultiplicity__Group__1" - // $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 { + // $ANTLR start "rule__BoundedMultiplicity__Group__1__Impl" + // InternalSolverLanguage.g:6615:1: rule__BoundedMultiplicity__Group__1__Impl : ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) ; + public final void rule__BoundedMultiplicity__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3399:1: ( ( ( rule__PatternBody__Alternatives_1 ) ) ) - // InternalSolverLanguage.g:3400:1: ( ( rule__PatternBody__Alternatives_1 ) ) + // InternalSolverLanguage.g:6619:1: ( ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) ) + // InternalSolverLanguage.g:6620:1: ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) { - // InternalSolverLanguage.g:3400:1: ( ( rule__PatternBody__Alternatives_1 ) ) - // InternalSolverLanguage.g:3401:2: ( rule__PatternBody__Alternatives_1 ) + // InternalSolverLanguage.g:6620:1: ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) + // InternalSolverLanguage.g:6621:2: ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) { - before(grammarAccess.getPatternBodyAccess().getAlternatives_1()); - // InternalSolverLanguage.g:3402:2: ( rule__PatternBody__Alternatives_1 ) - // InternalSolverLanguage.g:3402:3: rule__PatternBody__Alternatives_1 + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); + } + // InternalSolverLanguage.g:6622:2: ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) + // InternalSolverLanguage.g:6622:3: rule__BoundedMultiplicity__LowerBoundAssignment_1 { pushFollow(FOLLOW_2); - rule__PatternBody__Alternatives_1(); + rule__BoundedMultiplicity__LowerBoundAssignment_1(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getPatternBodyAccess().getAlternatives_1()); + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); + } } @@ -10700,29 +22133,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PatternBody__Group__1__Impl" + // $ANTLR end "rule__BoundedMultiplicity__Group__1__Impl" - // $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 { + // $ANTLR start "rule__BoundedMultiplicity__Group__2" + // InternalSolverLanguage.g:6630:1: rule__BoundedMultiplicity__Group__2 : rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 ; + public final void rule__BoundedMultiplicity__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:6634:1: ( rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 ) + // InternalSolverLanguage.g:6635:2: rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 { - pushFollow(FOLLOW_27); - rule__Polarity__Group_0__0__Impl(); + pushFollow(FOLLOW_52); + rule__BoundedMultiplicity__Group__2__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Polarity__Group_0__1(); + rule__BoundedMultiplicity__Group__3(); state._fsp--; - + if (state.failed) return ; } @@ -10738,29 +22171,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Polarity__Group_0__0" + // $ANTLR end "rule__BoundedMultiplicity__Group__2" - // $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 { + // $ANTLR start "rule__BoundedMultiplicity__Group__2__Impl" + // InternalSolverLanguage.g:6642:1: rule__BoundedMultiplicity__Group__2__Impl : ( '..' ) ; + public final void rule__BoundedMultiplicity__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3427:1: ( ( () ) ) - // InternalSolverLanguage.g:3428:1: ( () ) - { - // InternalSolverLanguage.g:3428:1: ( () ) - // InternalSolverLanguage.g:3429:2: () + // InternalSolverLanguage.g:6646:1: ( ( '..' ) ) + // InternalSolverLanguage.g:6647:1: ( '..' ) { - before(grammarAccess.getPolarityAccess().getPositiveAction_0_0()); - // InternalSolverLanguage.g:3430:2: () - // InternalSolverLanguage.g:3430:3: + // InternalSolverLanguage.g:6647:1: ( '..' ) + // InternalSolverLanguage.g:6648:2: '..' { + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); + } + match(input,64,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); } - - after(grammarAccess.getPolarityAccess().getPositiveAction_0_0()); } @@ -10768,6 +22201,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -10775,24 +22212,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Polarity__Group_0__0__Impl" + // $ANTLR end "rule__BoundedMultiplicity__Group__2__Impl" - // $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 { + // $ANTLR start "rule__BoundedMultiplicity__Group__3" + // InternalSolverLanguage.g:6657:1: rule__BoundedMultiplicity__Group__3 : rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 ; + public final void rule__BoundedMultiplicity__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3442:1: ( rule__Polarity__Group_0__1__Impl ) - // InternalSolverLanguage.g:3443:2: rule__Polarity__Group_0__1__Impl + // InternalSolverLanguage.g:6661:1: ( rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 ) + // InternalSolverLanguage.g:6662:2: rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 { - pushFollow(FOLLOW_2); - rule__Polarity__Group_0__1__Impl(); + pushFollow(FOLLOW_40); + rule__BoundedMultiplicity__Group__3__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__BoundedMultiplicity__Group__4(); + state._fsp--; + if (state.failed) return ; } @@ -10808,25 +22250,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Polarity__Group_0__1" + // $ANTLR end "rule__BoundedMultiplicity__Group__3" - // $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 { + // $ANTLR start "rule__BoundedMultiplicity__Group__3__Impl" + // InternalSolverLanguage.g:6669:1: rule__BoundedMultiplicity__Group__3__Impl : ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) ; + public final void rule__BoundedMultiplicity__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3453:1: ( ( '+' ) ) - // InternalSolverLanguage.g:3454:1: ( '+' ) + // InternalSolverLanguage.g:6673:1: ( ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) ) + // InternalSolverLanguage.g:6674:1: ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) { - // InternalSolverLanguage.g:3454:1: ( '+' ) - // InternalSolverLanguage.g:3455:2: '+' + // InternalSolverLanguage.g:6674:1: ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) + // InternalSolverLanguage.g:6675:2: ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) { - before(grammarAccess.getPolarityAccess().getPlusSignKeyword_0_1()); - match(input,30,FOLLOW_2); - after(grammarAccess.getPolarityAccess().getPlusSignKeyword_0_1()); + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); + } + // InternalSolverLanguage.g:6676:2: ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) + // InternalSolverLanguage.g:6676:3: rule__BoundedMultiplicity__UpperBoundAssignment_3 + { + pushFollow(FOLLOW_2); + rule__BoundedMultiplicity__UpperBoundAssignment_3(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); + } } @@ -10845,29 +22301,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Polarity__Group_0__1__Impl" + // $ANTLR end "rule__BoundedMultiplicity__Group__3__Impl" - // $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 { + // $ANTLR start "rule__BoundedMultiplicity__Group__4" + // InternalSolverLanguage.g:6684:1: rule__BoundedMultiplicity__Group__4 : rule__BoundedMultiplicity__Group__4__Impl ; + public final void rule__BoundedMultiplicity__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:6688:1: ( rule__BoundedMultiplicity__Group__4__Impl ) + // InternalSolverLanguage.g:6689:2: rule__BoundedMultiplicity__Group__4__Impl { - pushFollow(FOLLOW_28); - rule__Polarity__Group_1__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Polarity__Group_1__1(); + rule__BoundedMultiplicity__Group__4__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -10883,29 +22334,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Polarity__Group_1__0" + // $ANTLR end "rule__BoundedMultiplicity__Group__4" - // $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 { + // $ANTLR start "rule__BoundedMultiplicity__Group__4__Impl" + // InternalSolverLanguage.g:6695:1: rule__BoundedMultiplicity__Group__4__Impl : ( ']' ) ; + public final void rule__BoundedMultiplicity__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3481:1: ( ( () ) ) - // InternalSolverLanguage.g:3482:1: ( () ) - { - // InternalSolverLanguage.g:3482:1: ( () ) - // InternalSolverLanguage.g:3483:2: () + // InternalSolverLanguage.g:6699:1: ( ( ']' ) ) + // InternalSolverLanguage.g:6700:1: ( ']' ) { - before(grammarAccess.getPolarityAccess().getNegativeAction_1_0()); - // InternalSolverLanguage.g:3484:2: () - // InternalSolverLanguage.g:3484:3: + // InternalSolverLanguage.g:6700:1: ( ']' ) + // InternalSolverLanguage.g:6701:2: ']' { + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); + } + match(input,65,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); } - - after(grammarAccess.getPolarityAccess().getNegativeAction_1_0()); } @@ -10913,6 +22364,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -10920,24 +22375,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Polarity__Group_1__0__Impl" + // $ANTLR end "rule__BoundedMultiplicity__Group__4__Impl" - // $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 { + // $ANTLR start "rule__ExactScopeDefinition__Group__0" + // InternalSolverLanguage.g:6711:1: rule__ExactScopeDefinition__Group__0 : rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1 ; + public final void rule__ExactScopeDefinition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3496:1: ( rule__Polarity__Group_1__1__Impl ) - // InternalSolverLanguage.g:3497:2: rule__Polarity__Group_1__1__Impl + // InternalSolverLanguage.g:6715:1: ( rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1 ) + // InternalSolverLanguage.g:6716:2: rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1 { - pushFollow(FOLLOW_2); - rule__Polarity__Group_1__1__Impl(); + pushFollow(FOLLOW_9); + rule__ExactScopeDefinition__Group__0__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ExactScopeDefinition__Group__1(); + state._fsp--; + if (state.failed) return ; } @@ -10953,25 +22413,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Polarity__Group_1__1" + // $ANTLR end "rule__ExactScopeDefinition__Group__0" - // $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 { + // $ANTLR start "rule__ExactScopeDefinition__Group__0__Impl" + // InternalSolverLanguage.g:6723:1: rule__ExactScopeDefinition__Group__0__Impl : ( 'scope' ) ; + public final void rule__ExactScopeDefinition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3507:1: ( ( '-' ) ) - // InternalSolverLanguage.g:3508:1: ( '-' ) + // InternalSolverLanguage.g:6727:1: ( ( 'scope' ) ) + // InternalSolverLanguage.g:6728:1: ( 'scope' ) { - // InternalSolverLanguage.g:3508:1: ( '-' ) - // InternalSolverLanguage.g:3509:2: '-' + // InternalSolverLanguage.g:6728:1: ( 'scope' ) + // InternalSolverLanguage.g:6729:2: 'scope' { - before(grammarAccess.getPolarityAccess().getHyphenMinusKeyword_1_1()); - match(input,13,FOLLOW_2); - after(grammarAccess.getPolarityAccess().getHyphenMinusKeyword_1_1()); + if ( state.backtracking==0 ) { + before(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); + } + match(input,71,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); + } } @@ -10990,29 +22454,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Polarity__Group_1__1__Impl" + // $ANTLR end "rule__ExactScopeDefinition__Group__0__Impl" - // $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 { + // $ANTLR start "rule__ExactScopeDefinition__Group__1" + // InternalSolverLanguage.g:6738:1: rule__ExactScopeDefinition__Group__1 : rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2 ; + public final void rule__ExactScopeDefinition__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:6742:1: ( rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2 ) + // InternalSolverLanguage.g:6743:2: rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2 { - pushFollow(FOLLOW_29); - rule__Constraint__Group_0__0__Impl(); + pushFollow(FOLLOW_54); + rule__ExactScopeDefinition__Group__1__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Constraint__Group_0__1(); + rule__ExactScopeDefinition__Group__2(); state._fsp--; - + if (state.failed) return ; } @@ -11028,46 +22492,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0__0" + // $ANTLR end "rule__ExactScopeDefinition__Group__1" - // $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 { + // $ANTLR start "rule__ExactScopeDefinition__Group__1__Impl" + // InternalSolverLanguage.g:6750:1: rule__ExactScopeDefinition__Group__1__Impl : ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) ; + public final void rule__ExactScopeDefinition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3535:1: ( ( ( rule__Constraint__PolarityAssignment_0_0 )? ) ) - // InternalSolverLanguage.g:3536:1: ( ( rule__Constraint__PolarityAssignment_0_0 )? ) + // InternalSolverLanguage.g:6754:1: ( ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) ) + // InternalSolverLanguage.g:6755:1: ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) { - // InternalSolverLanguage.g:3536:1: ( ( rule__Constraint__PolarityAssignment_0_0 )? ) - // InternalSolverLanguage.g:3537:2: ( rule__Constraint__PolarityAssignment_0_0 )? + // InternalSolverLanguage.g:6755:1: ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) + // InternalSolverLanguage.g:6756:2: ( rule__ExactScopeDefinition__TypeAssignment_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); - - if ( (LA32_0==13||LA32_0==30) ) { - alt32=1; + if ( state.backtracking==0 ) { + before(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1()); } - switch (alt32) { - case 1 : - // InternalSolverLanguage.g:3538:3: rule__Constraint__PolarityAssignment_0_0 - { - pushFollow(FOLLOW_2); - rule__Constraint__PolarityAssignment_0_0(); - - state._fsp--; - + // InternalSolverLanguage.g:6757:2: ( rule__ExactScopeDefinition__TypeAssignment_1 ) + // InternalSolverLanguage.g:6757:3: rule__ExactScopeDefinition__TypeAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ExactScopeDefinition__TypeAssignment_1(); - } - break; + state._fsp--; + if (state.failed) return ; } - after(grammarAccess.getConstraintAccess().getPolarityAssignment_0_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1()); + } } @@ -11086,29 +22543,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0__0__Impl" + // $ANTLR end "rule__ExactScopeDefinition__Group__1__Impl" - // $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 { + // $ANTLR start "rule__ExactScopeDefinition__Group__2" + // InternalSolverLanguage.g:6765:1: rule__ExactScopeDefinition__Group__2 : rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3 ; + public final void rule__ExactScopeDefinition__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:6769:1: ( rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3 ) + // InternalSolverLanguage.g:6770:2: rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3 { - pushFollow(FOLLOW_30); - rule__Constraint__Group_0__1__Impl(); + pushFollow(FOLLOW_53); + rule__ExactScopeDefinition__Group__2__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Constraint__Group_0__2(); + rule__ExactScopeDefinition__Group__3(); state._fsp--; - + if (state.failed) return ; } @@ -11124,35 +22581,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0__1" + // $ANTLR end "rule__ExactScopeDefinition__Group__2" - // $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 { + // $ANTLR start "rule__ExactScopeDefinition__Group__2__Impl" + // InternalSolverLanguage.g:6777:1: rule__ExactScopeDefinition__Group__2__Impl : ( '==' ) ; + public final void rule__ExactScopeDefinition__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3562:1: ( ( ( rule__Constraint__SymbolAssignment_0_1 ) ) ) - // InternalSolverLanguage.g:3563:1: ( ( rule__Constraint__SymbolAssignment_0_1 ) ) - { - // InternalSolverLanguage.g:3563:1: ( ( rule__Constraint__SymbolAssignment_0_1 ) ) - // InternalSolverLanguage.g:3564:2: ( rule__Constraint__SymbolAssignment_0_1 ) + // InternalSolverLanguage.g:6781:1: ( ( '==' ) ) + // InternalSolverLanguage.g:6782:1: ( '==' ) { - before(grammarAccess.getConstraintAccess().getSymbolAssignment_0_1()); - // InternalSolverLanguage.g:3565:2: ( rule__Constraint__SymbolAssignment_0_1 ) - // InternalSolverLanguage.g:3565:3: rule__Constraint__SymbolAssignment_0_1 + // InternalSolverLanguage.g:6782:1: ( '==' ) + // InternalSolverLanguage.g:6783:2: '==' { - pushFollow(FOLLOW_2); - rule__Constraint__SymbolAssignment_0_1(); - - state._fsp--; - - + if ( state.backtracking==0 ) { + before(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); + } + match(input,19,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); } - - after(grammarAccess.getConstraintAccess().getSymbolAssignment_0_1()); } @@ -11171,24 +22622,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0__1__Impl" + // $ANTLR end "rule__ExactScopeDefinition__Group__2__Impl" - // $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 { + // $ANTLR start "rule__ExactScopeDefinition__Group__3" + // InternalSolverLanguage.g:6792:1: rule__ExactScopeDefinition__Group__3 : rule__ExactScopeDefinition__Group__3__Impl ; + public final void rule__ExactScopeDefinition__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3577:1: ( rule__Constraint__Group_0__2__Impl ) - // InternalSolverLanguage.g:3578:2: rule__Constraint__Group_0__2__Impl + // InternalSolverLanguage.g:6796:1: ( rule__ExactScopeDefinition__Group__3__Impl ) + // InternalSolverLanguage.g:6797:2: rule__ExactScopeDefinition__Group__3__Impl { pushFollow(FOLLOW_2); - rule__Constraint__Group_0__2__Impl(); + rule__ExactScopeDefinition__Group__3__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -11204,46 +22655,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0__2" + // $ANTLR end "rule__ExactScopeDefinition__Group__3" - // $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 { + // $ANTLR start "rule__ExactScopeDefinition__Group__3__Impl" + // InternalSolverLanguage.g:6803:1: rule__ExactScopeDefinition__Group__3__Impl : ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) ; + public final void rule__ExactScopeDefinition__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3588:1: ( ( ( rule__Constraint__Group_0_2__0 )? ) ) - // InternalSolverLanguage.g:3589:1: ( ( rule__Constraint__Group_0_2__0 )? ) + // InternalSolverLanguage.g:6807:1: ( ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) ) + // InternalSolverLanguage.g:6808:1: ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) { - // InternalSolverLanguage.g:3589:1: ( ( rule__Constraint__Group_0_2__0 )? ) - // InternalSolverLanguage.g:3590:2: ( rule__Constraint__Group_0_2__0 )? + // InternalSolverLanguage.g:6808:1: ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) + // InternalSolverLanguage.g:6809:2: ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) { - 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; + if ( state.backtracking==0 ) { + before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3()); } - 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--; - + // InternalSolverLanguage.g:6810:2: ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) + // InternalSolverLanguage.g:6810:3: rule__ExactScopeDefinition__ExactScopeAssignment_3 + { + pushFollow(FOLLOW_2); + rule__ExactScopeDefinition__ExactScopeAssignment_3(); - } - break; + state._fsp--; + if (state.failed) return ; } - after(grammarAccess.getConstraintAccess().getGroup_0_2()); + if ( state.backtracking==0 ) { + after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3()); + } } @@ -11262,29 +22706,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0__2__Impl" + // $ANTLR end "rule__ExactScopeDefinition__Group__3__Impl" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group__0" + // InternalSolverLanguage.g:6819:1: rule__BoundedScopeDefinition__Group__0 : rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1 ; + public final void rule__BoundedScopeDefinition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:6823:1: ( rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1 ) + // InternalSolverLanguage.g:6824:2: rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1 { - pushFollow(FOLLOW_31); - rule__Constraint__Group_0_2__0__Impl(); + pushFollow(FOLLOW_55); + rule__BoundedScopeDefinition__Group__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Constraint__Group_0_2__1(); + rule__BoundedScopeDefinition__Group__1(); state._fsp--; - + if (state.failed) return ; } @@ -11300,25 +22744,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0_2__0" + // $ANTLR end "rule__BoundedScopeDefinition__Group__0" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group__0__Impl" + // InternalSolverLanguage.g:6831:1: rule__BoundedScopeDefinition__Group__0__Impl : ( 'scope' ) ; + public final void rule__BoundedScopeDefinition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3616:1: ( ( '(' ) ) - // InternalSolverLanguage.g:3617:1: ( '(' ) + // InternalSolverLanguage.g:6835:1: ( ( 'scope' ) ) + // InternalSolverLanguage.g:6836:1: ( 'scope' ) { - // InternalSolverLanguage.g:3617:1: ( '(' ) - // InternalSolverLanguage.g:3618:2: '(' + // InternalSolverLanguage.g:6836:1: ( 'scope' ) + // InternalSolverLanguage.g:6837:2: 'scope' { - before(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_0_2_0()); - match(input,18,FOLLOW_2); - after(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_0_2_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); + } + match(input,71,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); + } } @@ -11337,29 +22785,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0_2__0__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group__0__Impl" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group__1" + // InternalSolverLanguage.g:6846:1: rule__BoundedScopeDefinition__Group__1 : rule__BoundedScopeDefinition__Group__1__Impl rule__BoundedScopeDefinition__Group__2 ; + public final void rule__BoundedScopeDefinition__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:6850:1: ( rule__BoundedScopeDefinition__Group__1__Impl rule__BoundedScopeDefinition__Group__2 ) + // InternalSolverLanguage.g:6851:2: rule__BoundedScopeDefinition__Group__1__Impl rule__BoundedScopeDefinition__Group__2 { - pushFollow(FOLLOW_31); - rule__Constraint__Group_0_2__1__Impl(); + pushFollow(FOLLOW_13); + rule__BoundedScopeDefinition__Group__1__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Constraint__Group_0_2__2(); + rule__BoundedScopeDefinition__Group__2(); state._fsp--; - + if (state.failed) return ; } @@ -11375,46 +22823,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0_2__1" + // $ANTLR end "rule__BoundedScopeDefinition__Group__1" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group__1__Impl" + // InternalSolverLanguage.g:6858:1: rule__BoundedScopeDefinition__Group__1__Impl : ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) ; + public final void rule__BoundedScopeDefinition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3643:1: ( ( ( rule__Constraint__ParamsAssignment_0_2_1 )? ) ) - // InternalSolverLanguage.g:3644:1: ( ( rule__Constraint__ParamsAssignment_0_2_1 )? ) + // InternalSolverLanguage.g:6862:1: ( ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) ) + // InternalSolverLanguage.g:6863:1: ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) { - // InternalSolverLanguage.g:3644:1: ( ( rule__Constraint__ParamsAssignment_0_2_1 )? ) - // InternalSolverLanguage.g:3645:2: ( rule__Constraint__ParamsAssignment_0_2_1 )? + // InternalSolverLanguage.g:6863:1: ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) + // InternalSolverLanguage.g:6864:2: ( rule__BoundedScopeDefinition__Alternatives_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; + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_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--; - + // InternalSolverLanguage.g:6865:2: ( rule__BoundedScopeDefinition__Alternatives_1 ) + // InternalSolverLanguage.g:6865:3: rule__BoundedScopeDefinition__Alternatives_1 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__Alternatives_1(); - } - break; + state._fsp--; + if (state.failed) return ; } - after(grammarAccess.getConstraintAccess().getParamsAssignment_0_2_1()); + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1()); + } } @@ -11433,29 +22874,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0_2__1__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group__1__Impl" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group__2" + // InternalSolverLanguage.g:6873:1: rule__BoundedScopeDefinition__Group__2 : rule__BoundedScopeDefinition__Group__2__Impl ; + public final void rule__BoundedScopeDefinition__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:6877:1: ( rule__BoundedScopeDefinition__Group__2__Impl ) + // InternalSolverLanguage.g:6878:2: rule__BoundedScopeDefinition__Group__2__Impl { - pushFollow(FOLLOW_31); - rule__Constraint__Group_0_2__2__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Constraint__Group_0_2__3(); + rule__BoundedScopeDefinition__Group__2__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -11471,53 +22907,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0_2__2" + // $ANTLR end "rule__BoundedScopeDefinition__Group__2" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group__2__Impl" + // InternalSolverLanguage.g:6884:1: rule__BoundedScopeDefinition__Group__2__Impl : ( '.' ) ; + public final void rule__BoundedScopeDefinition__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3670:1: ( ( ( rule__Constraint__Group_0_2_2__0 )* ) ) - // InternalSolverLanguage.g:3671:1: ( ( rule__Constraint__Group_0_2_2__0 )* ) + // InternalSolverLanguage.g:6888:1: ( ( '.' ) ) + // InternalSolverLanguage.g:6889:1: ( '.' ) { - // InternalSolverLanguage.g:3671:1: ( ( rule__Constraint__Group_0_2_2__0 )* ) - // InternalSolverLanguage.g:3672:2: ( rule__Constraint__Group_0_2_2__0 )* + // InternalSolverLanguage.g:6889:1: ( '.' ) + // InternalSolverLanguage.g:6890:2: '.' { - 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 ( (LA35_0==20) ) { - alt35=1; - } - - - 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(); - - state._fsp--; - - - } - break; - - default : - break loop35; - } - } while (true); - - after(grammarAccess.getConstraintAccess().getGroup_0_2_2()); + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getFullStopKeyword_2()); + } + match(input,50,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getFullStopKeyword_2()); + } } @@ -11536,24 +22948,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0_2__2__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group__2__Impl" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__0" + // InternalSolverLanguage.g:6900:1: rule__BoundedScopeDefinition__Group_1_0__0 : rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1 ; + public final void rule__BoundedScopeDefinition__Group_1_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3685:1: ( rule__Constraint__Group_0_2__3__Impl ) - // InternalSolverLanguage.g:3686:2: rule__Constraint__Group_0_2__3__Impl + // InternalSolverLanguage.g:6904:1: ( rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1 ) + // InternalSolverLanguage.g:6905:2: rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1 { - pushFollow(FOLLOW_2); - rule__Constraint__Group_0_2__3__Impl(); + pushFollow(FOLLOW_55); + rule__BoundedScopeDefinition__Group_1_0__0__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__Group_1_0__1(); + state._fsp--; + if (state.failed) return ; } @@ -11569,25 +22986,50 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0_2__3" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__0" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__0__Impl" + // InternalSolverLanguage.g:6912:1: rule__BoundedScopeDefinition__Group_1_0__0__Impl : ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) ; + public final void rule__BoundedScopeDefinition__Group_1_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3696:1: ( ( ')' ) ) - // InternalSolverLanguage.g:3697:1: ( ')' ) + // InternalSolverLanguage.g:6916:1: ( ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) ) + // InternalSolverLanguage.g:6917:1: ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) { - // InternalSolverLanguage.g:3697:1: ( ')' ) - // InternalSolverLanguage.g:3698:2: ')' + // InternalSolverLanguage.g:6917:1: ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) + // InternalSolverLanguage.g:6918:2: ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? { - before(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_0_2_3()); - match(input,19,FOLLOW_2); - after(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_0_2_3()); + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0()); + } + // InternalSolverLanguage.g:6919:2: ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? + int alt51=2; + int LA51_0 = input.LA(1); + + if ( (LA51_0==RULE_INT) ) { + alt51=1; + } + switch (alt51) { + case 1 : + // InternalSolverLanguage.g:6919:3: rule__BoundedScopeDefinition__Group_1_0_0__0 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__Group_1_0_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0()); + } } @@ -11606,29 +23048,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0_2__3__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__0__Impl" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__1" + // InternalSolverLanguage.g:6927:1: rule__BoundedScopeDefinition__Group_1_0__1 : rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2 ; + public final void rule__BoundedScopeDefinition__Group_1_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:6931:1: ( rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2 ) + // InternalSolverLanguage.g:6932:2: rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2 { - pushFollow(FOLLOW_32); - rule__Constraint__Group_0_2_2__0__Impl(); + pushFollow(FOLLOW_56); + rule__BoundedScopeDefinition__Group_1_0__1__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Constraint__Group_0_2_2__1(); + rule__BoundedScopeDefinition__Group_1_0__2(); state._fsp--; - + if (state.failed) return ; } @@ -11644,25 +23086,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0_2_2__0" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__1" + + + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__1__Impl" + // InternalSolverLanguage.g:6939:1: rule__BoundedScopeDefinition__Group_1_0__1__Impl : ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) ; + public final void rule__BoundedScopeDefinition__Group_1_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguage.g:6943:1: ( ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) ) + // InternalSolverLanguage.g:6944:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) + { + // InternalSolverLanguage.g:6944:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) + // InternalSolverLanguage.g:6945:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1()); + } + // InternalSolverLanguage.g:6946:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) + // InternalSolverLanguage.g:6946:3: rule__BoundedScopeDefinition__TypeAssignment_1_0_1 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__TypeAssignment_1_0_1(); + state._fsp--; + if (state.failed) return ; - // $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:3724:1: ( ( ',' ) ) - // InternalSolverLanguage.g:3725:1: ( ',' ) - { - // InternalSolverLanguage.g:3725:1: ( ',' ) - // InternalSolverLanguage.g:3726:2: ',' - { - before(grammarAccess.getConstraintAccess().getCommaKeyword_0_2_2_0()); - match(input,20,FOLLOW_2); - after(grammarAccess.getConstraintAccess().getCommaKeyword_0_2_2_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1()); + } } @@ -11681,24 +23137,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0_2_2__0__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__1__Impl" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__2" + // InternalSolverLanguage.g:6954:1: rule__BoundedScopeDefinition__Group_1_0__2 : rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3 ; + public final void rule__BoundedScopeDefinition__Group_1_0__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3739:1: ( rule__Constraint__Group_0_2_2__1__Impl ) - // InternalSolverLanguage.g:3740:2: rule__Constraint__Group_0_2_2__1__Impl + // InternalSolverLanguage.g:6958:1: ( rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3 ) + // InternalSolverLanguage.g:6959:2: rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3 { - pushFollow(FOLLOW_2); - rule__Constraint__Group_0_2_2__1__Impl(); + pushFollow(FOLLOW_53); + rule__BoundedScopeDefinition__Group_1_0__2__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__Group_1_0__3(); + state._fsp--; + if (state.failed) return ; } @@ -11714,35 +23175,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0_2_2__1" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__2" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__2__Impl" + // InternalSolverLanguage.g:6966:1: rule__BoundedScopeDefinition__Group_1_0__2__Impl : ( '<=' ) ; + public final void rule__BoundedScopeDefinition__Group_1_0__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3750:1: ( ( ( rule__Constraint__ParamsAssignment_0_2_2_1 ) ) ) - // InternalSolverLanguage.g:3751:1: ( ( rule__Constraint__ParamsAssignment_0_2_2_1 ) ) - { - // InternalSolverLanguage.g:3751:1: ( ( rule__Constraint__ParamsAssignment_0_2_2_1 ) ) - // InternalSolverLanguage.g:3752:2: ( rule__Constraint__ParamsAssignment_0_2_2_1 ) + // InternalSolverLanguage.g:6970:1: ( ( '<=' ) ) + // InternalSolverLanguage.g:6971:1: ( '<=' ) { - 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 + // InternalSolverLanguage.g:6971:1: ( '<=' ) + // InternalSolverLanguage.g:6972:2: '<=' { - pushFollow(FOLLOW_2); - rule__Constraint__ParamsAssignment_0_2_2_1(); - - state._fsp--; - - + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); + } + match(input,22,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); } - - after(grammarAccess.getConstraintAccess().getParamsAssignment_0_2_2_1()); } @@ -11761,29 +23216,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_0_2_2__1__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__2__Impl" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__3" + // InternalSolverLanguage.g:6981:1: rule__BoundedScopeDefinition__Group_1_0__3 : rule__BoundedScopeDefinition__Group_1_0__3__Impl ; + public final void rule__BoundedScopeDefinition__Group_1_0__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:6985:1: ( rule__BoundedScopeDefinition__Group_1_0__3__Impl ) + // InternalSolverLanguage.g:6986:2: rule__BoundedScopeDefinition__Group_1_0__3__Impl { - pushFollow(FOLLOW_30); - rule__Constraint__Group_1__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Constraint__Group_1__1(); + rule__BoundedScopeDefinition__Group_1_0__3__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -11799,35 +23249,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_1__0" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__3" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__3__Impl" + // InternalSolverLanguage.g:6992:1: rule__BoundedScopeDefinition__Group_1_0__3__Impl : ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) ; + public final void rule__BoundedScopeDefinition__Group_1_0__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3778:1: ( ( ( rule__Constraint__ClosureTypeAssignment_1_0 ) ) ) - // InternalSolverLanguage.g:3779:1: ( ( rule__Constraint__ClosureTypeAssignment_1_0 ) ) + // InternalSolverLanguage.g:6996:1: ( ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) ) + // InternalSolverLanguage.g:6997:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) { - // InternalSolverLanguage.g:3779:1: ( ( rule__Constraint__ClosureTypeAssignment_1_0 ) ) - // InternalSolverLanguage.g:3780:2: ( rule__Constraint__ClosureTypeAssignment_1_0 ) + // InternalSolverLanguage.g:6997:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) + // InternalSolverLanguage.g:6998:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) { - before(grammarAccess.getConstraintAccess().getClosureTypeAssignment_1_0()); - // InternalSolverLanguage.g:3781:2: ( rule__Constraint__ClosureTypeAssignment_1_0 ) - // InternalSolverLanguage.g:3781:3: rule__Constraint__ClosureTypeAssignment_1_0 + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3()); + } + // InternalSolverLanguage.g:6999:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) + // InternalSolverLanguage.g:6999:3: rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 { pushFollow(FOLLOW_2); - rule__Constraint__ClosureTypeAssignment_1_0(); + rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getConstraintAccess().getClosureTypeAssignment_1_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3()); + } } @@ -11846,29 +23300,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_1__0__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__3__Impl" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__0" + // InternalSolverLanguage.g:7008:1: rule__BoundedScopeDefinition__Group_1_0_0__0 : rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1 ; + public final void rule__BoundedScopeDefinition__Group_1_0_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:7012:1: ( rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1 ) + // InternalSolverLanguage.g:7013:2: rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1 { - pushFollow(FOLLOW_31); - rule__Constraint__Group_1__1__Impl(); + pushFollow(FOLLOW_56); + rule__BoundedScopeDefinition__Group_1_0_0__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Constraint__Group_1__2(); + rule__BoundedScopeDefinition__Group_1_0_0__1(); state._fsp--; - + if (state.failed) return ; } @@ -11884,25 +23338,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_1__1" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0_0__0" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__0__Impl" + // InternalSolverLanguage.g:7020:1: rule__BoundedScopeDefinition__Group_1_0_0__0__Impl : ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) ; + public final void rule__BoundedScopeDefinition__Group_1_0_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3805:1: ( ( '(' ) ) - // InternalSolverLanguage.g:3806:1: ( '(' ) + // InternalSolverLanguage.g:7024:1: ( ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) ) + // InternalSolverLanguage.g:7025:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) { - // InternalSolverLanguage.g:3806:1: ( '(' ) - // InternalSolverLanguage.g:3807:2: '(' + // InternalSolverLanguage.g:7025:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) + // InternalSolverLanguage.g:7026:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) { - before(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_1_1()); - match(input,18,FOLLOW_2); - after(grammarAccess.getConstraintAccess().getLeftParenthesisKeyword_1_1()); + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0()); + } + // InternalSolverLanguage.g:7027:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) + // InternalSolverLanguage.g:7027:3: rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0()); + } } @@ -11921,29 +23389,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_1__1__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0_0__0__Impl" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__1" + // InternalSolverLanguage.g:7035:1: rule__BoundedScopeDefinition__Group_1_0_0__1 : rule__BoundedScopeDefinition__Group_1_0_0__1__Impl ; + public final void rule__BoundedScopeDefinition__Group_1_0_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:7039:1: ( rule__BoundedScopeDefinition__Group_1_0_0__1__Impl ) + // InternalSolverLanguage.g:7040:2: rule__BoundedScopeDefinition__Group_1_0_0__1__Impl { - pushFollow(FOLLOW_31); - rule__Constraint__Group_1__2__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Constraint__Group_1__3(); + rule__BoundedScopeDefinition__Group_1_0_0__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -11959,47 +23422,30 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_1__2" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0_0__1" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__1__Impl" + // InternalSolverLanguage.g:7046:1: rule__BoundedScopeDefinition__Group_1_0_0__1__Impl : ( '<=' ) ; + public final void rule__BoundedScopeDefinition__Group_1_0_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3832:1: ( ( ( rule__Constraint__ParamsAssignment_1_2 )? ) ) - // InternalSolverLanguage.g:3833:1: ( ( rule__Constraint__ParamsAssignment_1_2 )? ) + // InternalSolverLanguage.g:7050:1: ( ( '<=' ) ) + // InternalSolverLanguage.g:7051:1: ( '<=' ) { - // InternalSolverLanguage.g:3833:1: ( ( rule__Constraint__ParamsAssignment_1_2 )? ) - // InternalSolverLanguage.g:3834:2: ( rule__Constraint__ParamsAssignment_1_2 )? + // InternalSolverLanguage.g:7051:1: ( '<=' ) + // InternalSolverLanguage.g:7052:2: '<=' { - 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; + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); } - switch (alt36) { - case 1 : - // InternalSolverLanguage.g:3835:3: rule__Constraint__ParamsAssignment_1_2 - { - pushFollow(FOLLOW_2); - rule__Constraint__ParamsAssignment_1_2(); - - state._fsp--; - - - } - break; - + match(input,22,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); } - after(grammarAccess.getConstraintAccess().getParamsAssignment_1_2()); - } @@ -12017,29 +23463,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_1__2__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0_0__1__Impl" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__0" + // InternalSolverLanguage.g:7062:1: rule__BoundedScopeDefinition__Group_1_1__0 : rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1 ; + public final void rule__BoundedScopeDefinition__Group_1_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:7066:1: ( rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1 ) + // InternalSolverLanguage.g:7067:2: rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1 { - pushFollow(FOLLOW_31); - rule__Constraint__Group_1__3__Impl(); + pushFollow(FOLLOW_57); + rule__BoundedScopeDefinition__Group_1_1__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Constraint__Group_1__4(); + rule__BoundedScopeDefinition__Group_1_1__1(); state._fsp--; - + if (state.failed) return ; } @@ -12055,53 +23501,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_1__3" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__0" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__0__Impl" + // InternalSolverLanguage.g:7074:1: rule__BoundedScopeDefinition__Group_1_1__0__Impl : ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) ; + public final void rule__BoundedScopeDefinition__Group_1_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3859:1: ( ( ( rule__Constraint__Group_1_3__0 )* ) ) - // InternalSolverLanguage.g:3860:1: ( ( rule__Constraint__Group_1_3__0 )* ) + // InternalSolverLanguage.g:7078:1: ( ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) ) + // InternalSolverLanguage.g:7079:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) { - // InternalSolverLanguage.g:3860:1: ( ( rule__Constraint__Group_1_3__0 )* ) - // InternalSolverLanguage.g:3861:2: ( rule__Constraint__Group_1_3__0 )* + // InternalSolverLanguage.g:7079:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) + // InternalSolverLanguage.g:7080:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) { - 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--; - + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0()); + } + // InternalSolverLanguage.g:7081:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) + // InternalSolverLanguage.g:7081:3: rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0(); - } - break; + state._fsp--; + if (state.failed) return ; - default : - break loop37; - } - } while (true); + } - after(grammarAccess.getConstraintAccess().getGroup_1_3()); + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0()); + } } @@ -12120,24 +23552,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_1__3__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__0__Impl" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__1" + // InternalSolverLanguage.g:7089:1: rule__BoundedScopeDefinition__Group_1_1__1 : rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2 ; + public final void rule__BoundedScopeDefinition__Group_1_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3874:1: ( rule__Constraint__Group_1__4__Impl ) - // InternalSolverLanguage.g:3875:2: rule__Constraint__Group_1__4__Impl + // InternalSolverLanguage.g:7093:1: ( rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2 ) + // InternalSolverLanguage.g:7094:2: rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2 { - pushFollow(FOLLOW_2); - rule__Constraint__Group_1__4__Impl(); + pushFollow(FOLLOW_9); + rule__BoundedScopeDefinition__Group_1_1__1__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__Group_1_1__2(); + state._fsp--; + if (state.failed) return ; } @@ -12153,25 +23590,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_1__4" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__1" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__1__Impl" + // InternalSolverLanguage.g:7101:1: rule__BoundedScopeDefinition__Group_1_1__1__Impl : ( '>=' ) ; + public final void rule__BoundedScopeDefinition__Group_1_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3885:1: ( ( ')' ) ) - // InternalSolverLanguage.g:3886:1: ( ')' ) + // InternalSolverLanguage.g:7105:1: ( ( '>=' ) ) + // InternalSolverLanguage.g:7106:1: ( '>=' ) { - // InternalSolverLanguage.g:3886:1: ( ')' ) - // InternalSolverLanguage.g:3887:2: ')' + // InternalSolverLanguage.g:7106:1: ( '>=' ) + // InternalSolverLanguage.g:7107:2: '>=' { - before(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_1_4()); - match(input,19,FOLLOW_2); - after(grammarAccess.getConstraintAccess().getRightParenthesisKeyword_1_4()); + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); + } + match(input,24,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); + } } @@ -12190,29 +23631,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_1__4__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__1__Impl" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__2" + // InternalSolverLanguage.g:7116:1: rule__BoundedScopeDefinition__Group_1_1__2 : rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3 ; + public final void rule__BoundedScopeDefinition__Group_1_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:7120:1: ( rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3 ) + // InternalSolverLanguage.g:7121:2: rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3 { - pushFollow(FOLLOW_32); - rule__Constraint__Group_1_3__0__Impl(); + pushFollow(FOLLOW_57); + rule__BoundedScopeDefinition__Group_1_1__2__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__Constraint__Group_1_3__1(); + rule__BoundedScopeDefinition__Group_1_1__3(); state._fsp--; - + if (state.failed) return ; } @@ -12228,25 +23669,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_1_3__0" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__2" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__2__Impl" + // InternalSolverLanguage.g:7128:1: rule__BoundedScopeDefinition__Group_1_1__2__Impl : ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) ; + public final void rule__BoundedScopeDefinition__Group_1_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3913:1: ( ( ',' ) ) - // InternalSolverLanguage.g:3914:1: ( ',' ) + // InternalSolverLanguage.g:7132:1: ( ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) ) + // InternalSolverLanguage.g:7133:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) + { + // InternalSolverLanguage.g:7133:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) + // InternalSolverLanguage.g:7134:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) { - // InternalSolverLanguage.g:3914:1: ( ',' ) - // InternalSolverLanguage.g:3915:2: ',' + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2()); + } + // InternalSolverLanguage.g:7135:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) + // InternalSolverLanguage.g:7135:3: rule__BoundedScopeDefinition__TypeAssignment_1_1_2 { - before(grammarAccess.getConstraintAccess().getCommaKeyword_1_3_0()); - match(input,20,FOLLOW_2); - after(grammarAccess.getConstraintAccess().getCommaKeyword_1_3_0()); + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__TypeAssignment_1_1_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2()); + } } @@ -12265,24 +23720,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_1_3__0__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__2__Impl" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__3" + // InternalSolverLanguage.g:7143:1: rule__BoundedScopeDefinition__Group_1_1__3 : rule__BoundedScopeDefinition__Group_1_1__3__Impl ; + public final void rule__BoundedScopeDefinition__Group_1_1__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3928:1: ( rule__Constraint__Group_1_3__1__Impl ) - // InternalSolverLanguage.g:3929:2: rule__Constraint__Group_1_3__1__Impl + // InternalSolverLanguage.g:7147:1: ( rule__BoundedScopeDefinition__Group_1_1__3__Impl ) + // InternalSolverLanguage.g:7148:2: rule__BoundedScopeDefinition__Group_1_1__3__Impl { pushFollow(FOLLOW_2); - rule__Constraint__Group_1_3__1__Impl(); + rule__BoundedScopeDefinition__Group_1_1__3__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -12298,35 +23753,50 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_1_3__1" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__3" - // $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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__3__Impl" + // InternalSolverLanguage.g:7154:1: rule__BoundedScopeDefinition__Group_1_1__3__Impl : ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) ; + public final void rule__BoundedScopeDefinition__Group_1_1__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3939:1: ( ( ( rule__Constraint__ParamsAssignment_1_3_1 ) ) ) - // InternalSolverLanguage.g:3940:1: ( ( rule__Constraint__ParamsAssignment_1_3_1 ) ) - { - // InternalSolverLanguage.g:3940:1: ( ( rule__Constraint__ParamsAssignment_1_3_1 ) ) - // InternalSolverLanguage.g:3941:2: ( rule__Constraint__ParamsAssignment_1_3_1 ) + // InternalSolverLanguage.g:7158:1: ( ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) ) + // InternalSolverLanguage.g:7159:1: ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) { - 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 + // InternalSolverLanguage.g:7159:1: ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) + // InternalSolverLanguage.g:7160:2: ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? { - pushFollow(FOLLOW_2); - rule__Constraint__ParamsAssignment_1_3_1(); + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3()); + } + // InternalSolverLanguage.g:7161:2: ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? + int alt52=2; + int LA52_0 = input.LA(1); - state._fsp--; + if ( (LA52_0==24) ) { + alt52=1; + } + switch (alt52) { + case 1 : + // InternalSolverLanguage.g:7161:3: rule__BoundedScopeDefinition__Group_1_1_3__0 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__Group_1_1_3__0(); + + state._fsp--; + if (state.failed) return ; + } + break; } - after(grammarAccess.getConstraintAccess().getParamsAssignment_1_3_1()); + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3()); + } } @@ -12345,29 +23815,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__Group_1_3__1__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__3__Impl" - // $ANTLR start "rule__ClosureType__Group_0__0" - // 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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__0" + // InternalSolverLanguage.g:7170:1: rule__BoundedScopeDefinition__Group_1_1_3__0 : rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1 ; + public final void rule__BoundedScopeDefinition__Group_1_1_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:7174:1: ( rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1 ) + // InternalSolverLanguage.g:7175:2: rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1 { - pushFollow(FOLLOW_33); - rule__ClosureType__Group_0__0__Impl(); + pushFollow(FOLLOW_53); + rule__BoundedScopeDefinition__Group_1_1_3__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__ClosureType__Group_0__1(); + rule__BoundedScopeDefinition__Group_1_1_3__1(); state._fsp--; - + if (state.failed) return ; } @@ -12383,29 +23853,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClosureType__Group_0__0" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1_3__0" - // $ANTLR start "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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__0__Impl" + // InternalSolverLanguage.g:7182:1: rule__BoundedScopeDefinition__Group_1_1_3__0__Impl : ( '>=' ) ; + public final void rule__BoundedScopeDefinition__Group_1_1_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3967:1: ( ( () ) ) - // InternalSolverLanguage.g:3968:1: ( () ) - { - // InternalSolverLanguage.g:3968:1: ( () ) - // InternalSolverLanguage.g:3969:2: () + // InternalSolverLanguage.g:7186:1: ( ( '>=' ) ) + // InternalSolverLanguage.g:7187:1: ( '>=' ) { - before(grammarAccess.getClosureTypeAccess().getReflexiveClosureAction_0_0()); - // InternalSolverLanguage.g:3970:2: () - // InternalSolverLanguage.g:3970:3: + // InternalSolverLanguage.g:7187:1: ( '>=' ) + // InternalSolverLanguage.g:7188:2: '>=' { + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); + } + match(input,24,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); } - - after(grammarAccess.getClosureTypeAccess().getReflexiveClosureAction_0_0()); } @@ -12413,6 +23883,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -12420,24 +23894,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClosureType__Group_0__0__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1_3__0__Impl" - // $ANTLR start "rule__ClosureType__Group_0__1" - // 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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__1" + // InternalSolverLanguage.g:7197:1: rule__BoundedScopeDefinition__Group_1_1_3__1 : rule__BoundedScopeDefinition__Group_1_1_3__1__Impl ; + public final void rule__BoundedScopeDefinition__Group_1_1_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3982:1: ( rule__ClosureType__Group_0__1__Impl ) - // InternalSolverLanguage.g:3983:2: rule__ClosureType__Group_0__1__Impl + // InternalSolverLanguage.g:7201:1: ( rule__BoundedScopeDefinition__Group_1_1_3__1__Impl ) + // InternalSolverLanguage.g:7202:2: rule__BoundedScopeDefinition__Group_1_1_3__1__Impl { pushFollow(FOLLOW_2); - rule__ClosureType__Group_0__1__Impl(); + rule__BoundedScopeDefinition__Group_1_1_3__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -12453,25 +23927,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClosureType__Group_0__1" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1_3__1" - // $ANTLR start "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 { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__1__Impl" + // InternalSolverLanguage.g:7208:1: rule__BoundedScopeDefinition__Group_1_1_3__1__Impl : ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) ; + public final void rule__BoundedScopeDefinition__Group_1_1_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:3993:1: ( ( '*' ) ) - // InternalSolverLanguage.g:3994:1: ( '*' ) + // InternalSolverLanguage.g:7212:1: ( ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) ) + // InternalSolverLanguage.g:7213:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) + { + // InternalSolverLanguage.g:7213:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) + // InternalSolverLanguage.g:7214:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) { - // InternalSolverLanguage.g:3994:1: ( '*' ) - // InternalSolverLanguage.g:3995:2: '*' + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1()); + } + // InternalSolverLanguage.g:7215:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) + // InternalSolverLanguage.g:7215:3: rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 { - before(grammarAccess.getClosureTypeAccess().getAsteriskKeyword_0_1()); - match(input,31,FOLLOW_2); - after(grammarAccess.getClosureTypeAccess().getAsteriskKeyword_0_1()); + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1()); + } } @@ -12490,29 +23978,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClosureType__Group_0__1__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1_3__1__Impl" - // $ANTLR start "rule__ClosureType__Group_1__0" - // 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 { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__0" + // InternalSolverLanguage.g:7224:1: rule__LowerBoundedScopeDefinition__Group__0 : rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1 ; + public final void rule__LowerBoundedScopeDefinition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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 + // InternalSolverLanguage.g:7228:1: ( rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1 ) + // InternalSolverLanguage.g:7229:2: rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1 { - pushFollow(FOLLOW_34); - rule__ClosureType__Group_1__0__Impl(); + pushFollow(FOLLOW_55); + rule__LowerBoundedScopeDefinition__Group__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__ClosureType__Group_1__1(); + rule__LowerBoundedScopeDefinition__Group__1(); state._fsp--; - + if (state.failed) return ; } @@ -12528,29 +24016,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClosureType__Group_1__0" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__0" - // $ANTLR start "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 { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__0__Impl" + // InternalSolverLanguage.g:7236:1: rule__LowerBoundedScopeDefinition__Group__0__Impl : ( 'scope' ) ; + public final void rule__LowerBoundedScopeDefinition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4021:1: ( ( () ) ) - // InternalSolverLanguage.g:4022:1: ( () ) - { - // InternalSolverLanguage.g:4022:1: ( () ) - // InternalSolverLanguage.g:4023:2: () + // InternalSolverLanguage.g:7240:1: ( ( 'scope' ) ) + // InternalSolverLanguage.g:7241:1: ( 'scope' ) { - before(grammarAccess.getClosureTypeAccess().getIrreflexiveClosureAction_1_0()); - // InternalSolverLanguage.g:4024:2: () - // InternalSolverLanguage.g:4024:3: + // InternalSolverLanguage.g:7241:1: ( 'scope' ) + // InternalSolverLanguage.g:7242:2: 'scope' { + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); + } + match(input,71,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); } - - after(grammarAccess.getClosureTypeAccess().getIrreflexiveClosureAction_1_0()); } @@ -12558,6 +24046,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -12565,24 +24057,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClosureType__Group_1__0__Impl" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__0__Impl" - // $ANTLR start "rule__ClosureType__Group_1__1" - // 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 { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__1" + // InternalSolverLanguage.g:7251:1: rule__LowerBoundedScopeDefinition__Group__1 : rule__LowerBoundedScopeDefinition__Group__1__Impl rule__LowerBoundedScopeDefinition__Group__2 ; + public final void rule__LowerBoundedScopeDefinition__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4036:1: ( rule__ClosureType__Group_1__1__Impl ) - // InternalSolverLanguage.g:4037:2: rule__ClosureType__Group_1__1__Impl + // InternalSolverLanguage.g:7255:1: ( rule__LowerBoundedScopeDefinition__Group__1__Impl rule__LowerBoundedScopeDefinition__Group__2 ) + // InternalSolverLanguage.g:7256:2: rule__LowerBoundedScopeDefinition__Group__1__Impl rule__LowerBoundedScopeDefinition__Group__2 { - pushFollow(FOLLOW_2); - rule__ClosureType__Group_1__1__Impl(); + pushFollow(FOLLOW_13); + rule__LowerBoundedScopeDefinition__Group__1__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__LowerBoundedScopeDefinition__Group__2(); + state._fsp--; + if (state.failed) return ; } @@ -12598,25 +24095,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClosureType__Group_1__1" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__1" - // $ANTLR start "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 { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__1__Impl" + // InternalSolverLanguage.g:7263:1: rule__LowerBoundedScopeDefinition__Group__1__Impl : ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) ; + public final void rule__LowerBoundedScopeDefinition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4047:1: ( ( '+' ) ) - // InternalSolverLanguage.g:4048:1: ( '+' ) + // InternalSolverLanguage.g:7267:1: ( ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) ) + // InternalSolverLanguage.g:7268:1: ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) { - // InternalSolverLanguage.g:4048:1: ( '+' ) - // InternalSolverLanguage.g:4049:2: '+' + // InternalSolverLanguage.g:7268:1: ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) + // InternalSolverLanguage.g:7269:2: ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1()); + } + // InternalSolverLanguage.g:7270:2: ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) + // InternalSolverLanguage.g:7270:3: rule__LowerBoundedScopeDefinition__Alternatives_1 { - before(grammarAccess.getClosureTypeAccess().getPlusSignKeyword_1_1()); - match(input,30,FOLLOW_2); - after(grammarAccess.getClosureTypeAccess().getPlusSignKeyword_1_1()); + pushFollow(FOLLOW_2); + rule__LowerBoundedScopeDefinition__Alternatives_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1()); + } } @@ -12635,29 +24146,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClosureType__Group_1__1__Impl" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__1__Impl" - // $ANTLR start "rule__AllInstances__Group__0" - // 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 { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__2" + // InternalSolverLanguage.g:7278:1: rule__LowerBoundedScopeDefinition__Group__2 : rule__LowerBoundedScopeDefinition__Group__2__Impl ; + public final void rule__LowerBoundedScopeDefinition__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4063:1: ( rule__AllInstances__Group__0__Impl rule__AllInstances__Group__1 ) - // InternalSolverLanguage.g:4064:2: rule__AllInstances__Group__0__Impl rule__AllInstances__Group__1 + // InternalSolverLanguage.g:7282:1: ( rule__LowerBoundedScopeDefinition__Group__2__Impl ) + // InternalSolverLanguage.g:7283:2: rule__LowerBoundedScopeDefinition__Group__2__Impl { - pushFollow(FOLLOW_26); - rule__AllInstances__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__AllInstances__Group__1(); + rule__LowerBoundedScopeDefinition__Group__2__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -12673,25 +24179,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AllInstances__Group__0" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__2" - // $ANTLR start "rule__AllInstances__Group__0__Impl" - // InternalSolverLanguage.g:4071:1: rule__AllInstances__Group__0__Impl : ( ':' ) ; - public final void rule__AllInstances__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__2__Impl" + // InternalSolverLanguage.g:7289:1: rule__LowerBoundedScopeDefinition__Group__2__Impl : ( '.' ) ; + public final void rule__LowerBoundedScopeDefinition__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4075:1: ( ( ':' ) ) - // InternalSolverLanguage.g:4076:1: ( ':' ) + // InternalSolverLanguage.g:7293:1: ( ( '.' ) ) + // InternalSolverLanguage.g:7294:1: ( '.' ) { - // InternalSolverLanguage.g:4076:1: ( ':' ) - // InternalSolverLanguage.g:4077:2: ':' + // InternalSolverLanguage.g:7294:1: ( '.' ) + // InternalSolverLanguage.g:7295:2: '.' { - before(grammarAccess.getAllInstancesAccess().getColonKeyword_0()); - match(input,17,FOLLOW_2); - after(grammarAccess.getAllInstancesAccess().getColonKeyword_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getFullStopKeyword_2()); + } + match(input,50,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getFullStopKeyword_2()); + } } @@ -12710,24 +24220,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AllInstances__Group__0__Impl" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__2__Impl" - // $ANTLR start "rule__AllInstances__Group__1" - // InternalSolverLanguage.g:4086:1: rule__AllInstances__Group__1 : rule__AllInstances__Group__1__Impl ; - public final void rule__AllInstances__Group__1() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__0" + // InternalSolverLanguage.g:7305:1: rule__LowerBoundedScopeDefinition__Group_1_0__0 : rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1 ; + public final void rule__LowerBoundedScopeDefinition__Group_1_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4090:1: ( rule__AllInstances__Group__1__Impl ) - // InternalSolverLanguage.g:4091:2: rule__AllInstances__Group__1__Impl + // InternalSolverLanguage.g:7309:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1 ) + // InternalSolverLanguage.g:7310:2: rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1 { - pushFollow(FOLLOW_2); - rule__AllInstances__Group__1__Impl(); + pushFollow(FOLLOW_56); + rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__LowerBoundedScopeDefinition__Group_1_0__1(); + state._fsp--; + if (state.failed) return ; } @@ -12743,35 +24258,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AllInstances__Group__1" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__0" - // $ANTLR start "rule__AllInstances__Group__1__Impl" - // InternalSolverLanguage.g:4097:1: rule__AllInstances__Group__1__Impl : ( ( rule__AllInstances__SymbolAssignment_1 ) ) ; - public final void rule__AllInstances__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl" + // InternalSolverLanguage.g:7317:1: rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl : ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) ; + public final void rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4101:1: ( ( ( rule__AllInstances__SymbolAssignment_1 ) ) ) - // InternalSolverLanguage.g:4102:1: ( ( rule__AllInstances__SymbolAssignment_1 ) ) + // InternalSolverLanguage.g:7321:1: ( ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) ) + // InternalSolverLanguage.g:7322:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) { - // InternalSolverLanguage.g:4102:1: ( ( rule__AllInstances__SymbolAssignment_1 ) ) - // InternalSolverLanguage.g:4103:2: ( rule__AllInstances__SymbolAssignment_1 ) + // InternalSolverLanguage.g:7322:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) + // InternalSolverLanguage.g:7323:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) { - before(grammarAccess.getAllInstancesAccess().getSymbolAssignment_1()); - // InternalSolverLanguage.g:4104:2: ( rule__AllInstances__SymbolAssignment_1 ) - // InternalSolverLanguage.g:4104:3: rule__AllInstances__SymbolAssignment_1 + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0()); + } + // InternalSolverLanguage.g:7324:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) + // InternalSolverLanguage.g:7324:3: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 { pushFollow(FOLLOW_2); - rule__AllInstances__SymbolAssignment_1(); + rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getAllInstancesAccess().getSymbolAssignment_1()); + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0()); + } } @@ -12790,29 +24309,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AllInstances__Group__1__Impl" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl" - // $ANTLR start "rule__AllObjects__Group__0" - // 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 { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__1" + // InternalSolverLanguage.g:7332:1: rule__LowerBoundedScopeDefinition__Group_1_0__1 : rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2 ; + public final void rule__LowerBoundedScopeDefinition__Group_1_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:7336:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2 ) + // InternalSolverLanguage.g:7337:2: rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2 { - pushFollow(FOLLOW_16); - rule__AllObjects__Group__0__Impl(); + pushFollow(FOLLOW_9); + rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__AllObjects__Group__1(); + rule__LowerBoundedScopeDefinition__Group_1_0__2(); state._fsp--; - + if (state.failed) return ; } @@ -12828,29 +24347,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AllObjects__Group__0" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__1" - // $ANTLR start "rule__AllObjects__Group__0__Impl" - // InternalSolverLanguage.g:4125:1: rule__AllObjects__Group__0__Impl : ( () ) ; - public final void rule__AllObjects__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl" + // InternalSolverLanguage.g:7344:1: rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl : ( '<=' ) ; + public final void rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4129:1: ( ( () ) ) - // InternalSolverLanguage.g:4130:1: ( () ) - { - // InternalSolverLanguage.g:4130:1: ( () ) - // InternalSolverLanguage.g:4131:2: () + // InternalSolverLanguage.g:7348:1: ( ( '<=' ) ) + // InternalSolverLanguage.g:7349:1: ( '<=' ) { - before(grammarAccess.getAllObjectsAccess().getAllObjectsAction_0()); - // InternalSolverLanguage.g:4132:2: () - // InternalSolverLanguage.g:4132:3: + // InternalSolverLanguage.g:7349:1: ( '<=' ) + // InternalSolverLanguage.g:7350:2: '<=' { + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); + } + match(input,22,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); } - - after(grammarAccess.getAllObjectsAccess().getAllObjectsAction_0()); } @@ -12858,6 +24377,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -12865,24 +24388,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AllObjects__Group__0__Impl" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl" - // $ANTLR start "rule__AllObjects__Group__1" - // InternalSolverLanguage.g:4140:1: rule__AllObjects__Group__1 : rule__AllObjects__Group__1__Impl ; - public final void rule__AllObjects__Group__1() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__2" + // InternalSolverLanguage.g:7359:1: rule__LowerBoundedScopeDefinition__Group_1_0__2 : rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl ; + public final void rule__LowerBoundedScopeDefinition__Group_1_0__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4144:1: ( rule__AllObjects__Group__1__Impl ) - // InternalSolverLanguage.g:4145:2: rule__AllObjects__Group__1__Impl + // InternalSolverLanguage.g:7363:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl ) + // InternalSolverLanguage.g:7364:2: rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl { pushFollow(FOLLOW_2); - rule__AllObjects__Group__1__Impl(); + rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -12898,25 +24421,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AllObjects__Group__1" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__2" - // $ANTLR start "rule__AllObjects__Group__1__Impl" - // InternalSolverLanguage.g:4151:1: rule__AllObjects__Group__1__Impl : ( '*' ) ; - public final void rule__AllObjects__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl" + // InternalSolverLanguage.g:7370:1: rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl : ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) ; + public final void rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4155:1: ( ( '*' ) ) - // InternalSolverLanguage.g:4156:1: ( '*' ) + // InternalSolverLanguage.g:7374:1: ( ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) ) + // InternalSolverLanguage.g:7375:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) + { + // InternalSolverLanguage.g:7375:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) + // InternalSolverLanguage.g:7376:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) { - // InternalSolverLanguage.g:4156:1: ( '*' ) - // InternalSolverLanguage.g:4157:2: '*' + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2()); + } + // InternalSolverLanguage.g:7377:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) + // InternalSolverLanguage.g:7377:3: rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 { - before(grammarAccess.getAllObjectsAccess().getAsteriskKeyword_1()); - match(input,31,FOLLOW_2); - after(grammarAccess.getAllObjectsAccess().getAsteriskKeyword_1()); + pushFollow(FOLLOW_2); + rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2()); + } } @@ -12935,29 +24472,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AllObjects__Group__1__Impl" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl" - // $ANTLR start "rule__DefaultInterpretation__Group__0" - // 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 { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__0" + // InternalSolverLanguage.g:7386:1: rule__LowerBoundedScopeDefinition__Group_1_1__0 : rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1 ; + public final void rule__LowerBoundedScopeDefinition__Group_1_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:7390:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1 ) + // InternalSolverLanguage.g:7391:2: rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1 { - pushFollow(FOLLOW_26); - rule__DefaultInterpretation__Group__0__Impl(); + pushFollow(FOLLOW_57); + rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__DefaultInterpretation__Group__1(); + rule__LowerBoundedScopeDefinition__Group_1_1__1(); state._fsp--; - + if (state.failed) return ; } @@ -12973,25 +24510,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultInterpretation__Group__0" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__0" - // $ANTLR start "rule__DefaultInterpretation__Group__0__Impl" - // InternalSolverLanguage.g:4179:1: rule__DefaultInterpretation__Group__0__Impl : ( 'default' ) ; - public final void rule__DefaultInterpretation__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl" + // InternalSolverLanguage.g:7398:1: rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl : ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) ; + public final void rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4183:1: ( ( 'default' ) ) - // InternalSolverLanguage.g:4184:1: ( 'default' ) + // InternalSolverLanguage.g:7402:1: ( ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) ) + // InternalSolverLanguage.g:7403:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) { - // InternalSolverLanguage.g:4184:1: ( 'default' ) - // InternalSolverLanguage.g:4185:2: 'default' + // InternalSolverLanguage.g:7403:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) + // InternalSolverLanguage.g:7404:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0()); + } + // InternalSolverLanguage.g:7405:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) + // InternalSolverLanguage.g:7405:3: rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 { - before(grammarAccess.getDefaultInterpretationAccess().getDefaultKeyword_0()); - match(input,32,FOLLOW_2); - after(grammarAccess.getDefaultInterpretationAccess().getDefaultKeyword_0()); + pushFollow(FOLLOW_2); + rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0()); + } } @@ -13010,24 +24561,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultInterpretation__Group__0__Impl" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl" - // $ANTLR start "rule__DefaultInterpretation__Group__1" - // InternalSolverLanguage.g:4194:1: rule__DefaultInterpretation__Group__1 : rule__DefaultInterpretation__Group__1__Impl ; - public final void rule__DefaultInterpretation__Group__1() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__1" + // InternalSolverLanguage.g:7413:1: rule__LowerBoundedScopeDefinition__Group_1_1__1 : rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2 ; + public final void rule__LowerBoundedScopeDefinition__Group_1_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4198:1: ( rule__DefaultInterpretation__Group__1__Impl ) - // InternalSolverLanguage.g:4199:2: rule__DefaultInterpretation__Group__1__Impl + // InternalSolverLanguage.g:7417:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2 ) + // InternalSolverLanguage.g:7418:2: rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2 { - pushFollow(FOLLOW_2); - rule__DefaultInterpretation__Group__1__Impl(); + pushFollow(FOLLOW_53); + rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl(); state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__LowerBoundedScopeDefinition__Group_1_1__2(); + state._fsp--; + if (state.failed) return ; } @@ -13043,35 +24599,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultInterpretation__Group__1" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__1" - // $ANTLR start "rule__DefaultInterpretation__Group__1__Impl" - // InternalSolverLanguage.g:4205:1: rule__DefaultInterpretation__Group__1__Impl : ( ( rule__DefaultInterpretation__InterpretationAssignment_1 ) ) ; - public final void rule__DefaultInterpretation__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl" + // InternalSolverLanguage.g:7425:1: rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl : ( '>=' ) ; + public final void rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4209:1: ( ( ( rule__DefaultInterpretation__InterpretationAssignment_1 ) ) ) - // InternalSolverLanguage.g:4210:1: ( ( rule__DefaultInterpretation__InterpretationAssignment_1 ) ) + // InternalSolverLanguage.g:7429:1: ( ( '>=' ) ) + // InternalSolverLanguage.g:7430:1: ( '>=' ) { - // InternalSolverLanguage.g:4210:1: ( ( rule__DefaultInterpretation__InterpretationAssignment_1 ) ) - // InternalSolverLanguage.g:4211:2: ( rule__DefaultInterpretation__InterpretationAssignment_1 ) + // InternalSolverLanguage.g:7430:1: ( '>=' ) + // InternalSolverLanguage.g:7431:2: '>=' { - before(grammarAccess.getDefaultInterpretationAccess().getInterpretationAssignment_1()); - // InternalSolverLanguage.g:4212:2: ( rule__DefaultInterpretation__InterpretationAssignment_1 ) - // InternalSolverLanguage.g:4212:3: rule__DefaultInterpretation__InterpretationAssignment_1 - { - pushFollow(FOLLOW_2); - rule__DefaultInterpretation__InterpretationAssignment_1(); - - state._fsp--; - - + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); + } + match(input,24,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } - - after(grammarAccess.getDefaultInterpretationAccess().getInterpretationAssignment_1()); } @@ -13090,29 +24640,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultInterpretation__Group__1__Impl" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl" - // $ANTLR start "rule__ClassInterpretation__Group__0" - // 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 { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__2" + // InternalSolverLanguage.g:7440:1: rule__LowerBoundedScopeDefinition__Group_1_1__2 : rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl ; + public final void rule__LowerBoundedScopeDefinition__Group_1_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:7444:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl ) + // InternalSolverLanguage.g:7445:2: rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl { - pushFollow(FOLLOW_35); - rule__ClassInterpretation__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ClassInterpretation__Group__1(); + rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -13128,46 +24673,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group__0" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__2" - // $ANTLR start "rule__ClassInterpretation__Group__0__Impl" - // InternalSolverLanguage.g:4233:1: rule__ClassInterpretation__Group__0__Impl : ( ( rule__ClassInterpretation__AbstractAssignment_0 )? ) ; - public final void rule__ClassInterpretation__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl" + // InternalSolverLanguage.g:7451:1: rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl : ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) ; + public final void rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4237:1: ( ( ( rule__ClassInterpretation__AbstractAssignment_0 )? ) ) - // InternalSolverLanguage.g:4238:1: ( ( rule__ClassInterpretation__AbstractAssignment_0 )? ) + // InternalSolverLanguage.g:7455:1: ( ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) ) + // InternalSolverLanguage.g:7456:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) { - // InternalSolverLanguage.g:4238:1: ( ( rule__ClassInterpretation__AbstractAssignment_0 )? ) - // InternalSolverLanguage.g:4239:2: ( rule__ClassInterpretation__AbstractAssignment_0 )? + // InternalSolverLanguage.g:7456:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) + // InternalSolverLanguage.g:7457:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) { - 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; + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2()); } - switch (alt38) { - case 1 : - // InternalSolverLanguage.g:4240:3: rule__ClassInterpretation__AbstractAssignment_0 - { - pushFollow(FOLLOW_2); - rule__ClassInterpretation__AbstractAssignment_0(); - - state._fsp--; - + // InternalSolverLanguage.g:7458:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) + // InternalSolverLanguage.g:7458:3: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 + { + pushFollow(FOLLOW_2); + rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2(); - } - break; + state._fsp--; + if (state.failed) return ; } - after(grammarAccess.getClassInterpretationAccess().getAbstractAssignment_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2()); + } } @@ -13186,29 +24724,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group__0__Impl" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl" - // $ANTLR start "rule__ClassInterpretation__Group__1" - // 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 { + // $ANTLR start "rule__ObjectiveDefinition__Group__0" + // InternalSolverLanguage.g:7467:1: rule__ObjectiveDefinition__Group__0 : rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1 ; + public final void rule__ObjectiveDefinition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4252:1: ( rule__ClassInterpretation__Group__1__Impl rule__ClassInterpretation__Group__2 ) - // InternalSolverLanguage.g:4253:2: rule__ClassInterpretation__Group__1__Impl rule__ClassInterpretation__Group__2 + // InternalSolverLanguage.g:7471:1: ( rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1 ) + // InternalSolverLanguage.g:7472:2: rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1 { - pushFollow(FOLLOW_17); - rule__ClassInterpretation__Group__1__Impl(); + pushFollow(FOLLOW_7); + rule__ObjectiveDefinition__Group__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__ClassInterpretation__Group__2(); + rule__ObjectiveDefinition__Group__1(); state._fsp--; - + if (state.failed) return ; } @@ -13224,25 +24762,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group__1" + // $ANTLR end "rule__ObjectiveDefinition__Group__0" - // $ANTLR start "rule__ClassInterpretation__Group__1__Impl" - // InternalSolverLanguage.g:4260:1: rule__ClassInterpretation__Group__1__Impl : ( 'class' ) ; - public final void rule__ClassInterpretation__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ObjectiveDefinition__Group__0__Impl" + // InternalSolverLanguage.g:7479:1: rule__ObjectiveDefinition__Group__0__Impl : ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) ; + public final void rule__ObjectiveDefinition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4264:1: ( ( 'class' ) ) - // InternalSolverLanguage.g:4265:1: ( 'class' ) + // InternalSolverLanguage.g:7483:1: ( ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) ) + // InternalSolverLanguage.g:7484:1: ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) { - // InternalSolverLanguage.g:4265:1: ( 'class' ) - // InternalSolverLanguage.g:4266:2: 'class' + // InternalSolverLanguage.g:7484:1: ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) + // InternalSolverLanguage.g:7485:2: ( rule__ObjectiveDefinition__KindAssignment_0 ) { - before(grammarAccess.getClassInterpretationAccess().getClassKeyword_1()); - match(input,33,FOLLOW_2); - after(grammarAccess.getClassInterpretationAccess().getClassKeyword_1()); + if ( state.backtracking==0 ) { + before(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0()); + } + // InternalSolverLanguage.g:7486:2: ( rule__ObjectiveDefinition__KindAssignment_0 ) + // InternalSolverLanguage.g:7486:3: rule__ObjectiveDefinition__KindAssignment_0 + { + pushFollow(FOLLOW_2); + rule__ObjectiveDefinition__KindAssignment_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0()); + } } @@ -13261,29 +24813,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group__1__Impl" + // $ANTLR end "rule__ObjectiveDefinition__Group__0__Impl" - // $ANTLR start "rule__ClassInterpretation__Group__2" - // 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 { + // $ANTLR start "rule__ObjectiveDefinition__Group__1" + // InternalSolverLanguage.g:7494:1: rule__ObjectiveDefinition__Group__1 : rule__ObjectiveDefinition__Group__1__Impl ; + public final void rule__ObjectiveDefinition__Group__1() throws RecognitionException { int stackSize = keepStackSize(); - - try { - // InternalSolverLanguage.g: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_36); - rule__ClassInterpretation__Group__2__Impl(); - - state._fsp--; - + + try { + // InternalSolverLanguage.g:7498:1: ( rule__ObjectiveDefinition__Group__1__Impl ) + // InternalSolverLanguage.g:7499:2: rule__ObjectiveDefinition__Group__1__Impl + { pushFollow(FOLLOW_2); - rule__ClassInterpretation__Group__3(); + rule__ObjectiveDefinition__Group__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -13299,35 +24846,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group__2" + // $ANTLR end "rule__ObjectiveDefinition__Group__1" - // $ANTLR start "rule__ClassInterpretation__Group__2__Impl" - // InternalSolverLanguage.g:4287:1: rule__ClassInterpretation__Group__2__Impl : ( ( rule__ClassInterpretation__SymbolAssignment_2 ) ) ; - public final void rule__ClassInterpretation__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ObjectiveDefinition__Group__1__Impl" + // InternalSolverLanguage.g:7505:1: rule__ObjectiveDefinition__Group__1__Impl : ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) ; + public final void rule__ObjectiveDefinition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4291:1: ( ( ( rule__ClassInterpretation__SymbolAssignment_2 ) ) ) - // InternalSolverLanguage.g:4292:1: ( ( rule__ClassInterpretation__SymbolAssignment_2 ) ) + // InternalSolverLanguage.g:7509:1: ( ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) ) + // InternalSolverLanguage.g:7510:1: ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) { - // InternalSolverLanguage.g:4292:1: ( ( rule__ClassInterpretation__SymbolAssignment_2 ) ) - // InternalSolverLanguage.g:4293:2: ( rule__ClassInterpretation__SymbolAssignment_2 ) + // InternalSolverLanguage.g:7510:1: ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) + // InternalSolverLanguage.g:7511:2: ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) { - before(grammarAccess.getClassInterpretationAccess().getSymbolAssignment_2()); - // InternalSolverLanguage.g:4294:2: ( rule__ClassInterpretation__SymbolAssignment_2 ) - // InternalSolverLanguage.g:4294:3: rule__ClassInterpretation__SymbolAssignment_2 + if ( state.backtracking==0 ) { + before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1()); + } + // InternalSolverLanguage.g:7512:2: ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) + // InternalSolverLanguage.g:7512:3: rule__ObjectiveDefinition__ObjectiveAssignment_1 { pushFollow(FOLLOW_2); - rule__ClassInterpretation__SymbolAssignment_2(); + rule__ObjectiveDefinition__ObjectiveAssignment_1(); state._fsp--; - + if (state.failed) return ; } - after(grammarAccess.getClassInterpretationAccess().getSymbolAssignment_2()); + if ( state.backtracking==0 ) { + after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1()); + } } @@ -13346,29 +24897,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group__2__Impl" + // $ANTLR end "rule__ObjectiveDefinition__Group__1__Impl" - // $ANTLR start "rule__ClassInterpretation__Group__3" - // 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 { + // $ANTLR start "rule__Real__Group__0" + // InternalSolverLanguage.g:7521:1: rule__Real__Group__0 : rule__Real__Group__0__Impl rule__Real__Group__1 ; + public final void rule__Real__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4306:1: ( rule__ClassInterpretation__Group__3__Impl rule__ClassInterpretation__Group__4 ) - // InternalSolverLanguage.g:4307:2: rule__ClassInterpretation__Group__3__Impl rule__ClassInterpretation__Group__4 + // InternalSolverLanguage.g:7525:1: ( rule__Real__Group__0__Impl rule__Real__Group__1 ) + // InternalSolverLanguage.g:7526:2: rule__Real__Group__0__Impl rule__Real__Group__1 { - pushFollow(FOLLOW_36); - rule__ClassInterpretation__Group__3__Impl(); + pushFollow(FOLLOW_13); + rule__Real__Group__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__ClassInterpretation__Group__4(); + rule__Real__Group__1(); state._fsp--; - + if (state.failed) return ; } @@ -13384,47 +24935,30 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group__3" + // $ANTLR end "rule__Real__Group__0" - // $ANTLR start "rule__ClassInterpretation__Group__3__Impl" - // InternalSolverLanguage.g:4314:1: rule__ClassInterpretation__Group__3__Impl : ( ( rule__ClassInterpretation__Group_3__0 )? ) ; - public final void rule__ClassInterpretation__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__Real__Group__0__Impl" + // InternalSolverLanguage.g:7533:1: rule__Real__Group__0__Impl : ( RULE_INT ) ; + public final void rule__Real__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4318:1: ( ( ( rule__ClassInterpretation__Group_3__0 )? ) ) - // InternalSolverLanguage.g:4319:1: ( ( rule__ClassInterpretation__Group_3__0 )? ) + // InternalSolverLanguage.g:7537:1: ( ( RULE_INT ) ) + // InternalSolverLanguage.g:7538:1: ( RULE_INT ) { - // InternalSolverLanguage.g:4319:1: ( ( rule__ClassInterpretation__Group_3__0 )? ) - // InternalSolverLanguage.g:4320:2: ( rule__ClassInterpretation__Group_3__0 )? + // InternalSolverLanguage.g:7538:1: ( RULE_INT ) + // InternalSolverLanguage.g:7539:2: RULE_INT { - before(grammarAccess.getClassInterpretationAccess().getGroup_3()); - // InternalSolverLanguage.g:4321:2: ( rule__ClassInterpretation__Group_3__0 )? - int alt39=2; - int LA39_0 = input.LA(1); - - if ( (LA39_0==36) ) { - alt39=1; + if ( state.backtracking==0 ) { + before(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); } - switch (alt39) { - case 1 : - // InternalSolverLanguage.g:4321:3: rule__ClassInterpretation__Group_3__0 - { - pushFollow(FOLLOW_2); - rule__ClassInterpretation__Group_3__0(); - - state._fsp--; - - - } - break; - + match(input,RULE_INT,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); } - after(grammarAccess.getClassInterpretationAccess().getGroup_3()); - } @@ -13442,29 +24976,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group__3__Impl" + // $ANTLR end "rule__Real__Group__0__Impl" - // $ANTLR start "rule__ClassInterpretation__Group__4" - // 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 { + // $ANTLR start "rule__Real__Group__1" + // InternalSolverLanguage.g:7548:1: rule__Real__Group__1 : rule__Real__Group__1__Impl ; + public final void rule__Real__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4333:1: ( rule__ClassInterpretation__Group__4__Impl rule__ClassInterpretation__Group__5 ) - // InternalSolverLanguage.g:4334:2: rule__ClassInterpretation__Group__4__Impl rule__ClassInterpretation__Group__5 + // InternalSolverLanguage.g:7552:1: ( rule__Real__Group__1__Impl ) + // InternalSolverLanguage.g:7553:2: rule__Real__Group__1__Impl { - pushFollow(FOLLOW_37); - rule__ClassInterpretation__Group__4__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ClassInterpretation__Group__5(); + rule__Real__Group__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -13480,25 +25009,50 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group__4" + // $ANTLR end "rule__Real__Group__1" - // $ANTLR start "rule__ClassInterpretation__Group__4__Impl" - // InternalSolverLanguage.g:4341:1: rule__ClassInterpretation__Group__4__Impl : ( '{' ) ; - public final void rule__ClassInterpretation__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__Real__Group__1__Impl" + // InternalSolverLanguage.g:7559:1: rule__Real__Group__1__Impl : ( ( rule__Real__Group_1__0 )? ) ; + public final void rule__Real__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4345:1: ( ( '{' ) ) - // InternalSolverLanguage.g:4346:1: ( '{' ) + // InternalSolverLanguage.g:7563:1: ( ( ( rule__Real__Group_1__0 )? ) ) + // InternalSolverLanguage.g:7564:1: ( ( rule__Real__Group_1__0 )? ) { - // InternalSolverLanguage.g:4346:1: ( '{' ) - // InternalSolverLanguage.g:4347:2: '{' + // InternalSolverLanguage.g:7564:1: ( ( rule__Real__Group_1__0 )? ) + // InternalSolverLanguage.g:7565:2: ( rule__Real__Group_1__0 )? { - before(grammarAccess.getClassInterpretationAccess().getLeftCurlyBracketKeyword_4()); - match(input,34,FOLLOW_2); - after(grammarAccess.getClassInterpretationAccess().getLeftCurlyBracketKeyword_4()); + if ( state.backtracking==0 ) { + before(grammarAccess.getRealAccess().getGroup_1()); + } + // InternalSolverLanguage.g:7566:2: ( rule__Real__Group_1__0 )? + int alt53=2; + int LA53_0 = input.LA(1); + + if ( (LA53_0==50) ) { + alt53=1; + } + switch (alt53) { + case 1 : + // InternalSolverLanguage.g:7566:3: rule__Real__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__Real__Group_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRealAccess().getGroup_1()); + } } @@ -13517,29 +25071,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group__4__Impl" + // $ANTLR end "rule__Real__Group__1__Impl" - // $ANTLR start "rule__ClassInterpretation__Group__5" - // 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 { + // $ANTLR start "rule__Real__Group_1__0" + // InternalSolverLanguage.g:7575:1: rule__Real__Group_1__0 : rule__Real__Group_1__0__Impl rule__Real__Group_1__1 ; + public final void rule__Real__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:7579:1: ( rule__Real__Group_1__0__Impl rule__Real__Group_1__1 ) + // InternalSolverLanguage.g:7580:2: rule__Real__Group_1__0__Impl rule__Real__Group_1__1 { - pushFollow(FOLLOW_37); - rule__ClassInterpretation__Group__5__Impl(); + pushFollow(FOLLOW_53); + rule__Real__Group_1__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__ClassInterpretation__Group__6(); + rule__Real__Group_1__1(); state._fsp--; - + if (state.failed) return ; } @@ -13555,53 +25109,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group__5" + // $ANTLR end "rule__Real__Group_1__0" - // $ANTLR start "rule__ClassInterpretation__Group__5__Impl" - // InternalSolverLanguage.g:4368:1: rule__ClassInterpretation__Group__5__Impl : ( ( rule__ClassInterpretation__FieltAssignment_5 )* ) ; - public final void rule__ClassInterpretation__Group__5__Impl() throws RecognitionException { + // $ANTLR start "rule__Real__Group_1__0__Impl" + // InternalSolverLanguage.g:7587:1: rule__Real__Group_1__0__Impl : ( '.' ) ; + public final void rule__Real__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4372:1: ( ( ( rule__ClassInterpretation__FieltAssignment_5 )* ) ) - // InternalSolverLanguage.g:4373:1: ( ( rule__ClassInterpretation__FieltAssignment_5 )* ) + // InternalSolverLanguage.g:7591:1: ( ( '.' ) ) + // InternalSolverLanguage.g:7592:1: ( '.' ) { - // InternalSolverLanguage.g:4373:1: ( ( rule__ClassInterpretation__FieltAssignment_5 )* ) - // InternalSolverLanguage.g:4374:2: ( rule__ClassInterpretation__FieltAssignment_5 )* + // InternalSolverLanguage.g:7592:1: ( '.' ) + // InternalSolverLanguage.g:7593:2: '.' { - before(grammarAccess.getClassInterpretationAccess().getFieltAssignment_5()); - // InternalSolverLanguage.g:4375:2: ( rule__ClassInterpretation__FieltAssignment_5 )* - loop40: - do { - int alt40=2; - int LA40_0 = input.LA(1); - - if ( (LA40_0==RULE_ID||LA40_0==41) ) { - alt40=1; - } - - - switch (alt40) { - case 1 : - // InternalSolverLanguage.g:4375:3: rule__ClassInterpretation__FieltAssignment_5 - { - pushFollow(FOLLOW_38); - rule__ClassInterpretation__FieltAssignment_5(); - - state._fsp--; - - - } - break; - - default : - break loop40; - } - } while (true); - - after(grammarAccess.getClassInterpretationAccess().getFieltAssignment_5()); + if ( state.backtracking==0 ) { + before(grammarAccess.getRealAccess().getFullStopKeyword_1_0()); + } + match(input,50,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRealAccess().getFullStopKeyword_1_0()); + } } @@ -13620,24 +25150,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group__5__Impl" + // $ANTLR end "rule__Real__Group_1__0__Impl" - // $ANTLR start "rule__ClassInterpretation__Group__6" - // InternalSolverLanguage.g:4383:1: rule__ClassInterpretation__Group__6 : rule__ClassInterpretation__Group__6__Impl ; - public final void rule__ClassInterpretation__Group__6() throws RecognitionException { + // $ANTLR start "rule__Real__Group_1__1" + // InternalSolverLanguage.g:7602:1: rule__Real__Group_1__1 : rule__Real__Group_1__1__Impl ; + public final void rule__Real__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4387:1: ( rule__ClassInterpretation__Group__6__Impl ) - // InternalSolverLanguage.g:4388:2: rule__ClassInterpretation__Group__6__Impl + // InternalSolverLanguage.g:7606:1: ( rule__Real__Group_1__1__Impl ) + // InternalSolverLanguage.g:7607:2: rule__Real__Group_1__1__Impl { pushFollow(FOLLOW_2); - rule__ClassInterpretation__Group__6__Impl(); + rule__Real__Group_1__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -13653,25 +25183,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group__6" + // $ANTLR end "rule__Real__Group_1__1" - // $ANTLR start "rule__ClassInterpretation__Group__6__Impl" - // InternalSolverLanguage.g:4394:1: rule__ClassInterpretation__Group__6__Impl : ( '}' ) ; - public final void rule__ClassInterpretation__Group__6__Impl() throws RecognitionException { + // $ANTLR start "rule__Real__Group_1__1__Impl" + // InternalSolverLanguage.g:7613:1: rule__Real__Group_1__1__Impl : ( RULE_INT ) ; + public final void rule__Real__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4398:1: ( ( '}' ) ) - // InternalSolverLanguage.g:4399:1: ( '}' ) + // InternalSolverLanguage.g:7617:1: ( ( RULE_INT ) ) + // InternalSolverLanguage.g:7618:1: ( RULE_INT ) { - // InternalSolverLanguage.g:4399:1: ( '}' ) - // InternalSolverLanguage.g:4400:2: '}' + // InternalSolverLanguage.g:7618:1: ( RULE_INT ) + // InternalSolverLanguage.g:7619:2: RULE_INT { - before(grammarAccess.getClassInterpretationAccess().getRightCurlyBracketKeyword_6()); - match(input,35,FOLLOW_2); - after(grammarAccess.getClassInterpretationAccess().getRightCurlyBracketKeyword_6()); + if ( state.backtracking==0 ) { + before(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); + } + match(input,RULE_INT,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); + } } @@ -13690,29 +25224,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group__6__Impl" + // $ANTLR end "rule__Real__Group_1__1__Impl" - // $ANTLR start "rule__ClassInterpretation__Group_3__0" - // 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 { + // $ANTLR start "rule__QualifiedName__Group_0__0" + // InternalSolverLanguage.g:7629:1: rule__QualifiedName__Group_0__0 : rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1 ; + public final void rule__QualifiedName__Group_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:7633:1: ( rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1 ) + // InternalSolverLanguage.g:7634:2: rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1 { - pushFollow(FOLLOW_17); - rule__ClassInterpretation__Group_3__0__Impl(); + pushFollow(FOLLOW_13); + rule__QualifiedName__Group_0__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__ClassInterpretation__Group_3__1(); + rule__QualifiedName__Group_0__1(); state._fsp--; - + if (state.failed) return ; } @@ -13728,25 +25262,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group_3__0" + // $ANTLR end "rule__QualifiedName__Group_0__0" - // $ANTLR start "rule__ClassInterpretation__Group_3__0__Impl" - // InternalSolverLanguage.g:4422:1: rule__ClassInterpretation__Group_3__0__Impl : ( 'extends' ) ; - public final void rule__ClassInterpretation__Group_3__0__Impl() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_0__0__Impl" + // InternalSolverLanguage.g:7641:1: rule__QualifiedName__Group_0__0__Impl : ( RULE_ID ) ; + public final void rule__QualifiedName__Group_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4426:1: ( ( 'extends' ) ) - // InternalSolverLanguage.g:4427:1: ( 'extends' ) + // InternalSolverLanguage.g:7645:1: ( ( RULE_ID ) ) + // InternalSolverLanguage.g:7646:1: ( RULE_ID ) { - // InternalSolverLanguage.g:4427:1: ( 'extends' ) - // InternalSolverLanguage.g:4428:2: 'extends' + // InternalSolverLanguage.g:7646:1: ( RULE_ID ) + // InternalSolverLanguage.g:7647:2: RULE_ID { - before(grammarAccess.getClassInterpretationAccess().getExtendsKeyword_3_0()); - match(input,36,FOLLOW_2); - after(grammarAccess.getClassInterpretationAccess().getExtendsKeyword_3_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); + } + match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); + } } @@ -13765,24 +25303,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group_3__0__Impl" + // $ANTLR end "rule__QualifiedName__Group_0__0__Impl" - // $ANTLR start "rule__ClassInterpretation__Group_3__1" - // 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 { + // $ANTLR start "rule__QualifiedName__Group_0__1" + // InternalSolverLanguage.g:7656:1: rule__QualifiedName__Group_0__1 : rule__QualifiedName__Group_0__1__Impl ; + public final void rule__QualifiedName__Group_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4441:1: ( rule__ClassInterpretation__Group_3__1__Impl ) - // InternalSolverLanguage.g:4442:2: rule__ClassInterpretation__Group_3__1__Impl + // InternalSolverLanguage.g:7660:1: ( rule__QualifiedName__Group_0__1__Impl ) + // InternalSolverLanguage.g:7661:2: rule__QualifiedName__Group_0__1__Impl { pushFollow(FOLLOW_2); - rule__ClassInterpretation__Group_3__1__Impl(); + rule__QualifiedName__Group_0__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -13798,79 +25336,64 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group_3__1" + // $ANTLR end "rule__QualifiedName__Group_0__1" - // $ANTLR start "rule__ClassInterpretation__Group_3__1__Impl" - // 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 { + // $ANTLR start "rule__QualifiedName__Group_0__1__Impl" + // InternalSolverLanguage.g:7667:1: rule__QualifiedName__Group_0__1__Impl : ( ( rule__QualifiedName__Group_0_1__0 )* ) ; + public final void rule__QualifiedName__Group_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g: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:7671:1: ( ( ( rule__QualifiedName__Group_0_1__0 )* ) ) + // InternalSolverLanguage.g:7672:1: ( ( rule__QualifiedName__Group_0_1__0 )* ) { - // 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:7672:1: ( ( rule__QualifiedName__Group_0_1__0 )* ) + // InternalSolverLanguage.g:7673:2: ( rule__QualifiedName__Group_0_1__0 )* { - // 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:4456:3: ( rule__ClassInterpretation__SupertypesAssignment_3_1 ) - // InternalSolverLanguage.g:4456:4: rule__ClassInterpretation__SupertypesAssignment_3_1 - { - pushFollow(FOLLOW_39); - rule__ClassInterpretation__SupertypesAssignment_3_1(); - - state._fsp--; - - + if ( state.backtracking==0 ) { + before(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); } + // InternalSolverLanguage.g:7674:2: ( rule__QualifiedName__Group_0_1__0 )* + loop54: + do { + int alt54=2; + int LA54_0 = input.LA(1); - after(grammarAccess.getClassInterpretationAccess().getSupertypesAssignment_3_1()); + if ( (LA54_0==50) ) { + int LA54_2 = input.LA(2); - } + if ( (LA54_2==RULE_ID) ) { + alt54=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:4461:3: ( rule__ClassInterpretation__SupertypesAssignment_3_1 )* - loop41: - do { - int alt41=2; - int LA41_0 = input.LA(1); - if ( (LA41_0==RULE_ID) ) { - alt41=1; } - switch (alt41) { + switch (alt54) { case 1 : - // InternalSolverLanguage.g:4461:4: rule__ClassInterpretation__SupertypesAssignment_3_1 + // InternalSolverLanguage.g:7674:3: rule__QualifiedName__Group_0_1__0 { - pushFollow(FOLLOW_39); - rule__ClassInterpretation__SupertypesAssignment_3_1(); + pushFollow(FOLLOW_58); + rule__QualifiedName__Group_0_1__0(); state._fsp--; - + if (state.failed) return ; } break; default : - break loop41; + break loop54; } } while (true); - after(grammarAccess.getClassInterpretationAccess().getSupertypesAssignment_3_1()); - + if ( state.backtracking==0 ) { + after(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); } - } @@ -13888,29 +25411,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__Group_3__1__Impl" + // $ANTLR end "rule__QualifiedName__Group_0__1__Impl" - // $ANTLR start "rule__EnumInterpretation__Group__0" - // 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 { + // $ANTLR start "rule__QualifiedName__Group_0_1__0" + // InternalSolverLanguage.g:7683:1: rule__QualifiedName__Group_0_1__0 : rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1 ; + public final void rule__QualifiedName__Group_0_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:7687:1: ( rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1 ) + // InternalSolverLanguage.g:7688:2: rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1 { - pushFollow(FOLLOW_17); - rule__EnumInterpretation__Group__0__Impl(); + pushFollow(FOLLOW_44); + rule__QualifiedName__Group_0_1__0__Impl(); state._fsp--; - + if (state.failed) return ; pushFollow(FOLLOW_2); - rule__EnumInterpretation__Group__1(); + rule__QualifiedName__Group_0_1__1(); state._fsp--; - + if (state.failed) return ; } @@ -13926,25 +25449,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EnumInterpretation__Group__0" + // $ANTLR end "rule__QualifiedName__Group_0_1__0" - // $ANTLR start "rule__EnumInterpretation__Group__0__Impl" - // InternalSolverLanguage.g:4483:1: rule__EnumInterpretation__Group__0__Impl : ( 'enum' ) ; - public final void rule__EnumInterpretation__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_0_1__0__Impl" + // InternalSolverLanguage.g:7695:1: rule__QualifiedName__Group_0_1__0__Impl : ( '.' ) ; + public final void rule__QualifiedName__Group_0_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4487:1: ( ( 'enum' ) ) - // InternalSolverLanguage.g:4488:1: ( 'enum' ) + // InternalSolverLanguage.g:7699:1: ( ( '.' ) ) + // InternalSolverLanguage.g:7700:1: ( '.' ) { - // InternalSolverLanguage.g:4488:1: ( 'enum' ) - // InternalSolverLanguage.g:4489:2: 'enum' + // InternalSolverLanguage.g:7700:1: ( '.' ) + // InternalSolverLanguage.g:7701:2: '.' { - before(grammarAccess.getEnumInterpretationAccess().getEnumKeyword_0()); - match(input,37,FOLLOW_2); - after(grammarAccess.getEnumInterpretationAccess().getEnumKeyword_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); + } + match(input,50,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); + } } @@ -13963,29 +25490,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EnumInterpretation__Group__0__Impl" + // $ANTLR end "rule__QualifiedName__Group_0_1__0__Impl" - // $ANTLR start "rule__EnumInterpretation__Group__1" - // 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 { + // $ANTLR start "rule__QualifiedName__Group_0_1__1" + // InternalSolverLanguage.g:7710:1: rule__QualifiedName__Group_0_1__1 : rule__QualifiedName__Group_0_1__1__Impl ; + public final void rule__QualifiedName__Group_0_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:7714:1: ( rule__QualifiedName__Group_0_1__1__Impl ) + // InternalSolverLanguage.g:7715:2: rule__QualifiedName__Group_0_1__1__Impl { - pushFollow(FOLLOW_40); - rule__EnumInterpretation__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__EnumInterpretation__Group__2(); + rule__QualifiedName__Group_0_1__1__Impl(); state._fsp--; - + if (state.failed) return ; } @@ -14001,35 +25523,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EnumInterpretation__Group__1" + // $ANTLR end "rule__QualifiedName__Group_0_1__1" - // $ANTLR start "rule__EnumInterpretation__Group__1__Impl" - // InternalSolverLanguage.g:4510:1: rule__EnumInterpretation__Group__1__Impl : ( ( rule__EnumInterpretation__SymbolAssignment_1 ) ) ; - public final void rule__EnumInterpretation__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_0_1__1__Impl" + // InternalSolverLanguage.g:7721:1: rule__QualifiedName__Group_0_1__1__Impl : ( RULE_ID ) ; + public final void rule__QualifiedName__Group_0_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4514:1: ( ( ( rule__EnumInterpretation__SymbolAssignment_1 ) ) ) - // InternalSolverLanguage.g:4515:1: ( ( rule__EnumInterpretation__SymbolAssignment_1 ) ) + // InternalSolverLanguage.g:7725:1: ( ( RULE_ID ) ) + // InternalSolverLanguage.g:7726:1: ( RULE_ID ) { - // InternalSolverLanguage.g:4515:1: ( ( rule__EnumInterpretation__SymbolAssignment_1 ) ) - // InternalSolverLanguage.g:4516:2: ( rule__EnumInterpretation__SymbolAssignment_1 ) + // InternalSolverLanguage.g:7726:1: ( RULE_ID ) + // InternalSolverLanguage.g:7727:2: RULE_ID { - before(grammarAccess.getEnumInterpretationAccess().getSymbolAssignment_1()); - // InternalSolverLanguage.g:4517:2: ( rule__EnumInterpretation__SymbolAssignment_1 ) - // InternalSolverLanguage.g:4517:3: rule__EnumInterpretation__SymbolAssignment_1 - { - pushFollow(FOLLOW_2); - rule__EnumInterpretation__SymbolAssignment_1(); - - state._fsp--; - - + if ( state.backtracking==0 ) { + before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); + } + match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); } - - after(grammarAccess.getEnumInterpretationAccess().getSymbolAssignment_1()); } @@ -14048,64 +25564,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EnumInterpretation__Group__1__Impl" + // $ANTLR end "rule__QualifiedName__Group_0_1__1__Impl" - // $ANTLR start "rule__EnumInterpretation__Group__2" - // 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 { + // $ANTLR start "rule__Problem__StatementsAssignment" + // InternalSolverLanguage.g:7737:1: rule__Problem__StatementsAssignment : ( ruleStatement ) ; + public final void rule__Problem__StatementsAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:7741:1: ( ( ruleStatement ) ) + // InternalSolverLanguage.g:7742:2: ( ruleStatement ) { - pushFollow(FOLLOW_18); - rule__EnumInterpretation__Group__2__Impl(); - - state._fsp--; - + // InternalSolverLanguage.g:7742:2: ( ruleStatement ) + // InternalSolverLanguage.g:7743:3: ruleStatement + { + if ( state.backtracking==0 ) { + before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); + } pushFollow(FOLLOW_2); - rule__EnumInterpretation__Group__3(); + ruleStatement(); state._fsp--; - - + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EnumInterpretation__Group__2" - - - // $ANTLR start "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:4541:1: ( ( '{' ) ) - // InternalSolverLanguage.g:4542:1: ( '{' ) - { - // InternalSolverLanguage.g:4542:1: ( '{' ) - // InternalSolverLanguage.g:4543:2: '{' - { - before(grammarAccess.getEnumInterpretationAccess().getLeftCurlyBracketKeyword_2()); - match(input,34,FOLLOW_2); - after(grammarAccess.getEnumInterpretationAccess().getLeftCurlyBracketKeyword_2()); - } @@ -14123,28 +25609,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EnumInterpretation__Group__2__Impl" + // $ANTLR end "rule__Problem__StatementsAssignment" - // $ANTLR start "rule__EnumInterpretation__Group__3" - // 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 { + // $ANTLR start "rule__AssertionOrDefinition__RangeAssignment_1_0_1_1" + // InternalSolverLanguage.g:7752:1: rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 : ( ruleExpression ) ; + public final void rule__AssertionOrDefinition__RangeAssignment_1_0_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4556:1: ( rule__EnumInterpretation__Group__3__Impl rule__EnumInterpretation__Group__4 ) - // InternalSolverLanguage.g:4557:2: rule__EnumInterpretation__Group__3__Impl rule__EnumInterpretation__Group__4 + // InternalSolverLanguage.g:7756:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:7757:2: ( ruleExpression ) { - pushFollow(FOLLOW_41); - rule__EnumInterpretation__Group__3__Impl(); - - state._fsp--; - + // InternalSolverLanguage.g:7757:2: ( ruleExpression ) + // InternalSolverLanguage.g:7758:3: ruleExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); + } pushFollow(FOLLOW_2); - rule__EnumInterpretation__Group__4(); + ruleExpression(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); + } + + } } @@ -14161,79 +25654,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EnumInterpretation__Group__3" + // $ANTLR end "rule__AssertionOrDefinition__RangeAssignment_1_0_1_1" - // $ANTLR start "rule__EnumInterpretation__Group__3__Impl" - // 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 { + // $ANTLR start "rule__AssertionOrDefinition__BodyAssignment_1_1_2" + // InternalSolverLanguage.g:7767:1: rule__AssertionOrDefinition__BodyAssignment_1_1_2 : ( ruleExpression ) ; + public final void rule__AssertionOrDefinition__BodyAssignment_1_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4568:1: ( ( ( ( rule__EnumInterpretation__ObjectsAssignment_3 ) ) ( ( rule__EnumInterpretation__ObjectsAssignment_3 )* ) ) ) - // InternalSolverLanguage.g:4569:1: ( ( ( rule__EnumInterpretation__ObjectsAssignment_3 ) ) ( ( rule__EnumInterpretation__ObjectsAssignment_3 )* ) ) + // InternalSolverLanguage.g:7771:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:7772:2: ( ruleExpression ) { - // 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:7772:2: ( ruleExpression ) + // InternalSolverLanguage.g:7773:3: ruleExpression { - // InternalSolverLanguage.g:4570:2: ( ( rule__EnumInterpretation__ObjectsAssignment_3 ) ) - // InternalSolverLanguage.g:4571:3: ( rule__EnumInterpretation__ObjectsAssignment_3 ) - { - before(grammarAccess.getEnumInterpretationAccess().getObjectsAssignment_3()); - // InternalSolverLanguage.g:4572:3: ( rule__EnumInterpretation__ObjectsAssignment_3 ) - // InternalSolverLanguage.g:4572:4: rule__EnumInterpretation__ObjectsAssignment_3 - { - pushFollow(FOLLOW_42); - rule__EnumInterpretation__ObjectsAssignment_3(); - - state._fsp--; - - - } - - after(grammarAccess.getEnumInterpretationAccess().getObjectsAssignment_3()); - + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); } + pushFollow(FOLLOW_2); + ruleExpression(); - // InternalSolverLanguage.g:4575:2: ( ( rule__EnumInterpretation__ObjectsAssignment_3 )* ) - // InternalSolverLanguage.g:4576:3: ( rule__EnumInterpretation__ObjectsAssignment_3 )* - { - before(grammarAccess.getEnumInterpretationAccess().getObjectsAssignment_3()); - // InternalSolverLanguage.g:4577:3: ( rule__EnumInterpretation__ObjectsAssignment_3 )* - loop42: - do { - int alt42=2; - int LA42_0 = input.LA(1); - - if ( (LA42_0==27) ) { - alt42=1; - } - - - switch (alt42) { - case 1 : - // InternalSolverLanguage.g:4577:4: rule__EnumInterpretation__ObjectsAssignment_3 - { - pushFollow(FOLLOW_42); - rule__EnumInterpretation__ObjectsAssignment_3(); - - state._fsp--; - - - } - break; - - default : - break loop42; - } - } while (true); - - after(grammarAccess.getEnumInterpretationAccess().getObjectsAssignment_3()); - + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); } - } @@ -14251,23 +25699,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EnumInterpretation__Group__3__Impl" + // $ANTLR end "rule__AssertionOrDefinition__BodyAssignment_1_1_2" - // $ANTLR start "rule__EnumInterpretation__Group__4" - // InternalSolverLanguage.g:4586:1: rule__EnumInterpretation__Group__4 : rule__EnumInterpretation__Group__4__Impl ; - public final void rule__EnumInterpretation__Group__4() throws RecognitionException { + // $ANTLR start "rule__AssertionOrDefinition__BodyAssignment_1_2_2" + // InternalSolverLanguage.g:7782:1: rule__AssertionOrDefinition__BodyAssignment_1_2_2 : ( ruleExpression ) ; + public final void rule__AssertionOrDefinition__BodyAssignment_1_2_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4590:1: ( rule__EnumInterpretation__Group__4__Impl ) - // InternalSolverLanguage.g:4591:2: rule__EnumInterpretation__Group__4__Impl + // InternalSolverLanguage.g:7786:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:7787:2: ( ruleExpression ) + { + // InternalSolverLanguage.g:7787:2: ( ruleExpression ) + // InternalSolverLanguage.g:7788:3: ruleExpression { + if ( state.backtracking==0 ) { + before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); + } pushFollow(FOLLOW_2); - rule__EnumInterpretation__Group__4__Impl(); + ruleExpression(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); + } + + } } @@ -14284,25 +25744,41 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EnumInterpretation__Group__4" + // $ANTLR end "rule__AssertionOrDefinition__BodyAssignment_1_2_2" - // $ANTLR start "rule__EnumInterpretation__Group__4__Impl" - // InternalSolverLanguage.g:4597:1: rule__EnumInterpretation__Group__4__Impl : ( '}' ) ; - public final void rule__EnumInterpretation__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__PredicateDefinition__FunctionalAssignment_0_0_0" + // InternalSolverLanguage.g:7797:1: rule__PredicateDefinition__FunctionalAssignment_0_0_0 : ( ( 'functional' ) ) ; + public final void rule__PredicateDefinition__FunctionalAssignment_0_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4601:1: ( ( '}' ) ) - // InternalSolverLanguage.g:4602:1: ( '}' ) + // InternalSolverLanguage.g:7801:1: ( ( ( 'functional' ) ) ) + // InternalSolverLanguage.g:7802:2: ( ( 'functional' ) ) { - // InternalSolverLanguage.g:4602:1: ( '}' ) - // InternalSolverLanguage.g:4603:2: '}' + // InternalSolverLanguage.g:7802:2: ( ( 'functional' ) ) + // InternalSolverLanguage.g:7803:3: ( 'functional' ) { - before(grammarAccess.getEnumInterpretationAccess().getRightCurlyBracketKeyword_4()); - match(input,35,FOLLOW_2); - after(grammarAccess.getEnumInterpretationAccess().getRightCurlyBracketKeyword_4()); + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); + } + // InternalSolverLanguage.g:7804:3: ( 'functional' ) + // InternalSolverLanguage.g:7805:4: 'functional' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); + } + match(input,72,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); + } + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); + } } @@ -14321,28 +25797,43 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EnumInterpretation__Group__4__Impl" + // $ANTLR end "rule__PredicateDefinition__FunctionalAssignment_0_0_0" - // $ANTLR start "rule__FieldRelationInterpretation__Group__0" - // 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 { + // $ANTLR start "rule__PredicateDefinition__ErrorAssignment_0_0_1" + // InternalSolverLanguage.g:7816:1: rule__PredicateDefinition__ErrorAssignment_0_0_1 : ( ( 'error' ) ) ; + public final void rule__PredicateDefinition__ErrorAssignment_0_0_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4617:1: ( rule__FieldRelationInterpretation__Group__0__Impl rule__FieldRelationInterpretation__Group__1 ) - // InternalSolverLanguage.g:4618:2: rule__FieldRelationInterpretation__Group__0__Impl rule__FieldRelationInterpretation__Group__1 + // InternalSolverLanguage.g:7820:1: ( ( ( 'error' ) ) ) + // InternalSolverLanguage.g:7821:2: ( ( 'error' ) ) { - pushFollow(FOLLOW_43); - rule__FieldRelationInterpretation__Group__0__Impl(); + // InternalSolverLanguage.g:7821:2: ( ( 'error' ) ) + // InternalSolverLanguage.g:7822:3: ( 'error' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); + } + // InternalSolverLanguage.g:7823:3: ( 'error' ) + // InternalSolverLanguage.g:7824:4: 'error' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); + } + match(input,42,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); + } - state._fsp--; + } - pushFollow(FOLLOW_2); - rule__FieldRelationInterpretation__Group__1(); + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); + } - state._fsp--; + } } @@ -14359,46 +25850,41 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__FieldRelationInterpretation__Group__0" + // $ANTLR end "rule__PredicateDefinition__ErrorAssignment_0_0_1" - // $ANTLR start "rule__FieldRelationInterpretation__Group__0__Impl" - // InternalSolverLanguage.g:4625:1: rule__FieldRelationInterpretation__Group__0__Impl : ( ( rule__FieldRelationInterpretation__ContainmentAssignment_0 )? ) ; - public final void rule__FieldRelationInterpretation__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__PredicateDefinition__ErrorAssignment_0_1_0" + // InternalSolverLanguage.g:7835:1: rule__PredicateDefinition__ErrorAssignment_0_1_0 : ( ( 'error' ) ) ; + public final void rule__PredicateDefinition__ErrorAssignment_0_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4629:1: ( ( ( rule__FieldRelationInterpretation__ContainmentAssignment_0 )? ) ) - // InternalSolverLanguage.g:4630:1: ( ( rule__FieldRelationInterpretation__ContainmentAssignment_0 )? ) + // InternalSolverLanguage.g:7839:1: ( ( ( 'error' ) ) ) + // InternalSolverLanguage.g:7840:2: ( ( 'error' ) ) { - // InternalSolverLanguage.g:4630:1: ( ( rule__FieldRelationInterpretation__ContainmentAssignment_0 )? ) - // InternalSolverLanguage.g:4631:2: ( rule__FieldRelationInterpretation__ContainmentAssignment_0 )? + // InternalSolverLanguage.g:7840:2: ( ( 'error' ) ) + // InternalSolverLanguage.g:7841:3: ( 'error' ) { - before(grammarAccess.getFieldRelationInterpretationAccess().getContainmentAssignment_0()); - // InternalSolverLanguage.g:4632:2: ( rule__FieldRelationInterpretation__ContainmentAssignment_0 )? - int alt43=2; - int LA43_0 = input.LA(1); - - if ( (LA43_0==41) ) { - alt43=1; + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); + } + // InternalSolverLanguage.g:7842:3: ( 'error' ) + // InternalSolverLanguage.g:7843:4: 'error' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); + } + match(input,42,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); } - switch (alt43) { - case 1 : - // InternalSolverLanguage.g:4632:3: rule__FieldRelationInterpretation__ContainmentAssignment_0 - { - pushFollow(FOLLOW_2); - rule__FieldRelationInterpretation__ContainmentAssignment_0(); - - state._fsp--; - - - } - break; } - after(grammarAccess.getFieldRelationInterpretationAccess().getContainmentAssignment_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); + } } @@ -14417,28 +25903,43 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__FieldRelationInterpretation__Group__0__Impl" + // $ANTLR end "rule__PredicateDefinition__ErrorAssignment_0_1_0" - // $ANTLR start "rule__FieldRelationInterpretation__Group__1" - // 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 { + // $ANTLR start "rule__PredicateDefinition__FunctionalAssignment_0_1_1" + // InternalSolverLanguage.g:7854:1: rule__PredicateDefinition__FunctionalAssignment_0_1_1 : ( ( 'functional' ) ) ; + public final void rule__PredicateDefinition__FunctionalAssignment_0_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4644:1: ( rule__FieldRelationInterpretation__Group__1__Impl rule__FieldRelationInterpretation__Group__2 ) - // InternalSolverLanguage.g:4645:2: rule__FieldRelationInterpretation__Group__1__Impl rule__FieldRelationInterpretation__Group__2 + // InternalSolverLanguage.g:7858:1: ( ( ( 'functional' ) ) ) + // InternalSolverLanguage.g:7859:2: ( ( 'functional' ) ) { - pushFollow(FOLLOW_25); - rule__FieldRelationInterpretation__Group__1__Impl(); + // InternalSolverLanguage.g:7859:2: ( ( 'functional' ) ) + // InternalSolverLanguage.g:7860:3: ( 'functional' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); + } + // InternalSolverLanguage.g:7861:3: ( 'functional' ) + // InternalSolverLanguage.g:7862:4: 'functional' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); + } + match(input,72,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); + } - state._fsp--; + } - pushFollow(FOLLOW_2); - rule__FieldRelationInterpretation__Group__2(); + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); + } - state._fsp--; + } } @@ -14455,36 +25956,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__FieldRelationInterpretation__Group__1" + // $ANTLR end "rule__PredicateDefinition__FunctionalAssignment_0_1_1" - // $ANTLR start "rule__FieldRelationInterpretation__Group__1__Impl" - // InternalSolverLanguage.g:4652:1: rule__FieldRelationInterpretation__Group__1__Impl : ( ( rule__FieldRelationInterpretation__SymbolAssignment_1 ) ) ; - public final void rule__FieldRelationInterpretation__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__PredicateDefinition__HeadAssignment_1" + // InternalSolverLanguage.g:7873:1: rule__PredicateDefinition__HeadAssignment_1 : ( ruleCall ) ; + public final void rule__PredicateDefinition__HeadAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4656:1: ( ( ( rule__FieldRelationInterpretation__SymbolAssignment_1 ) ) ) - // InternalSolverLanguage.g:4657:1: ( ( rule__FieldRelationInterpretation__SymbolAssignment_1 ) ) + // InternalSolverLanguage.g:7877:1: ( ( ruleCall ) ) + // InternalSolverLanguage.g:7878:2: ( ruleCall ) { - // InternalSolverLanguage.g:4657:1: ( ( rule__FieldRelationInterpretation__SymbolAssignment_1 ) ) - // InternalSolverLanguage.g:4658:2: ( rule__FieldRelationInterpretation__SymbolAssignment_1 ) - { - before(grammarAccess.getFieldRelationInterpretationAccess().getSymbolAssignment_1()); - // InternalSolverLanguage.g:4659:2: ( rule__FieldRelationInterpretation__SymbolAssignment_1 ) - // InternalSolverLanguage.g:4659:3: rule__FieldRelationInterpretation__SymbolAssignment_1 + // InternalSolverLanguage.g:7878:2: ( ruleCall ) + // InternalSolverLanguage.g:7879:3: ruleCall { + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); + } pushFollow(FOLLOW_2); - rule__FieldRelationInterpretation__SymbolAssignment_1(); + ruleCall(); state._fsp--; - - + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); } - after(grammarAccess.getFieldRelationInterpretationAccess().getSymbolAssignment_1()); - } @@ -14502,28 +26001,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__FieldRelationInterpretation__Group__1__Impl" + // $ANTLR end "rule__PredicateDefinition__HeadAssignment_1" - // $ANTLR start "rule__FieldRelationInterpretation__Group__2" - // 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 { + // $ANTLR start "rule__PredicateDefinition__BodyAssignment_3" + // InternalSolverLanguage.g:7888:1: rule__PredicateDefinition__BodyAssignment_3 : ( ruleExpression ) ; + public final void rule__PredicateDefinition__BodyAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:7892:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:7893:2: ( ruleExpression ) + { + // InternalSolverLanguage.g:7893:2: ( ruleExpression ) + // InternalSolverLanguage.g:7894:3: ruleExpression { - pushFollow(FOLLOW_44); - rule__FieldRelationInterpretation__Group__2__Impl(); - - state._fsp--; - + if ( state.backtracking==0 ) { + before(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + } pushFollow(FOLLOW_2); - rule__FieldRelationInterpretation__Group__3(); + ruleExpression(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + } + + } } @@ -14540,25 +26046,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__FieldRelationInterpretation__Group__2" + // $ANTLR end "rule__PredicateDefinition__BodyAssignment_3" - // $ANTLR start "rule__FieldRelationInterpretation__Group__2__Impl" - // InternalSolverLanguage.g:4679:1: rule__FieldRelationInterpretation__Group__2__Impl : ( ':' ) ; - public final void rule__FieldRelationInterpretation__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1" + // InternalSolverLanguage.g:7903:1: rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 : ( ruleArgumentList ) ; + public final void rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4683:1: ( ( ':' ) ) - // InternalSolverLanguage.g:4684:1: ( ':' ) + // InternalSolverLanguage.g:7907:1: ( ( ruleArgumentList ) ) + // InternalSolverLanguage.g:7908:2: ( ruleArgumentList ) { - // InternalSolverLanguage.g:4684:1: ( ':' ) - // InternalSolverLanguage.g:4685:2: ':' + // InternalSolverLanguage.g:7908:2: ( ruleArgumentList ) + // InternalSolverLanguage.g:7909:3: ruleArgumentList { - before(grammarAccess.getFieldRelationInterpretationAccess().getColonKeyword_2()); - match(input,17,FOLLOW_2); - after(grammarAccess.getFieldRelationInterpretationAccess().getColonKeyword_2()); + if ( state.backtracking==0 ) { + before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); + } + pushFollow(FOLLOW_2); + ruleArgumentList(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); + } } @@ -14577,28 +26091,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__FieldRelationInterpretation__Group__2__Impl" + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1" - // $ANTLR start "rule__FieldRelationInterpretation__Group__3" - // 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 { + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__BodyAssignment_3" + // InternalSolverLanguage.g:7918:1: rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 : ( ruleExpression ) ; + public final void rule__UnnamedErrorPrediateDefinition__BodyAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:7922:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:7923:2: ( ruleExpression ) { - pushFollow(FOLLOW_44); - rule__FieldRelationInterpretation__Group__3__Impl(); - - state._fsp--; - + // InternalSolverLanguage.g:7923:2: ( ruleExpression ) + // InternalSolverLanguage.g:7924:3: ruleExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + } pushFollow(FOLLOW_2); - rule__FieldRelationInterpretation__Group__4(); + ruleExpression(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + } + + } } @@ -14615,47 +26136,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__FieldRelationInterpretation__Group__3" + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__BodyAssignment_3" - // $ANTLR start "rule__FieldRelationInterpretation__Group__3__Impl" - // InternalSolverLanguage.g:4706:1: rule__FieldRelationInterpretation__Group__3__Impl : ( ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )? ) ; - public final void rule__FieldRelationInterpretation__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__DefaultDefinition__HeadAssignment_1" + // InternalSolverLanguage.g:7933:1: rule__DefaultDefinition__HeadAssignment_1 : ( ruleCall ) ; + public final void rule__DefaultDefinition__HeadAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4710:1: ( ( ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )? ) ) - // InternalSolverLanguage.g:4711:1: ( ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )? ) + // InternalSolverLanguage.g:7937:1: ( ( ruleCall ) ) + // InternalSolverLanguage.g:7938:2: ( ruleCall ) { - // InternalSolverLanguage.g:4711:1: ( ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )? ) - // InternalSolverLanguage.g:4712:2: ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )? + // InternalSolverLanguage.g:7938:2: ( ruleCall ) + // InternalSolverLanguage.g:7939:3: ruleCall { - before(grammarAccess.getFieldRelationInterpretationAccess().getMultiplicityAssignment_3()); - // InternalSolverLanguage.g:4713:2: ( rule__FieldRelationInterpretation__MultiplicityAssignment_3 )? - int alt44=2; - int LA44_0 = input.LA(1); - - if ( (LA44_0==RULE_INT) ) { - alt44=1; + if ( state.backtracking==0 ) { + before(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); } - switch (alt44) { - case 1 : - // InternalSolverLanguage.g:4713:3: rule__FieldRelationInterpretation__MultiplicityAssignment_3 - { - pushFollow(FOLLOW_2); - rule__FieldRelationInterpretation__MultiplicityAssignment_3(); - - state._fsp--; - - - } - break; + pushFollow(FOLLOW_2); + ruleCall(); + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); } - after(grammarAccess.getFieldRelationInterpretationAccess().getMultiplicityAssignment_3()); - } @@ -14673,23 +26181,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__FieldRelationInterpretation__Group__3__Impl" + // $ANTLR end "rule__DefaultDefinition__HeadAssignment_1" - // $ANTLR start "rule__FieldRelationInterpretation__Group__4" - // InternalSolverLanguage.g:4721:1: rule__FieldRelationInterpretation__Group__4 : rule__FieldRelationInterpretation__Group__4__Impl ; - public final void rule__FieldRelationInterpretation__Group__4() throws RecognitionException { + // $ANTLR start "rule__DefaultDefinition__RangeAssignment_3" + // InternalSolverLanguage.g:7948:1: rule__DefaultDefinition__RangeAssignment_3 : ( ruleExpression ) ; + public final void rule__DefaultDefinition__RangeAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4725:1: ( rule__FieldRelationInterpretation__Group__4__Impl ) - // InternalSolverLanguage.g:4726:2: rule__FieldRelationInterpretation__Group__4__Impl + // InternalSolverLanguage.g:7952:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:7953:2: ( ruleExpression ) + { + // InternalSolverLanguage.g:7953:2: ( ruleExpression ) + // InternalSolverLanguage.g:7954:3: ruleExpression { + if ( state.backtracking==0 ) { + before(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); + } pushFollow(FOLLOW_2); - rule__FieldRelationInterpretation__Group__4__Impl(); + ruleExpression(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); + } + + } } @@ -14706,36 +26226,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__FieldRelationInterpretation__Group__4" + // $ANTLR end "rule__DefaultDefinition__RangeAssignment_3" - // $ANTLR start "rule__FieldRelationInterpretation__Group__4__Impl" - // InternalSolverLanguage.g:4732:1: rule__FieldRelationInterpretation__Group__4__Impl : ( ( rule__FieldRelationInterpretation__TargetAssignment_4 ) ) ; - public final void rule__FieldRelationInterpretation__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDefinition__HeadAssignment_1" + // InternalSolverLanguage.g:7963:1: rule__ExternPredicateDefinition__HeadAssignment_1 : ( ruleCall ) ; + public final void rule__ExternPredicateDefinition__HeadAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4736:1: ( ( ( rule__FieldRelationInterpretation__TargetAssignment_4 ) ) ) - // InternalSolverLanguage.g:4737:1: ( ( rule__FieldRelationInterpretation__TargetAssignment_4 ) ) + // InternalSolverLanguage.g:7967:1: ( ( ruleCall ) ) + // InternalSolverLanguage.g:7968:2: ( ruleCall ) { - // InternalSolverLanguage.g:4737:1: ( ( rule__FieldRelationInterpretation__TargetAssignment_4 ) ) - // InternalSolverLanguage.g:4738:2: ( rule__FieldRelationInterpretation__TargetAssignment_4 ) - { - before(grammarAccess.getFieldRelationInterpretationAccess().getTargetAssignment_4()); - // InternalSolverLanguage.g:4739:2: ( rule__FieldRelationInterpretation__TargetAssignment_4 ) - // InternalSolverLanguage.g:4739:3: rule__FieldRelationInterpretation__TargetAssignment_4 + // InternalSolverLanguage.g:7968:2: ( ruleCall ) + // InternalSolverLanguage.g:7969:3: ruleCall { + if ( state.backtracking==0 ) { + before(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); + } pushFollow(FOLLOW_2); - rule__FieldRelationInterpretation__TargetAssignment_4(); + ruleCall(); state._fsp--; - - + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); } - after(grammarAccess.getFieldRelationInterpretationAccess().getTargetAssignment_4()); - } @@ -14753,28 +26271,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__FieldRelationInterpretation__Group__4__Impl" + // $ANTLR end "rule__ExternPredicateDefinition__HeadAssignment_1" - // $ANTLR start "rule__GlobalRelationInterpretation__Group__0" - // 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 { + // $ANTLR start "rule__MetricDefinition__TypeAssignment_0" + // InternalSolverLanguage.g:7978:1: rule__MetricDefinition__TypeAssignment_0 : ( ruleMetricType ) ; + public final void rule__MetricDefinition__TypeAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:7982:1: ( ( ruleMetricType ) ) + // InternalSolverLanguage.g:7983:2: ( ruleMetricType ) { - pushFollow(FOLLOW_45); - rule__GlobalRelationInterpretation__Group__0__Impl(); - - state._fsp--; - + // InternalSolverLanguage.g:7983:2: ( ruleMetricType ) + // InternalSolverLanguage.g:7984:3: ruleMetricType + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0()); + } pushFollow(FOLLOW_2); - rule__GlobalRelationInterpretation__Group__1(); + ruleMetricType(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0()); + } + + } } @@ -14791,47 +26316,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__Group__0" + // $ANTLR end "rule__MetricDefinition__TypeAssignment_0" - // $ANTLR start "rule__GlobalRelationInterpretation__Group__0__Impl" - // InternalSolverLanguage.g:4760:1: rule__GlobalRelationInterpretation__Group__0__Impl : ( ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 )? ) ; - public final void rule__GlobalRelationInterpretation__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__MetricDefinition__HeadAssignment_1" + // InternalSolverLanguage.g:7993:1: rule__MetricDefinition__HeadAssignment_1 : ( ruleExpression ) ; + public final void rule__MetricDefinition__HeadAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4764:1: ( ( ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 )? ) ) - // InternalSolverLanguage.g:4765:1: ( ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 )? ) + // InternalSolverLanguage.g:7997:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:7998:2: ( ruleExpression ) { - // InternalSolverLanguage.g:4765:1: ( ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 )? ) - // InternalSolverLanguage.g:4766:2: ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 )? + // InternalSolverLanguage.g:7998:2: ( ruleExpression ) + // InternalSolverLanguage.g:7999:3: ruleExpression { - before(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentAssignment_0()); - // InternalSolverLanguage.g:4767:2: ( rule__GlobalRelationInterpretation__ContainmentAssignment_0 )? - int alt45=2; - int LA45_0 = input.LA(1); - - if ( (LA45_0==41) ) { - alt45=1; + if ( state.backtracking==0 ) { + before(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0()); } - switch (alt45) { - case 1 : - // InternalSolverLanguage.g:4767:3: rule__GlobalRelationInterpretation__ContainmentAssignment_0 - { - pushFollow(FOLLOW_2); - rule__GlobalRelationInterpretation__ContainmentAssignment_0(); - - state._fsp--; - - - } - break; + pushFollow(FOLLOW_2); + ruleExpression(); + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0()); } - after(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentAssignment_0()); - } @@ -14849,28 +26361,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__Group__0__Impl" + // $ANTLR end "rule__MetricDefinition__HeadAssignment_1" - // $ANTLR start "rule__GlobalRelationInterpretation__Group__1" - // 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 { + // $ANTLR start "rule__MetricDefinition__BodyAssignment_3" + // InternalSolverLanguage.g:8008:1: rule__MetricDefinition__BodyAssignment_3 : ( ruleExpression ) ; + public final void rule__MetricDefinition__BodyAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:8012:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:8013:2: ( ruleExpression ) { - pushFollow(FOLLOW_17); - rule__GlobalRelationInterpretation__Group__1__Impl(); - - state._fsp--; - + // InternalSolverLanguage.g:8013:2: ( ruleExpression ) + // InternalSolverLanguage.g:8014:3: ruleExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + } pushFollow(FOLLOW_2); - rule__GlobalRelationInterpretation__Group__2(); + ruleExpression(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + } + + } } @@ -14887,25 +26406,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__Group__1" + // $ANTLR end "rule__MetricDefinition__BodyAssignment_3" - // $ANTLR start "rule__GlobalRelationInterpretation__Group__1__Impl" - // InternalSolverLanguage.g:4787:1: rule__GlobalRelationInterpretation__Group__1__Impl : ( 'relation' ) ; - public final void rule__GlobalRelationInterpretation__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternMetricDefinition__TypeAssignment_1" + // InternalSolverLanguage.g:8023:1: rule__ExternMetricDefinition__TypeAssignment_1 : ( ruleMetricType ) ; + public final void rule__ExternMetricDefinition__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4791:1: ( ( 'relation' ) ) - // InternalSolverLanguage.g:4792:1: ( 'relation' ) + // InternalSolverLanguage.g:8027:1: ( ( ruleMetricType ) ) + // InternalSolverLanguage.g:8028:2: ( ruleMetricType ) { - // InternalSolverLanguage.g:4792:1: ( 'relation' ) - // InternalSolverLanguage.g:4793:2: 'relation' + // InternalSolverLanguage.g:8028:2: ( ruleMetricType ) + // InternalSolverLanguage.g:8029:3: ruleMetricType { - before(grammarAccess.getGlobalRelationInterpretationAccess().getRelationKeyword_1()); - match(input,38,FOLLOW_2); - after(grammarAccess.getGlobalRelationInterpretationAccess().getRelationKeyword_1()); + if ( state.backtracking==0 ) { + before(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0()); + } + pushFollow(FOLLOW_2); + ruleMetricType(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0()); + } } @@ -14924,28 +26451,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__Group__1__Impl" + // $ANTLR end "rule__ExternMetricDefinition__TypeAssignment_1" - // $ANTLR start "rule__GlobalRelationInterpretation__Group__2" - // 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 { + // $ANTLR start "rule__ExternMetricDefinition__HeadAssignment_2" + // InternalSolverLanguage.g:8038:1: rule__ExternMetricDefinition__HeadAssignment_2 : ( ruleCall ) ; + public final void rule__ExternMetricDefinition__HeadAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:8042:1: ( ( ruleCall ) ) + // InternalSolverLanguage.g:8043:2: ( ruleCall ) { - pushFollow(FOLLOW_25); - rule__GlobalRelationInterpretation__Group__2__Impl(); - - state._fsp--; - + // InternalSolverLanguage.g:8043:2: ( ruleCall ) + // InternalSolverLanguage.g:8044:3: ruleCall + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0()); + } pushFollow(FOLLOW_2); - rule__GlobalRelationInterpretation__Group__3(); + ruleCall(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0()); + } + + } } @@ -14962,36 +26496,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__Group__2" + // $ANTLR end "rule__ExternMetricDefinition__HeadAssignment_2" - // $ANTLR start "rule__GlobalRelationInterpretation__Group__2__Impl" - // InternalSolverLanguage.g:4814:1: rule__GlobalRelationInterpretation__Group__2__Impl : ( ( rule__GlobalRelationInterpretation__SymbolAssignment_2 ) ) ; - public final void rule__GlobalRelationInterpretation__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__IfElse__ConditionAssignment_1" + // InternalSolverLanguage.g:8053:1: rule__IfElse__ConditionAssignment_1 : ( ruleExpression ) ; + public final void rule__IfElse__ConditionAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4818:1: ( ( ( rule__GlobalRelationInterpretation__SymbolAssignment_2 ) ) ) - // InternalSolverLanguage.g:4819:1: ( ( rule__GlobalRelationInterpretation__SymbolAssignment_2 ) ) + // InternalSolverLanguage.g:8057:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:8058:2: ( ruleExpression ) { - // InternalSolverLanguage.g:4819:1: ( ( rule__GlobalRelationInterpretation__SymbolAssignment_2 ) ) - // InternalSolverLanguage.g:4820:2: ( rule__GlobalRelationInterpretation__SymbolAssignment_2 ) - { - before(grammarAccess.getGlobalRelationInterpretationAccess().getSymbolAssignment_2()); - // InternalSolverLanguage.g:4821:2: ( rule__GlobalRelationInterpretation__SymbolAssignment_2 ) - // InternalSolverLanguage.g:4821:3: rule__GlobalRelationInterpretation__SymbolAssignment_2 + // InternalSolverLanguage.g:8058:2: ( ruleExpression ) + // InternalSolverLanguage.g:8059:3: ruleExpression { + if ( state.backtracking==0 ) { + before(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); + } pushFollow(FOLLOW_2); - rule__GlobalRelationInterpretation__SymbolAssignment_2(); + ruleExpression(); state._fsp--; - - + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); } - after(grammarAccess.getGlobalRelationInterpretationAccess().getSymbolAssignment_2()); - } @@ -15009,28 +26541,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__Group__2__Impl" + // $ANTLR end "rule__IfElse__ConditionAssignment_1" - // $ANTLR start "rule__GlobalRelationInterpretation__Group__3" - // 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 { + // $ANTLR start "rule__IfElse__ThenAssignment_3" + // InternalSolverLanguage.g:8068:1: rule__IfElse__ThenAssignment_3 : ( ruleExpression ) ; + public final void rule__IfElse__ThenAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:8072:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:8073:2: ( ruleExpression ) { - pushFollow(FOLLOW_44); - rule__GlobalRelationInterpretation__Group__3__Impl(); - - state._fsp--; - + // InternalSolverLanguage.g:8073:2: ( ruleExpression ) + // InternalSolverLanguage.g:8074:3: ruleExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); + } pushFollow(FOLLOW_2); - rule__GlobalRelationInterpretation__Group__4(); + ruleExpression(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); + } + + } } @@ -15047,25 +26586,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__Group__3" + // $ANTLR end "rule__IfElse__ThenAssignment_3" - // $ANTLR start "rule__GlobalRelationInterpretation__Group__3__Impl" - // InternalSolverLanguage.g:4841:1: rule__GlobalRelationInterpretation__Group__3__Impl : ( ':' ) ; - public final void rule__GlobalRelationInterpretation__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__IfElse__ElseAssignment_5" + // InternalSolverLanguage.g:8083:1: rule__IfElse__ElseAssignment_5 : ( ruleExpression ) ; + public final void rule__IfElse__ElseAssignment_5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4845:1: ( ( ':' ) ) - // InternalSolverLanguage.g:4846:1: ( ':' ) + // InternalSolverLanguage.g:8087:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:8088:2: ( ruleExpression ) { - // InternalSolverLanguage.g:4846:1: ( ':' ) - // InternalSolverLanguage.g:4847:2: ':' + // InternalSolverLanguage.g:8088:2: ( ruleExpression ) + // InternalSolverLanguage.g:8089:3: ruleExpression { - before(grammarAccess.getGlobalRelationInterpretationAccess().getColonKeyword_3()); - match(input,17,FOLLOW_2); - after(grammarAccess.getGlobalRelationInterpretationAccess().getColonKeyword_3()); + if ( state.backtracking==0 ) { + before(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); + } + pushFollow(FOLLOW_2); + ruleExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); + } } @@ -15084,28 +26631,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__Group__3__Impl" + // $ANTLR end "rule__IfElse__ElseAssignment_5" - // $ANTLR start "rule__GlobalRelationInterpretation__Group__4" - // 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 { + // $ANTLR start "rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1" + // InternalSolverLanguage.g:8098:1: rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 : ( ruleConjunctiveExpression ) ; + public final void rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4860:1: ( rule__GlobalRelationInterpretation__Group__4__Impl rule__GlobalRelationInterpretation__Group__5 ) - // InternalSolverLanguage.g:4861:2: rule__GlobalRelationInterpretation__Group__4__Impl rule__GlobalRelationInterpretation__Group__5 + // InternalSolverLanguage.g:8102:1: ( ( ruleConjunctiveExpression ) ) + // InternalSolverLanguage.g:8103:2: ( ruleConjunctiveExpression ) { - pushFollow(FOLLOW_44); - rule__GlobalRelationInterpretation__Group__4__Impl(); - - state._fsp--; - + // InternalSolverLanguage.g:8103:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguage.g:8104:3: ruleConjunctiveExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0()); + } pushFollow(FOLLOW_2); - rule__GlobalRelationInterpretation__Group__5(); + ruleConjunctiveExpression(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0()); + } + + } } @@ -15122,47 +26676,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__Group__4" + // $ANTLR end "rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1" - // $ANTLR start "rule__GlobalRelationInterpretation__Group__4__Impl" - // InternalSolverLanguage.g:4868:1: rule__GlobalRelationInterpretation__Group__4__Impl : ( ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )? ) ; - public final void rule__GlobalRelationInterpretation__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__BodyAssignment_1_1_2" + // InternalSolverLanguage.g:8113:1: rule__DisjunctiveExpression__BodyAssignment_1_1_2 : ( ruleConjunctiveExpression ) ; + public final void rule__DisjunctiveExpression__BodyAssignment_1_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4872:1: ( ( ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )? ) ) - // InternalSolverLanguage.g:4873:1: ( ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )? ) + // InternalSolverLanguage.g:8117:1: ( ( ruleConjunctiveExpression ) ) + // InternalSolverLanguage.g:8118:2: ( ruleConjunctiveExpression ) { - // InternalSolverLanguage.g:4873:1: ( ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )? ) - // InternalSolverLanguage.g:4874:2: ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )? + // InternalSolverLanguage.g:8118:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguage.g:8119:3: ruleConjunctiveExpression { - before(grammarAccess.getGlobalRelationInterpretationAccess().getSourceMultiplicityAssignment_4()); - // InternalSolverLanguage.g:4875:2: ( rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 )? - int alt46=2; - int LA46_0 = input.LA(1); - - if ( (LA46_0==RULE_INT) ) { - alt46=1; + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0()); } - switch (alt46) { - case 1 : - // InternalSolverLanguage.g:4875:3: rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 - { - pushFollow(FOLLOW_2); - rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4(); - - state._fsp--; - - - } - break; + pushFollow(FOLLOW_2); + ruleConjunctiveExpression(); + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0()); } - after(grammarAccess.getGlobalRelationInterpretationAccess().getSourceMultiplicityAssignment_4()); - } @@ -15180,28 +26721,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__Group__4__Impl" + // $ANTLR end "rule__DisjunctiveExpression__BodyAssignment_1_1_2" - // $ANTLR start "rule__GlobalRelationInterpretation__Group__5" - // 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 { + // $ANTLR start "rule__DisjunctiveExpression__CasesAssignment_1_1_4_1" + // InternalSolverLanguage.g:8128:1: rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 : ( ruleCase ) ; + public final void rule__DisjunctiveExpression__CasesAssignment_1_1_4_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4887:1: ( rule__GlobalRelationInterpretation__Group__5__Impl rule__GlobalRelationInterpretation__Group__6 ) - // InternalSolverLanguage.g:4888:2: rule__GlobalRelationInterpretation__Group__5__Impl rule__GlobalRelationInterpretation__Group__6 + // InternalSolverLanguage.g:8132:1: ( ( ruleCase ) ) + // InternalSolverLanguage.g:8133:2: ( ruleCase ) { - pushFollow(FOLLOW_44); - rule__GlobalRelationInterpretation__Group__5__Impl(); - - state._fsp--; - + // InternalSolverLanguage.g:8133:2: ( ruleCase ) + // InternalSolverLanguage.g:8134:3: ruleCase + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0()); + } pushFollow(FOLLOW_2); - rule__GlobalRelationInterpretation__Group__6(); + ruleCase(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0()); + } + + } } @@ -15218,36 +26766,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__Group__5" + // $ANTLR end "rule__DisjunctiveExpression__CasesAssignment_1_1_4_1" - // $ANTLR start "rule__GlobalRelationInterpretation__Group__5__Impl" - // InternalSolverLanguage.g:4895:1: rule__GlobalRelationInterpretation__Group__5__Impl : ( ( rule__GlobalRelationInterpretation__SourceAssignment_5 ) ) ; - public final void rule__GlobalRelationInterpretation__Group__5__Impl() throws RecognitionException { + // $ANTLR start "rule__Case__ConditionAssignment_0" + // InternalSolverLanguage.g:8143:1: rule__Case__ConditionAssignment_0 : ( ruleConjunctiveExpression ) ; + public final void rule__Case__ConditionAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4899:1: ( ( ( rule__GlobalRelationInterpretation__SourceAssignment_5 ) ) ) - // InternalSolverLanguage.g:4900:1: ( ( rule__GlobalRelationInterpretation__SourceAssignment_5 ) ) + // InternalSolverLanguage.g:8147:1: ( ( ruleConjunctiveExpression ) ) + // InternalSolverLanguage.g:8148:2: ( ruleConjunctiveExpression ) { - // InternalSolverLanguage.g:4900:1: ( ( rule__GlobalRelationInterpretation__SourceAssignment_5 ) ) - // InternalSolverLanguage.g:4901:2: ( rule__GlobalRelationInterpretation__SourceAssignment_5 ) - { - before(grammarAccess.getGlobalRelationInterpretationAccess().getSourceAssignment_5()); - // InternalSolverLanguage.g:4902:2: ( rule__GlobalRelationInterpretation__SourceAssignment_5 ) - // InternalSolverLanguage.g:4902:3: rule__GlobalRelationInterpretation__SourceAssignment_5 + // InternalSolverLanguage.g:8148:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguage.g:8149:3: ruleConjunctiveExpression { + if ( state.backtracking==0 ) { + before(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0()); + } pushFollow(FOLLOW_2); - rule__GlobalRelationInterpretation__SourceAssignment_5(); + ruleConjunctiveExpression(); state._fsp--; - - + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0()); } - after(grammarAccess.getGlobalRelationInterpretationAccess().getSourceAssignment_5()); - } @@ -15265,28 +26811,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__Group__5__Impl" + // $ANTLR end "rule__Case__ConditionAssignment_0" - // $ANTLR start "rule__GlobalRelationInterpretation__Group__6" - // 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 { + // $ANTLR start "rule__Case__BodyAssignment_2" + // InternalSolverLanguage.g:8158:1: rule__Case__BodyAssignment_2 : ( ruleConjunctiveExpression ) ; + public final void rule__Case__BodyAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:8162:1: ( ( ruleConjunctiveExpression ) ) + // InternalSolverLanguage.g:8163:2: ( ruleConjunctiveExpression ) { - pushFollow(FOLLOW_44); - rule__GlobalRelationInterpretation__Group__6__Impl(); - - state._fsp--; - + // InternalSolverLanguage.g:8163:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguage.g:8164:3: ruleConjunctiveExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0()); + } pushFollow(FOLLOW_2); - rule__GlobalRelationInterpretation__Group__7(); + ruleConjunctiveExpression(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0()); + } + + } } @@ -15303,47 +26856,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__Group__6" + // $ANTLR end "rule__Case__BodyAssignment_2" - // $ANTLR start "rule__GlobalRelationInterpretation__Group__6__Impl" - // InternalSolverLanguage.g:4922:1: rule__GlobalRelationInterpretation__Group__6__Impl : ( ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )? ) ; - public final void rule__GlobalRelationInterpretation__Group__6__Impl() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__ChildrenAssignment_1_1_1" + // InternalSolverLanguage.g:8173:1: rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 : ( ruleComparisonExpression ) ; + public final void rule__ConjunctiveExpression__ChildrenAssignment_1_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4926:1: ( ( ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )? ) ) - // InternalSolverLanguage.g:4927:1: ( ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )? ) + // InternalSolverLanguage.g:8177:1: ( ( ruleComparisonExpression ) ) + // InternalSolverLanguage.g:8178:2: ( ruleComparisonExpression ) { - // InternalSolverLanguage.g:4927:1: ( ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )? ) - // InternalSolverLanguage.g:4928:2: ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )? + // InternalSolverLanguage.g:8178:2: ( ruleComparisonExpression ) + // InternalSolverLanguage.g:8179:3: ruleComparisonExpression { - before(grammarAccess.getGlobalRelationInterpretationAccess().getTargetMultiplicityAssignment_6()); - // InternalSolverLanguage.g:4929:2: ( rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 )? - int alt47=2; - int LA47_0 = input.LA(1); - - if ( (LA47_0==RULE_INT) ) { - alt47=1; + if ( state.backtracking==0 ) { + before(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0()); } - switch (alt47) { - case 1 : - // InternalSolverLanguage.g:4929:3: rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 - { - pushFollow(FOLLOW_2); - rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6(); - - state._fsp--; - - - } - break; + pushFollow(FOLLOW_2); + ruleComparisonExpression(); + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0()); } - after(grammarAccess.getGlobalRelationInterpretationAccess().getTargetMultiplicityAssignment_6()); - } @@ -15361,23 +26901,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__Group__6__Impl" + // $ANTLR end "rule__ConjunctiveExpression__ChildrenAssignment_1_1_1" - // $ANTLR start "rule__GlobalRelationInterpretation__Group__7" - // InternalSolverLanguage.g:4937:1: rule__GlobalRelationInterpretation__Group__7 : rule__GlobalRelationInterpretation__Group__7__Impl ; - public final void rule__GlobalRelationInterpretation__Group__7() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__OpAssignment_1_1" + // InternalSolverLanguage.g:8188:1: rule__ComparisonExpression__OpAssignment_1_1 : ( ruleComparisonOperator ) ; + public final void rule__ComparisonExpression__OpAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4941:1: ( rule__GlobalRelationInterpretation__Group__7__Impl ) - // InternalSolverLanguage.g:4942:2: rule__GlobalRelationInterpretation__Group__7__Impl + // InternalSolverLanguage.g:8192:1: ( ( ruleComparisonOperator ) ) + // InternalSolverLanguage.g:8193:2: ( ruleComparisonOperator ) + { + // InternalSolverLanguage.g:8193:2: ( ruleComparisonOperator ) + // InternalSolverLanguage.g:8194:3: ruleComparisonOperator { + if ( state.backtracking==0 ) { + before(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0()); + } pushFollow(FOLLOW_2); - rule__GlobalRelationInterpretation__Group__7__Impl(); + ruleComparisonOperator(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0()); + } + + } } @@ -15394,36 +26946,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__Group__7" + // $ANTLR end "rule__ComparisonExpression__OpAssignment_1_1" - // $ANTLR start "rule__GlobalRelationInterpretation__Group__7__Impl" - // InternalSolverLanguage.g:4948:1: rule__GlobalRelationInterpretation__Group__7__Impl : ( ( rule__GlobalRelationInterpretation__TargetAssignment_7 ) ) ; - public final void rule__GlobalRelationInterpretation__Group__7__Impl() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__RightAssignment_1_2" + // InternalSolverLanguage.g:8203:1: rule__ComparisonExpression__RightAssignment_1_2 : ( ruleAdditiveExpression ) ; + public final void rule__ComparisonExpression__RightAssignment_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4952:1: ( ( ( rule__GlobalRelationInterpretation__TargetAssignment_7 ) ) ) - // InternalSolverLanguage.g:4953:1: ( ( rule__GlobalRelationInterpretation__TargetAssignment_7 ) ) + // InternalSolverLanguage.g:8207:1: ( ( ruleAdditiveExpression ) ) + // InternalSolverLanguage.g:8208:2: ( ruleAdditiveExpression ) { - // InternalSolverLanguage.g:4953:1: ( ( rule__GlobalRelationInterpretation__TargetAssignment_7 ) ) - // InternalSolverLanguage.g:4954:2: ( rule__GlobalRelationInterpretation__TargetAssignment_7 ) - { - before(grammarAccess.getGlobalRelationInterpretationAccess().getTargetAssignment_7()); - // InternalSolverLanguage.g:4955:2: ( rule__GlobalRelationInterpretation__TargetAssignment_7 ) - // InternalSolverLanguage.g:4955:3: rule__GlobalRelationInterpretation__TargetAssignment_7 + // InternalSolverLanguage.g:8208:2: ( ruleAdditiveExpression ) + // InternalSolverLanguage.g:8209:3: ruleAdditiveExpression { + if ( state.backtracking==0 ) { + before(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0()); + } pushFollow(FOLLOW_2); - rule__GlobalRelationInterpretation__TargetAssignment_7(); + ruleAdditiveExpression(); state._fsp--; - - + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0()); } - after(grammarAccess.getGlobalRelationInterpretationAccess().getTargetAssignment_7()); - } @@ -15441,28 +26991,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__Group__7__Impl" + // $ANTLR end "rule__ComparisonExpression__RightAssignment_1_2" - // $ANTLR start "rule__MultiplicityDefinition__Group__0" - // 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 { + // $ANTLR start "rule__AdditiveExpression__OpAssignment_1_1" + // InternalSolverLanguage.g:8218:1: rule__AdditiveExpression__OpAssignment_1_1 : ( ruleAdditiveBinaryOperator ) ; + public final void rule__AdditiveExpression__OpAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:8222:1: ( ( ruleAdditiveBinaryOperator ) ) + // InternalSolverLanguage.g:8223:2: ( ruleAdditiveBinaryOperator ) { - pushFollow(FOLLOW_46); - rule__MultiplicityDefinition__Group__0__Impl(); - - state._fsp--; - + // InternalSolverLanguage.g:8223:2: ( ruleAdditiveBinaryOperator ) + // InternalSolverLanguage.g:8224:3: ruleAdditiveBinaryOperator + { + if ( state.backtracking==0 ) { + before(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0()); + } pushFollow(FOLLOW_2); - rule__MultiplicityDefinition__Group__1(); + ruleAdditiveBinaryOperator(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0()); + } + + } } @@ -15479,36 +27036,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicityDefinition__Group__0" + // $ANTLR end "rule__AdditiveExpression__OpAssignment_1_1" - // $ANTLR start "rule__MultiplicityDefinition__Group__0__Impl" - // InternalSolverLanguage.g:4976:1: rule__MultiplicityDefinition__Group__0__Impl : ( ( rule__MultiplicityDefinition__LowerAssignment_0 ) ) ; - public final void rule__MultiplicityDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__RightAssignment_1_2" + // InternalSolverLanguage.g:8233:1: rule__AdditiveExpression__RightAssignment_1_2 : ( ruleMultiplicativeExpression ) ; + public final void rule__AdditiveExpression__RightAssignment_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:4980:1: ( ( ( rule__MultiplicityDefinition__LowerAssignment_0 ) ) ) - // InternalSolverLanguage.g:4981:1: ( ( rule__MultiplicityDefinition__LowerAssignment_0 ) ) + // InternalSolverLanguage.g:8237:1: ( ( ruleMultiplicativeExpression ) ) + // InternalSolverLanguage.g:8238:2: ( ruleMultiplicativeExpression ) { - // InternalSolverLanguage.g:4981:1: ( ( rule__MultiplicityDefinition__LowerAssignment_0 ) ) - // InternalSolverLanguage.g:4982:2: ( rule__MultiplicityDefinition__LowerAssignment_0 ) - { - before(grammarAccess.getMultiplicityDefinitionAccess().getLowerAssignment_0()); - // InternalSolverLanguage.g:4983:2: ( rule__MultiplicityDefinition__LowerAssignment_0 ) - // InternalSolverLanguage.g:4983:3: rule__MultiplicityDefinition__LowerAssignment_0 + // InternalSolverLanguage.g:8238:2: ( ruleMultiplicativeExpression ) + // InternalSolverLanguage.g:8239:3: ruleMultiplicativeExpression { + if ( state.backtracking==0 ) { + before(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0()); + } pushFollow(FOLLOW_2); - rule__MultiplicityDefinition__LowerAssignment_0(); + ruleMultiplicativeExpression(); state._fsp--; - - + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0()); } - after(grammarAccess.getMultiplicityDefinitionAccess().getLowerAssignment_0()); - } @@ -15526,28 +27081,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicityDefinition__Group__0__Impl" + // $ANTLR end "rule__AdditiveExpression__RightAssignment_1_2" - // $ANTLR start "rule__MultiplicityDefinition__Group__1" - // 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 { + // $ANTLR start "rule__MultiplicativeExpression__OpAssignment_1_1" + // InternalSolverLanguage.g:8248:1: rule__MultiplicativeExpression__OpAssignment_1_1 : ( ruleMultiplicativeBinaryOperator ) ; + public final void rule__MultiplicativeExpression__OpAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // 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 + // InternalSolverLanguage.g:8252:1: ( ( ruleMultiplicativeBinaryOperator ) ) + // InternalSolverLanguage.g:8253:2: ( ruleMultiplicativeBinaryOperator ) { - pushFollow(FOLLOW_47); - rule__MultiplicityDefinition__Group__1__Impl(); - - state._fsp--; - + // InternalSolverLanguage.g:8253:2: ( ruleMultiplicativeBinaryOperator ) + // InternalSolverLanguage.g:8254:3: ruleMultiplicativeBinaryOperator + { + if ( state.backtracking==0 ) { + before(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0()); + } pushFollow(FOLLOW_2); - rule__MultiplicityDefinition__Group__2(); + ruleMultiplicativeBinaryOperator(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0()); + } + + } } @@ -15564,25 +27126,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicityDefinition__Group__1" + // $ANTLR end "rule__MultiplicativeExpression__OpAssignment_1_1" - // $ANTLR start "rule__MultiplicityDefinition__Group__1__Impl" - // InternalSolverLanguage.g:5003:1: rule__MultiplicityDefinition__Group__1__Impl : ( '..' ) ; - public final void rule__MultiplicityDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__RightAssignment_1_2" + // InternalSolverLanguage.g:8263:1: rule__MultiplicativeExpression__RightAssignment_1_2 : ( ruleExponentialExpression ) ; + public final void rule__MultiplicativeExpression__RightAssignment_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5007:1: ( ( '..' ) ) - // InternalSolverLanguage.g:5008:1: ( '..' ) + // InternalSolverLanguage.g:8267:1: ( ( ruleExponentialExpression ) ) + // InternalSolverLanguage.g:8268:2: ( ruleExponentialExpression ) { - // InternalSolverLanguage.g:5008:1: ( '..' ) - // InternalSolverLanguage.g:5009:2: '..' + // InternalSolverLanguage.g:8268:2: ( ruleExponentialExpression ) + // InternalSolverLanguage.g:8269:3: ruleExponentialExpression { - before(grammarAccess.getMultiplicityDefinitionAccess().getFullStopFullStopKeyword_1()); - match(input,39,FOLLOW_2); - after(grammarAccess.getMultiplicityDefinitionAccess().getFullStopFullStopKeyword_1()); + if ( state.backtracking==0 ) { + before(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); + } + pushFollow(FOLLOW_2); + ruleExponentialExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); + } } @@ -15601,23 +27171,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicityDefinition__Group__1__Impl" + // $ANTLR end "rule__MultiplicativeExpression__RightAssignment_1_2" - // $ANTLR start "rule__MultiplicityDefinition__Group__2" - // InternalSolverLanguage.g:5018:1: rule__MultiplicityDefinition__Group__2 : rule__MultiplicityDefinition__Group__2__Impl ; - public final void rule__MultiplicityDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__OpAssignment_1_1" + // InternalSolverLanguage.g:8278:1: rule__ExponentialExpression__OpAssignment_1_1 : ( ruleExponentialOp ) ; + public final void rule__ExponentialExpression__OpAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5022:1: ( rule__MultiplicityDefinition__Group__2__Impl ) - // InternalSolverLanguage.g:5023:2: rule__MultiplicityDefinition__Group__2__Impl + // InternalSolverLanguage.g:8282:1: ( ( ruleExponentialOp ) ) + // InternalSolverLanguage.g:8283:2: ( ruleExponentialOp ) { + // InternalSolverLanguage.g:8283:2: ( ruleExponentialOp ) + // InternalSolverLanguage.g:8284:3: ruleExponentialOp + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0()); + } pushFollow(FOLLOW_2); - rule__MultiplicityDefinition__Group__2__Impl(); + ruleExponentialOp(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0()); + } + + } } @@ -15634,36 +27216,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicityDefinition__Group__2" + // $ANTLR end "rule__ExponentialExpression__OpAssignment_1_1" - // $ANTLR start "rule__MultiplicityDefinition__Group__2__Impl" - // InternalSolverLanguage.g:5029:1: rule__MultiplicityDefinition__Group__2__Impl : ( ( rule__MultiplicityDefinition__Alternatives_2 ) ) ; - public final void rule__MultiplicityDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__RightAssignment_1_2" + // InternalSolverLanguage.g:8293:1: rule__ExponentialExpression__RightAssignment_1_2 : ( ruleExponentialExpression ) ; + public final void rule__ExponentialExpression__RightAssignment_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5033:1: ( ( ( rule__MultiplicityDefinition__Alternatives_2 ) ) ) - // InternalSolverLanguage.g:5034:1: ( ( rule__MultiplicityDefinition__Alternatives_2 ) ) - { - // InternalSolverLanguage.g:5034:1: ( ( rule__MultiplicityDefinition__Alternatives_2 ) ) - // InternalSolverLanguage.g:5035:2: ( rule__MultiplicityDefinition__Alternatives_2 ) + // InternalSolverLanguage.g:8297:1: ( ( ruleExponentialExpression ) ) + // InternalSolverLanguage.g:8298:2: ( ruleExponentialExpression ) { - before(grammarAccess.getMultiplicityDefinitionAccess().getAlternatives_2()); - // InternalSolverLanguage.g:5036:2: ( rule__MultiplicityDefinition__Alternatives_2 ) - // InternalSolverLanguage.g:5036:3: rule__MultiplicityDefinition__Alternatives_2 + // InternalSolverLanguage.g:8298:2: ( ruleExponentialExpression ) + // InternalSolverLanguage.g:8299:3: ruleExponentialExpression { + if ( state.backtracking==0 ) { + before(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); + } pushFollow(FOLLOW_2); - rule__MultiplicityDefinition__Alternatives_2(); + ruleExponentialExpression(); state._fsp--; - - + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); } - after(grammarAccess.getMultiplicityDefinitionAccess().getAlternatives_2()); - } @@ -15681,29 +27261,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicityDefinition__Group__2__Impl" + // $ANTLR end "rule__ExponentialExpression__RightAssignment_1_2" - // $ANTLR start "rule__Problem__StatementsAssignment" - // InternalSolverLanguage.g:5045:1: rule__Problem__StatementsAssignment : ( ruleStatement ) ; - public final void rule__Problem__StatementsAssignment() throws RecognitionException { + // $ANTLR start "rule__UnaryExpression__OpAssignment_1_1" + // InternalSolverLanguage.g:8308:1: rule__UnaryExpression__OpAssignment_1_1 : ( ruleUnaryOp ) ; + public final void rule__UnaryExpression__OpAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5049:1: ( ( ruleStatement ) ) - // InternalSolverLanguage.g:5050:2: ( ruleStatement ) + // InternalSolverLanguage.g:8312:1: ( ( ruleUnaryOp ) ) + // InternalSolverLanguage.g:8313:2: ( ruleUnaryOp ) { - // InternalSolverLanguage.g:5050:2: ( ruleStatement ) - // InternalSolverLanguage.g:5051:3: ruleStatement + // InternalSolverLanguage.g:8313:2: ( ruleUnaryOp ) + // InternalSolverLanguage.g:8314:3: ruleUnaryOp { - before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0()); + } pushFollow(FOLLOW_2); - ruleStatement(); + ruleUnaryOp(); state._fsp--; - - after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0()); + } } @@ -15722,29 +27306,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Problem__StatementsAssignment" + // $ANTLR end "rule__UnaryExpression__OpAssignment_1_1" - // $ANTLR start "rule__BasicInterpretation__SymbolAssignment_0" - // InternalSolverLanguage.g:5060:1: rule__BasicInterpretation__SymbolAssignment_0 : ( ruleSymbol ) ; - public final void rule__BasicInterpretation__SymbolAssignment_0() throws RecognitionException { + // $ANTLR start "rule__UnaryExpression__BodyAssignment_1_2" + // InternalSolverLanguage.g:8323:1: rule__UnaryExpression__BodyAssignment_1_2 : ( ruleAggregationExpression ) ; + public final void rule__UnaryExpression__BodyAssignment_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5064:1: ( ( ruleSymbol ) ) - // InternalSolverLanguage.g:5065:2: ( ruleSymbol ) + // InternalSolverLanguage.g:8327:1: ( ( ruleAggregationExpression ) ) + // InternalSolverLanguage.g:8328:2: ( ruleAggregationExpression ) { - // InternalSolverLanguage.g:5065:2: ( ruleSymbol ) - // InternalSolverLanguage.g:5066:3: ruleSymbol + // InternalSolverLanguage.g:8328:2: ( ruleAggregationExpression ) + // InternalSolverLanguage.g:8329:3: ruleAggregationExpression { - before(grammarAccess.getBasicInterpretationAccess().getSymbolSymbolParserRuleCall_0_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0()); + } pushFollow(FOLLOW_2); - ruleSymbol(); + ruleAggregationExpression(); state._fsp--; - - after(grammarAccess.getBasicInterpretationAccess().getSymbolSymbolParserRuleCall_0_0()); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0()); + } } @@ -15763,29 +27351,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__SymbolAssignment_0" + // $ANTLR end "rule__UnaryExpression__BodyAssignment_1_2" - // $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 { + // $ANTLR start "rule__Count__BodyAssignment_2" + // InternalSolverLanguage.g:8338:1: rule__Count__BodyAssignment_2 : ( ruleExpression ) ; + public final void rule__Count__BodyAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5079:1: ( ( ruleComplexObject ) ) - // InternalSolverLanguage.g:5080:2: ( ruleComplexObject ) + // InternalSolverLanguage.g:8342:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:8343:2: ( ruleExpression ) { - // InternalSolverLanguage.g:5080:2: ( ruleComplexObject ) - // InternalSolverLanguage.g:5081:3: ruleComplexObject + // InternalSolverLanguage.g:8343:2: ( ruleExpression ) + // InternalSolverLanguage.g:8344:3: ruleExpression { - before(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_0_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0()); + } pushFollow(FOLLOW_2); - ruleComplexObject(); + ruleExpression(); state._fsp--; - - after(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_0_0()); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0()); + } } @@ -15804,29 +27396,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__ObjectsAssignment_1_1_0" + // $ANTLR end "rule__Count__BodyAssignment_2" - // $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 { + // $ANTLR start "rule__Aggregation__OpAssignment_0" + // InternalSolverLanguage.g:8353:1: rule__Aggregation__OpAssignment_0 : ( ruleAggregationOp ) ; + public final void rule__Aggregation__OpAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5094:1: ( ( ruleComplexObject ) ) - // InternalSolverLanguage.g:5095:2: ( ruleComplexObject ) + // InternalSolverLanguage.g:8357:1: ( ( ruleAggregationOp ) ) + // InternalSolverLanguage.g:8358:2: ( ruleAggregationOp ) { - // InternalSolverLanguage.g:5095:2: ( ruleComplexObject ) - // InternalSolverLanguage.g:5096:3: ruleComplexObject + // InternalSolverLanguage.g:8358:2: ( ruleAggregationOp ) + // InternalSolverLanguage.g:8359:3: ruleAggregationOp { - before(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_1_1_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0()); + } pushFollow(FOLLOW_2); - ruleComplexObject(); + ruleAggregationOp(); state._fsp--; - - after(grammarAccess.getBasicInterpretationAccess().getObjectsComplexObjectParserRuleCall_1_1_1_1_0()); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0()); + } } @@ -15845,29 +27441,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__ObjectsAssignment_1_1_1_1" + // $ANTLR end "rule__Aggregation__OpAssignment_0" - // $ANTLR start "rule__BasicInterpretation__ValueAssignment_3" - // InternalSolverLanguage.g:5105:1: rule__BasicInterpretation__ValueAssignment_3 : ( ruleTruthValue ) ; - public final void rule__BasicInterpretation__ValueAssignment_3() throws RecognitionException { + // $ANTLR start "rule__Aggregation__BodyAssignment_2" + // InternalSolverLanguage.g:8368:1: rule__Aggregation__BodyAssignment_2 : ( ruleExpression ) ; + public final void rule__Aggregation__BodyAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5109:1: ( ( ruleTruthValue ) ) - // InternalSolverLanguage.g:5110:2: ( ruleTruthValue ) + // InternalSolverLanguage.g:8372:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:8373:2: ( ruleExpression ) { - // InternalSolverLanguage.g:5110:2: ( ruleTruthValue ) - // InternalSolverLanguage.g:5111:3: ruleTruthValue + // InternalSolverLanguage.g:8373:2: ( ruleExpression ) + // InternalSolverLanguage.g:8374:3: ruleExpression { - before(grammarAccess.getBasicInterpretationAccess().getValueTruthValueParserRuleCall_3_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0()); + } pushFollow(FOLLOW_2); - ruleTruthValue(); + ruleExpression(); state._fsp--; - - after(grammarAccess.getBasicInterpretationAccess().getValueTruthValueParserRuleCall_3_0()); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0()); + } } @@ -15886,25 +27486,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BasicInterpretation__ValueAssignment_3" + // $ANTLR end "rule__Aggregation__BodyAssignment_2" - // $ANTLR start "rule__ModelSymbol__NameAssignment" - // InternalSolverLanguage.g:5120:1: rule__ModelSymbol__NameAssignment : ( RULE_ID ) ; - public final void rule__ModelSymbol__NameAssignment() throws RecognitionException { + // $ANTLR start "rule__Aggregation__ConditionAssignment_4" + // InternalSolverLanguage.g:8383:1: rule__Aggregation__ConditionAssignment_4 : ( ruleExpression ) ; + public final void rule__Aggregation__ConditionAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5124:1: ( ( RULE_ID ) ) - // InternalSolverLanguage.g:5125:2: ( RULE_ID ) + // InternalSolverLanguage.g:8387:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:8388:2: ( ruleExpression ) { - // InternalSolverLanguage.g:5125:2: ( RULE_ID ) - // InternalSolverLanguage.g:5126:3: RULE_ID + // InternalSolverLanguage.g:8388:2: ( ruleExpression ) + // InternalSolverLanguage.g:8389:3: ruleExpression { - before(grammarAccess.getModelSymbolAccess().getNameIDTerminalRuleCall_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getModelSymbolAccess().getNameIDTerminalRuleCall_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); + } + pushFollow(FOLLOW_2); + ruleExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); + } } @@ -15923,25 +27531,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ModelSymbol__NameAssignment" + // $ANTLR end "rule__Aggregation__ConditionAssignment_4" - // $ANTLR start "rule__NamedObject__NameAssignment_1" - // InternalSolverLanguage.g:5135:1: rule__NamedObject__NameAssignment_1 : ( RULE_ID ) ; - public final void rule__NamedObject__NameAssignment_1() throws RecognitionException { + // $ANTLR start "rule__AtomicExpression__ArgumentListAssignment_0_1_1" + // InternalSolverLanguage.g:8398:1: rule__AtomicExpression__ArgumentListAssignment_0_1_1 : ( ruleArgumentList ) ; + public final void rule__AtomicExpression__ArgumentListAssignment_0_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5139:1: ( ( RULE_ID ) ) - // InternalSolverLanguage.g:5140:2: ( RULE_ID ) + // InternalSolverLanguage.g:8402:1: ( ( ruleArgumentList ) ) + // InternalSolverLanguage.g:8403:2: ( ruleArgumentList ) { - // InternalSolverLanguage.g:5140:2: ( RULE_ID ) - // InternalSolverLanguage.g:5141:3: RULE_ID + // InternalSolverLanguage.g:8403:2: ( ruleArgumentList ) + // InternalSolverLanguage.g:8404:3: ruleArgumentList { - before(grammarAccess.getNamedObjectAccess().getNameIDTerminalRuleCall_1_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getNamedObjectAccess().getNameIDTerminalRuleCall_1_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getAtomicExpressionAccess().getArgumentListArgumentListParserRuleCall_0_1_1_0()); + } + pushFollow(FOLLOW_2); + ruleArgumentList(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getAtomicExpressionAccess().getArgumentListArgumentListParserRuleCall_0_1_1_0()); + } } @@ -15960,25 +27576,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__NamedObject__NameAssignment_1" + // $ANTLR end "rule__AtomicExpression__ArgumentListAssignment_0_1_1" - // $ANTLR start "rule__UnnamedObject__NameAssignment" - // InternalSolverLanguage.g:5150:1: rule__UnnamedObject__NameAssignment : ( RULE_ID ) ; - public final void rule__UnnamedObject__NameAssignment() throws RecognitionException { + // $ANTLR start "rule__Call__FunctorAssignment_0" + // InternalSolverLanguage.g:8413:1: rule__Call__FunctorAssignment_0 : ( ruleReference ) ; + public final void rule__Call__FunctorAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5154:1: ( ( RULE_ID ) ) - // InternalSolverLanguage.g:5155:2: ( RULE_ID ) + // InternalSolverLanguage.g:8417:1: ( ( ruleReference ) ) + // InternalSolverLanguage.g:8418:2: ( ruleReference ) { - // InternalSolverLanguage.g:5155:2: ( RULE_ID ) - // InternalSolverLanguage.g:5156:3: RULE_ID + // InternalSolverLanguage.g:8418:2: ( ruleReference ) + // InternalSolverLanguage.g:8419:3: ruleReference { - before(grammarAccess.getUnnamedObjectAccess().getNameIDTerminalRuleCall_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getUnnamedObjectAccess().getNameIDTerminalRuleCall_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); + } + pushFollow(FOLLOW_2); + ruleReference(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); + } } @@ -15997,29 +27621,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedObject__NameAssignment" + // $ANTLR end "rule__Call__FunctorAssignment_0" - // $ANTLR start "rule__BooleanObject__ValueAssignment" - // InternalSolverLanguage.g:5165:1: rule__BooleanObject__ValueAssignment : ( ruleBooleanValue ) ; - public final void rule__BooleanObject__ValueAssignment() throws RecognitionException { + // $ANTLR start "rule__Call__TransitiveClosureAssignment_1_0" + // InternalSolverLanguage.g:8428:1: rule__Call__TransitiveClosureAssignment_1_0 : ( RULE_STAR ) ; + public final void rule__Call__TransitiveClosureAssignment_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5169:1: ( ( ruleBooleanValue ) ) - // InternalSolverLanguage.g:5170:2: ( ruleBooleanValue ) + // InternalSolverLanguage.g:8432:1: ( ( RULE_STAR ) ) + // InternalSolverLanguage.g:8433:2: ( RULE_STAR ) { - // InternalSolverLanguage.g:5170:2: ( ruleBooleanValue ) - // InternalSolverLanguage.g:5171:3: ruleBooleanValue + // InternalSolverLanguage.g:8433:2: ( RULE_STAR ) + // InternalSolverLanguage.g:8434:3: RULE_STAR { - before(grammarAccess.getBooleanObjectAccess().getValueBooleanValueParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleBooleanValue(); - - state._fsp--; - - after(grammarAccess.getBooleanObjectAccess().getValueBooleanValueParserRuleCall_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getCallAccess().getTransitiveClosureSTARTerminalRuleCall_1_0_0()); + } + match(input,RULE_STAR,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getCallAccess().getTransitiveClosureSTARTerminalRuleCall_1_0_0()); + } } @@ -16038,29 +27662,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BooleanObject__ValueAssignment" + // $ANTLR end "rule__Call__TransitiveClosureAssignment_1_0" - // $ANTLR start "rule__IntObject__ValueAssignment" - // InternalSolverLanguage.g:5180:1: rule__IntObject__ValueAssignment : ( ruleINTLiteral ) ; - public final void rule__IntObject__ValueAssignment() throws RecognitionException { + // $ANTLR start "rule__Call__ReflexiveTransitiveClosureAssignment_1_1" + // InternalSolverLanguage.g:8443:1: rule__Call__ReflexiveTransitiveClosureAssignment_1_1 : ( RULE_PLUS ) ; + public final void rule__Call__ReflexiveTransitiveClosureAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5184:1: ( ( ruleINTLiteral ) ) - // InternalSolverLanguage.g:5185:2: ( ruleINTLiteral ) + // InternalSolverLanguage.g:8447:1: ( ( RULE_PLUS ) ) + // InternalSolverLanguage.g:8448:2: ( RULE_PLUS ) { - // InternalSolverLanguage.g:5185:2: ( ruleINTLiteral ) - // InternalSolverLanguage.g:5186:3: ruleINTLiteral + // InternalSolverLanguage.g:8448:2: ( RULE_PLUS ) + // InternalSolverLanguage.g:8449:3: RULE_PLUS { - before(grammarAccess.getIntObjectAccess().getValueINTLiteralParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleINTLiteral(); - - state._fsp--; - - after(grammarAccess.getIntObjectAccess().getValueINTLiteralParserRuleCall_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getCallAccess().getReflexiveTransitiveClosurePLUSTerminalRuleCall_1_1_0()); + } + match(input,RULE_PLUS,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getCallAccess().getReflexiveTransitiveClosurePLUSTerminalRuleCall_1_1_0()); + } } @@ -16079,29 +27703,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IntObject__ValueAssignment" + // $ANTLR end "rule__Call__ReflexiveTransitiveClosureAssignment_1_1" - // $ANTLR start "rule__RealObject__ValueAssignment" - // InternalSolverLanguage.g:5195:1: rule__RealObject__ValueAssignment : ( ruleREALLiteral ) ; - public final void rule__RealObject__ValueAssignment() throws RecognitionException { + // $ANTLR start "rule__Call__ArgumentListAssignment_2" + // InternalSolverLanguage.g:8458:1: rule__Call__ArgumentListAssignment_2 : ( ruleArgumentList ) ; + public final void rule__Call__ArgumentListAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5199:1: ( ( ruleREALLiteral ) ) - // InternalSolverLanguage.g:5200:2: ( ruleREALLiteral ) + // InternalSolverLanguage.g:8462:1: ( ( ruleArgumentList ) ) + // InternalSolverLanguage.g:8463:2: ( ruleArgumentList ) { - // InternalSolverLanguage.g:5200:2: ( ruleREALLiteral ) - // InternalSolverLanguage.g:5201:3: ruleREALLiteral + // InternalSolverLanguage.g:8463:2: ( ruleArgumentList ) + // InternalSolverLanguage.g:8464:3: ruleArgumentList { - before(grammarAccess.getRealObjectAccess().getValueREALLiteralParserRuleCall_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0()); + } pushFollow(FOLLOW_2); - ruleREALLiteral(); + ruleArgumentList(); state._fsp--; - - after(grammarAccess.getRealObjectAccess().getValueREALLiteralParserRuleCall_0()); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0()); + } } @@ -16120,25 +27748,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__RealObject__ValueAssignment" + // $ANTLR end "rule__Call__ArgumentListAssignment_2" - // $ANTLR start "rule__StringObject__ValueAssignment" - // InternalSolverLanguage.g:5210:1: rule__StringObject__ValueAssignment : ( RULE_STRING ) ; - public final void rule__StringObject__ValueAssignment() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__ArgumentsAssignment_2_0" + // InternalSolverLanguage.g:8473:1: rule__ArgumentList__ArgumentsAssignment_2_0 : ( ruleArgument ) ; + public final void rule__ArgumentList__ArgumentsAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5214:1: ( ( RULE_STRING ) ) - // InternalSolverLanguage.g:5215:2: ( RULE_STRING ) + // InternalSolverLanguage.g:8477:1: ( ( ruleArgument ) ) + // InternalSolverLanguage.g:8478:2: ( ruleArgument ) { - // InternalSolverLanguage.g:5215:2: ( RULE_STRING ) - // InternalSolverLanguage.g:5216:3: RULE_STRING + // InternalSolverLanguage.g:8478:2: ( ruleArgument ) + // InternalSolverLanguage.g:8479:3: ruleArgument { - before(grammarAccess.getStringObjectAccess().getValueSTRINGTerminalRuleCall_0()); - match(input,RULE_STRING,FOLLOW_2); - after(grammarAccess.getStringObjectAccess().getValueSTRINGTerminalRuleCall_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); + } + pushFollow(FOLLOW_2); + ruleArgument(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); + } } @@ -16157,33 +27793,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__StringObject__ValueAssignment" + // $ANTLR end "rule__ArgumentList__ArgumentsAssignment_2_0" - // $ANTLR start "rule__Predicate__IsErrorAssignment_0" - // InternalSolverLanguage.g:5225:1: rule__Predicate__IsErrorAssignment_0 : ( ( 'error' ) ) ; - public final void rule__Predicate__IsErrorAssignment_0() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__ArgumentsAssignment_2_1_1" + // InternalSolverLanguage.g:8488:1: rule__ArgumentList__ArgumentsAssignment_2_1_1 : ( ruleArgument ) ; + public final void rule__ArgumentList__ArgumentsAssignment_2_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5229:1: ( ( ( 'error' ) ) ) - // InternalSolverLanguage.g:5230:2: ( ( 'error' ) ) + // InternalSolverLanguage.g:8492:1: ( ( ruleArgument ) ) + // InternalSolverLanguage.g:8493:2: ( ruleArgument ) { - // InternalSolverLanguage.g:5230:2: ( ( 'error' ) ) - // InternalSolverLanguage.g:5231:3: ( 'error' ) + // InternalSolverLanguage.g:8493:2: ( ruleArgument ) + // InternalSolverLanguage.g:8494:3: ruleArgument { - 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()); - + if ( state.backtracking==0 ) { + before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); } + pushFollow(FOLLOW_2); + ruleArgument(); - after(grammarAccess.getPredicateAccess().getIsErrorErrorKeyword_0_0()); + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); + } } @@ -16202,29 +27838,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__IsErrorAssignment_0" + // $ANTLR end "rule__ArgumentList__ArgumentsAssignment_2_1_1" - // $ANTLR start "rule__Predicate__SymbolAssignment_1" - // InternalSolverLanguage.g:5244:1: rule__Predicate__SymbolAssignment_1 : ( ruleModelSymbol ) ; - public final void rule__Predicate__SymbolAssignment_1() throws RecognitionException { + // $ANTLR start "rule__ExpressionArgument__BodyAssignment" + // InternalSolverLanguage.g:8503:1: rule__ExpressionArgument__BodyAssignment : ( ruleComparisonExpression ) ; + public final void rule__ExpressionArgument__BodyAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5248:1: ( ( ruleModelSymbol ) ) - // InternalSolverLanguage.g:5249:2: ( ruleModelSymbol ) + // InternalSolverLanguage.g:8507:1: ( ( ruleComparisonExpression ) ) + // InternalSolverLanguage.g:8508:2: ( ruleComparisonExpression ) { - // InternalSolverLanguage.g:5249:2: ( ruleModelSymbol ) - // InternalSolverLanguage.g:5250:3: ruleModelSymbol + // InternalSolverLanguage.g:8508:2: ( ruleComparisonExpression ) + // InternalSolverLanguage.g:8509:3: ruleComparisonExpression { - before(grammarAccess.getPredicateAccess().getSymbolModelSymbolParserRuleCall_1_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0()); + } pushFollow(FOLLOW_2); - ruleModelSymbol(); + ruleComparisonExpression(); state._fsp--; - - after(grammarAccess.getPredicateAccess().getSymbolModelSymbolParserRuleCall_1_0()); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0()); + } } @@ -16243,29 +27883,45 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__SymbolAssignment_1" + // $ANTLR end "rule__ExpressionArgument__BodyAssignment" - // $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 { + // $ANTLR start "rule__TypedArgument__TypeAssignment_0" + // InternalSolverLanguage.g:8518:1: rule__TypedArgument__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ; + public final void rule__TypedArgument__TypeAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5263:1: ( ( ruleParameter ) ) - // InternalSolverLanguage.g:5264:2: ( ruleParameter ) + // InternalSolverLanguage.g:8522:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguage.g:8523:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguage.g:5264:2: ( ruleParameter ) - // InternalSolverLanguage.g:5265:3: ruleParameter + // InternalSolverLanguage.g:8523:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguage.g:8524:3: ( ruleQualifiedName ) { - before(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_0_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0()); + } + // InternalSolverLanguage.g:8525:3: ( ruleQualifiedName ) + // InternalSolverLanguage.g:8526:4: ruleQualifiedName + { + if ( state.backtracking==0 ) { + before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); + } pushFollow(FOLLOW_2); - ruleParameter(); + ruleQualifiedName(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); + } - after(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_0_0()); + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0()); + } } @@ -16284,29 +27940,45 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__ParametersAssignment_2_1_0" + // $ANTLR end "rule__TypedArgument__TypeAssignment_0" - // $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 { + // $ANTLR start "rule__TypedArgument__VariableAssignment_1" + // InternalSolverLanguage.g:8537:1: rule__TypedArgument__VariableAssignment_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__TypedArgument__VariableAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5278:1: ( ( ruleParameter ) ) - // InternalSolverLanguage.g:5279:2: ( ruleParameter ) + // InternalSolverLanguage.g:8541:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguage.g:8542:2: ( ( ruleQualifiedName ) ) + { + // InternalSolverLanguage.g:8542:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguage.g:8543:3: ( ruleQualifiedName ) { - // InternalSolverLanguage.g:5279:2: ( ruleParameter ) - // InternalSolverLanguage.g:5280:3: ruleParameter + if ( state.backtracking==0 ) { + before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0()); + } + // InternalSolverLanguage.g:8544:3: ( ruleQualifiedName ) + // InternalSolverLanguage.g:8545:4: ruleQualifiedName { - before(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_1_1_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1()); + } pushFollow(FOLLOW_2); - ruleParameter(); + ruleQualifiedName(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1()); + } + + } - after(grammarAccess.getPredicateAccess().getParametersParameterParserRuleCall_2_1_1_1_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0()); + } } @@ -16325,29 +27997,45 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__ParametersAssignment_2_1_1_1" + // $ANTLR end "rule__TypedArgument__VariableAssignment_1" - // $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 { + // $ANTLR start "rule__TypedStarArgument__TypeAssignment_0" + // InternalSolverLanguage.g:8556:1: rule__TypedStarArgument__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ; + public final void rule__TypedStarArgument__TypeAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5293:1: ( ( rulePatternBody ) ) - // InternalSolverLanguage.g:5294:2: ( rulePatternBody ) + // InternalSolverLanguage.g:8560:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguage.g:8561:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguage.g:5294:2: ( rulePatternBody ) - // InternalSolverLanguage.g:5295:3: rulePatternBody + // InternalSolverLanguage.g:8561:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguage.g:8562:3: ( ruleQualifiedName ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0()); + } + // InternalSolverLanguage.g:8563:3: ( ruleQualifiedName ) + // InternalSolverLanguage.g:8564:4: ruleQualifiedName { - before(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_0_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); + } pushFollow(FOLLOW_2); - rulePatternBody(); + ruleQualifiedName(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); + } + + } - after(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_0_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0()); + } } @@ -16366,29 +28054,45 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__BodiesAssignment_4_1_0" + // $ANTLR end "rule__TypedStarArgument__TypeAssignment_0" - // $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 { + // $ANTLR start "rule__Reference__ReferredAssignment" + // InternalSolverLanguage.g:8575:1: rule__Reference__ReferredAssignment : ( ( ruleQualifiedName ) ) ; + public final void rule__Reference__ReferredAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5308:1: ( ( rulePatternBody ) ) - // InternalSolverLanguage.g:5309:2: ( rulePatternBody ) + // InternalSolverLanguage.g:8579:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguage.g:8580:2: ( ( ruleQualifiedName ) ) + { + // InternalSolverLanguage.g:8580:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguage.g:8581:3: ( ruleQualifiedName ) { - // InternalSolverLanguage.g:5309:2: ( rulePatternBody ) - // InternalSolverLanguage.g:5310:3: rulePatternBody + if ( state.backtracking==0 ) { + before(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0()); + } + // InternalSolverLanguage.g:8582:3: ( ruleQualifiedName ) + // InternalSolverLanguage.g:8583:4: ruleQualifiedName { - before(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_1_1_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1()); + } pushFollow(FOLLOW_2); - rulePatternBody(); + ruleQualifiedName(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1()); + } + + } - after(grammarAccess.getPredicateAccess().getBodiesPatternBodyParserRuleCall_4_1_1_1_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0()); + } } @@ -16407,29 +28111,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Predicate__BodiesAssignment_4_1_1_1" + // $ANTLR end "rule__Reference__ReferredAssignment" - // $ANTLR start "rule__Parameter__VariableAssignment_0" - // InternalSolverLanguage.g:5319:1: rule__Parameter__VariableAssignment_0 : ( ruleVariable ) ; - public final void rule__Parameter__VariableAssignment_0() throws RecognitionException { + // $ANTLR start "rule__Interval__LowerBoundAssignment_1" + // InternalSolverLanguage.g:8594:1: rule__Interval__LowerBoundAssignment_1 : ( ruleExpression ) ; + public final void rule__Interval__LowerBoundAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5323:1: ( ( ruleVariable ) ) - // InternalSolverLanguage.g:5324:2: ( ruleVariable ) + // InternalSolverLanguage.g:8598:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:8599:2: ( ruleExpression ) { - // InternalSolverLanguage.g:5324:2: ( ruleVariable ) - // InternalSolverLanguage.g:5325:3: ruleVariable + // InternalSolverLanguage.g:8599:2: ( ruleExpression ) + // InternalSolverLanguage.g:8600:3: ruleExpression { - before(grammarAccess.getParameterAccess().getVariableVariableParserRuleCall_0_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0()); + } pushFollow(FOLLOW_2); - ruleVariable(); + ruleExpression(); state._fsp--; - - after(grammarAccess.getParameterAccess().getVariableVariableParserRuleCall_0_0()); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0()); + } } @@ -16448,29 +28156,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Parameter__VariableAssignment_0" + // $ANTLR end "rule__Interval__LowerBoundAssignment_1" - // $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 { + // $ANTLR start "rule__Interval__UpperBoundAssignment_3" + // InternalSolverLanguage.g:8609:1: rule__Interval__UpperBoundAssignment_3 : ( ruleExpression ) ; + public final void rule__Interval__UpperBoundAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5338:1: ( ( ruleSymbol ) ) - // InternalSolverLanguage.g:5339:2: ( ruleSymbol ) + // InternalSolverLanguage.g:8613:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:8614:2: ( ruleExpression ) { - // InternalSolverLanguage.g:5339:2: ( ruleSymbol ) - // InternalSolverLanguage.g:5340:3: ruleSymbol + // InternalSolverLanguage.g:8614:2: ( ruleExpression ) + // InternalSolverLanguage.g:8615:3: ruleExpression { - before(grammarAccess.getParameterAccess().getTypeSymbolParserRuleCall_1_1_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0()); + } pushFollow(FOLLOW_2); - ruleSymbol(); + ruleExpression(); state._fsp--; - - after(grammarAccess.getParameterAccess().getTypeSymbolParserRuleCall_1_1_0()); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0()); + } } @@ -16489,29 +28201,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Parameter__TypeAssignment_1_1" + // $ANTLR end "rule__Interval__UpperBoundAssignment_3" - // $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 { + // $ANTLR start "rule__LogicLiteral__ValueAssignment" + // InternalSolverLanguage.g:8624:1: rule__LogicLiteral__ValueAssignment : ( ruleLogicValue ) ; + public final void rule__LogicLiteral__ValueAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5353:1: ( ( ruleConstraint ) ) - // InternalSolverLanguage.g:5354:2: ( ruleConstraint ) + // InternalSolverLanguage.g:8628:1: ( ( ruleLogicValue ) ) + // InternalSolverLanguage.g:8629:2: ( ruleLogicValue ) { - // InternalSolverLanguage.g:5354:2: ( ruleConstraint ) - // InternalSolverLanguage.g:5355:3: ruleConstraint + // InternalSolverLanguage.g:8629:2: ( ruleLogicValue ) + // InternalSolverLanguage.g:8630:3: ruleLogicValue { - before(grammarAccess.getPatternBodyAccess().getConstraintsConstraintParserRuleCall_1_1_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); + } pushFollow(FOLLOW_2); - ruleConstraint(); + ruleLogicValue(); state._fsp--; - - after(grammarAccess.getPatternBodyAccess().getConstraintsConstraintParserRuleCall_1_1_0()); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); + } } @@ -16530,29 +28246,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PatternBody__ConstraintsAssignment_1_1" + // $ANTLR end "rule__LogicLiteral__ValueAssignment" - // $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 { + // $ANTLR start "rule__NumericLiteral__ValueAssignment" + // InternalSolverLanguage.g:8639:1: rule__NumericLiteral__ValueAssignment : ( ruleReal ) ; + public final void rule__NumericLiteral__ValueAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5368:1: ( ( rulePolarity ) ) - // InternalSolverLanguage.g:5369:2: ( rulePolarity ) + // InternalSolverLanguage.g:8643:1: ( ( ruleReal ) ) + // InternalSolverLanguage.g:8644:2: ( ruleReal ) { - // InternalSolverLanguage.g:5369:2: ( rulePolarity ) - // InternalSolverLanguage.g:5370:3: rulePolarity + // InternalSolverLanguage.g:8644:2: ( ruleReal ) + // InternalSolverLanguage.g:8645:3: ruleReal { - before(grammarAccess.getConstraintAccess().getPolarityPolarityParserRuleCall_0_0_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0()); + } pushFollow(FOLLOW_2); - rulePolarity(); + ruleReal(); state._fsp--; - - after(grammarAccess.getConstraintAccess().getPolarityPolarityParserRuleCall_0_0_0()); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0()); + } } @@ -16571,29 +28291,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__PolarityAssignment_0_0" + // $ANTLR end "rule__NumericLiteral__ValueAssignment" - // $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 { + // $ANTLR start "rule__StringLiteral__ValueAssignment" + // InternalSolverLanguage.g:8654:1: rule__StringLiteral__ValueAssignment : ( RULE_STRING ) ; + public final void rule__StringLiteral__ValueAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5383:1: ( ( ruleModelSymbol ) ) - // InternalSolverLanguage.g:5384:2: ( ruleModelSymbol ) + // InternalSolverLanguage.g:8658:1: ( ( RULE_STRING ) ) + // InternalSolverLanguage.g:8659:2: ( RULE_STRING ) { - // InternalSolverLanguage.g:5384:2: ( ruleModelSymbol ) - // InternalSolverLanguage.g:5385:3: ruleModelSymbol + // InternalSolverLanguage.g:8659:2: ( RULE_STRING ) + // InternalSolverLanguage.g:8660:3: RULE_STRING { - before(grammarAccess.getConstraintAccess().getSymbolModelSymbolParserRuleCall_0_1_0()); - pushFollow(FOLLOW_2); - ruleModelSymbol(); - - state._fsp--; - - after(grammarAccess.getConstraintAccess().getSymbolModelSymbolParserRuleCall_0_1_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0()); + } + match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0()); + } } @@ -16612,29 +28332,41 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__SymbolAssignment_0_1" + // $ANTLR end "rule__StringLiteral__ValueAssignment" - // $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 { + // $ANTLR start "rule__ClassDefinition__AbstractAssignment_0" + // InternalSolverLanguage.g:8669:1: rule__ClassDefinition__AbstractAssignment_0 : ( ( 'abstract' ) ) ; + public final void rule__ClassDefinition__AbstractAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5398:1: ( ( ruleLiteral ) ) - // InternalSolverLanguage.g:5399:2: ( ruleLiteral ) + // InternalSolverLanguage.g:8673:1: ( ( ( 'abstract' ) ) ) + // InternalSolverLanguage.g:8674:2: ( ( 'abstract' ) ) { - // InternalSolverLanguage.g:5399:2: ( ruleLiteral ) - // InternalSolverLanguage.g:5400:3: ruleLiteral + // InternalSolverLanguage.g:8674:2: ( ( 'abstract' ) ) + // InternalSolverLanguage.g:8675:3: ( 'abstract' ) { - before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_1_0()); - pushFollow(FOLLOW_2); - ruleLiteral(); + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); + } + // InternalSolverLanguage.g:8676:3: ( 'abstract' ) + // InternalSolverLanguage.g:8677:4: 'abstract' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); + } + match(input,73,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); + } - state._fsp--; + } - after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_1_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); + } } @@ -16653,29 +28385,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__ParamsAssignment_0_2_1" + // $ANTLR end "rule__ClassDefinition__AbstractAssignment_0" - // $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 { + // $ANTLR start "rule__ClassDefinition__NameAssignment_2" + // InternalSolverLanguage.g:8688:1: rule__ClassDefinition__NameAssignment_2 : ( RULE_ID ) ; + public final void rule__ClassDefinition__NameAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5413:1: ( ( ruleLiteral ) ) - // InternalSolverLanguage.g:5414:2: ( ruleLiteral ) + // InternalSolverLanguage.g:8692:1: ( ( RULE_ID ) ) + // InternalSolverLanguage.g:8693:2: ( RULE_ID ) { - // InternalSolverLanguage.g:5414:2: ( ruleLiteral ) - // InternalSolverLanguage.g:5415:3: ruleLiteral + // InternalSolverLanguage.g:8693:2: ( RULE_ID ) + // InternalSolverLanguage.g:8694:3: RULE_ID { - before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_2_1_0()); - pushFollow(FOLLOW_2); - ruleLiteral(); - - state._fsp--; - - after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_0_2_2_1_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0()); + } + match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0()); + } } @@ -16694,29 +28426,45 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__ParamsAssignment_0_2_2_1" + // $ANTLR end "rule__ClassDefinition__NameAssignment_2" - // $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 { + // $ANTLR start "rule__ClassDefinition__SuperclassesAssignment_3_1" + // InternalSolverLanguage.g:8703:1: rule__ClassDefinition__SuperclassesAssignment_3_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__ClassDefinition__SuperclassesAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5428:1: ( ( ruleClosureType ) ) - // InternalSolverLanguage.g:5429:2: ( ruleClosureType ) + // InternalSolverLanguage.g:8707:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguage.g:8708:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguage.g:5429:2: ( ruleClosureType ) - // InternalSolverLanguage.g:5430:3: ruleClosureType + // InternalSolverLanguage.g:8708:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguage.g:8709:3: ( ruleQualifiedName ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0()); + } + // InternalSolverLanguage.g:8710:3: ( ruleQualifiedName ) + // InternalSolverLanguage.g:8711:4: ruleQualifiedName { - before(grammarAccess.getConstraintAccess().getClosureTypeClosureTypeParserRuleCall_1_0_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); + } pushFollow(FOLLOW_2); - ruleClosureType(); + ruleQualifiedName(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); + } + + } - after(grammarAccess.getConstraintAccess().getClosureTypeClosureTypeParserRuleCall_1_0_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0()); + } } @@ -16735,29 +28483,45 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__ClosureTypeAssignment_1_0" + // $ANTLR end "rule__ClassDefinition__SuperclassesAssignment_3_1" - // $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 { + // $ANTLR start "rule__ClassDefinition__SuperclassesAssignment_3_2_1" + // InternalSolverLanguage.g:8722:1: rule__ClassDefinition__SuperclassesAssignment_3_2_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__ClassDefinition__SuperclassesAssignment_3_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5443:1: ( ( ruleLiteral ) ) - // InternalSolverLanguage.g:5444:2: ( ruleLiteral ) + // InternalSolverLanguage.g:8726:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguage.g:8727:2: ( ( ruleQualifiedName ) ) + { + // InternalSolverLanguage.g:8727:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguage.g:8728:3: ( ruleQualifiedName ) { - // InternalSolverLanguage.g:5444:2: ( ruleLiteral ) - // InternalSolverLanguage.g:5445:3: ruleLiteral + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0()); + } + // InternalSolverLanguage.g:8729:3: ( ruleQualifiedName ) + // InternalSolverLanguage.g:8730:4: ruleQualifiedName { - before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_2_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); + } pushFollow(FOLLOW_2); - ruleLiteral(); + ruleQualifiedName(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); + } + + } - after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_2_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0()); + } } @@ -16776,29 +28540,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__ParamsAssignment_1_2" + // $ANTLR end "rule__ClassDefinition__SuperclassesAssignment_3_2_1" - // $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 { + // $ANTLR start "rule__ClassDefinition__MembersAssignment_5" + // InternalSolverLanguage.g:8741:1: rule__ClassDefinition__MembersAssignment_5 : ( ruleMemberDefinition ) ; + public final void rule__ClassDefinition__MembersAssignment_5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5458:1: ( ( ruleLiteral ) ) - // InternalSolverLanguage.g:5459:2: ( ruleLiteral ) + // InternalSolverLanguage.g:8745:1: ( ( ruleMemberDefinition ) ) + // InternalSolverLanguage.g:8746:2: ( ruleMemberDefinition ) { - // InternalSolverLanguage.g:5459:2: ( ruleLiteral ) - // InternalSolverLanguage.g:5460:3: ruleLiteral + // InternalSolverLanguage.g:8746:2: ( ruleMemberDefinition ) + // InternalSolverLanguage.g:8747:3: ruleMemberDefinition { - before(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_3_1_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0()); + } pushFollow(FOLLOW_2); - ruleLiteral(); + ruleMemberDefinition(); state._fsp--; - - after(grammarAccess.getConstraintAccess().getParamsLiteralParserRuleCall_1_3_1_0()); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0()); + } } @@ -16817,25 +28585,41 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Constraint__ParamsAssignment_1_3_1" + // $ANTLR end "rule__ClassDefinition__MembersAssignment_5" - // $ANTLR start "rule__Variable__NameAssignment" - // InternalSolverLanguage.g:5469:1: rule__Variable__NameAssignment : ( RULE_ID ) ; - public final void rule__Variable__NameAssignment() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__ContainmentAssignment_0" + // InternalSolverLanguage.g:8756:1: rule__MemberDefinition__ContainmentAssignment_0 : ( ( 'contains' ) ) ; + public final void rule__MemberDefinition__ContainmentAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5473:1: ( ( RULE_ID ) ) - // InternalSolverLanguage.g:5474:2: ( RULE_ID ) + // InternalSolverLanguage.g:8760:1: ( ( ( 'contains' ) ) ) + // InternalSolverLanguage.g:8761:2: ( ( 'contains' ) ) + { + // InternalSolverLanguage.g:8761:2: ( ( 'contains' ) ) + // InternalSolverLanguage.g:8762:3: ( 'contains' ) { - // InternalSolverLanguage.g:5474:2: ( RULE_ID ) - // InternalSolverLanguage.g:5475:3: RULE_ID + if ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); + } + // InternalSolverLanguage.g:8763:3: ( 'contains' ) + // InternalSolverLanguage.g:8764:4: 'contains' { - before(grammarAccess.getVariableAccess().getNameIDTerminalRuleCall_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getVariableAccess().getNameIDTerminalRuleCall_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); + } + match(input,74,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); + } + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); + } } @@ -16854,29 +28638,45 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Variable__NameAssignment" + // $ANTLR end "rule__MemberDefinition__ContainmentAssignment_0" - // $ANTLR start "rule__AllInstances__SymbolAssignment_1" - // InternalSolverLanguage.g:5484:1: rule__AllInstances__SymbolAssignment_1 : ( ruleSymbol ) ; - public final void rule__AllInstances__SymbolAssignment_1() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__TypeAssignment_1" + // InternalSolverLanguage.g:8775:1: rule__MemberDefinition__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__MemberDefinition__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5488:1: ( ( ruleSymbol ) ) - // InternalSolverLanguage.g:5489:2: ( ruleSymbol ) + // InternalSolverLanguage.g:8779:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguage.g:8780:2: ( ( ruleQualifiedName ) ) + { + // InternalSolverLanguage.g:8780:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguage.g:8781:3: ( ruleQualifiedName ) { - // InternalSolverLanguage.g:5489:2: ( ruleSymbol ) - // InternalSolverLanguage.g:5490:3: ruleSymbol + if ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + } + // InternalSolverLanguage.g:8782:3: ( ruleQualifiedName ) + // InternalSolverLanguage.g:8783:4: ruleQualifiedName { - before(grammarAccess.getAllInstancesAccess().getSymbolSymbolParserRuleCall_1_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); + } pushFollow(FOLLOW_2); - ruleSymbol(); + ruleQualifiedName(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); + } + + } - after(grammarAccess.getAllInstancesAccess().getSymbolSymbolParserRuleCall_1_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + } } @@ -16895,29 +28695,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AllInstances__SymbolAssignment_1" + // $ANTLR end "rule__MemberDefinition__TypeAssignment_1" - // $ANTLR start "rule__DefaultInterpretation__InterpretationAssignment_1" - // InternalSolverLanguage.g:5499:1: rule__DefaultInterpretation__InterpretationAssignment_1 : ( ruleBasicInterpretation ) ; - public final void rule__DefaultInterpretation__InterpretationAssignment_1() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__MultiplicityAssignment_2" + // InternalSolverLanguage.g:8794:1: rule__MemberDefinition__MultiplicityAssignment_2 : ( ruleMultiplicity ) ; + public final void rule__MemberDefinition__MultiplicityAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5503:1: ( ( ruleBasicInterpretation ) ) - // InternalSolverLanguage.g:5504:2: ( ruleBasicInterpretation ) + // InternalSolverLanguage.g:8798:1: ( ( ruleMultiplicity ) ) + // InternalSolverLanguage.g:8799:2: ( ruleMultiplicity ) { - // InternalSolverLanguage.g:5504:2: ( ruleBasicInterpretation ) - // InternalSolverLanguage.g:5505:3: ruleBasicInterpretation + // InternalSolverLanguage.g:8799:2: ( ruleMultiplicity ) + // InternalSolverLanguage.g:8800:3: ruleMultiplicity { - before(grammarAccess.getDefaultInterpretationAccess().getInterpretationBasicInterpretationParserRuleCall_1_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); + } pushFollow(FOLLOW_2); - ruleBasicInterpretation(); + ruleMultiplicity(); state._fsp--; - - after(grammarAccess.getDefaultInterpretationAccess().getInterpretationBasicInterpretationParserRuleCall_1_0()); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); + } } @@ -16936,33 +28740,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultInterpretation__InterpretationAssignment_1" + // $ANTLR end "rule__MemberDefinition__MultiplicityAssignment_2" - // $ANTLR start "rule__ClassInterpretation__AbstractAssignment_0" - // InternalSolverLanguage.g:5514:1: rule__ClassInterpretation__AbstractAssignment_0 : ( ( 'abstract' ) ) ; - public final void rule__ClassInterpretation__AbstractAssignment_0() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__NameAssignment_3" + // InternalSolverLanguage.g:8809:1: rule__MemberDefinition__NameAssignment_3 : ( RULE_ID ) ; + public final void rule__MemberDefinition__NameAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5518:1: ( ( ( 'abstract' ) ) ) - // InternalSolverLanguage.g:5519:2: ( ( 'abstract' ) ) - { - // InternalSolverLanguage.g:5519:2: ( ( 'abstract' ) ) - // InternalSolverLanguage.g:5520:3: ( 'abstract' ) + // InternalSolverLanguage.g:8813:1: ( ( RULE_ID ) ) + // InternalSolverLanguage.g:8814:2: ( RULE_ID ) { - before(grammarAccess.getClassInterpretationAccess().getAbstractAbstractKeyword_0_0()); - // InternalSolverLanguage.g:5521:3: ( 'abstract' ) - // InternalSolverLanguage.g:5522:4: 'abstract' + // InternalSolverLanguage.g:8814:2: ( RULE_ID ) + // InternalSolverLanguage.g:8815:3: RULE_ID { - before(grammarAccess.getClassInterpretationAccess().getAbstractAbstractKeyword_0_0()); - match(input,40,FOLLOW_2); - after(grammarAccess.getClassInterpretationAccess().getAbstractAbstractKeyword_0_0()); - + if ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0()); + } + match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0()); } - - after(grammarAccess.getClassInterpretationAccess().getAbstractAbstractKeyword_0_0()); } @@ -16981,29 +28781,45 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__AbstractAssignment_0" + // $ANTLR end "rule__MemberDefinition__NameAssignment_3" - // $ANTLR start "rule__ClassInterpretation__SymbolAssignment_2" - // InternalSolverLanguage.g:5533:1: rule__ClassInterpretation__SymbolAssignment_2 : ( ruleModelSymbol ) ; - public final void rule__ClassInterpretation__SymbolAssignment_2() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__OppositeAssignment_4_1" + // InternalSolverLanguage.g:8824:1: rule__MemberDefinition__OppositeAssignment_4_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__MemberDefinition__OppositeAssignment_4_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5537:1: ( ( ruleModelSymbol ) ) - // InternalSolverLanguage.g:5538:2: ( ruleModelSymbol ) + // InternalSolverLanguage.g:8828:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguage.g:8829:2: ( ( ruleQualifiedName ) ) + { + // InternalSolverLanguage.g:8829:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguage.g:8830:3: ( ruleQualifiedName ) { - // InternalSolverLanguage.g:5538:2: ( ruleModelSymbol ) - // InternalSolverLanguage.g:5539:3: ruleModelSymbol + if ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0()); + } + // InternalSolverLanguage.g:8831:3: ( ruleQualifiedName ) + // InternalSolverLanguage.g:8832:4: ruleQualifiedName { - before(grammarAccess.getClassInterpretationAccess().getSymbolModelSymbolParserRuleCall_2_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1()); + } pushFollow(FOLLOW_2); - ruleModelSymbol(); + ruleQualifiedName(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1()); + } + + } - after(grammarAccess.getClassInterpretationAccess().getSymbolModelSymbolParserRuleCall_2_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0()); + } } @@ -17022,29 +28838,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__SymbolAssignment_2" + // $ANTLR end "rule__MemberDefinition__OppositeAssignment_4_1" - // $ANTLR start "rule__ClassInterpretation__SupertypesAssignment_3_1" - // InternalSolverLanguage.g:5548:1: rule__ClassInterpretation__SupertypesAssignment_3_1 : ( ruleModelSymbol ) ; - public final void rule__ClassInterpretation__SupertypesAssignment_3_1() throws RecognitionException { + // $ANTLR start "rule__ExactMultiplicity__MultiplicityAssignment_1" + // InternalSolverLanguage.g:8843:1: rule__ExactMultiplicity__MultiplicityAssignment_1 : ( ruleUpperMultiplicty ) ; + public final void rule__ExactMultiplicity__MultiplicityAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5552:1: ( ( ruleModelSymbol ) ) - // InternalSolverLanguage.g:5553:2: ( ruleModelSymbol ) + // InternalSolverLanguage.g:8847:1: ( ( ruleUpperMultiplicty ) ) + // InternalSolverLanguage.g:8848:2: ( ruleUpperMultiplicty ) { - // InternalSolverLanguage.g:5553:2: ( ruleModelSymbol ) - // InternalSolverLanguage.g:5554:3: ruleModelSymbol + // InternalSolverLanguage.g:8848:2: ( ruleUpperMultiplicty ) + // InternalSolverLanguage.g:8849:3: ruleUpperMultiplicty { - before(grammarAccess.getClassInterpretationAccess().getSupertypesModelSymbolParserRuleCall_3_1_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0()); + } pushFollow(FOLLOW_2); - ruleModelSymbol(); + ruleUpperMultiplicty(); state._fsp--; - - after(grammarAccess.getClassInterpretationAccess().getSupertypesModelSymbolParserRuleCall_3_1_0()); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0()); + } } @@ -17063,29 +28883,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__SupertypesAssignment_3_1" + // $ANTLR end "rule__ExactMultiplicity__MultiplicityAssignment_1" - // $ANTLR start "rule__ClassInterpretation__FieltAssignment_5" - // InternalSolverLanguage.g:5563:1: rule__ClassInterpretation__FieltAssignment_5 : ( ruleFieldRelationInterpretation ) ; - public final void rule__ClassInterpretation__FieltAssignment_5() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__LowerBoundAssignment_1" + // InternalSolverLanguage.g:8858:1: rule__BoundedMultiplicity__LowerBoundAssignment_1 : ( RULE_INT ) ; + public final void rule__BoundedMultiplicity__LowerBoundAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5567:1: ( ( ruleFieldRelationInterpretation ) ) - // InternalSolverLanguage.g:5568:2: ( ruleFieldRelationInterpretation ) + // InternalSolverLanguage.g:8862:1: ( ( RULE_INT ) ) + // InternalSolverLanguage.g:8863:2: ( RULE_INT ) { - // InternalSolverLanguage.g:5568:2: ( ruleFieldRelationInterpretation ) - // InternalSolverLanguage.g:5569:3: ruleFieldRelationInterpretation + // InternalSolverLanguage.g:8863:2: ( RULE_INT ) + // InternalSolverLanguage.g:8864:3: RULE_INT { - before(grammarAccess.getClassInterpretationAccess().getFieltFieldRelationInterpretationParserRuleCall_5_0()); - pushFollow(FOLLOW_2); - ruleFieldRelationInterpretation(); - - state._fsp--; - - after(grammarAccess.getClassInterpretationAccess().getFieltFieldRelationInterpretationParserRuleCall_5_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0()); + } + match(input,RULE_INT,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0()); + } } @@ -17104,29 +28924,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassInterpretation__FieltAssignment_5" + // $ANTLR end "rule__BoundedMultiplicity__LowerBoundAssignment_1" - // $ANTLR start "rule__EnumInterpretation__SymbolAssignment_1" - // InternalSolverLanguage.g:5578:1: rule__EnumInterpretation__SymbolAssignment_1 : ( ruleModelSymbol ) ; - public final void rule__EnumInterpretation__SymbolAssignment_1() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__UpperBoundAssignment_3" + // InternalSolverLanguage.g:8873:1: rule__BoundedMultiplicity__UpperBoundAssignment_3 : ( ruleUpperMultiplicty ) ; + public final void rule__BoundedMultiplicity__UpperBoundAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5582:1: ( ( ruleModelSymbol ) ) - // InternalSolverLanguage.g:5583:2: ( ruleModelSymbol ) + // InternalSolverLanguage.g:8877:1: ( ( ruleUpperMultiplicty ) ) + // InternalSolverLanguage.g:8878:2: ( ruleUpperMultiplicty ) { - // InternalSolverLanguage.g:5583:2: ( ruleModelSymbol ) - // InternalSolverLanguage.g:5584:3: ruleModelSymbol + // InternalSolverLanguage.g:8878:2: ( ruleUpperMultiplicty ) + // InternalSolverLanguage.g:8879:3: ruleUpperMultiplicty { - before(grammarAccess.getEnumInterpretationAccess().getSymbolModelSymbolParserRuleCall_1_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0()); + } pushFollow(FOLLOW_2); - ruleModelSymbol(); + ruleUpperMultiplicty(); state._fsp--; - - after(grammarAccess.getEnumInterpretationAccess().getSymbolModelSymbolParserRuleCall_1_0()); + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0()); + } } @@ -17145,29 +28969,45 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EnumInterpretation__SymbolAssignment_1" + // $ANTLR end "rule__BoundedMultiplicity__UpperBoundAssignment_3" - // $ANTLR start "rule__EnumInterpretation__ObjectsAssignment_3" - // InternalSolverLanguage.g:5593:1: rule__EnumInterpretation__ObjectsAssignment_3 : ( ruleNamedObject ) ; - public final void rule__EnumInterpretation__ObjectsAssignment_3() throws RecognitionException { + // $ANTLR start "rule__ExactScopeDefinition__TypeAssignment_1" + // InternalSolverLanguage.g:8888:1: rule__ExactScopeDefinition__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__ExactScopeDefinition__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5597:1: ( ( ruleNamedObject ) ) - // InternalSolverLanguage.g:5598:2: ( ruleNamedObject ) + // InternalSolverLanguage.g:8892:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguage.g:8893:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguage.g:5598:2: ( ruleNamedObject ) - // InternalSolverLanguage.g:5599:3: ruleNamedObject + // InternalSolverLanguage.g:8893:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguage.g:8894:3: ( ruleQualifiedName ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + } + // InternalSolverLanguage.g:8895:3: ( ruleQualifiedName ) + // InternalSolverLanguage.g:8896:4: ruleQualifiedName { - before(grammarAccess.getEnumInterpretationAccess().getObjectsNamedObjectParserRuleCall_3_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); + } pushFollow(FOLLOW_2); - ruleNamedObject(); + ruleQualifiedName(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); + } + + } - after(grammarAccess.getEnumInterpretationAccess().getObjectsNamedObjectParserRuleCall_3_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + } } @@ -17186,33 +29026,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EnumInterpretation__ObjectsAssignment_3" + // $ANTLR end "rule__ExactScopeDefinition__TypeAssignment_1" - // $ANTLR start "rule__FieldRelationInterpretation__ContainmentAssignment_0" - // InternalSolverLanguage.g:5608:1: rule__FieldRelationInterpretation__ContainmentAssignment_0 : ( ( 'containment' ) ) ; - public final void rule__FieldRelationInterpretation__ContainmentAssignment_0() throws RecognitionException { + // $ANTLR start "rule__ExactScopeDefinition__ExactScopeAssignment_3" + // InternalSolverLanguage.g:8907:1: rule__ExactScopeDefinition__ExactScopeAssignment_3 : ( RULE_INT ) ; + public final void rule__ExactScopeDefinition__ExactScopeAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5612:1: ( ( ( 'containment' ) ) ) - // InternalSolverLanguage.g:5613:2: ( ( 'containment' ) ) - { - // InternalSolverLanguage.g:5613:2: ( ( 'containment' ) ) - // InternalSolverLanguage.g:5614:3: ( 'containment' ) + // InternalSolverLanguage.g:8911:1: ( ( RULE_INT ) ) + // InternalSolverLanguage.g:8912:2: ( RULE_INT ) { - before(grammarAccess.getFieldRelationInterpretationAccess().getContainmentContainmentKeyword_0_0()); - // InternalSolverLanguage.g:5615:3: ( 'containment' ) - // InternalSolverLanguage.g:5616:4: 'containment' + // InternalSolverLanguage.g:8912:2: ( RULE_INT ) + // InternalSolverLanguage.g:8913:3: RULE_INT { - before(grammarAccess.getFieldRelationInterpretationAccess().getContainmentContainmentKeyword_0_0()); - match(input,41,FOLLOW_2); - after(grammarAccess.getFieldRelationInterpretationAccess().getContainmentContainmentKeyword_0_0()); - + if ( state.backtracking==0 ) { + before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0()); + } + match(input,RULE_INT,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0()); } - - after(grammarAccess.getFieldRelationInterpretationAccess().getContainmentContainmentKeyword_0_0()); } @@ -17231,29 +29067,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__FieldRelationInterpretation__ContainmentAssignment_0" + // $ANTLR end "rule__ExactScopeDefinition__ExactScopeAssignment_3" - // $ANTLR start "rule__FieldRelationInterpretation__SymbolAssignment_1" - // InternalSolverLanguage.g:5627:1: rule__FieldRelationInterpretation__SymbolAssignment_1 : ( ruleModelSymbol ) ; - public final void rule__FieldRelationInterpretation__SymbolAssignment_1() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0" + // InternalSolverLanguage.g:8922:1: rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 : ( RULE_INT ) ; + public final void rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5631:1: ( ( ruleModelSymbol ) ) - // InternalSolverLanguage.g:5632:2: ( ruleModelSymbol ) + // InternalSolverLanguage.g:8926:1: ( ( RULE_INT ) ) + // InternalSolverLanguage.g:8927:2: ( RULE_INT ) { - // InternalSolverLanguage.g:5632:2: ( ruleModelSymbol ) - // InternalSolverLanguage.g:5633:3: ruleModelSymbol + // InternalSolverLanguage.g:8927:2: ( RULE_INT ) + // InternalSolverLanguage.g:8928:3: RULE_INT { - before(grammarAccess.getFieldRelationInterpretationAccess().getSymbolModelSymbolParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleModelSymbol(); - - state._fsp--; - - after(grammarAccess.getFieldRelationInterpretationAccess().getSymbolModelSymbolParserRuleCall_1_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); + } + match(input,RULE_INT,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); + } } @@ -17272,29 +29108,45 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__FieldRelationInterpretation__SymbolAssignment_1" + // $ANTLR end "rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0" - // $ANTLR start "rule__FieldRelationInterpretation__MultiplicityAssignment_3" - // InternalSolverLanguage.g:5642:1: rule__FieldRelationInterpretation__MultiplicityAssignment_3 : ( ruleMultiplicityDefinition ) ; - public final void rule__FieldRelationInterpretation__MultiplicityAssignment_3() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__TypeAssignment_1_0_1" + // InternalSolverLanguage.g:8937:1: rule__BoundedScopeDefinition__TypeAssignment_1_0_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__BoundedScopeDefinition__TypeAssignment_1_0_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5646:1: ( ( ruleMultiplicityDefinition ) ) - // InternalSolverLanguage.g:5647:2: ( ruleMultiplicityDefinition ) + // InternalSolverLanguage.g:8941:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguage.g:8942:2: ( ( ruleQualifiedName ) ) + { + // InternalSolverLanguage.g:8942:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguage.g:8943:3: ( ruleQualifiedName ) { - // InternalSolverLanguage.g:5647:2: ( ruleMultiplicityDefinition ) - // InternalSolverLanguage.g:5648:3: ruleMultiplicityDefinition + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0()); + } + // InternalSolverLanguage.g:8944:3: ( ruleQualifiedName ) + // InternalSolverLanguage.g:8945:4: ruleQualifiedName { - before(grammarAccess.getFieldRelationInterpretationAccess().getMultiplicityMultiplicityDefinitionParserRuleCall_3_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1()); + } pushFollow(FOLLOW_2); - ruleMultiplicityDefinition(); + ruleQualifiedName(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1()); + } + + } - after(grammarAccess.getFieldRelationInterpretationAccess().getMultiplicityMultiplicityDefinitionParserRuleCall_3_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0()); + } } @@ -17313,29 +29165,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__FieldRelationInterpretation__MultiplicityAssignment_3" + // $ANTLR end "rule__BoundedScopeDefinition__TypeAssignment_1_0_1" - // $ANTLR start "rule__FieldRelationInterpretation__TargetAssignment_4" - // InternalSolverLanguage.g:5657:1: rule__FieldRelationInterpretation__TargetAssignment_4 : ( ruleSymbol ) ; - public final void rule__FieldRelationInterpretation__TargetAssignment_4() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3" + // InternalSolverLanguage.g:8956:1: rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 : ( RULE_INT ) ; + public final void rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5661:1: ( ( ruleSymbol ) ) - // InternalSolverLanguage.g:5662:2: ( ruleSymbol ) + // InternalSolverLanguage.g:8960:1: ( ( RULE_INT ) ) + // InternalSolverLanguage.g:8961:2: ( RULE_INT ) { - // InternalSolverLanguage.g:5662:2: ( ruleSymbol ) - // InternalSolverLanguage.g:5663:3: ruleSymbol + // InternalSolverLanguage.g:8961:2: ( RULE_INT ) + // InternalSolverLanguage.g:8962:3: RULE_INT { - before(grammarAccess.getFieldRelationInterpretationAccess().getTargetSymbolParserRuleCall_4_0()); - pushFollow(FOLLOW_2); - ruleSymbol(); - - state._fsp--; - - after(grammarAccess.getFieldRelationInterpretationAccess().getTargetSymbolParserRuleCall_4_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); + } + match(input,RULE_INT,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); + } } @@ -17354,33 +29206,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__FieldRelationInterpretation__TargetAssignment_4" + // $ANTLR end "rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3" - // $ANTLR start "rule__GlobalRelationInterpretation__ContainmentAssignment_0" - // InternalSolverLanguage.g:5672:1: rule__GlobalRelationInterpretation__ContainmentAssignment_0 : ( ( 'containment' ) ) ; - public final void rule__GlobalRelationInterpretation__ContainmentAssignment_0() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0" + // InternalSolverLanguage.g:8971:1: rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 : ( RULE_INT ) ; + public final void rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5676:1: ( ( ( 'containment' ) ) ) - // InternalSolverLanguage.g:5677:2: ( ( 'containment' ) ) + // InternalSolverLanguage.g:8975:1: ( ( RULE_INT ) ) + // InternalSolverLanguage.g:8976:2: ( RULE_INT ) { - // InternalSolverLanguage.g:5677:2: ( ( 'containment' ) ) - // InternalSolverLanguage.g:5678:3: ( 'containment' ) + // InternalSolverLanguage.g:8976:2: ( RULE_INT ) + // InternalSolverLanguage.g:8977:3: RULE_INT { - before(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentContainmentKeyword_0_0()); - // InternalSolverLanguage.g:5679:3: ( 'containment' ) - // InternalSolverLanguage.g:5680:4: 'containment' - { - before(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentContainmentKeyword_0_0()); - match(input,41,FOLLOW_2); - after(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentContainmentKeyword_0_0()); - + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); + } + match(input,RULE_INT,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); } - - after(grammarAccess.getGlobalRelationInterpretationAccess().getContainmentContainmentKeyword_0_0()); } @@ -17399,29 +29247,45 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__ContainmentAssignment_0" + // $ANTLR end "rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0" - // $ANTLR start "rule__GlobalRelationInterpretation__SymbolAssignment_2" - // InternalSolverLanguage.g:5691:1: rule__GlobalRelationInterpretation__SymbolAssignment_2 : ( ruleModelSymbol ) ; - public final void rule__GlobalRelationInterpretation__SymbolAssignment_2() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__TypeAssignment_1_1_2" + // InternalSolverLanguage.g:8986:1: rule__BoundedScopeDefinition__TypeAssignment_1_1_2 : ( ( ruleQualifiedName ) ) ; + public final void rule__BoundedScopeDefinition__TypeAssignment_1_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5695:1: ( ( ruleModelSymbol ) ) - // InternalSolverLanguage.g:5696:2: ( ruleModelSymbol ) + // InternalSolverLanguage.g:8990:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguage.g:8991:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguage.g:5696:2: ( ruleModelSymbol ) - // InternalSolverLanguage.g:5697:3: ruleModelSymbol + // InternalSolverLanguage.g:8991:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguage.g:8992:3: ( ruleQualifiedName ) { - before(grammarAccess.getGlobalRelationInterpretationAccess().getSymbolModelSymbolParserRuleCall_2_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0()); + } + // InternalSolverLanguage.g:8993:3: ( ruleQualifiedName ) + // InternalSolverLanguage.g:8994:4: ruleQualifiedName + { + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1()); + } pushFollow(FOLLOW_2); - ruleModelSymbol(); + ruleQualifiedName(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1()); + } - after(grammarAccess.getGlobalRelationInterpretationAccess().getSymbolModelSymbolParserRuleCall_2_0()); + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0()); + } } @@ -17440,29 +29304,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__SymbolAssignment_2" + // $ANTLR end "rule__BoundedScopeDefinition__TypeAssignment_1_1_2" - // $ANTLR start "rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4" - // InternalSolverLanguage.g:5706:1: rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4 : ( ruleMultiplicityDefinition ) ; - public final void rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1" + // InternalSolverLanguage.g:9005:1: rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 : ( RULE_INT ) ; + public final void rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5710:1: ( ( ruleMultiplicityDefinition ) ) - // InternalSolverLanguage.g:5711:2: ( ruleMultiplicityDefinition ) + // InternalSolverLanguage.g:9009:1: ( ( RULE_INT ) ) + // InternalSolverLanguage.g:9010:2: ( RULE_INT ) { - // InternalSolverLanguage.g:5711:2: ( ruleMultiplicityDefinition ) - // InternalSolverLanguage.g:5712:3: ruleMultiplicityDefinition + // InternalSolverLanguage.g:9010:2: ( RULE_INT ) + // InternalSolverLanguage.g:9011:3: RULE_INT { - before(grammarAccess.getGlobalRelationInterpretationAccess().getSourceMultiplicityMultiplicityDefinitionParserRuleCall_4_0()); - pushFollow(FOLLOW_2); - ruleMultiplicityDefinition(); - - state._fsp--; - - after(grammarAccess.getGlobalRelationInterpretationAccess().getSourceMultiplicityMultiplicityDefinitionParserRuleCall_4_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); + } + match(input,RULE_INT,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); + } } @@ -17481,29 +29345,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__SourceMultiplicityAssignment_4" + // $ANTLR end "rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1" - // $ANTLR start "rule__GlobalRelationInterpretation__SourceAssignment_5" - // InternalSolverLanguage.g:5721:1: rule__GlobalRelationInterpretation__SourceAssignment_5 : ( ruleSymbol ) ; - public final void rule__GlobalRelationInterpretation__SourceAssignment_5() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0" + // InternalSolverLanguage.g:9020:1: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 : ( RULE_INT ) ; + public final void rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5725:1: ( ( ruleSymbol ) ) - // InternalSolverLanguage.g:5726:2: ( ruleSymbol ) + // InternalSolverLanguage.g:9024:1: ( ( RULE_INT ) ) + // InternalSolverLanguage.g:9025:2: ( RULE_INT ) { - // InternalSolverLanguage.g:5726:2: ( ruleSymbol ) - // InternalSolverLanguage.g:5727:3: ruleSymbol + // InternalSolverLanguage.g:9025:2: ( RULE_INT ) + // InternalSolverLanguage.g:9026:3: RULE_INT { - before(grammarAccess.getGlobalRelationInterpretationAccess().getSourceSymbolParserRuleCall_5_0()); - pushFollow(FOLLOW_2); - ruleSymbol(); - - state._fsp--; - - after(grammarAccess.getGlobalRelationInterpretationAccess().getSourceSymbolParserRuleCall_5_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); + } + match(input,RULE_INT,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); + } } @@ -17522,29 +29386,45 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__SourceAssignment_5" + // $ANTLR end "rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0" - // $ANTLR start "rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6" - // InternalSolverLanguage.g:5736:1: rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6 : ( ruleMultiplicityDefinition ) ; - public final void rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2" + // InternalSolverLanguage.g:9035:1: rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 : ( ( ruleQualifiedName ) ) ; + public final void rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5740:1: ( ( ruleMultiplicityDefinition ) ) - // InternalSolverLanguage.g:5741:2: ( ruleMultiplicityDefinition ) + // InternalSolverLanguage.g:9039:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguage.g:9040:2: ( ( ruleQualifiedName ) ) + { + // InternalSolverLanguage.g:9040:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguage.g:9041:3: ( ruleQualifiedName ) { - // InternalSolverLanguage.g:5741:2: ( ruleMultiplicityDefinition ) - // InternalSolverLanguage.g:5742:3: ruleMultiplicityDefinition + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0()); + } + // InternalSolverLanguage.g:9042:3: ( ruleQualifiedName ) + // InternalSolverLanguage.g:9043:4: ruleQualifiedName { - before(grammarAccess.getGlobalRelationInterpretationAccess().getTargetMultiplicityMultiplicityDefinitionParserRuleCall_6_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1()); + } pushFollow(FOLLOW_2); - ruleMultiplicityDefinition(); + ruleQualifiedName(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1()); + } + + } - after(grammarAccess.getGlobalRelationInterpretationAccess().getTargetMultiplicityMultiplicityDefinitionParserRuleCall_6_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0()); + } } @@ -17563,29 +29443,45 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__TargetMultiplicityAssignment_6" + // $ANTLR end "rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2" - // $ANTLR start "rule__GlobalRelationInterpretation__TargetAssignment_7" - // InternalSolverLanguage.g:5751:1: rule__GlobalRelationInterpretation__TargetAssignment_7 : ( ruleSymbol ) ; - public final void rule__GlobalRelationInterpretation__TargetAssignment_7() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0" + // InternalSolverLanguage.g:9054:1: rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 : ( ( ruleQualifiedName ) ) ; + public final void rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5755:1: ( ( ruleSymbol ) ) - // InternalSolverLanguage.g:5756:2: ( ruleSymbol ) + // InternalSolverLanguage.g:9058:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguage.g:9059:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguage.g:5756:2: ( ruleSymbol ) - // InternalSolverLanguage.g:5757:3: ruleSymbol + // InternalSolverLanguage.g:9059:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguage.g:9060:3: ( ruleQualifiedName ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0()); + } + // InternalSolverLanguage.g:9061:3: ( ruleQualifiedName ) + // InternalSolverLanguage.g:9062:4: ruleQualifiedName { - before(grammarAccess.getGlobalRelationInterpretationAccess().getTargetSymbolParserRuleCall_7_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1()); + } pushFollow(FOLLOW_2); - ruleSymbol(); + ruleQualifiedName(); state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1()); + } + + } - after(grammarAccess.getGlobalRelationInterpretationAccess().getTargetSymbolParserRuleCall_7_0()); + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0()); + } } @@ -17604,25 +29500,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__GlobalRelationInterpretation__TargetAssignment_7" + // $ANTLR end "rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0" - // $ANTLR start "rule__MultiplicityDefinition__LowerAssignment_0" - // InternalSolverLanguage.g:5766:1: rule__MultiplicityDefinition__LowerAssignment_0 : ( RULE_INT ) ; - public final void rule__MultiplicityDefinition__LowerAssignment_0() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2" + // InternalSolverLanguage.g:9073:1: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 : ( RULE_INT ) ; + public final void rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5770:1: ( ( RULE_INT ) ) - // InternalSolverLanguage.g:5771:2: ( RULE_INT ) + // InternalSolverLanguage.g:9077:1: ( ( RULE_INT ) ) + // InternalSolverLanguage.g:9078:2: ( RULE_INT ) { - // InternalSolverLanguage.g:5771:2: ( RULE_INT ) - // InternalSolverLanguage.g:5772:3: RULE_INT + // InternalSolverLanguage.g:9078:2: ( RULE_INT ) + // InternalSolverLanguage.g:9079:3: RULE_INT { - before(grammarAccess.getMultiplicityDefinitionAccess().getLowerINTTerminalRuleCall_0_0()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getMultiplicityDefinitionAccess().getLowerINTTerminalRuleCall_0_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); + } + match(input,RULE_INT,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); + } } @@ -17641,25 +29541,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicityDefinition__LowerAssignment_0" + // $ANTLR end "rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2" - // $ANTLR start "rule__MultiplicityDefinition__UpperAssignment_2_0" - // InternalSolverLanguage.g:5781:1: rule__MultiplicityDefinition__UpperAssignment_2_0 : ( RULE_INT ) ; - public final void rule__MultiplicityDefinition__UpperAssignment_2_0() throws RecognitionException { + // $ANTLR start "rule__ObjectiveDefinition__KindAssignment_0" + // InternalSolverLanguage.g:9088:1: rule__ObjectiveDefinition__KindAssignment_0 : ( ruleObjectiveKind ) ; + public final void rule__ObjectiveDefinition__KindAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5785:1: ( ( RULE_INT ) ) - // InternalSolverLanguage.g:5786:2: ( RULE_INT ) + // InternalSolverLanguage.g:9092:1: ( ( ruleObjectiveKind ) ) + // InternalSolverLanguage.g:9093:2: ( ruleObjectiveKind ) { - // InternalSolverLanguage.g:5786:2: ( RULE_INT ) - // InternalSolverLanguage.g:5787:3: RULE_INT + // InternalSolverLanguage.g:9093:2: ( ruleObjectiveKind ) + // InternalSolverLanguage.g:9094:3: ruleObjectiveKind { - before(grammarAccess.getMultiplicityDefinitionAccess().getUpperINTTerminalRuleCall_2_0_0()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getMultiplicityDefinitionAccess().getUpperINTTerminalRuleCall_2_0_0()); + if ( state.backtracking==0 ) { + before(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0()); + } + pushFollow(FOLLOW_2); + ruleObjectiveKind(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0()); + } } @@ -17678,33 +29586,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicityDefinition__UpperAssignment_2_0" + // $ANTLR end "rule__ObjectiveDefinition__KindAssignment_0" - // $ANTLR start "rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1" - // InternalSolverLanguage.g:5796:1: rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1 : ( ( '*' ) ) ; - public final void rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1() throws RecognitionException { + // $ANTLR start "rule__ObjectiveDefinition__ObjectiveAssignment_1" + // InternalSolverLanguage.g:9103:1: rule__ObjectiveDefinition__ObjectiveAssignment_1 : ( ruleExpression ) ; + public final void rule__ObjectiveDefinition__ObjectiveAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguage.g:5800:1: ( ( ( '*' ) ) ) - // InternalSolverLanguage.g:5801:2: ( ( '*' ) ) + // InternalSolverLanguage.g:9107:1: ( ( ruleExpression ) ) + // InternalSolverLanguage.g:9108:2: ( ruleExpression ) { - // InternalSolverLanguage.g:5801:2: ( ( '*' ) ) - // InternalSolverLanguage.g:5802:3: ( '*' ) + // InternalSolverLanguage.g:9108:2: ( ruleExpression ) + // InternalSolverLanguage.g:9109:3: ruleExpression { - before(grammarAccess.getMultiplicityDefinitionAccess().getUnlimitedUpperAsteriskKeyword_2_1_0()); - // InternalSolverLanguage.g:5803:3: ( '*' ) - // InternalSolverLanguage.g:5804:4: '*' - { - before(grammarAccess.getMultiplicityDefinitionAccess().getUnlimitedUpperAsteriskKeyword_2_1_0()); - match(input,31,FOLLOW_2); - after(grammarAccess.getMultiplicityDefinitionAccess().getUnlimitedUpperAsteriskKeyword_2_1_0()); - + if ( state.backtracking==0 ) { + before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0()); } + pushFollow(FOLLOW_2); + ruleExpression(); - after(grammarAccess.getMultiplicityDefinitionAccess().getUnlimitedUpperAsteriskKeyword_2_1_0()); + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0()); + } } @@ -17723,27 +29631,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicityDefinition__UnlimitedUpperAssignment_2_1" + // $ANTLR end "rule__ObjectiveDefinition__ObjectiveAssignment_1" // 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}>"; + protected DFA11 dfa11 = new DFA11(this); + protected DFA14 dfa14 = new DFA14(this); + static final String dfa_1s = "\15\uffff"; + static final String dfa_2s = "\1\4\1\uffff\1\5\2\uffff\1\5\7\uffff"; + static final String dfa_3s = "\1\111\1\uffff\1\110\2\uffff\1\22\7\uffff"; + static final String dfa_4s = "\1\uffff\1\1\1\uffff\1\2\1\4\1\uffff\1\6\1\10\1\11\1\12\1\3\1\5\1\7"; + static final String dfa_5s = "\15\uffff}>"; static final String[] dfa_6s = { - "\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", + "\2\1\1\uffff\1\1\2\uffff\1\1\6\uffff\2\6\7\uffff\2\1\1\uffff\15\1\1\2\2\11\3\uffff\1\4\1\5\1\uffff\1\1\5\uffff\1\1\3\uffff\1\1\1\uffff\1\1\2\uffff\2\1\1\7\2\uffff\1\10\1\3\1\7", + "", + "\1\3\1\1\1\3\7\uffff\2\1\2\uffff\12\1\20\uffff\3\1\6\uffff\3\1\4\uffff\1\12\12\uffff\1\3", + "", + "", + "\1\13\1\uffff\1\13\11\uffff\2\14", "", "", - "\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); @@ -17767,57 +29681,161 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP this.transition = dfa_6; } public String getDescription() { - return "1152:1: rule__Statement__Alternatives : ( ( ruleInterpretation ) | ( rulePredicate ) );"; + return "1513:1: rule__Statement__Alternatives_0 : ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleMetricDefinition ) | ( ruleExternMetricDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) );"; + } + } + static final String dfa_7s = "\12\uffff"; + static final String dfa_8s = "\1\uffff\2\3\4\uffff\1\11\1\3\1\uffff"; + static final String dfa_9s = "\1\4\2\5\2\uffff\1\7\1\uffff\1\4\1\5\1\uffff"; + static final String dfa_10s = "\1\103\2\76\2\uffff\1\7\1\uffff\1\103\1\76\1\uffff"; + static final String dfa_11s = "\3\uffff\1\1\1\2\1\uffff\1\3\2\uffff\1\4"; + static final String dfa_12s = "\12\uffff}>"; + static final String[] dfa_13s = { + "\1\3\1\2\1\uffff\1\1\2\uffff\1\3\5\uffff\1\4\11\uffff\2\3\1\uffff\16\3\16\uffff\1\3\3\uffff\1\3\1\uffff\1\3\2\uffff\2\3", + "\1\6\1\uffff\1\6\7\uffff\1\3\1\7\2\uffff\12\3\25\uffff\1\5\5\uffff\1\3\4\uffff\2\3", + "\1\6\1\uffff\1\6\7\uffff\1\3\1\7\2\uffff\12\3\33\uffff\1\3\4\uffff\2\3", + "", + "", + "\1\10", + "", + "\2\3\1\uffff\1\3\2\uffff\1\3\17\uffff\2\3\1\uffff\16\3\15\uffff\1\11\1\3\3\uffff\1\3\1\11\1\3\2\uffff\2\3", + "\1\6\1\uffff\1\6\7\uffff\1\3\1\7\2\uffff\12\3\25\uffff\1\5\5\uffff\1\3\4\uffff\2\3", + "" + }; + + static final short[] dfa_7 = DFA.unpackEncodedString(dfa_7s); + static final short[] dfa_8 = DFA.unpackEncodedString(dfa_8s); + static final char[] dfa_9 = DFA.unpackEncodedStringToUnsignedChars(dfa_9s); + static final char[] dfa_10 = DFA.unpackEncodedStringToUnsignedChars(dfa_10s); + static final short[] dfa_11 = DFA.unpackEncodedString(dfa_11s); + static final short[] dfa_12 = DFA.unpackEncodedString(dfa_12s); + static final short[][] dfa_13 = unpackEncodedStringArray(dfa_13s); + + class DFA11 extends DFA { + + public DFA11(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 11; + this.eot = dfa_7; + this.eof = dfa_8; + this.min = dfa_9; + this.max = dfa_10; + this.accept = dfa_11; + this.special = dfa_12; + this.transition = dfa_13; + } + public String getDescription() { + return "1774:1: rule__Argument__Alternatives : ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) );"; + } + } + static final String dfa_14s = "\17\uffff"; + static final String dfa_15s = "\15\uffff\1\6\1\uffff"; + static final String dfa_16s = "\1\107\1\4\2\23\1\26\1\7\3\uffff\1\5\1\23\2\26\1\6\1\26"; + static final String dfa_17s = "\1\107\1\7\1\62\2\30\1\7\3\uffff\1\7\3\62\1\7\1\62"; + static final String dfa_18s = "\6\uffff\1\3\1\2\1\1\6\uffff"; + static final String dfa_19s = "\17\uffff}>"; + static final String[] dfa_20s = { + "\1\1", + "\1\4\1\3\1\uffff\1\2", + "\1\10\2\uffff\1\7\1\uffff\1\6\31\uffff\1\5", + "\1\10\2\uffff\1\7\1\uffff\1\6", + "\1\11\1\uffff\1\7", + "\1\12", + "", + "", + "", + "\1\14\1\uffff\1\13", + "\1\10\2\uffff\1\7\1\uffff\1\6\31\uffff\1\5", + "\1\7\33\uffff\1\15", + "\1\7\33\uffff\1\6", + "\1\6\1\16", + "\1\7\33\uffff\1\15" + }; + + static final short[] dfa_14 = DFA.unpackEncodedString(dfa_14s); + static final short[] dfa_15 = DFA.unpackEncodedString(dfa_15s); + static final char[] dfa_16 = DFA.unpackEncodedStringToUnsignedChars(dfa_16s); + static final char[] dfa_17 = DFA.unpackEncodedStringToUnsignedChars(dfa_17s); + static final short[] dfa_18 = DFA.unpackEncodedString(dfa_18s); + static final short[] dfa_19 = DFA.unpackEncodedString(dfa_19s); + static final short[][] dfa_20 = unpackEncodedStringArray(dfa_20s); + + class DFA14 extends DFA { + + public DFA14(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 14; + this.eot = dfa_14; + this.eof = dfa_15; + this.min = dfa_16; + this.max = dfa_17; + this.accept = dfa_18; + this.special = dfa_19; + this.transition = dfa_20; + } + public String getDescription() { + return "1873:1: rule__ScopeDefinition__Alternatives : ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) );"; } } public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_3 = new BitSet(new long[]{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[]{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}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0xA20B1FFFEC0604B2L,0x000000000000039CL}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000E00000000000L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000200000000000L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0xA20807FFEC0004B0L,0x000000000000000CL}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000400000000000L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x00000000000000A0L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000040000000000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000100L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x2000000000000000L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0004000000000000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000800000000000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000060000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0010000000000000L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0020000000000000L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x00C0000000000000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0040000000000000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0040000000000002L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0080000000000000L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0100000000000000L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0100000000000002L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000003F80000L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x000000000C000000L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x000000000C000002L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000010010000L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000010010002L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000000008000L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0xA20007FE000004B0L,0x000000000000000CL}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0400000000000000L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0800000000000000L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x1000000000000000L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x4000000000000000L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x2000000000000300L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0xE20807FFEC0104B0L,0x000000000000000CL}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0xA20807FFEC0104B0L,0x000000000000000CL}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L}); + public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); + public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L}); + public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L}); + public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000210L}); + public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0400000000000000L,0x0000000000000020L}); + public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x08000000000000A0L,0x0000000000000400L}); + public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x00000000000000A2L,0x0000000000000400L}); + public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x00000000000000A0L,0x0000000000000400L}); + public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x8000000000000080L}); + public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0040000000000000L,0x0000000000000040L}); + public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x8000000000000000L}); + public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x0000000000010010L}); + public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x0000000000080000L}); + public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x00000000000000B0L}); + public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x0000000000400000L}); + public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x0000000001000000L}); + public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x0004000000000002L}); } \ No newline at end of file -- cgit v1.2.3-70-g09d2