From e92ebe4a61a106ff9c0e8f5bbbc3632f1dc60009 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Sat, 26 Jun 2021 21:43:55 +0200 Subject: FIx scoping, extend grammar --- .../ProblemSemanticHighlightingCalculator.java | 65 +- .../ide/contentassist/antlr/ProblemParser.java | 40 +- .../contentassist/antlr/internal/InternalProblem.g | 855 ++- .../antlr/internal/InternalProblem.tokens | 75 +- .../antlr/internal/InternalProblemLexer.java | 1179 ++-- .../antlr/internal/InternalProblemParser.java | 5895 +++++++++++--------- 6 files changed, 4683 insertions(+), 3426 deletions(-) (limited to 'org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src') diff --git a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/java/org/eclipse/viatra/solver/language/ide/syntaxcoloring/ProblemSemanticHighlightingCalculator.java b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/java/org/eclipse/viatra/solver/language/ide/syntaxcoloring/ProblemSemanticHighlightingCalculator.java index f6a29457..2f69e946 100644 --- a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/java/org/eclipse/viatra/solver/language/ide/syntaxcoloring/ProblemSemanticHighlightingCalculator.java +++ b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/java/org/eclipse/viatra/solver/language/ide/syntaxcoloring/ProblemSemanticHighlightingCalculator.java @@ -7,6 +7,7 @@ import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.viatra.solver.language.ProblemUtil; import org.eclipse.viatra.solver.language.model.problem.ClassDeclaration; import org.eclipse.viatra.solver.language.model.problem.Node; import org.eclipse.viatra.solver.language.model.problem.Parameter; @@ -22,6 +23,7 @@ import org.eclipse.xtext.service.OperationCanceledManager; import org.eclipse.xtext.util.CancelIndicator; import org.eclipse.xtext.util.SimpleAttributeResolver; +import com.google.common.collect.ImmutableList; import com.google.inject.Inject; public class ProblemSemanticHighlightingCalculator extends DefaultSemanticHighlightingCalculator { @@ -33,8 +35,11 @@ public class ProblemSemanticHighlightingCalculator extends DefaultSemanticHighli private static final String PREDICATE_CLASS = "problem-predicate"; private static final String ERROR_CLASS = "problem-error"; private static final String NODE_CLASS = "problem-node"; + private static final String ENUM_NODE_CLASS = "problem-enum-node"; + private static final String NEW_NODE_CLASS = "problem-new-node"; private static final String PARAMETER_CLASS = "problem-parameter"; private static final String VARIABLE_CLASS = "problem-variable"; + private static final String SINGLETON_VARIABLE_CLASS = "problem-singleton-variable"; @Inject private OperationCanceledManager operationCanceledManager; @@ -49,8 +54,8 @@ public class ProblemSemanticHighlightingCalculator extends DefaultSemanticHighli protected void highlightName(EObject object, IHighlightedPositionAcceptor acceptor, CancelIndicator cancelIndicator) { - String highlightClass = getHighlightClass(object); - if (highlightClass != null) { + String[] highlightClass = getHighlightClass(object); + if (highlightClass.length > 0) { EAttribute nameAttribute = SimpleAttributeResolver.NAME_RESOLVER.getAttribute(object); if (nameAttribute != null) { highlightFeature(acceptor, object, nameAttribute, highlightClass); @@ -65,72 +70,84 @@ public class ProblemSemanticHighlightingCalculator extends DefaultSemanticHighli continue; } operationCanceledManager.checkCanceled(cancelIndicator); - Object value = object.eGet(reference); - if (value instanceof EList) { + if (reference.isMany()) { @SuppressWarnings("unchecked") - EList values = (EList) value; + EList values = (EList) object.eGet(reference); List nodes = NodeModelUtils.findNodesForFeature(object, reference); int size = Math.min(values.size(), nodes.size()); for (int i = 0; i < size; i++) { EObject valueInList = values.get(i); INode node = nodes.get(i); - String highlightClass = getHighlightClass(valueInList); - if (highlightClass != null) { + String[] highlightClass = getHighlightClass(valueInList); + if (highlightClass.length > 0) { highlightNode(acceptor, node, highlightClass); } } - } else if (value instanceof EObject) { - EObject valueObj = (EObject) value; - String highlightClass = getHighlightClass(valueObj); - if (highlightClass != null) { + } else { + EObject valueObj = (EObject) object.eGet(reference); + String[] highlightClass = getHighlightClass(valueObj); + if (highlightClass.length > 0) { highlightFeature(acceptor, object, reference, highlightClass); } } } } - protected String getHighlightClass(EObject eObject) { + protected String[] getHighlightClass(EObject eObject) { if (isBuiltIn(eObject)) { - return BUILTIN_CLASS; + return new String[] { BUILTIN_CLASS }; } + ImmutableList.Builder classesBuilder = ImmutableList.builder(); if (eObject instanceof ClassDeclaration) { + classesBuilder.add(CLASS_CLASS); ClassDeclaration classDeclaration = (ClassDeclaration) eObject; if (classDeclaration.isAbstract()) { - return ABSTRACT_CLASS; + classesBuilder.add(ABSTRACT_CLASS); } - return CLASS_CLASS; } if (eObject instanceof ReferenceDeclaration) { + classesBuilder.add(REFERENCE_CLASS); ReferenceDeclaration referenceDeclaration = (ReferenceDeclaration) eObject; if (referenceDeclaration.isContainment()) { - return CONTAINMENT_CLASS; + classesBuilder.add(CONTAINMENT_CLASS); } - return REFERENCE_CLASS; } if (eObject instanceof PredicateDefinition) { + classesBuilder.add(PREDICATE_CLASS); PredicateDefinition predicateDefinition = (PredicateDefinition) eObject; if (predicateDefinition.isError()) { - return ERROR_CLASS; + classesBuilder.add(ERROR_CLASS); } - return PREDICATE_CLASS; } if (eObject instanceof Node) { - return NODE_CLASS; + classesBuilder.add(NODE_CLASS); + Node node = (Node) eObject; + if (ProblemUtil.isEnumNode(node)) { + classesBuilder.add(ENUM_NODE_CLASS); + } + if (ProblemUtil.isNewNode(node)) { + classesBuilder.add(NEW_NODE_CLASS); + } } if (eObject instanceof Parameter) { - return PARAMETER_CLASS; + classesBuilder.add(PARAMETER_CLASS); } if (eObject instanceof Variable) { - return VARIABLE_CLASS; + classesBuilder.add(VARIABLE_CLASS); + Variable variable = (Variable) eObject; + if (ProblemUtil.isSingletonVariable(variable)) { + classesBuilder.add(SINGLETON_VARIABLE_CLASS); + } } - return null; + List classes = classesBuilder.build(); + return classes.toArray(new String[0]); } protected boolean isBuiltIn(EObject eObject) { if (eObject != null) { Resource eResource = eObject.eResource(); if (eResource != null) { - return ProblemGlobalScopeProvider.LIBRARY_URI.equals(eResource.getURI()); + return ProblemGlobalScopeProvider.BULTIN_LIBRARY_URI.equals(eResource.getURI()); } } return false; diff --git a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/ProblemParser.java b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/ProblemParser.java index 78416e64..2adb1a82 100644 --- a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/ProblemParser.java +++ b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/ProblemParser.java @@ -32,25 +32,28 @@ public class ProblemParser extends AbstractContentAssistParser { private static void init(ImmutableMap.Builder builder, ProblemGrammarAccess grammarAccess) { builder.put(grammarAccess.getStatementAccess().getAlternatives(), "rule__Statement__Alternatives"); - builder.put(grammarAccess.getClassDeclarationAccess().getAlternatives_3(), "rule__ClassDeclaration__Alternatives_3"); - builder.put(grammarAccess.getClassDeclarationAccess().getAlternatives_3_0_1(), "rule__ClassDeclaration__Alternatives_3_0_1"); + builder.put(grammarAccess.getClassDeclarationAccess().getAlternatives_4(), "rule__ClassDeclaration__Alternatives_4"); builder.put(grammarAccess.getReferenceDeclarationAccess().getAlternatives_0(), "rule__ReferenceDeclaration__Alternatives_0"); builder.put(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0(), "rule__PredicateDefinition__Alternatives_0"); builder.put(grammarAccess.getLiteralAccess().getAlternatives(), "rule__Literal__Alternatives"); builder.put(grammarAccess.getAssertionAccess().getAlternatives_0(), "rule__Assertion__Alternatives_0"); builder.put(grammarAccess.getTypeScopeAccess().getAlternatives_1(), "rule__TypeScope__Alternatives_1"); builder.put(grammarAccess.getMultiplicityAccess().getAlternatives(), "rule__Multiplicity__Alternatives"); + builder.put(grammarAccess.getDefiniteMultiplicityAccess().getAlternatives(), "rule__DefiniteMultiplicity__Alternatives"); builder.put(grammarAccess.getUpperBoundAccess().getAlternatives(), "rule__UpperBound__Alternatives"); + builder.put(grammarAccess.getQualifiedNameAccess().getAlternatives(), "rule__QualifiedName__Alternatives"); builder.put(grammarAccess.getLogicValueAccess().getAlternatives(), "rule__LogicValue__Alternatives"); builder.put(grammarAccess.getShortLogicValueAccess().getAlternatives(), "rule__ShortLogicValue__Alternatives"); + builder.put(grammarAccess.getProblemAccess().getGroup(), "rule__Problem__Group__0"); + builder.put(grammarAccess.getProblemAccess().getGroup_0(), "rule__Problem__Group_0__0"); builder.put(grammarAccess.getClassDeclarationAccess().getGroup(), "rule__ClassDeclaration__Group__0"); - builder.put(grammarAccess.getClassDeclarationAccess().getGroup_3_0(), "rule__ClassDeclaration__Group_3_0__0"); - builder.put(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1(), "rule__ClassDeclaration__Group_3_0_1_1__0"); - builder.put(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1(), "rule__ClassDeclaration__Group_3_0_1_1_1__0"); - builder.put(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1_1(), "rule__ClassDeclaration__Group_3_0_1_1_1_1__0"); - builder.put(grammarAccess.getClassDeclarationAccess().getGroup_4(), "rule__ClassDeclaration__Group_4__0"); + builder.put(grammarAccess.getClassDeclarationAccess().getGroup_3(), "rule__ClassDeclaration__Group_3__0"); + builder.put(grammarAccess.getClassDeclarationAccess().getGroup_3_2(), "rule__ClassDeclaration__Group_3_2__0"); + builder.put(grammarAccess.getClassDeclarationAccess().getGroup_4_0(), "rule__ClassDeclaration__Group_4_0__0"); + builder.put(grammarAccess.getClassDeclarationAccess().getGroup_4_0_1(), "rule__ClassDeclaration__Group_4_0_1__0"); builder.put(grammarAccess.getReferenceDeclarationAccess().getGroup(), "rule__ReferenceDeclaration__Group__0"); - builder.put(grammarAccess.getReferenceDeclarationAccess().getGroup_6(), "rule__ReferenceDeclaration__Group_6__0"); + builder.put(grammarAccess.getReferenceDeclarationAccess().getGroup_2(), "rule__ReferenceDeclaration__Group_2__0"); + builder.put(grammarAccess.getReferenceDeclarationAccess().getGroup_4(), "rule__ReferenceDeclaration__Group_4__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_3(), "rule__PredicateDefinition__Group_3__0"); @@ -75,21 +78,21 @@ public class ProblemParser extends AbstractContentAssistParser { builder.put(grammarAccess.getScopeDeclarationAccess().getGroup_2(), "rule__ScopeDeclaration__Group_2__0"); builder.put(grammarAccess.getTypeScopeAccess().getGroup(), "rule__TypeScope__Group__0"); builder.put(grammarAccess.getRangeMultiplicityAccess().getGroup(), "rule__RangeMultiplicity__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getProblemAccess().getStatementsAssignment(), "rule__Problem__StatementsAssignment"); + builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1_1(), "rule__QualifiedName__Group_1_1__0"); + builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1_2(), "rule__QualifiedName__Group_1_2__0"); + builder.put(grammarAccess.getProblemAccess().getNameAssignment_0_1(), "rule__Problem__NameAssignment_0_1"); + builder.put(grammarAccess.getProblemAccess().getStatementsAssignment_1(), "rule__Problem__StatementsAssignment_1"); builder.put(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0(), "rule__ClassDeclaration__AbstractAssignment_0"); builder.put(grammarAccess.getClassDeclarationAccess().getNameAssignment_2(), "rule__ClassDeclaration__NameAssignment_2"); - builder.put(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_0(), "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0"); - builder.put(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_0(), "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0"); - builder.put(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_1_1(), "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1"); - builder.put(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_3_1(), "rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1"); - builder.put(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_1(), "rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1"); + builder.put(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_1(), "rule__ClassDeclaration__SuperTypesAssignment_3_1"); + builder.put(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_2_1(), "rule__ClassDeclaration__SuperTypesAssignment_3_2_1"); + builder.put(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_0_1_0(), "rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0"); builder.put(grammarAccess.getReferenceDeclarationAccess().getContainmentAssignment_0_0(), "rule__ReferenceDeclaration__ContainmentAssignment_0_0"); builder.put(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeAssignment_1(), "rule__ReferenceDeclaration__ReferenceTypeAssignment_1"); - builder.put(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_3(), "rule__ReferenceDeclaration__MultiplicityAssignment_3"); - builder.put(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_5(), "rule__ReferenceDeclaration__NameAssignment_5"); - builder.put(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_6_1(), "rule__ReferenceDeclaration__OppositeAssignment_6_1"); + builder.put(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_2_1(), "rule__ReferenceDeclaration__MultiplicityAssignment_2_1"); + builder.put(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_3(), "rule__ReferenceDeclaration__NameAssignment_3"); + builder.put(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_4_1(), "rule__ReferenceDeclaration__OppositeAssignment_4_1"); builder.put(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_0(), "rule__PredicateDefinition__ErrorAssignment_0_0_0"); builder.put(grammarAccess.getPredicateDefinitionAccess().getNameAssignment_1(), "rule__PredicateDefinition__NameAssignment_1"); builder.put(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_0(), "rule__PredicateDefinition__ParametersAssignment_3_0"); @@ -105,6 +108,7 @@ public class ProblemParser extends AbstractContentAssistParser { builder.put(grammarAccess.getAtomAccess().getTransitiveClosureAssignment_1(), "rule__Atom__TransitiveClosureAssignment_1"); builder.put(grammarAccess.getAtomAccess().getArgumentsAssignment_3_0(), "rule__Atom__ArgumentsAssignment_3_0"); builder.put(grammarAccess.getAtomAccess().getArgumentsAssignment_3_1_1(), "rule__Atom__ArgumentsAssignment_3_1_1"); + builder.put(grammarAccess.getArgumentAccess().getVariableAssignment(), "rule__Argument__VariableAssignment"); builder.put(grammarAccess.getAssertionAccess().getRelationAssignment_0_0_0(), "rule__Assertion__RelationAssignment_0_0_0"); builder.put(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_0(), "rule__Assertion__ArgumentsAssignment_0_0_2_0"); builder.put(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_1_1(), "rule__Assertion__ArgumentsAssignment_0_0_2_1_1"); diff --git a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g index 7dd99f99..01a6fd6e 100644 --- a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g +++ b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g @@ -65,9 +65,9 @@ ruleProblem } : ( - { before(grammarAccess.getProblemAccess().getStatementsAssignment()); } - (rule__Problem__StatementsAssignment)* - { after(grammarAccess.getProblemAccess().getStatementsAssignment()); } + { before(grammarAccess.getProblemAccess().getGroup()); } + (rule__Problem__Group__0) + { after(grammarAccess.getProblemAccess().getGroup()); } ) ; finally { @@ -299,6 +299,31 @@ finally { restoreStackSize(stackSize); } +// Entry rule entryRuleArgument +entryRuleArgument +: +{ before(grammarAccess.getArgumentRule()); } + ruleArgument +{ after(grammarAccess.getArgumentRule()); } + EOF +; + +// Rule Argument +ruleArgument + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getArgumentAccess().getVariableAssignment()); } + (rule__Argument__VariableAssignment) + { after(grammarAccess.getArgumentAccess().getVariableAssignment()); } + ) +; +finally { + restoreStackSize(stackSize); +} + // Entry rule entryRuleAssertion entryRuleAssertion : @@ -399,6 +424,56 @@ finally { restoreStackSize(stackSize); } +// Entry rule entryRuleDefiniteMultiplicity +entryRuleDefiniteMultiplicity +: +{ before(grammarAccess.getDefiniteMultiplicityRule()); } + ruleDefiniteMultiplicity +{ after(grammarAccess.getDefiniteMultiplicityRule()); } + EOF +; + +// Rule DefiniteMultiplicity +ruleDefiniteMultiplicity + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getDefiniteMultiplicityAccess().getAlternatives()); } + (rule__DefiniteMultiplicity__Alternatives) + { after(grammarAccess.getDefiniteMultiplicityAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleUnboundedMultiplicity +entryRuleUnboundedMultiplicity +: +{ before(grammarAccess.getUnboundedMultiplicityRule()); } + ruleUnboundedMultiplicity +{ after(grammarAccess.getUnboundedMultiplicityRule()); } + EOF +; + +// Rule UnboundedMultiplicity +ruleUnboundedMultiplicity + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getUnboundedMultiplicityAccess().getUnboundedMultiplicityAction()); } + () + { after(grammarAccess.getUnboundedMultiplicityAccess().getUnboundedMultiplicityAction()); } + ) +; +finally { + restoreStackSize(stackSize); +} + // Entry rule entryRuleRangeMultiplicity entryRuleRangeMultiplicity : @@ -490,9 +565,9 @@ ruleQualifiedName } : ( - { before(grammarAccess.getQualifiedNameAccess().getGroup()); } - (rule__QualifiedName__Group__0) - { after(grammarAccess.getQualifiedNameAccess().getGroup()); } + { before(grammarAccess.getQualifiedNameAccess().getAlternatives()); } + (rule__QualifiedName__Alternatives) + { after(grammarAccess.getQualifiedNameAccess().getAlternatives()); } ) ; finally { @@ -564,42 +639,21 @@ finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Alternatives_3 +rule__ClassDeclaration__Alternatives_4 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getGroup_3_0()); } - (rule__ClassDeclaration__Group_3_0__0) - { after(grammarAccess.getClassDeclarationAccess().getGroup_3_0()); } + { before(grammarAccess.getClassDeclarationAccess().getGroup_4_0()); } + (rule__ClassDeclaration__Group_4_0__0) + { after(grammarAccess.getClassDeclarationAccess().getGroup_4_0()); } ) | ( - { before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_3_1()); } - (rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1) - { after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_3_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassDeclaration__Alternatives_3_0_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_0()); } - (rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0) - { after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_0()); } - ) - | - ( - { before(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1()); } - (rule__ClassDeclaration__Group_3_0_1_1__0) - { after(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1()); } + { before(grammarAccess.getClassDeclarationAccess().getFullStopKeyword_4_1()); } + '.' + { after(grammarAccess.getClassDeclarationAccess().getFullStopKeyword_4_1()); } ) ; finally { @@ -717,15 +771,36 @@ rule__Multiplicity__Alternatives } : ( - { before(grammarAccess.getMultiplicityAccess().getRangeMultiplicityParserRuleCall_0()); } + { before(grammarAccess.getMultiplicityAccess().getUnboundedMultiplicityParserRuleCall_0()); } + ruleUnboundedMultiplicity + { after(grammarAccess.getMultiplicityAccess().getUnboundedMultiplicityParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getMultiplicityAccess().getDefiniteMultiplicityParserRuleCall_1()); } + ruleDefiniteMultiplicity + { after(grammarAccess.getMultiplicityAccess().getDefiniteMultiplicityParserRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__DefiniteMultiplicity__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getDefiniteMultiplicityAccess().getRangeMultiplicityParserRuleCall_0()); } ruleRangeMultiplicity - { after(grammarAccess.getMultiplicityAccess().getRangeMultiplicityParserRuleCall_0()); } + { after(grammarAccess.getDefiniteMultiplicityAccess().getRangeMultiplicityParserRuleCall_0()); } ) | ( - { before(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); } + { before(grammarAccess.getDefiniteMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); } ruleExactMultiplicity - { after(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); } + { after(grammarAccess.getDefiniteMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); } ) ; finally { @@ -753,6 +828,27 @@ finally { restoreStackSize(stackSize); } +rule__QualifiedName__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_0()); } + RULE_QUOTED_ID + { after(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getQualifiedNameAccess().getGroup_1()); } + (rule__QualifiedName__Group_1__0) + { after(grammarAccess.getQualifiedNameAccess().getGroup_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + rule__LogicValue__Alternatives @init { int stackSize = keepStackSize(); @@ -801,296 +897,350 @@ finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group__0 +rule__Problem__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ClassDeclaration__Group__0__Impl - rule__ClassDeclaration__Group__1 + rule__Problem__Group__0__Impl + rule__Problem__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group__0__Impl +rule__Problem__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0()); } - (rule__ClassDeclaration__AbstractAssignment_0)? - { after(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0()); } + { before(grammarAccess.getProblemAccess().getGroup_0()); } + (rule__Problem__Group_0__0)? + { after(grammarAccess.getProblemAccess().getGroup_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group__1 +rule__Problem__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ClassDeclaration__Group__1__Impl - rule__ClassDeclaration__Group__2 + rule__Problem__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group__1__Impl +rule__Problem__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); } - 'class' - { after(grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); } + { before(grammarAccess.getProblemAccess().getStatementsAssignment_1()); } + (rule__Problem__StatementsAssignment_1)* + { after(grammarAccess.getProblemAccess().getStatementsAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group__2 + +rule__Problem__Group_0__0 @init { int stackSize = keepStackSize(); } : - rule__ClassDeclaration__Group__2__Impl - rule__ClassDeclaration__Group__3 + rule__Problem__Group_0__0__Impl + rule__Problem__Group_0__1 ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group__2__Impl +rule__Problem__Group_0__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getNameAssignment_2()); } - (rule__ClassDeclaration__NameAssignment_2) - { after(grammarAccess.getClassDeclarationAccess().getNameAssignment_2()); } + { before(grammarAccess.getProblemAccess().getProblemKeyword_0_0()); } + 'problem' + { after(grammarAccess.getProblemAccess().getProblemKeyword_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group__3 +rule__Problem__Group_0__1 @init { int stackSize = keepStackSize(); } : - rule__ClassDeclaration__Group__3__Impl - rule__ClassDeclaration__Group__4 + rule__Problem__Group_0__1__Impl + rule__Problem__Group_0__2 ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group__3__Impl +rule__Problem__Group_0__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getAlternatives_3()); } - (rule__ClassDeclaration__Alternatives_3)? - { after(grammarAccess.getClassDeclarationAccess().getAlternatives_3()); } + { before(grammarAccess.getProblemAccess().getNameAssignment_0_1()); } + (rule__Problem__NameAssignment_0_1) + { after(grammarAccess.getProblemAccess().getNameAssignment_0_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group__4 +rule__Problem__Group_0__2 @init { int stackSize = keepStackSize(); } : - rule__ClassDeclaration__Group__4__Impl - rule__ClassDeclaration__Group__5 + rule__Problem__Group_0__2__Impl ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group__4__Impl +rule__Problem__Group_0__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getGroup_4()); } - (rule__ClassDeclaration__Group_4__0)* - { after(grammarAccess.getClassDeclarationAccess().getGroup_4()); } + { before(grammarAccess.getProblemAccess().getFullStopKeyword_0_2()); } + '.' + { after(grammarAccess.getProblemAccess().getFullStopKeyword_0_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group__5 + +rule__ClassDeclaration__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ClassDeclaration__Group__5__Impl + rule__ClassDeclaration__Group__0__Impl + rule__ClassDeclaration__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group__5__Impl +rule__ClassDeclaration__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getFullStopKeyword_5()); } - '.' - { after(grammarAccess.getClassDeclarationAccess().getFullStopKeyword_5()); } + { before(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0()); } + (rule__ClassDeclaration__AbstractAssignment_0)? + { after(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } +rule__ClassDeclaration__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ClassDeclaration__Group__1__Impl + rule__ClassDeclaration__Group__2 +; +finally { + restoreStackSize(stackSize); +} -rule__ClassDeclaration__Group_3_0__0 +rule__ClassDeclaration__Group__1__Impl @init { int stackSize = keepStackSize(); } : - rule__ClassDeclaration__Group_3_0__0__Impl - rule__ClassDeclaration__Group_3_0__1 +( + { before(grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); } + 'class' + { after(grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); } +) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group_3_0__0__Impl +rule__ClassDeclaration__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ClassDeclaration__Group__2__Impl + rule__ClassDeclaration__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassDeclaration__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0_0()); } - 'extends' - { after(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0_0()); } + { before(grammarAccess.getClassDeclarationAccess().getNameAssignment_2()); } + (rule__ClassDeclaration__NameAssignment_2) + { after(grammarAccess.getClassDeclarationAccess().getNameAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group_3_0__1 +rule__ClassDeclaration__Group__3 @init { int stackSize = keepStackSize(); } : - rule__ClassDeclaration__Group_3_0__1__Impl + rule__ClassDeclaration__Group__3__Impl + rule__ClassDeclaration__Group__4 ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group_3_0__1__Impl +rule__ClassDeclaration__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getAlternatives_3_0_1()); } - (rule__ClassDeclaration__Alternatives_3_0_1) - { after(grammarAccess.getClassDeclarationAccess().getAlternatives_3_0_1()); } + { before(grammarAccess.getClassDeclarationAccess().getGroup_3()); } + (rule__ClassDeclaration__Group_3__0)? + { after(grammarAccess.getClassDeclarationAccess().getGroup_3()); } ) ; finally { restoreStackSize(stackSize); } +rule__ClassDeclaration__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__ClassDeclaration__Group__4__Impl +; +finally { + restoreStackSize(stackSize); +} -rule__ClassDeclaration__Group_3_0_1_1__0 +rule__ClassDeclaration__Group__4__Impl @init { int stackSize = keepStackSize(); } : - rule__ClassDeclaration__Group_3_0_1_1__0__Impl - rule__ClassDeclaration__Group_3_0_1_1__1 +( + { before(grammarAccess.getClassDeclarationAccess().getAlternatives_4()); } + (rule__ClassDeclaration__Alternatives_4) + { after(grammarAccess.getClassDeclarationAccess().getAlternatives_4()); } +) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group_3_0_1_1__0__Impl + +rule__ClassDeclaration__Group_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ClassDeclaration__Group_3__0__Impl + rule__ClassDeclaration__Group_3__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassDeclaration__Group_3__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getLeftSquareBracketKeyword_3_0_1_1_0()); } - '[' - { after(grammarAccess.getClassDeclarationAccess().getLeftSquareBracketKeyword_3_0_1_1_0()); } + { before(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0()); } + 'extends' + { after(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group_3_0_1_1__1 +rule__ClassDeclaration__Group_3__1 @init { int stackSize = keepStackSize(); } : - rule__ClassDeclaration__Group_3_0_1_1__1__Impl - rule__ClassDeclaration__Group_3_0_1_1__2 + rule__ClassDeclaration__Group_3__1__Impl + rule__ClassDeclaration__Group_3__2 ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group_3_0_1_1__1__Impl +rule__ClassDeclaration__Group_3__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1()); } - (rule__ClassDeclaration__Group_3_0_1_1_1__0)? - { after(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1()); } + { before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_1()); } + (rule__ClassDeclaration__SuperTypesAssignment_3_1) + { after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group_3_0_1_1__2 +rule__ClassDeclaration__Group_3__2 @init { int stackSize = keepStackSize(); } : - rule__ClassDeclaration__Group_3_0_1_1__2__Impl + rule__ClassDeclaration__Group_3__2__Impl ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group_3_0_1_1__2__Impl +rule__ClassDeclaration__Group_3__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getRightSquareBracketKeyword_3_0_1_1_2()); } - ']' - { after(grammarAccess.getClassDeclarationAccess().getRightSquareBracketKeyword_3_0_1_1_2()); } + { before(grammarAccess.getClassDeclarationAccess().getGroup_3_2()); } + (rule__ClassDeclaration__Group_3_2__0)* + { after(grammarAccess.getClassDeclarationAccess().getGroup_3_2()); } ) ; finally { @@ -1098,53 +1248,53 @@ finally { } -rule__ClassDeclaration__Group_3_0_1_1_1__0 +rule__ClassDeclaration__Group_3_2__0 @init { int stackSize = keepStackSize(); } : - rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl - rule__ClassDeclaration__Group_3_0_1_1_1__1 + rule__ClassDeclaration__Group_3_2__0__Impl + rule__ClassDeclaration__Group_3_2__1 ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl +rule__ClassDeclaration__Group_3_2__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_0()); } - (rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0) - { after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_0()); } + { before(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_2_0()); } + ',' + { after(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group_3_0_1_1_1__1 +rule__ClassDeclaration__Group_3_2__1 @init { int stackSize = keepStackSize(); } : - rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl + rule__ClassDeclaration__Group_3_2__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl +rule__ClassDeclaration__Group_3_2__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1_1()); } - (rule__ClassDeclaration__Group_3_0_1_1_1_1__0)* - { after(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1_1()); } + { before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_2_1()); } + (rule__ClassDeclaration__SuperTypesAssignment_3_2_1) + { after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_2_1()); } ) ; finally { @@ -1152,53 +1302,80 @@ finally { } -rule__ClassDeclaration__Group_3_0_1_1_1_1__0 +rule__ClassDeclaration__Group_4_0__0 @init { int stackSize = keepStackSize(); } : - rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl - rule__ClassDeclaration__Group_3_0_1_1_1_1__1 + rule__ClassDeclaration__Group_4_0__0__Impl + rule__ClassDeclaration__Group_4_0__1 ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl +rule__ClassDeclaration__Group_4_0__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_0_1_1_1_1_0()); } - ',' - { after(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_0_1_1_1_1_0()); } + { before(grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()); } + '{' + { after(grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassDeclaration__Group_4_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ClassDeclaration__Group_4_0__1__Impl + rule__ClassDeclaration__Group_4_0__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassDeclaration__Group_4_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getClassDeclarationAccess().getGroup_4_0_1()); } + (rule__ClassDeclaration__Group_4_0_1__0)* + { after(grammarAccess.getClassDeclarationAccess().getGroup_4_0_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group_3_0_1_1_1_1__1 +rule__ClassDeclaration__Group_4_0__2 @init { int stackSize = keepStackSize(); } : - rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl + rule__ClassDeclaration__Group_4_0__2__Impl ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl +rule__ClassDeclaration__Group_4_0__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_1_1()); } - (rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1) - { after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_1_1()); } + { before(grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2()); } + '}' + { after(grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2()); } ) ; finally { @@ -1206,53 +1383,53 @@ finally { } -rule__ClassDeclaration__Group_4__0 +rule__ClassDeclaration__Group_4_0_1__0 @init { int stackSize = keepStackSize(); } : - rule__ClassDeclaration__Group_4__0__Impl - rule__ClassDeclaration__Group_4__1 + rule__ClassDeclaration__Group_4_0_1__0__Impl + rule__ClassDeclaration__Group_4_0_1__1 ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group_4__0__Impl +rule__ClassDeclaration__Group_4_0_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getCommaKeyword_4_0()); } - ',' - { after(grammarAccess.getClassDeclarationAccess().getCommaKeyword_4_0()); } + { before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_0_1_0()); } + (rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0) + { after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_0_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group_4__1 +rule__ClassDeclaration__Group_4_0_1__1 @init { int stackSize = keepStackSize(); } : - rule__ClassDeclaration__Group_4__1__Impl + rule__ClassDeclaration__Group_4_0_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__Group_4__1__Impl +rule__ClassDeclaration__Group_4_0_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_1()); } - (rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1) - { after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_1()); } + { before(grammarAccess.getClassDeclarationAccess().getSemicolonKeyword_4_0_1_1()); } + (';')? + { after(grammarAccess.getClassDeclarationAccess().getSemicolonKeyword_4_0_1_1()); } ) ; finally { @@ -1332,9 +1509,9 @@ rule__ReferenceDeclaration__Group__2__Impl } : ( - { before(grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2()); } - '[' - { after(grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2()); } + { before(grammarAccess.getReferenceDeclarationAccess().getGroup_2()); } + (rule__ReferenceDeclaration__Group_2__0)? + { after(grammarAccess.getReferenceDeclarationAccess().getGroup_2()); } ) ; finally { @@ -1359,9 +1536,9 @@ rule__ReferenceDeclaration__Group__3__Impl } : ( - { before(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_3()); } - (rule__ReferenceDeclaration__MultiplicityAssignment_3) - { after(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_3()); } + { before(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_3()); } + (rule__ReferenceDeclaration__NameAssignment_3) + { after(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_3()); } ) ; finally { @@ -1374,7 +1551,6 @@ rule__ReferenceDeclaration__Group__4 } : rule__ReferenceDeclaration__Group__4__Impl - rule__ReferenceDeclaration__Group__5 ; finally { restoreStackSize(stackSize); @@ -1386,116 +1562,144 @@ rule__ReferenceDeclaration__Group__4__Impl } : ( - { before(grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_4()); } - ']' - { after(grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_4()); } + { before(grammarAccess.getReferenceDeclarationAccess().getGroup_4()); } + (rule__ReferenceDeclaration__Group_4__0)? + { after(grammarAccess.getReferenceDeclarationAccess().getGroup_4()); } ) ; finally { restoreStackSize(stackSize); } -rule__ReferenceDeclaration__Group__5 + +rule__ReferenceDeclaration__Group_2__0 @init { int stackSize = keepStackSize(); } : - rule__ReferenceDeclaration__Group__5__Impl - rule__ReferenceDeclaration__Group__6 + rule__ReferenceDeclaration__Group_2__0__Impl + rule__ReferenceDeclaration__Group_2__1 ; finally { restoreStackSize(stackSize); } -rule__ReferenceDeclaration__Group__5__Impl +rule__ReferenceDeclaration__Group_2__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_5()); } - (rule__ReferenceDeclaration__NameAssignment_5) - { after(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_5()); } + { before(grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2_0()); } + '[' + { after(grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ReferenceDeclaration__Group__6 +rule__ReferenceDeclaration__Group_2__1 @init { int stackSize = keepStackSize(); } : - rule__ReferenceDeclaration__Group__6__Impl + rule__ReferenceDeclaration__Group_2__1__Impl + rule__ReferenceDeclaration__Group_2__2 ; finally { restoreStackSize(stackSize); } -rule__ReferenceDeclaration__Group__6__Impl +rule__ReferenceDeclaration__Group_2__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getReferenceDeclarationAccess().getGroup_6()); } - (rule__ReferenceDeclaration__Group_6__0)? - { after(grammarAccess.getReferenceDeclarationAccess().getGroup_6()); } + { before(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_2_1()); } + (rule__ReferenceDeclaration__MultiplicityAssignment_2_1) + { after(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_2_1()); } ) ; finally { restoreStackSize(stackSize); } +rule__ReferenceDeclaration__Group_2__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ReferenceDeclaration__Group_2__2__Impl +; +finally { + restoreStackSize(stackSize); +} -rule__ReferenceDeclaration__Group_6__0 +rule__ReferenceDeclaration__Group_2__2__Impl @init { int stackSize = keepStackSize(); } : - rule__ReferenceDeclaration__Group_6__0__Impl - rule__ReferenceDeclaration__Group_6__1 +( + { before(grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_2_2()); } + ']' + { after(grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_2_2()); } +) ; finally { restoreStackSize(stackSize); } -rule__ReferenceDeclaration__Group_6__0__Impl + +rule__ReferenceDeclaration__Group_4__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ReferenceDeclaration__Group_4__0__Impl + rule__ReferenceDeclaration__Group_4__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ReferenceDeclaration__Group_4__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_6_0()); } + { before(grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_4_0()); } 'opposite' - { after(grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_6_0()); } + { after(grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_4_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ReferenceDeclaration__Group_6__1 +rule__ReferenceDeclaration__Group_4__1 @init { int stackSize = keepStackSize(); } : - rule__ReferenceDeclaration__Group_6__1__Impl + rule__ReferenceDeclaration__Group_4__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ReferenceDeclaration__Group_6__1__Impl +rule__ReferenceDeclaration__Group_4__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_6_1()); } - (rule__ReferenceDeclaration__OppositeAssignment_6_1) - { after(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_6_1()); } + { before(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_4_1()); } + (rule__ReferenceDeclaration__OppositeAssignment_4_1) + { after(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_4_1()); } ) ; finally { @@ -1872,9 +2076,9 @@ rule__PredicateDefinition__Group_5__0__Impl } : ( - { before(grammarAccess.getPredicateDefinitionAccess().getColonEqualsSignKeyword_5_0()); } - ':=' - { after(grammarAccess.getPredicateDefinitionAccess().getColonEqualsSignKeyword_5_0()); } + { before(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_5_0()); } + ':-' + { after(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_5_0()); } ) ; finally { @@ -3339,107 +3543,134 @@ finally { } -rule__QualifiedName__Group__0 +rule__QualifiedName__Group_1__0 @init { int stackSize = keepStackSize(); } : - rule__QualifiedName__Group__0__Impl - rule__QualifiedName__Group__1 + rule__QualifiedName__Group_1__0__Impl + rule__QualifiedName__Group_1__1 ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group__0__Impl +rule__QualifiedName__Group_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); } + { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_0()); } RULE_ID - { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); } + { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group__1 +rule__QualifiedName__Group_1__1 @init { int stackSize = keepStackSize(); } : - rule__QualifiedName__Group__1__Impl + rule__QualifiedName__Group_1__1__Impl + rule__QualifiedName__Group_1__2 ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group__1__Impl +rule__QualifiedName__Group_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQualifiedNameAccess().getGroup_1()); } - (rule__QualifiedName__Group_1__0)* - { after(grammarAccess.getQualifiedNameAccess().getGroup_1()); } + { before(grammarAccess.getQualifiedNameAccess().getGroup_1_1()); } + (rule__QualifiedName__Group_1_1__0)* + { after(grammarAccess.getQualifiedNameAccess().getGroup_1_1()); } ) ; finally { restoreStackSize(stackSize); } +rule__QualifiedName__Group_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__QualifiedName__Group_1__2__Impl +; +finally { + restoreStackSize(stackSize); +} -rule__QualifiedName__Group_1__0 +rule__QualifiedName__Group_1__2__Impl @init { int stackSize = keepStackSize(); } : - rule__QualifiedName__Group_1__0__Impl - rule__QualifiedName__Group_1__1 +( + { before(grammarAccess.getQualifiedNameAccess().getGroup_1_2()); } + (rule__QualifiedName__Group_1_2__0)? + { after(grammarAccess.getQualifiedNameAccess().getGroup_1_2()); } +) ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group_1__0__Impl + +rule__QualifiedName__Group_1_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__QualifiedName__Group_1_1__0__Impl + rule__QualifiedName__Group_1_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__QualifiedName__Group_1_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_0()); } - '::' - { after(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_0()); } + { before(grammarAccess.getQualifiedNameAccess().getColonKeyword_1_1_0()); } + ':' + { after(grammarAccess.getQualifiedNameAccess().getColonKeyword_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group_1__1 +rule__QualifiedName__Group_1_1__1 @init { int stackSize = keepStackSize(); } : - rule__QualifiedName__Group_1__1__Impl + rule__QualifiedName__Group_1_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group_1__1__Impl +rule__QualifiedName__Group_1_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); } + { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1_1()); } RULE_ID - { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); } + { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1_1()); } ) ; finally { @@ -3447,136 +3678,171 @@ finally { } -rule__Problem__StatementsAssignment +rule__QualifiedName__Group_1_2__0 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); } - ruleStatement - { after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); } - ) + rule__QualifiedName__Group_1_2__0__Impl + rule__QualifiedName__Group_1_2__1 ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__AbstractAssignment_0 +rule__QualifiedName__Group_1_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getQualifiedNameAccess().getColonKeyword_1_2_0()); } + ':' + { after(grammarAccess.getQualifiedNameAccess().getColonKeyword_1_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__QualifiedName__Group_1_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__QualifiedName__Group_1_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__QualifiedName__Group_1_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1_2_1()); } + RULE_QUOTED_ID + { after(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Problem__NameAssignment_0_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); } - ( - { before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); } - 'abstract' - { after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); } - ) - { after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); } + { before(grammarAccess.getProblemAccess().getNameIDTerminalRuleCall_0_1_0()); } + RULE_ID + { after(grammarAccess.getProblemAccess().getNameIDTerminalRuleCall_0_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__NameAssignment_2 +rule__Problem__StatementsAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0()); } - RULE_ID - { after(grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0()); } + { before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_1_0()); } + ruleStatement + { after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0 +rule__ClassDeclaration__AbstractAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_0_0()); } + { before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); } ( - { before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_0_0_1()); } - RULE_ID - { after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_0_0_1()); } + { before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); } + 'abstract' + { after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); } ) - { after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_0_0()); } + { after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0 +rule__ClassDeclaration__NameAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_1_1_0_0()); } - ( - { before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_1_1_0_0_1()); } - RULE_ID - { after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_1_1_0_0_1()); } - ) - { after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_1_1_0_0()); } + { before(grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0()); } + RULE_ID + { after(grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1 +rule__ClassDeclaration__SuperTypesAssignment_3_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_1_1_1_1_0()); } + { before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_1_0()); } ( - { before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_1_1_1_1_0_1()); } - RULE_ID - { after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_1_1_1_1_0_1()); } + { before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationQualifiedNameParserRuleCall_3_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationQualifiedNameParserRuleCall_3_1_0_1()); } ) - { after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_1_1_1_1_0()); } + { after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1 +rule__ClassDeclaration__SuperTypesAssignment_3_2_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_3_1_0()); } - ruleReferenceDeclaration - { after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_3_1_0()); } + { before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_2_1_0()); } + ( + { before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationQualifiedNameParserRuleCall_3_2_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationQualifiedNameParserRuleCall_3_2_1_0_1()); } + ) + { after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1 +rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_4_1_0()); } + { before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_4_0_1_0_0()); } ruleReferenceDeclaration - { after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_4_1_0()); } + { after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_4_0_1_0_0()); } ) ; finally { @@ -3610,9 +3876,9 @@ rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ( { before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationCrossReference_1_0()); } ( - { before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationIDTerminalRuleCall_1_0_1()); } - RULE_ID - { after(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationIDTerminalRuleCall_1_0_1()); } + { before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationQualifiedNameParserRuleCall_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationQualifiedNameParserRuleCall_1_0_1()); } ) { after(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationCrossReference_1_0()); } ) @@ -3621,49 +3887,49 @@ finally { restoreStackSize(stackSize); } -rule__ReferenceDeclaration__MultiplicityAssignment_3 +rule__ReferenceDeclaration__MultiplicityAssignment_2_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getReferenceDeclarationAccess().getMultiplicityMultiplicityParserRuleCall_3_0()); } + { before(grammarAccess.getReferenceDeclarationAccess().getMultiplicityMultiplicityParserRuleCall_2_1_0()); } ruleMultiplicity - { after(grammarAccess.getReferenceDeclarationAccess().getMultiplicityMultiplicityParserRuleCall_3_0()); } + { after(grammarAccess.getReferenceDeclarationAccess().getMultiplicityMultiplicityParserRuleCall_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ReferenceDeclaration__NameAssignment_5 +rule__ReferenceDeclaration__NameAssignment_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getReferenceDeclarationAccess().getNameIDTerminalRuleCall_5_0()); } + { before(grammarAccess.getReferenceDeclarationAccess().getNameIDTerminalRuleCall_3_0()); } RULE_ID - { after(grammarAccess.getReferenceDeclarationAccess().getNameIDTerminalRuleCall_5_0()); } + { after(grammarAccess.getReferenceDeclarationAccess().getNameIDTerminalRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ReferenceDeclaration__OppositeAssignment_6_1 +rule__ReferenceDeclaration__OppositeAssignment_4_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationCrossReference_6_1_0()); } + { before(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationCrossReference_4_1_0()); } ( - { before(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationQualifiedNameParserRuleCall_6_1_0_1()); } + { before(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationQualifiedNameParserRuleCall_4_1_0_1()); } ruleQualifiedName - { after(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationQualifiedNameParserRuleCall_6_1_0_1()); } + { after(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationQualifiedNameParserRuleCall_4_1_0_1()); } ) - { after(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationCrossReference_6_1_0()); } + { after(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationCrossReference_4_1_0()); } ) ; finally { @@ -3887,13 +4153,9 @@ rule__Atom__ArgumentsAssignment_3_0 } : ( - { before(grammarAccess.getAtomAccess().getArgumentsVariableCrossReference_3_0_0()); } - ( - { before(grammarAccess.getAtomAccess().getArgumentsVariableIDTerminalRuleCall_3_0_0_1()); } - RULE_ID - { after(grammarAccess.getAtomAccess().getArgumentsVariableIDTerminalRuleCall_3_0_0_1()); } - ) - { after(grammarAccess.getAtomAccess().getArgumentsVariableCrossReference_3_0_0()); } + { before(grammarAccess.getAtomAccess().getArgumentsArgumentParserRuleCall_3_0_0()); } + ruleArgument + { after(grammarAccess.getAtomAccess().getArgumentsArgumentParserRuleCall_3_0_0()); } ) ; finally { @@ -3906,13 +4168,28 @@ rule__Atom__ArgumentsAssignment_3_1_1 } : ( - { before(grammarAccess.getAtomAccess().getArgumentsVariableCrossReference_3_1_1_0()); } + { before(grammarAccess.getAtomAccess().getArgumentsArgumentParserRuleCall_3_1_1_0()); } + ruleArgument + { after(grammarAccess.getAtomAccess().getArgumentsArgumentParserRuleCall_3_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Argument__VariableAssignment + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getArgumentAccess().getVariableVariableCrossReference_0()); } ( - { before(grammarAccess.getAtomAccess().getArgumentsVariableIDTerminalRuleCall_3_1_1_0_1()); } + { before(grammarAccess.getArgumentAccess().getVariableVariableIDTerminalRuleCall_0_1()); } RULE_ID - { after(grammarAccess.getAtomAccess().getArgumentsVariableIDTerminalRuleCall_3_1_1_0_1()); } + { after(grammarAccess.getArgumentAccess().getVariableVariableIDTerminalRuleCall_0_1()); } ) - { after(grammarAccess.getAtomAccess().getArgumentsVariableCrossReference_3_1_1_0()); } + { after(grammarAccess.getArgumentAccess().getVariableVariableCrossReference_0()); } ) ; finally { @@ -4137,9 +4414,9 @@ rule__TypeScope__MultiplicityAssignment_2 } : ( - { before(grammarAccess.getTypeScopeAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); } - ruleMultiplicity - { after(grammarAccess.getTypeScopeAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); } + { before(grammarAccess.getTypeScopeAccess().getMultiplicityDefiniteMultiplicityParserRuleCall_2_0()); } + ruleDefiniteMultiplicity + { after(grammarAccess.getTypeScopeAccess().getMultiplicityDefiniteMultiplicityParserRuleCall_2_0()); } ) ; finally { @@ -4191,12 +4468,14 @@ finally { restoreStackSize(stackSize); } +RULE_STRING : '"' ('\\' .|~(('\\'|'"')))* '"'; + +RULE_QUOTED_ID : '\'' ('\\' .|~(('\\'|'\'')))* '\''; + RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; RULE_INT : ('0'..'9')+; -RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\''); - RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; diff --git a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.tokens b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.tokens index b3c4a1ea..96f12627 100644 --- a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.tokens +++ b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.tokens @@ -1,40 +1,42 @@ -'!'=18 -'('=27 -')'=28 -'*'=14 -'+'=38 -'+='=39 +'!'=20 +'('=32 +')'=33 +'*'=16 +'+'=41 +'+='=42 ','=25 -'.'=21 -'..'=33 -':'=31 -'::'=34 -':='=29 -';'=30 -'='=13 -'?'=19 -'['=23 -']'=24 -'abstract'=35 -'class'=20 -'contains'=36 -'error'=37 -'extends'=22 -'false'=16 -'opposite'=26 -'pred'=12 -'refers'=11 -'scope'=32 -'true'=15 -'unknown'=17 -RULE_ANY_OTHER=10 -RULE_ID=5 +'.'=12 +'..'=37 +':'=35 +':-'=34 +';'=28 +'='=15 +'?'=21 +'['=29 +']'=30 +'abstract'=38 +'class'=23 +'contains'=39 +'error'=40 +'extends'=24 +'false'=18 +'opposite'=31 +'pred'=14 +'problem'=22 +'refers'=13 +'scope'=36 +'true'=17 +'unknown'=19 +'{'=26 +'}'=27 +RULE_ANY_OTHER=11 +RULE_ID=6 RULE_INT=4 -RULE_ML_COMMENT=7 -RULE_SL_COMMENT=8 -RULE_STRING=6 -RULE_WS=9 -T__11=11 +RULE_ML_COMMENT=8 +RULE_QUOTED_ID=5 +RULE_SL_COMMENT=9 +RULE_STRING=7 +RULE_WS=10 T__12=12 T__13=13 T__14=14 @@ -63,3 +65,6 @@ T__36=36 T__37=37 T__38=38 T__39=39 +T__40=40 +T__41=41 +T__42=42 diff --git a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblemLexer.java b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblemLexer.java index 0bd65406..a180de53 100644 --- a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblemLexer.java +++ b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblemLexer.java @@ -12,8 +12,8 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalProblemLexer extends Lexer { - public static final int RULE_STRING=6; - public static final int RULE_SL_COMMENT=8; + public static final int RULE_STRING=7; + public static final int RULE_SL_COMMENT=9; public static final int T__19=19; public static final int T__15=15; public static final int T__37=37; @@ -22,7 +22,6 @@ public class InternalProblemLexer extends Lexer { 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; @@ -34,20 +33,24 @@ public class InternalProblemLexer extends Lexer { 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 RULE_ID=6; + public static final int RULE_WS=10; + public static final int RULE_QUOTED_ID=5; + public static final int RULE_ANY_OTHER=11; 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 RULE_ML_COMMENT=8; public static final int T__23=23; public static final int T__24=24; public static final int T__25=25; + public static final int T__40=40; + public static final int T__41=41; public static final int T__20=20; + public static final int T__42=42; public static final int T__21=21; // delegates @@ -63,37 +66,15 @@ public class InternalProblemLexer extends Lexer { } public String getGrammarFileName() { return "InternalProblem.g"; } - // $ANTLR start "T__11" - public final void mT__11() throws RecognitionException { - try { - int _type = T__11; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:11:7: ( 'refers' ) - // InternalProblem.g:11:9: 'refers' - { - match("refers"); - - - } - - 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; - // InternalProblem.g:12:7: ( 'pred' ) - // InternalProblem.g:12:9: 'pred' + // InternalProblem.g:11:7: ( '.' ) + // InternalProblem.g:11:9: '.' { - match("pred"); - + match('.'); } @@ -110,10 +91,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__13; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:13:7: ( '=' ) - // InternalProblem.g:13:9: '=' + // InternalProblem.g:12:7: ( 'refers' ) + // InternalProblem.g:12:9: 'refers' { - match('='); + match("refers"); + } @@ -130,10 +112,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__14; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:14:7: ( '*' ) - // InternalProblem.g:14:9: '*' + // InternalProblem.g:13:7: ( 'pred' ) + // InternalProblem.g:13:9: 'pred' { - match('*'); + match("pred"); + } @@ -150,11 +133,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__15; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:15:7: ( 'true' ) - // InternalProblem.g:15:9: 'true' + // InternalProblem.g:14:7: ( '=' ) + // InternalProblem.g:14:9: '=' { - match("true"); - + match('='); } @@ -171,11 +153,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__16; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:16:7: ( 'false' ) - // InternalProblem.g:16:9: 'false' + // InternalProblem.g:15:7: ( '*' ) + // InternalProblem.g:15:9: '*' { - match("false"); - + match('*'); } @@ -192,10 +173,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__17; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:17:7: ( 'unknown' ) - // InternalProblem.g:17:9: 'unknown' + // InternalProblem.g:16:7: ( 'true' ) + // InternalProblem.g:16:9: 'true' { - match("unknown"); + match("true"); } @@ -213,10 +194,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__18; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:18:7: ( '!' ) - // InternalProblem.g:18:9: '!' + // InternalProblem.g:17:7: ( 'false' ) + // InternalProblem.g:17:9: 'false' { - match('!'); + match("false"); + } @@ -233,10 +215,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__19; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:19:7: ( '?' ) - // InternalProblem.g:19:9: '?' + // InternalProblem.g:18:7: ( 'unknown' ) + // InternalProblem.g:18:9: 'unknown' { - match('?'); + match("unknown"); + } @@ -253,11 +236,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__20; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:20:7: ( 'class' ) - // InternalProblem.g:20:9: 'class' + // InternalProblem.g:19:7: ( '!' ) + // InternalProblem.g:19:9: '!' { - match("class"); - + match('!'); } @@ -274,10 +256,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__21; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:21:7: ( '.' ) - // InternalProblem.g:21:9: '.' + // InternalProblem.g:20:7: ( '?' ) + // InternalProblem.g:20:9: '?' { - match('.'); + match('?'); } @@ -294,10 +276,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__22; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:22:7: ( 'extends' ) - // InternalProblem.g:22:9: 'extends' + // InternalProblem.g:21:7: ( 'problem' ) + // InternalProblem.g:21:9: 'problem' { - match("extends"); + match("problem"); } @@ -315,10 +297,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__23; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:23:7: ( '[' ) - // InternalProblem.g:23:9: '[' + // InternalProblem.g:22:7: ( 'class' ) + // InternalProblem.g:22:9: 'class' { - match('['); + match("class"); + } @@ -335,10 +318,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__24; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:24:7: ( ']' ) - // InternalProblem.g:24:9: ']' + // InternalProblem.g:23:7: ( 'extends' ) + // InternalProblem.g:23:9: 'extends' { - match(']'); + match("extends"); + } @@ -355,8 +339,8 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__25; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:25:7: ( ',' ) - // InternalProblem.g:25:9: ',' + // InternalProblem.g:24:7: ( ',' ) + // InternalProblem.g:24:9: ',' { match(','); @@ -375,11 +359,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__26; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:26:7: ( 'opposite' ) - // InternalProblem.g:26:9: 'opposite' + // InternalProblem.g:25:7: ( '{' ) + // InternalProblem.g:25:9: '{' { - match("opposite"); - + match('{'); } @@ -396,10 +379,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__27; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:27:7: ( '(' ) - // InternalProblem.g:27:9: '(' + // InternalProblem.g:26:7: ( '}' ) + // InternalProblem.g:26:9: '}' { - match('('); + match('}'); } @@ -416,10 +399,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__28; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:28:7: ( ')' ) - // InternalProblem.g:28:9: ')' + // InternalProblem.g:27:7: ( ';' ) + // InternalProblem.g:27:9: ';' { - match(')'); + match(';'); } @@ -436,11 +419,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__29; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:29:7: ( ':=' ) - // InternalProblem.g:29:9: ':=' + // InternalProblem.g:28:7: ( '[' ) + // InternalProblem.g:28:9: '[' { - match(":="); - + match('['); } @@ -457,10 +439,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__30; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:30:7: ( ';' ) - // InternalProblem.g:30:9: ';' + // InternalProblem.g:29:7: ( ']' ) + // InternalProblem.g:29:9: ']' { - match(';'); + match(']'); } @@ -477,10 +459,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__31; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:31:7: ( ':' ) - // InternalProblem.g:31:9: ':' + // InternalProblem.g:30:7: ( 'opposite' ) + // InternalProblem.g:30:9: 'opposite' { - match(':'); + match("opposite"); + } @@ -497,11 +480,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__32; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:32:7: ( 'scope' ) - // InternalProblem.g:32:9: 'scope' + // InternalProblem.g:31:7: ( '(' ) + // InternalProblem.g:31:9: '(' { - match("scope"); - + match('('); } @@ -518,11 +500,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__33; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:33:7: ( '..' ) - // InternalProblem.g:33:9: '..' + // InternalProblem.g:32:7: ( ')' ) + // InternalProblem.g:32:9: ')' { - match(".."); - + match(')'); } @@ -539,10 +520,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__34; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:34:7: ( '::' ) - // InternalProblem.g:34:9: '::' + // InternalProblem.g:33:7: ( ':-' ) + // InternalProblem.g:33:9: ':-' { - match("::"); + match(":-"); } @@ -560,11 +541,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__35; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:35:7: ( 'abstract' ) - // InternalProblem.g:35:9: 'abstract' + // InternalProblem.g:34:7: ( ':' ) + // InternalProblem.g:34:9: ':' { - match("abstract"); - + match(':'); } @@ -581,10 +561,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__36; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:36:7: ( 'contains' ) - // InternalProblem.g:36:9: 'contains' + // InternalProblem.g:35:7: ( 'scope' ) + // InternalProblem.g:35:9: 'scope' { - match("contains"); + match("scope"); } @@ -602,10 +582,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__37; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:37:7: ( 'error' ) - // InternalProblem.g:37:9: 'error' + // InternalProblem.g:36:7: ( '..' ) + // InternalProblem.g:36:9: '..' { - match("error"); + match(".."); } @@ -623,10 +603,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__38; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:38:7: ( '+' ) - // InternalProblem.g:38:9: '+' + // InternalProblem.g:37:7: ( 'abstract' ) + // InternalProblem.g:37:9: 'abstract' { - match('+'); + match("abstract"); + } @@ -643,10 +624,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__39; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:39:7: ( '+=' ) - // InternalProblem.g:39:9: '+=' + // InternalProblem.g:38:7: ( 'contains' ) + // InternalProblem.g:38:9: 'contains' { - match("+="); + match("contains"); } @@ -659,57 +640,104 @@ public class InternalProblemLexer extends Lexer { } // $ANTLR end "T__39" - // $ANTLR start "RULE_ID" - public final void mRULE_ID() throws RecognitionException { + // $ANTLR start "T__40" + public final void mT__40() throws RecognitionException { try { - int _type = RULE_ID; + int _type = T__40; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:4194:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalProblem.g:4194:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalProblem.g:39:7: ( 'error' ) + // InternalProblem.g:39:9: 'error' { - // InternalProblem.g:4194:11: ( '^' )? - int alt1=2; - int LA1_0 = input.LA(1); + match("error"); + - if ( (LA1_0=='^') ) { - alt1=1; } - switch (alt1) { - case 1 : - // InternalProblem.g:4194:11: '^' - { - match('^'); - } - break; + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__40" + + // $ANTLR start "T__41" + public final void mT__41() throws RecognitionException { + try { + int _type = T__41; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalProblem.g:40:7: ( '+' ) + // InternalProblem.g:40:9: '+' + { + match('+'); } - if ( (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__41" + + // $ANTLR start "T__42" + public final void mT__42() throws RecognitionException { + try { + int _type = T__42; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalProblem.g:41:7: ( '+=' ) + // InternalProblem.g:41:9: '+=' + { + match("+="); + } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - // InternalProblem.g:4194:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop2: + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__42" + + // $ANTLR start "RULE_STRING" + public final void mRULE_STRING() throws RecognitionException { + try { + int _type = RULE_STRING; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalProblem.g:4471:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) + // InternalProblem.g:4471:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + { + match('\"'); + // InternalProblem.g:4471:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + loop1: do { - int alt2=2; - int LA2_0 = input.LA(1); + int alt1=3; + int LA1_0 = input.LA(1); - if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { - alt2=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 (alt2) { + switch (alt1) { case 1 : - // InternalProblem.g: + // InternalProblem.g:4471:20: '\\\\' . { - 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') ) { + match('\\'); + matchAny(); + + } + break; + case 2 : + // InternalProblem.g:4471:27: ~ ( ( '\\\\' | '\"' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); } @@ -723,10 +751,11 @@ public class InternalProblemLexer extends Lexer { break; default : - break loop2; + break loop1; } } while (true); + match('\"'); } @@ -736,46 +765,62 @@ public class InternalProblemLexer extends Lexer { finally { } } - // $ANTLR end "RULE_ID" + // $ANTLR end "RULE_STRING" - // $ANTLR start "RULE_INT" - public final void mRULE_INT() throws RecognitionException { + // $ANTLR start "RULE_QUOTED_ID" + public final void mRULE_QUOTED_ID() throws RecognitionException { try { - int _type = RULE_INT; + int _type = RULE_QUOTED_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:4196:10: ( ( '0' .. '9' )+ ) - // InternalProblem.g:4196:12: ( '0' .. '9' )+ + // InternalProblem.g:4473:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalProblem.g:4473:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { - // InternalProblem.g:4196:12: ( '0' .. '9' )+ - int cnt3=0; - loop3: + match('\''); + // InternalProblem.g:4473:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + loop2: do { - int alt3=2; - int LA3_0 = input.LA(1); + int alt2=3; + int LA2_0 = input.LA(1); - if ( ((LA3_0>='0' && LA3_0<='9')) ) { - alt3=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 (alt3) { + switch (alt2) { case 1 : - // InternalProblem.g:4196:13: '0' .. '9' + // InternalProblem.g:4473:24: '\\\\' . { - matchRange('0','9'); + match('\\'); + matchAny(); + + } + break; + case 2 : + // InternalProblem.g:4473: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 : - if ( cnt3 >= 1 ) break loop3; - EarlyExitException eee = - new EarlyExitException(3, input); - throw eee; + break loop2; } - cnt3++; } while (true); + match('\''); } @@ -785,140 +830,125 @@ public class InternalProblemLexer extends Lexer { finally { } } - // $ANTLR end "RULE_INT" + // $ANTLR end "RULE_QUOTED_ID" - // $ANTLR start "RULE_STRING" - public final void mRULE_STRING() throws RecognitionException { + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { try { - int _type = RULE_STRING; + int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:4198:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalProblem.g:4198:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalProblem.g:4475:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalProblem.g:4475:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalProblem.g:4198:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - int alt6=2; - int LA6_0 = input.LA(1); + // InternalProblem.g:4475:11: ( '^' )? + int alt3=2; + int LA3_0 = input.LA(1); - if ( (LA6_0=='\"') ) { - alt6=1; + if ( (LA3_0=='^') ) { + alt3=1; } - else if ( (LA6_0=='\'') ) { - alt6=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 6, 0, input); - - throw nvae; - } - switch (alt6) { + switch (alt3) { case 1 : - // InternalProblem.g:4198:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalProblem.g:4475:11: '^' { - match('\"'); - // InternalProblem.g:4198:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* - loop4: - do { - int alt4=3; - int LA4_0 = input.LA(1); - - if ( (LA4_0=='\\') ) { - alt4=1; - } - else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) { - alt4=2; - } - - - switch (alt4) { - case 1 : - // InternalProblem.g:4198:21: '\\\\' . - { - match('\\'); - matchAny(); - - } - break; - case 2 : - // InternalProblem.g:4198:28: ~ ( ( '\\\\' | '\"' ) ) - { - 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 loop4; - } - } while (true); - - match('\"'); + match('^'); } break; - case 2 : - // InternalProblem.g:4198:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' - { - match('\''); - // InternalProblem.g:4198:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* - loop5: - do { - int alt5=3; - int LA5_0 = input.LA(1); - - if ( (LA5_0=='\\') ) { - alt5=1; - } - else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { - alt5=2; - } - - - switch (alt5) { - case 1 : - // InternalProblem.g:4198:54: '\\\\' . - { - match('\\'); - matchAny(); - - } - break; - case 2 : - // InternalProblem.g:4198:61: ~ ( ( '\\\\' | '\\'' ) ) - { - 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 loop5; - } - } while (true); - - 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;} + + // InternalProblem.g:4475:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // InternalProblem.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; + // InternalProblem.g:4477:10: ( ( '0' .. '9' )+ ) + // InternalProblem.g:4477:12: ( '0' .. '9' )+ + { + // InternalProblem.g:4477: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 : + // InternalProblem.g:4477:13: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt5 >= 1 ) break loop5; + EarlyExitException eee = + new EarlyExitException(5, input); + throw eee; + } + cnt5++; + } while (true); + } @@ -928,44 +958,44 @@ public class InternalProblemLexer extends Lexer { finally { } } - // $ANTLR end "RULE_STRING" + // $ANTLR end "RULE_INT" // $ANTLR start "RULE_ML_COMMENT" public final void mRULE_ML_COMMENT() throws RecognitionException { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:4200:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalProblem.g:4200:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalProblem.g:4479:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalProblem.g:4479:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalProblem.g:4200:24: ( options {greedy=false; } : . )* - loop7: + // InternalProblem.g:4479:24: ( options {greedy=false; } : . )* + loop6: do { - int alt7=2; - int LA7_0 = input.LA(1); + int alt6=2; + int LA6_0 = input.LA(1); - if ( (LA7_0=='*') ) { - int LA7_1 = input.LA(2); + if ( (LA6_0=='*') ) { + int LA6_1 = input.LA(2); - if ( (LA7_1=='/') ) { - alt7=2; + if ( (LA6_1=='/') ) { + alt6=2; } - else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) { - alt7=1; + else if ( ((LA6_1>='\u0000' && LA6_1<='.')||(LA6_1>='0' && LA6_1<='\uFFFF')) ) { + alt6=1; } } - else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) { - alt7=1; + else if ( ((LA6_0>='\u0000' && LA6_0<=')')||(LA6_0>='+' && LA6_0<='\uFFFF')) ) { + alt6=1; } - switch (alt7) { + switch (alt6) { case 1 : - // InternalProblem.g:4200:52: . + // InternalProblem.g:4479:52: . { matchAny(); @@ -973,7 +1003,7 @@ public class InternalProblemLexer extends Lexer { break; default : - break loop7; + break loop6; } } while (true); @@ -995,25 +1025,25 @@ public class InternalProblemLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:4202:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalProblem.g:4202:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalProblem.g:4481:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalProblem.g:4481:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // InternalProblem.g:4202:24: (~ ( ( '\\n' | '\\r' ) ) )* - loop8: + // InternalProblem.g:4481:24: (~ ( ( '\\n' | '\\r' ) ) )* + loop7: do { - int alt8=2; - int LA8_0 = input.LA(1); + int alt7=2; + int LA7_0 = input.LA(1); - if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) { - alt8=1; + if ( ((LA7_0>='\u0000' && LA7_0<='\t')||(LA7_0>='\u000B' && LA7_0<='\f')||(LA7_0>='\u000E' && LA7_0<='\uFFFF')) ) { + alt7=1; } - switch (alt8) { + switch (alt7) { case 1 : - // InternalProblem.g:4202:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalProblem.g:4481: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(); @@ -1029,31 +1059,31 @@ public class InternalProblemLexer extends Lexer { break; default : - break loop8; + break loop7; } } while (true); - // InternalProblem.g:4202:40: ( ( '\\r' )? '\\n' )? - int alt10=2; - int LA10_0 = input.LA(1); + // InternalProblem.g:4481:40: ( ( '\\r' )? '\\n' )? + int alt9=2; + int LA9_0 = input.LA(1); - if ( (LA10_0=='\n'||LA10_0=='\r') ) { - alt10=1; + if ( (LA9_0=='\n'||LA9_0=='\r') ) { + alt9=1; } - switch (alt10) { + switch (alt9) { case 1 : - // InternalProblem.g:4202:41: ( '\\r' )? '\\n' + // InternalProblem.g:4481:41: ( '\\r' )? '\\n' { - // InternalProblem.g:4202:41: ( '\\r' )? - int alt9=2; - int LA9_0 = input.LA(1); + // InternalProblem.g:4481:41: ( '\\r' )? + int alt8=2; + int LA8_0 = input.LA(1); - if ( (LA9_0=='\r') ) { - alt9=1; + if ( (LA8_0=='\r') ) { + alt8=1; } - switch (alt9) { + switch (alt8) { case 1 : - // InternalProblem.g:4202:41: '\\r' + // InternalProblem.g:4481:41: '\\r' { match('\r'); @@ -1085,22 +1115,22 @@ public class InternalProblemLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:4204:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalProblem.g:4204:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalProblem.g:4483:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalProblem.g:4483:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalProblem.g:4204:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt11=0; - loop11: + // InternalProblem.g:4483:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt10=0; + loop10: do { - int alt11=2; - int LA11_0 = input.LA(1); + int alt10=2; + int LA10_0 = input.LA(1); - if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { - alt11=1; + if ( ((LA10_0>='\t' && LA10_0<='\n')||LA10_0=='\r'||LA10_0==' ') ) { + alt10=1; } - switch (alt11) { + switch (alt10) { case 1 : // InternalProblem.g: { @@ -1118,12 +1148,12 @@ public class InternalProblemLexer extends Lexer { break; default : - if ( cnt11 >= 1 ) break loop11; + if ( cnt10 >= 1 ) break loop10; EarlyExitException eee = - new EarlyExitException(11, input); + new EarlyExitException(10, input); throw eee; } - cnt11++; + cnt10++; } while (true); @@ -1142,8 +1172,8 @@ public class InternalProblemLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:4206:16: ( . ) - // InternalProblem.g:4206:18: . + // InternalProblem.g:4485:16: ( . ) + // InternalProblem.g:4485:18: . { matchAny(); @@ -1158,257 +1188,278 @@ public class InternalProblemLexer extends Lexer { // $ANTLR end "RULE_ANY_OTHER" public void mTokens() throws RecognitionException { - // InternalProblem.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 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt12=36; - alt12 = dfa12.predict(input); - switch (alt12) { + // InternalProblem.g:1:8: ( 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 | T__42 | RULE_STRING | RULE_QUOTED_ID | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt11=39; + alt11 = dfa11.predict(input); + switch (alt11) { case 1 : - // InternalProblem.g:1:10: T__11 + // InternalProblem.g:1:10: T__12 { - mT__11(); + mT__12(); } break; case 2 : - // InternalProblem.g:1:16: T__12 + // InternalProblem.g:1:16: T__13 { - mT__12(); + mT__13(); } break; case 3 : - // InternalProblem.g:1:22: T__13 + // InternalProblem.g:1:22: T__14 { - mT__13(); + mT__14(); } break; case 4 : - // InternalProblem.g:1:28: T__14 + // InternalProblem.g:1:28: T__15 { - mT__14(); + mT__15(); } break; case 5 : - // InternalProblem.g:1:34: T__15 + // InternalProblem.g:1:34: T__16 { - mT__15(); + mT__16(); } break; case 6 : - // InternalProblem.g:1:40: T__16 + // InternalProblem.g:1:40: T__17 { - mT__16(); + mT__17(); } break; case 7 : - // InternalProblem.g:1:46: T__17 + // InternalProblem.g:1:46: T__18 { - mT__17(); + mT__18(); } break; case 8 : - // InternalProblem.g:1:52: T__18 + // InternalProblem.g:1:52: T__19 { - mT__18(); + mT__19(); } break; case 9 : - // InternalProblem.g:1:58: T__19 + // InternalProblem.g:1:58: T__20 { - mT__19(); + mT__20(); } break; case 10 : - // InternalProblem.g:1:64: T__20 + // InternalProblem.g:1:64: T__21 { - mT__20(); + mT__21(); } break; case 11 : - // InternalProblem.g:1:70: T__21 + // InternalProblem.g:1:70: T__22 { - mT__21(); + mT__22(); } break; case 12 : - // InternalProblem.g:1:76: T__22 + // InternalProblem.g:1:76: T__23 { - mT__22(); + mT__23(); } break; case 13 : - // InternalProblem.g:1:82: T__23 + // InternalProblem.g:1:82: T__24 { - mT__23(); + mT__24(); } break; case 14 : - // InternalProblem.g:1:88: T__24 + // InternalProblem.g:1:88: T__25 { - mT__24(); + mT__25(); } break; case 15 : - // InternalProblem.g:1:94: T__25 + // InternalProblem.g:1:94: T__26 { - mT__25(); + mT__26(); } break; case 16 : - // InternalProblem.g:1:100: T__26 + // InternalProblem.g:1:100: T__27 { - mT__26(); + mT__27(); } break; case 17 : - // InternalProblem.g:1:106: T__27 + // InternalProblem.g:1:106: T__28 { - mT__27(); + mT__28(); } break; case 18 : - // InternalProblem.g:1:112: T__28 + // InternalProblem.g:1:112: T__29 { - mT__28(); + mT__29(); } break; case 19 : - // InternalProblem.g:1:118: T__29 + // InternalProblem.g:1:118: T__30 { - mT__29(); + mT__30(); } break; case 20 : - // InternalProblem.g:1:124: T__30 + // InternalProblem.g:1:124: T__31 { - mT__30(); + mT__31(); } break; case 21 : - // InternalProblem.g:1:130: T__31 + // InternalProblem.g:1:130: T__32 { - mT__31(); + mT__32(); } break; case 22 : - // InternalProblem.g:1:136: T__32 + // InternalProblem.g:1:136: T__33 { - mT__32(); + mT__33(); } break; case 23 : - // InternalProblem.g:1:142: T__33 + // InternalProblem.g:1:142: T__34 { - mT__33(); + mT__34(); } break; case 24 : - // InternalProblem.g:1:148: T__34 + // InternalProblem.g:1:148: T__35 { - mT__34(); + mT__35(); } break; case 25 : - // InternalProblem.g:1:154: T__35 + // InternalProblem.g:1:154: T__36 { - mT__35(); + mT__36(); } break; case 26 : - // InternalProblem.g:1:160: T__36 + // InternalProblem.g:1:160: T__37 { - mT__36(); + mT__37(); } break; case 27 : - // InternalProblem.g:1:166: T__37 + // InternalProblem.g:1:166: T__38 { - mT__37(); + mT__38(); } break; case 28 : - // InternalProblem.g:1:172: T__38 + // InternalProblem.g:1:172: T__39 { - mT__38(); + mT__39(); } break; case 29 : - // InternalProblem.g:1:178: T__39 + // InternalProblem.g:1:178: T__40 { - mT__39(); + mT__40(); } break; case 30 : - // InternalProblem.g:1:184: RULE_ID + // InternalProblem.g:1:184: T__41 { - mRULE_ID(); + mT__41(); } break; case 31 : - // InternalProblem.g:1:192: RULE_INT + // InternalProblem.g:1:190: T__42 { - mRULE_INT(); + mT__42(); } break; case 32 : - // InternalProblem.g:1:201: RULE_STRING + // InternalProblem.g:1:196: RULE_STRING { mRULE_STRING(); } break; case 33 : - // InternalProblem.g:1:213: RULE_ML_COMMENT + // InternalProblem.g:1:208: RULE_QUOTED_ID { - mRULE_ML_COMMENT(); + mRULE_QUOTED_ID(); } break; case 34 : - // InternalProblem.g:1:229: RULE_SL_COMMENT + // InternalProblem.g:1:223: RULE_ID { - mRULE_SL_COMMENT(); + mRULE_ID(); } break; case 35 : - // InternalProblem.g:1:245: RULE_WS + // InternalProblem.g:1:231: RULE_INT { - mRULE_WS(); + mRULE_INT(); } break; case 36 : - // InternalProblem.g:1:253: RULE_ANY_OTHER + // InternalProblem.g:1:240: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 37 : + // InternalProblem.g:1:256: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 38 : + // InternalProblem.g:1:272: RULE_WS + { + mRULE_WS(); + + } + break; + case 39 : + // InternalProblem.g:1:280: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -1420,80 +1471,84 @@ public class InternalProblemLexer extends Lexer { } - protected DFA12 dfa12 = new DFA12(this); - static final String DFA12_eotS = - "\1\uffff\2\41\2\uffff\3\41\2\uffff\1\41\1\55\1\41\3\uffff\1\41\2\uffff\1\70\1\uffff\2\41\1\75\1\37\2\uffff\3\37\2\uffff\1\41\1\uffff\1\41\2\uffff\3\41\2\uffff\2\41\2\uffff\2\41\3\uffff\1\41\6\uffff\2\41\7\uffff\15\41\1\134\1\135\12\41\2\uffff\1\150\1\41\1\152\2\41\1\155\1\41\1\157\1\41\1\161\1\uffff\1\41\1\uffff\2\41\1\uffff\1\41\1\uffff\1\41\1\uffff\1\167\1\41\1\171\2\41\1\uffff\1\174\1\uffff\1\175\1\176\3\uffff"; - static final String DFA12_eofS = - "\177\uffff"; - static final String DFA12_minS = - "\1\0\1\145\1\162\2\uffff\1\162\1\141\1\156\2\uffff\1\154\1\56\1\162\3\uffff\1\160\2\uffff\1\72\1\uffff\1\143\1\142\1\75\1\101\2\uffff\2\0\1\52\2\uffff\1\146\1\uffff\1\145\2\uffff\1\165\1\154\1\153\2\uffff\1\141\1\156\2\uffff\1\164\1\162\3\uffff\1\160\6\uffff\1\157\1\163\7\uffff\1\145\1\144\1\145\1\163\1\156\1\163\1\164\1\145\2\157\1\160\1\164\1\162\2\60\1\145\1\157\1\163\1\141\1\156\1\162\1\163\1\145\1\162\1\163\2\uffff\1\60\1\167\1\60\1\151\1\144\1\60\1\151\1\60\1\141\1\60\1\uffff\1\156\1\uffff\1\156\1\163\1\uffff\1\164\1\uffff\1\143\1\uffff\1\60\1\163\1\60\1\145\1\164\1\uffff\1\60\1\uffff\2\60\3\uffff"; - static final String DFA12_maxS = - "\1\uffff\1\145\1\162\2\uffff\1\162\1\141\1\156\2\uffff\1\157\1\56\1\170\3\uffff\1\160\2\uffff\1\75\1\uffff\1\143\1\142\1\75\1\172\2\uffff\2\uffff\1\57\2\uffff\1\146\1\uffff\1\145\2\uffff\1\165\1\154\1\153\2\uffff\1\141\1\156\2\uffff\1\164\1\162\3\uffff\1\160\6\uffff\1\157\1\163\7\uffff\1\145\1\144\1\145\1\163\1\156\1\163\1\164\1\145\2\157\1\160\1\164\1\162\2\172\1\145\1\157\1\163\1\141\1\156\1\162\1\163\1\145\1\162\1\163\2\uffff\1\172\1\167\1\172\1\151\1\144\1\172\1\151\1\172\1\141\1\172\1\uffff\1\156\1\uffff\1\156\1\163\1\uffff\1\164\1\uffff\1\143\1\uffff\1\172\1\163\1\172\1\145\1\164\1\uffff\1\172\1\uffff\2\172\3\uffff"; - static final String DFA12_acceptS = - "\3\uffff\1\3\1\4\3\uffff\1\10\1\11\3\uffff\1\15\1\16\1\17\1\uffff\1\21\1\22\1\uffff\1\24\4\uffff\1\36\1\37\3\uffff\1\43\1\44\1\uffff\1\36\1\uffff\1\3\1\4\3\uffff\1\10\1\11\2\uffff\1\27\1\13\2\uffff\1\15\1\16\1\17\1\uffff\1\21\1\22\1\23\1\30\1\25\1\24\2\uffff\1\35\1\34\1\37\1\40\1\41\1\42\1\43\31\uffff\1\2\1\5\12\uffff\1\6\1\uffff\1\12\2\uffff\1\33\1\uffff\1\26\1\uffff\1\1\5\uffff\1\7\1\uffff\1\14\2\uffff\1\32\1\20\1\31"; - static final String DFA12_specialS = - "\1\1\32\uffff\1\2\1\0\142\uffff}>"; - static final String[] DFA12_transitionS = { - "\11\37\2\36\2\37\1\36\22\37\1\36\1\10\1\33\4\37\1\34\1\21\1\22\1\4\1\27\1\17\1\37\1\13\1\35\12\32\1\23\1\24\1\37\1\3\1\37\1\11\1\37\32\31\1\15\1\37\1\16\1\30\1\31\1\37\1\26\1\31\1\12\1\31\1\14\1\6\10\31\1\20\1\2\1\31\1\1\1\25\1\5\1\7\5\31\uff85\37", - "\1\40", + protected DFA11 dfa11 = new DFA11(this); + static final String DFA11_eotS = + "\1\uffff\1\43\2\45\2\uffff\3\45\2\uffff\2\45\6\uffff\1\45\2\uffff\1\74\2\45\1\100\3\41\2\uffff\1\41\4\uffff\1\45\1\uffff\1\45\2\uffff\3\45\2\uffff\4\45\6\uffff\1\45\4\uffff\2\45\10\uffff\16\45\1\142\1\45\1\144\12\45\1\uffff\1\45\1\uffff\1\160\1\45\1\162\2\45\1\165\1\45\1\167\1\45\1\171\1\45\1\uffff\1\45\1\uffff\2\45\1\uffff\1\45\1\uffff\1\45\1\uffff\1\u0080\1\u0081\1\45\1\u0083\2\45\2\uffff\1\u0086\1\uffff\1\u0087\1\u0088\3\uffff"; + static final String DFA11_eofS = + "\u0089\uffff"; + static final String DFA11_minS = + "\1\0\1\56\1\145\1\162\2\uffff\1\162\1\141\1\156\2\uffff\1\154\1\162\6\uffff\1\160\2\uffff\1\55\1\143\1\142\1\75\2\0\1\101\2\uffff\1\52\4\uffff\1\146\1\uffff\1\145\2\uffff\1\165\1\154\1\153\2\uffff\1\141\1\156\1\164\1\162\6\uffff\1\160\4\uffff\1\157\1\163\10\uffff\1\145\1\144\1\142\1\145\1\163\1\156\1\163\1\164\1\145\2\157\1\160\1\164\1\162\1\60\1\154\1\60\1\145\1\157\1\163\1\141\1\156\1\162\1\163\1\145\1\162\1\163\1\uffff\1\145\1\uffff\1\60\1\167\1\60\1\151\1\144\1\60\1\151\1\60\1\141\1\60\1\155\1\uffff\1\156\1\uffff\1\156\1\163\1\uffff\1\164\1\uffff\1\143\1\uffff\2\60\1\163\1\60\1\145\1\164\2\uffff\1\60\1\uffff\2\60\3\uffff"; + static final String DFA11_maxS = + "\1\uffff\1\56\1\145\1\162\2\uffff\1\162\1\141\1\156\2\uffff\1\157\1\170\6\uffff\1\160\2\uffff\1\55\1\143\1\142\1\75\2\uffff\1\172\2\uffff\1\57\4\uffff\1\146\1\uffff\1\157\2\uffff\1\165\1\154\1\153\2\uffff\1\141\1\156\1\164\1\162\6\uffff\1\160\4\uffff\1\157\1\163\10\uffff\1\145\1\144\1\142\1\145\1\163\1\156\1\163\1\164\1\145\2\157\1\160\1\164\1\162\1\172\1\154\1\172\1\145\1\157\1\163\1\141\1\156\1\162\1\163\1\145\1\162\1\163\1\uffff\1\145\1\uffff\1\172\1\167\1\172\1\151\1\144\1\172\1\151\1\172\1\141\1\172\1\155\1\uffff\1\156\1\uffff\1\156\1\163\1\uffff\1\164\1\uffff\1\143\1\uffff\2\172\1\163\1\172\1\145\1\164\2\uffff\1\172\1\uffff\2\172\3\uffff"; + static final String DFA11_acceptS = + "\4\uffff\1\4\1\5\3\uffff\1\11\1\12\2\uffff\1\16\1\17\1\20\1\21\1\22\1\23\1\uffff\1\25\1\26\7\uffff\1\42\1\43\1\uffff\1\46\1\47\1\32\1\1\1\uffff\1\42\1\uffff\1\4\1\5\3\uffff\1\11\1\12\4\uffff\1\16\1\17\1\20\1\21\1\22\1\23\1\uffff\1\25\1\26\1\27\1\30\2\uffff\1\37\1\36\1\40\1\41\1\43\1\44\1\45\1\46\33\uffff\1\3\1\uffff\1\6\13\uffff\1\7\1\uffff\1\14\2\uffff\1\35\1\uffff\1\31\1\uffff\1\2\6\uffff\1\13\1\10\1\uffff\1\15\2\uffff\1\34\1\24\1\33"; + static final String DFA11_specialS = + "\1\0\31\uffff\1\2\1\1\155\uffff}>"; + static final String[] DFA11_transitionS = { + "\11\41\2\40\2\41\1\40\22\41\1\40\1\11\1\32\4\41\1\33\1\24\1\25\1\5\1\31\1\15\1\41\1\1\1\37\12\36\1\26\1\20\1\41\1\4\1\41\1\12\1\41\32\35\1\21\1\41\1\22\1\34\1\35\1\41\1\30\1\35\1\13\1\35\1\14\1\7\10\35\1\23\1\3\1\35\1\2\1\27\1\6\1\10\5\35\1\16\1\41\1\17\uff82\41", "\1\42", + "\1\44", + "\1\46", "", "", - "\1\45", - "\1\46", - "\1\47", + "\1\51", + "\1\52", + "\1\53", "", "", - "\1\52\2\uffff\1\53", - "\1\54", - "\1\57\5\uffff\1\56", + "\1\56\2\uffff\1\57", + "\1\61\5\uffff\1\60", "", "", "", - "\1\63", "", "", - "\1\67\2\uffff\1\66", "", - "\1\72", - "\1\73", - "\1\74", - "\32\41\4\uffff\1\41\1\uffff\32\41", + "\1\70", "", "", - "\0\77", - "\0\77", - "\1\100\4\uffff\1\101", + "\1\73", + "\1\75", + "\1\76", + "\1\77", + "\0\101", + "\0\102", + "\32\45\4\uffff\1\45\1\uffff\32\45", "", "", - "\1\103", + "\1\104\4\uffff\1\105", "", - "\1\104", "", "", - "\1\105", - "\1\106", - "\1\107", "", + "\1\107", "", - "\1\110", - "\1\111", + "\1\110\11\uffff\1\111", "", "", "\1\112", "\1\113", + "\1\114", "", "", + "\1\115", + "\1\116", + "\1\117", + "\1\120", "", - "\1\114", "", "", "", "", "", + "\1\121", + "", + "", + "", + "", + "\1\122", + "\1\123", "", - "\1\115", - "\1\116", "", "", "", @@ -1501,11 +1556,6 @@ public class InternalProblemLexer extends Lexer { "", "", "", - "\1\117", - "\1\120", - "\1\121", - "\1\122", - "\1\123", "\1\124", "\1\125", "\1\126", @@ -1514,182 +1564,197 @@ public class InternalProblemLexer extends Lexer { "\1\131", "\1\132", "\1\133", - "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", - "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", + "\1\134", + "\1\135", "\1\136", "\1\137", "\1\140", "\1\141", - "\1\142", + "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", "\1\143", - "\1\144", + "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", "\1\145", "\1\146", "\1\147", - "", - "", - "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", + "\1\150", "\1\151", - "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", + "\1\152", "\1\153", "\1\154", - "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", + "\1\155", "\1\156", - "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", - "\1\160", - "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "", - "\1\162", + "\1\157", "", + "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\1\161", + "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", "\1\163", "\1\164", - "", - "\1\165", - "", + "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", "\1\166", - "", - "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", + "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", "\1\170", - "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", + "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", "\1\172", + "", "\1\173", "", - "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", + "\1\174", + "\1\175", + "", + "\1\176", + "", + "\1\177", + "", + "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\1\u0082", + "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\1\u0084", + "\1\u0085", "", - "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", - "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", + "", + "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "", + "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", "", "", "" }; - static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); - static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); - static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); - static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); - static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); - static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); - static final short[][] DFA12_transition; + static 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 = DFA12_transitionS.length; - DFA12_transition = new short[numStates][]; + int numStates = DFA11_transitionS.length; + DFA11_transition = new short[numStates][]; for (int i=0; i='\u0000' && LA12_28<='\uFFFF')) ) {s = 63;} + if ( (LA11_0=='.') ) {s = 1;} - else s = 31; + else if ( (LA11_0=='r') ) {s = 2;} - if ( s>=0 ) return s; - break; - case 1 : - int LA12_0 = input.LA(1); + else if ( (LA11_0=='p') ) {s = 3;} - s = -1; - if ( (LA12_0=='r') ) {s = 1;} + else if ( (LA11_0=='=') ) {s = 4;} - else if ( (LA12_0=='p') ) {s = 2;} + else if ( (LA11_0=='*') ) {s = 5;} - else if ( (LA12_0=='=') ) {s = 3;} + else if ( (LA11_0=='t') ) {s = 6;} - else if ( (LA12_0=='*') ) {s = 4;} + else if ( (LA11_0=='f') ) {s = 7;} - else if ( (LA12_0=='t') ) {s = 5;} + else if ( (LA11_0=='u') ) {s = 8;} - else if ( (LA12_0=='f') ) {s = 6;} + else if ( (LA11_0=='!') ) {s = 9;} - else if ( (LA12_0=='u') ) {s = 7;} + else if ( (LA11_0=='?') ) {s = 10;} - else if ( (LA12_0=='!') ) {s = 8;} + else if ( (LA11_0=='c') ) {s = 11;} - else if ( (LA12_0=='?') ) {s = 9;} + else if ( (LA11_0=='e') ) {s = 12;} - else if ( (LA12_0=='c') ) {s = 10;} + else if ( (LA11_0==',') ) {s = 13;} - else if ( (LA12_0=='.') ) {s = 11;} + else if ( (LA11_0=='{') ) {s = 14;} - else if ( (LA12_0=='e') ) {s = 12;} + else if ( (LA11_0=='}') ) {s = 15;} - else if ( (LA12_0=='[') ) {s = 13;} + else if ( (LA11_0==';') ) {s = 16;} - else if ( (LA12_0==']') ) {s = 14;} + else if ( (LA11_0=='[') ) {s = 17;} - else if ( (LA12_0==',') ) {s = 15;} + else if ( (LA11_0==']') ) {s = 18;} - else if ( (LA12_0=='o') ) {s = 16;} + else if ( (LA11_0=='o') ) {s = 19;} - else if ( (LA12_0=='(') ) {s = 17;} + else if ( (LA11_0=='(') ) {s = 20;} - else if ( (LA12_0==')') ) {s = 18;} + else if ( (LA11_0==')') ) {s = 21;} - else if ( (LA12_0==':') ) {s = 19;} + else if ( (LA11_0==':') ) {s = 22;} - else if ( (LA12_0==';') ) {s = 20;} + else if ( (LA11_0=='s') ) {s = 23;} - else if ( (LA12_0=='s') ) {s = 21;} + else if ( (LA11_0=='a') ) {s = 24;} - else if ( (LA12_0=='a') ) {s = 22;} + else if ( (LA11_0=='+') ) {s = 25;} - else if ( (LA12_0=='+') ) {s = 23;} + else if ( (LA11_0=='\"') ) {s = 26;} - else if ( (LA12_0=='^') ) {s = 24;} + else if ( (LA11_0=='\'') ) {s = 27;} - else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||LA12_0=='d'||(LA12_0>='g' && LA12_0<='n')||LA12_0=='q'||(LA12_0>='v' && LA12_0<='z')) ) {s = 25;} + else if ( (LA11_0=='^') ) {s = 28;} - else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 26;} + else if ( ((LA11_0>='A' && LA11_0<='Z')||LA11_0=='_'||LA11_0=='b'||LA11_0=='d'||(LA11_0>='g' && LA11_0<='n')||LA11_0=='q'||(LA11_0>='v' && LA11_0<='z')) ) {s = 29;} - else if ( (LA12_0=='\"') ) {s = 27;} + else if ( ((LA11_0>='0' && LA11_0<='9')) ) {s = 30;} - else if ( (LA12_0=='\'') ) {s = 28;} + else if ( (LA11_0=='/') ) {s = 31;} - else if ( (LA12_0=='/') ) {s = 29;} + else if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) {s = 32;} - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 30;} + 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=='`'||LA11_0=='|'||(LA11_0>='~' && LA11_0<='\uFFFF')) ) {s = 33;} + + if ( s>=0 ) return s; + break; + case 1 : + int LA11_27 = input.LA(1); + + s = -1; + if ( ((LA11_27>='\u0000' && LA11_27<='\uFFFF')) ) {s = 66;} - else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||(LA12_0>='#' && LA12_0<='&')||LA12_0=='-'||LA12_0=='<'||LA12_0=='>'||LA12_0=='@'||LA12_0=='\\'||LA12_0=='`'||(LA12_0>='{' && LA12_0<='\uFFFF')) ) {s = 31;} + else s = 33; if ( s>=0 ) return s; break; case 2 : - int LA12_27 = input.LA(1); + int LA11_26 = input.LA(1); s = -1; - if ( ((LA12_27>='\u0000' && LA12_27<='\uFFFF')) ) {s = 63;} + if ( ((LA11_26>='\u0000' && LA11_26<='\uFFFF')) ) {s = 65;} - else s = 31; + else s = 33; if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 12, _s, input); + new NoViableAltException(getDescription(), 11, _s, input); error(nvae); throw nvae; } diff --git a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblemParser.java b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblemParser.java index 1169b189..5eb272e7 100644 --- a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblemParser.java +++ b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblemParser.java @@ -22,10 +22,10 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalProblemParser 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", "'refers'", "'pred'", "'='", "'*'", "'true'", "'false'", "'unknown'", "'!'", "'?'", "'class'", "'.'", "'extends'", "'['", "']'", "','", "'opposite'", "'('", "')'", "':='", "';'", "':'", "'scope'", "'..'", "'::'", "'abstract'", "'contains'", "'error'", "'+'", "'+='" + "", "", "", "", "RULE_INT", "RULE_QUOTED_ID", "RULE_ID", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'refers'", "'pred'", "'='", "'*'", "'true'", "'false'", "'unknown'", "'!'", "'?'", "'problem'", "'class'", "'extends'", "','", "'{'", "'}'", "';'", "'['", "']'", "'opposite'", "'('", "')'", "':-'", "':'", "'scope'", "'..'", "'abstract'", "'contains'", "'error'", "'+'", "'+='" }; - public static final int RULE_STRING=6; - public static final int RULE_SL_COMMENT=8; + public static final int RULE_STRING=7; + public static final int RULE_SL_COMMENT=9; public static final int T__19=19; public static final int T__15=15; public static final int T__37=37; @@ -34,7 +34,6 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { 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; @@ -46,20 +45,24 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { 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 RULE_ID=6; + public static final int RULE_WS=10; + public static final int RULE_QUOTED_ID=5; + public static final int RULE_ANY_OTHER=11; 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 RULE_ML_COMMENT=8; public static final int T__23=23; public static final int T__24=24; public static final int T__25=25; + public static final int T__40=40; + public static final int T__41=41; public static final int T__20=20; + public static final int T__42=42; public static final int T__21=21; // delegates @@ -128,49 +131,31 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "ruleProblem" - // InternalProblem.g:62:1: ruleProblem : ( ( rule__Problem__StatementsAssignment )* ) ; + // InternalProblem.g:62:1: ruleProblem : ( ( rule__Problem__Group__0 ) ) ; public final void ruleProblem() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:66:2: ( ( ( rule__Problem__StatementsAssignment )* ) ) - // InternalProblem.g:67:2: ( ( rule__Problem__StatementsAssignment )* ) + // InternalProblem.g:66:2: ( ( ( rule__Problem__Group__0 ) ) ) + // InternalProblem.g:67:2: ( ( rule__Problem__Group__0 ) ) { - // InternalProblem.g:67:2: ( ( rule__Problem__StatementsAssignment )* ) - // InternalProblem.g:68:3: ( rule__Problem__StatementsAssignment )* + // InternalProblem.g:67:2: ( ( rule__Problem__Group__0 ) ) + // InternalProblem.g:68:3: ( rule__Problem__Group__0 ) { - before(grammarAccess.getProblemAccess().getStatementsAssignment()); - // InternalProblem.g:69:3: ( rule__Problem__StatementsAssignment )* - loop1: - do { - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0==RULE_ID||LA1_0==12||(LA1_0>=18 && LA1_0<=20)||LA1_0==32||LA1_0==35||LA1_0==37) ) { - alt1=1; - } - - - switch (alt1) { - case 1 : - // InternalProblem.g:69:4: rule__Problem__StatementsAssignment - { - pushFollow(FOLLOW_3); - rule__Problem__StatementsAssignment(); - - state._fsp--; + before(grammarAccess.getProblemAccess().getGroup()); + // InternalProblem.g:69:3: ( rule__Problem__Group__0 ) + // InternalProblem.g:69:4: rule__Problem__Group__0 + { + pushFollow(FOLLOW_2); + rule__Problem__Group__0(); + state._fsp--; - } - break; - default : - break loop1; - } - } while (true); + } - after(grammarAccess.getProblemAccess().getStatementsAssignment()); + after(grammarAccess.getProblemAccess().getGroup()); } @@ -885,12 +870,89 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR end "ruleAtom" + // $ANTLR start "entryRuleArgument" + // InternalProblem.g:303:1: entryRuleArgument : ruleArgument EOF ; + public final void entryRuleArgument() throws RecognitionException { + try { + // InternalProblem.g:304:1: ( ruleArgument EOF ) + // InternalProblem.g:305:1: ruleArgument EOF + { + before(grammarAccess.getArgumentRule()); + pushFollow(FOLLOW_1); + ruleArgument(); + + state._fsp--; + + after(grammarAccess.getArgumentRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleArgument" + + + // $ANTLR start "ruleArgument" + // InternalProblem.g:312:1: ruleArgument : ( ( rule__Argument__VariableAssignment ) ) ; + public final void ruleArgument() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:316:2: ( ( ( rule__Argument__VariableAssignment ) ) ) + // InternalProblem.g:317:2: ( ( rule__Argument__VariableAssignment ) ) + { + // InternalProblem.g:317:2: ( ( rule__Argument__VariableAssignment ) ) + // InternalProblem.g:318:3: ( rule__Argument__VariableAssignment ) + { + before(grammarAccess.getArgumentAccess().getVariableAssignment()); + // InternalProblem.g:319:3: ( rule__Argument__VariableAssignment ) + // InternalProblem.g:319:4: rule__Argument__VariableAssignment + { + pushFollow(FOLLOW_2); + rule__Argument__VariableAssignment(); + + state._fsp--; + + + } + + after(grammarAccess.getArgumentAccess().getVariableAssignment()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleArgument" + + // $ANTLR start "entryRuleAssertion" - // InternalProblem.g:303:1: entryRuleAssertion : ruleAssertion EOF ; + // InternalProblem.g:328:1: entryRuleAssertion : ruleAssertion EOF ; public final void entryRuleAssertion() throws RecognitionException { try { - // InternalProblem.g:304:1: ( ruleAssertion EOF ) - // InternalProblem.g:305:1: ruleAssertion EOF + // InternalProblem.g:329:1: ( ruleAssertion EOF ) + // InternalProblem.g:330:1: ruleAssertion EOF { before(grammarAccess.getAssertionRule()); pushFollow(FOLLOW_1); @@ -916,21 +978,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "ruleAssertion" - // InternalProblem.g:312:1: ruleAssertion : ( ( rule__Assertion__Group__0 ) ) ; + // InternalProblem.g:337:1: ruleAssertion : ( ( rule__Assertion__Group__0 ) ) ; public final void ruleAssertion() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:316:2: ( ( ( rule__Assertion__Group__0 ) ) ) - // InternalProblem.g:317:2: ( ( rule__Assertion__Group__0 ) ) + // InternalProblem.g:341:2: ( ( ( rule__Assertion__Group__0 ) ) ) + // InternalProblem.g:342:2: ( ( rule__Assertion__Group__0 ) ) { - // InternalProblem.g:317:2: ( ( rule__Assertion__Group__0 ) ) - // InternalProblem.g:318:3: ( rule__Assertion__Group__0 ) + // InternalProblem.g:342:2: ( ( rule__Assertion__Group__0 ) ) + // InternalProblem.g:343:3: ( rule__Assertion__Group__0 ) { before(grammarAccess.getAssertionAccess().getGroup()); - // InternalProblem.g:319:3: ( rule__Assertion__Group__0 ) - // InternalProblem.g:319:4: rule__Assertion__Group__0 + // InternalProblem.g:344:3: ( rule__Assertion__Group__0 ) + // InternalProblem.g:344:4: rule__Assertion__Group__0 { pushFollow(FOLLOW_2); rule__Assertion__Group__0(); @@ -963,11 +1025,11 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "entryRuleScopeDeclaration" - // InternalProblem.g:328:1: entryRuleScopeDeclaration : ruleScopeDeclaration EOF ; + // InternalProblem.g:353:1: entryRuleScopeDeclaration : ruleScopeDeclaration EOF ; public final void entryRuleScopeDeclaration() throws RecognitionException { try { - // InternalProblem.g:329:1: ( ruleScopeDeclaration EOF ) - // InternalProblem.g:330:1: ruleScopeDeclaration EOF + // InternalProblem.g:354:1: ( ruleScopeDeclaration EOF ) + // InternalProblem.g:355:1: ruleScopeDeclaration EOF { before(grammarAccess.getScopeDeclarationRule()); pushFollow(FOLLOW_1); @@ -993,21 +1055,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "ruleScopeDeclaration" - // InternalProblem.g:337:1: ruleScopeDeclaration : ( ( rule__ScopeDeclaration__Group__0 ) ) ; + // InternalProblem.g:362:1: ruleScopeDeclaration : ( ( rule__ScopeDeclaration__Group__0 ) ) ; public final void ruleScopeDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:341:2: ( ( ( rule__ScopeDeclaration__Group__0 ) ) ) - // InternalProblem.g:342:2: ( ( rule__ScopeDeclaration__Group__0 ) ) + // InternalProblem.g:366:2: ( ( ( rule__ScopeDeclaration__Group__0 ) ) ) + // InternalProblem.g:367:2: ( ( rule__ScopeDeclaration__Group__0 ) ) { - // InternalProblem.g:342:2: ( ( rule__ScopeDeclaration__Group__0 ) ) - // InternalProblem.g:343:3: ( rule__ScopeDeclaration__Group__0 ) + // InternalProblem.g:367:2: ( ( rule__ScopeDeclaration__Group__0 ) ) + // InternalProblem.g:368:3: ( rule__ScopeDeclaration__Group__0 ) { before(grammarAccess.getScopeDeclarationAccess().getGroup()); - // InternalProblem.g:344:3: ( rule__ScopeDeclaration__Group__0 ) - // InternalProblem.g:344:4: rule__ScopeDeclaration__Group__0 + // InternalProblem.g:369:3: ( rule__ScopeDeclaration__Group__0 ) + // InternalProblem.g:369:4: rule__ScopeDeclaration__Group__0 { pushFollow(FOLLOW_2); rule__ScopeDeclaration__Group__0(); @@ -1040,11 +1102,11 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "entryRuleTypeScope" - // InternalProblem.g:353:1: entryRuleTypeScope : ruleTypeScope EOF ; + // InternalProblem.g:378:1: entryRuleTypeScope : ruleTypeScope EOF ; public final void entryRuleTypeScope() throws RecognitionException { try { - // InternalProblem.g:354:1: ( ruleTypeScope EOF ) - // InternalProblem.g:355:1: ruleTypeScope EOF + // InternalProblem.g:379:1: ( ruleTypeScope EOF ) + // InternalProblem.g:380:1: ruleTypeScope EOF { before(grammarAccess.getTypeScopeRule()); pushFollow(FOLLOW_1); @@ -1070,21 +1132,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "ruleTypeScope" - // InternalProblem.g:362:1: ruleTypeScope : ( ( rule__TypeScope__Group__0 ) ) ; + // InternalProblem.g:387:1: ruleTypeScope : ( ( rule__TypeScope__Group__0 ) ) ; public final void ruleTypeScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:366:2: ( ( ( rule__TypeScope__Group__0 ) ) ) - // InternalProblem.g:367:2: ( ( rule__TypeScope__Group__0 ) ) + // InternalProblem.g:391:2: ( ( ( rule__TypeScope__Group__0 ) ) ) + // InternalProblem.g:392:2: ( ( rule__TypeScope__Group__0 ) ) { - // InternalProblem.g:367:2: ( ( rule__TypeScope__Group__0 ) ) - // InternalProblem.g:368:3: ( rule__TypeScope__Group__0 ) + // InternalProblem.g:392:2: ( ( rule__TypeScope__Group__0 ) ) + // InternalProblem.g:393:3: ( rule__TypeScope__Group__0 ) { before(grammarAccess.getTypeScopeAccess().getGroup()); - // InternalProblem.g:369:3: ( rule__TypeScope__Group__0 ) - // InternalProblem.g:369:4: rule__TypeScope__Group__0 + // InternalProblem.g:394:3: ( rule__TypeScope__Group__0 ) + // InternalProblem.g:394:4: rule__TypeScope__Group__0 { pushFollow(FOLLOW_2); rule__TypeScope__Group__0(); @@ -1117,11 +1179,11 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "entryRuleMultiplicity" - // InternalProblem.g:378:1: entryRuleMultiplicity : ruleMultiplicity EOF ; + // InternalProblem.g:403:1: entryRuleMultiplicity : ruleMultiplicity EOF ; public final void entryRuleMultiplicity() throws RecognitionException { try { - // InternalProblem.g:379:1: ( ruleMultiplicity EOF ) - // InternalProblem.g:380:1: ruleMultiplicity EOF + // InternalProblem.g:404:1: ( ruleMultiplicity EOF ) + // InternalProblem.g:405:1: ruleMultiplicity EOF { before(grammarAccess.getMultiplicityRule()); pushFollow(FOLLOW_1); @@ -1147,21 +1209,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "ruleMultiplicity" - // InternalProblem.g:387:1: ruleMultiplicity : ( ( rule__Multiplicity__Alternatives ) ) ; + // InternalProblem.g:412:1: ruleMultiplicity : ( ( rule__Multiplicity__Alternatives ) ) ; public final void ruleMultiplicity() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:391:2: ( ( ( rule__Multiplicity__Alternatives ) ) ) - // InternalProblem.g:392:2: ( ( rule__Multiplicity__Alternatives ) ) + // InternalProblem.g:416:2: ( ( ( rule__Multiplicity__Alternatives ) ) ) + // InternalProblem.g:417:2: ( ( rule__Multiplicity__Alternatives ) ) { - // InternalProblem.g:392:2: ( ( rule__Multiplicity__Alternatives ) ) - // InternalProblem.g:393:3: ( rule__Multiplicity__Alternatives ) + // InternalProblem.g:417:2: ( ( rule__Multiplicity__Alternatives ) ) + // InternalProblem.g:418:3: ( rule__Multiplicity__Alternatives ) { before(grammarAccess.getMultiplicityAccess().getAlternatives()); - // InternalProblem.g:394:3: ( rule__Multiplicity__Alternatives ) - // InternalProblem.g:394:4: rule__Multiplicity__Alternatives + // InternalProblem.g:419:3: ( rule__Multiplicity__Alternatives ) + // InternalProblem.g:419:4: rule__Multiplicity__Alternatives { pushFollow(FOLLOW_2); rule__Multiplicity__Alternatives(); @@ -1193,12 +1255,156 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR end "ruleMultiplicity" + // $ANTLR start "entryRuleDefiniteMultiplicity" + // InternalProblem.g:428:1: entryRuleDefiniteMultiplicity : ruleDefiniteMultiplicity EOF ; + public final void entryRuleDefiniteMultiplicity() throws RecognitionException { + try { + // InternalProblem.g:429:1: ( ruleDefiniteMultiplicity EOF ) + // InternalProblem.g:430:1: ruleDefiniteMultiplicity EOF + { + before(grammarAccess.getDefiniteMultiplicityRule()); + pushFollow(FOLLOW_1); + ruleDefiniteMultiplicity(); + + state._fsp--; + + after(grammarAccess.getDefiniteMultiplicityRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleDefiniteMultiplicity" + + + // $ANTLR start "ruleDefiniteMultiplicity" + // InternalProblem.g:437:1: ruleDefiniteMultiplicity : ( ( rule__DefiniteMultiplicity__Alternatives ) ) ; + public final void ruleDefiniteMultiplicity() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:441:2: ( ( ( rule__DefiniteMultiplicity__Alternatives ) ) ) + // InternalProblem.g:442:2: ( ( rule__DefiniteMultiplicity__Alternatives ) ) + { + // InternalProblem.g:442:2: ( ( rule__DefiniteMultiplicity__Alternatives ) ) + // InternalProblem.g:443:3: ( rule__DefiniteMultiplicity__Alternatives ) + { + before(grammarAccess.getDefiniteMultiplicityAccess().getAlternatives()); + // InternalProblem.g:444:3: ( rule__DefiniteMultiplicity__Alternatives ) + // InternalProblem.g:444:4: rule__DefiniteMultiplicity__Alternatives + { + pushFollow(FOLLOW_2); + rule__DefiniteMultiplicity__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getDefiniteMultiplicityAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleDefiniteMultiplicity" + + + // $ANTLR start "entryRuleUnboundedMultiplicity" + // InternalProblem.g:453:1: entryRuleUnboundedMultiplicity : ruleUnboundedMultiplicity EOF ; + public final void entryRuleUnboundedMultiplicity() throws RecognitionException { + try { + // InternalProblem.g:454:1: ( ruleUnboundedMultiplicity EOF ) + // InternalProblem.g:455:1: ruleUnboundedMultiplicity EOF + { + before(grammarAccess.getUnboundedMultiplicityRule()); + pushFollow(FOLLOW_1); + ruleUnboundedMultiplicity(); + + state._fsp--; + + after(grammarAccess.getUnboundedMultiplicityRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleUnboundedMultiplicity" + + + // $ANTLR start "ruleUnboundedMultiplicity" + // InternalProblem.g:462:1: ruleUnboundedMultiplicity : ( () ) ; + public final void ruleUnboundedMultiplicity() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:466:2: ( ( () ) ) + // InternalProblem.g:467:2: ( () ) + { + // InternalProblem.g:467:2: ( () ) + // InternalProblem.g:468:3: () + { + before(grammarAccess.getUnboundedMultiplicityAccess().getUnboundedMultiplicityAction()); + // InternalProblem.g:469:3: () + // InternalProblem.g:469:4: + { + } + + after(grammarAccess.getUnboundedMultiplicityAccess().getUnboundedMultiplicityAction()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleUnboundedMultiplicity" + + // $ANTLR start "entryRuleRangeMultiplicity" - // InternalProblem.g:403:1: entryRuleRangeMultiplicity : ruleRangeMultiplicity EOF ; + // InternalProblem.g:478:1: entryRuleRangeMultiplicity : ruleRangeMultiplicity EOF ; public final void entryRuleRangeMultiplicity() throws RecognitionException { try { - // InternalProblem.g:404:1: ( ruleRangeMultiplicity EOF ) - // InternalProblem.g:405:1: ruleRangeMultiplicity EOF + // InternalProblem.g:479:1: ( ruleRangeMultiplicity EOF ) + // InternalProblem.g:480:1: ruleRangeMultiplicity EOF { before(grammarAccess.getRangeMultiplicityRule()); pushFollow(FOLLOW_1); @@ -1224,21 +1430,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "ruleRangeMultiplicity" - // InternalProblem.g:412:1: ruleRangeMultiplicity : ( ( rule__RangeMultiplicity__Group__0 ) ) ; + // InternalProblem.g:487:1: ruleRangeMultiplicity : ( ( rule__RangeMultiplicity__Group__0 ) ) ; public final void ruleRangeMultiplicity() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:416:2: ( ( ( rule__RangeMultiplicity__Group__0 ) ) ) - // InternalProblem.g:417:2: ( ( rule__RangeMultiplicity__Group__0 ) ) + // InternalProblem.g:491:2: ( ( ( rule__RangeMultiplicity__Group__0 ) ) ) + // InternalProblem.g:492:2: ( ( rule__RangeMultiplicity__Group__0 ) ) { - // InternalProblem.g:417:2: ( ( rule__RangeMultiplicity__Group__0 ) ) - // InternalProblem.g:418:3: ( rule__RangeMultiplicity__Group__0 ) + // InternalProblem.g:492:2: ( ( rule__RangeMultiplicity__Group__0 ) ) + // InternalProblem.g:493:3: ( rule__RangeMultiplicity__Group__0 ) { before(grammarAccess.getRangeMultiplicityAccess().getGroup()); - // InternalProblem.g:419:3: ( rule__RangeMultiplicity__Group__0 ) - // InternalProblem.g:419:4: rule__RangeMultiplicity__Group__0 + // InternalProblem.g:494:3: ( rule__RangeMultiplicity__Group__0 ) + // InternalProblem.g:494:4: rule__RangeMultiplicity__Group__0 { pushFollow(FOLLOW_2); rule__RangeMultiplicity__Group__0(); @@ -1271,11 +1477,11 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "entryRuleExactMultiplicity" - // InternalProblem.g:428:1: entryRuleExactMultiplicity : ruleExactMultiplicity EOF ; + // InternalProblem.g:503:1: entryRuleExactMultiplicity : ruleExactMultiplicity EOF ; public final void entryRuleExactMultiplicity() throws RecognitionException { try { - // InternalProblem.g:429:1: ( ruleExactMultiplicity EOF ) - // InternalProblem.g:430:1: ruleExactMultiplicity EOF + // InternalProblem.g:504:1: ( ruleExactMultiplicity EOF ) + // InternalProblem.g:505:1: ruleExactMultiplicity EOF { before(grammarAccess.getExactMultiplicityRule()); pushFollow(FOLLOW_1); @@ -1301,21 +1507,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "ruleExactMultiplicity" - // InternalProblem.g:437:1: ruleExactMultiplicity : ( ( rule__ExactMultiplicity__ExactValueAssignment ) ) ; + // InternalProblem.g:512:1: ruleExactMultiplicity : ( ( rule__ExactMultiplicity__ExactValueAssignment ) ) ; public final void ruleExactMultiplicity() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:441:2: ( ( ( rule__ExactMultiplicity__ExactValueAssignment ) ) ) - // InternalProblem.g:442:2: ( ( rule__ExactMultiplicity__ExactValueAssignment ) ) + // InternalProblem.g:516:2: ( ( ( rule__ExactMultiplicity__ExactValueAssignment ) ) ) + // InternalProblem.g:517:2: ( ( rule__ExactMultiplicity__ExactValueAssignment ) ) { - // InternalProblem.g:442:2: ( ( rule__ExactMultiplicity__ExactValueAssignment ) ) - // InternalProblem.g:443:3: ( rule__ExactMultiplicity__ExactValueAssignment ) + // InternalProblem.g:517:2: ( ( rule__ExactMultiplicity__ExactValueAssignment ) ) + // InternalProblem.g:518:3: ( rule__ExactMultiplicity__ExactValueAssignment ) { before(grammarAccess.getExactMultiplicityAccess().getExactValueAssignment()); - // InternalProblem.g:444:3: ( rule__ExactMultiplicity__ExactValueAssignment ) - // InternalProblem.g:444:4: rule__ExactMultiplicity__ExactValueAssignment + // InternalProblem.g:519:3: ( rule__ExactMultiplicity__ExactValueAssignment ) + // InternalProblem.g:519:4: rule__ExactMultiplicity__ExactValueAssignment { pushFollow(FOLLOW_2); rule__ExactMultiplicity__ExactValueAssignment(); @@ -1348,11 +1554,11 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "entryRuleUpperBound" - // InternalProblem.g:453:1: entryRuleUpperBound : ruleUpperBound EOF ; + // InternalProblem.g:528:1: entryRuleUpperBound : ruleUpperBound EOF ; public final void entryRuleUpperBound() throws RecognitionException { try { - // InternalProblem.g:454:1: ( ruleUpperBound EOF ) - // InternalProblem.g:455:1: ruleUpperBound EOF + // InternalProblem.g:529:1: ( ruleUpperBound EOF ) + // InternalProblem.g:530:1: ruleUpperBound EOF { before(grammarAccess.getUpperBoundRule()); pushFollow(FOLLOW_1); @@ -1378,21 +1584,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "ruleUpperBound" - // InternalProblem.g:462:1: ruleUpperBound : ( ( rule__UpperBound__Alternatives ) ) ; + // InternalProblem.g:537:1: ruleUpperBound : ( ( rule__UpperBound__Alternatives ) ) ; public final void ruleUpperBound() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:466:2: ( ( ( rule__UpperBound__Alternatives ) ) ) - // InternalProblem.g:467:2: ( ( rule__UpperBound__Alternatives ) ) + // InternalProblem.g:541:2: ( ( ( rule__UpperBound__Alternatives ) ) ) + // InternalProblem.g:542:2: ( ( rule__UpperBound__Alternatives ) ) { - // InternalProblem.g:467:2: ( ( rule__UpperBound__Alternatives ) ) - // InternalProblem.g:468:3: ( rule__UpperBound__Alternatives ) + // InternalProblem.g:542:2: ( ( rule__UpperBound__Alternatives ) ) + // InternalProblem.g:543:3: ( rule__UpperBound__Alternatives ) { before(grammarAccess.getUpperBoundAccess().getAlternatives()); - // InternalProblem.g:469:3: ( rule__UpperBound__Alternatives ) - // InternalProblem.g:469:4: rule__UpperBound__Alternatives + // InternalProblem.g:544:3: ( rule__UpperBound__Alternatives ) + // InternalProblem.g:544:4: rule__UpperBound__Alternatives { pushFollow(FOLLOW_2); rule__UpperBound__Alternatives(); @@ -1425,11 +1631,11 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "entryRuleQualifiedName" - // InternalProblem.g:478:1: entryRuleQualifiedName : ruleQualifiedName EOF ; + // InternalProblem.g:553:1: entryRuleQualifiedName : ruleQualifiedName EOF ; public final void entryRuleQualifiedName() throws RecognitionException { try { - // InternalProblem.g:479:1: ( ruleQualifiedName EOF ) - // InternalProblem.g:480:1: ruleQualifiedName EOF + // InternalProblem.g:554:1: ( ruleQualifiedName EOF ) + // InternalProblem.g:555:1: ruleQualifiedName EOF { before(grammarAccess.getQualifiedNameRule()); pushFollow(FOLLOW_1); @@ -1455,31 +1661,31 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "ruleQualifiedName" - // InternalProblem.g:487:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ; + // InternalProblem.g:562:1: ruleQualifiedName : ( ( rule__QualifiedName__Alternatives ) ) ; public final void ruleQualifiedName() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:491:2: ( ( ( rule__QualifiedName__Group__0 ) ) ) - // InternalProblem.g:492:2: ( ( rule__QualifiedName__Group__0 ) ) + // InternalProblem.g:566:2: ( ( ( rule__QualifiedName__Alternatives ) ) ) + // InternalProblem.g:567:2: ( ( rule__QualifiedName__Alternatives ) ) { - // InternalProblem.g:492:2: ( ( rule__QualifiedName__Group__0 ) ) - // InternalProblem.g:493:3: ( rule__QualifiedName__Group__0 ) + // InternalProblem.g:567:2: ( ( rule__QualifiedName__Alternatives ) ) + // InternalProblem.g:568:3: ( rule__QualifiedName__Alternatives ) { - before(grammarAccess.getQualifiedNameAccess().getGroup()); - // InternalProblem.g:494:3: ( rule__QualifiedName__Group__0 ) - // InternalProblem.g:494:4: rule__QualifiedName__Group__0 + before(grammarAccess.getQualifiedNameAccess().getAlternatives()); + // InternalProblem.g:569:3: ( rule__QualifiedName__Alternatives ) + // InternalProblem.g:569:4: rule__QualifiedName__Alternatives { pushFollow(FOLLOW_2); - rule__QualifiedName__Group__0(); + rule__QualifiedName__Alternatives(); state._fsp--; } - after(grammarAccess.getQualifiedNameAccess().getGroup()); + after(grammarAccess.getQualifiedNameAccess().getAlternatives()); } @@ -1502,21 +1708,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "ruleLogicValue" - // InternalProblem.g:503:1: ruleLogicValue : ( ( rule__LogicValue__Alternatives ) ) ; + // InternalProblem.g:578:1: ruleLogicValue : ( ( rule__LogicValue__Alternatives ) ) ; public final void ruleLogicValue() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:507:1: ( ( ( rule__LogicValue__Alternatives ) ) ) - // InternalProblem.g:508:2: ( ( rule__LogicValue__Alternatives ) ) + // InternalProblem.g:582:1: ( ( ( rule__LogicValue__Alternatives ) ) ) + // InternalProblem.g:583:2: ( ( rule__LogicValue__Alternatives ) ) { - // InternalProblem.g:508:2: ( ( rule__LogicValue__Alternatives ) ) - // InternalProblem.g:509:3: ( rule__LogicValue__Alternatives ) + // InternalProblem.g:583:2: ( ( rule__LogicValue__Alternatives ) ) + // InternalProblem.g:584:3: ( rule__LogicValue__Alternatives ) { before(grammarAccess.getLogicValueAccess().getAlternatives()); - // InternalProblem.g:510:3: ( rule__LogicValue__Alternatives ) - // InternalProblem.g:510:4: rule__LogicValue__Alternatives + // InternalProblem.g:585:3: ( rule__LogicValue__Alternatives ) + // InternalProblem.g:585:4: rule__LogicValue__Alternatives { pushFollow(FOLLOW_2); rule__LogicValue__Alternatives(); @@ -1549,21 +1755,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "ruleShortLogicValue" - // InternalProblem.g:519:1: ruleShortLogicValue : ( ( rule__ShortLogicValue__Alternatives ) ) ; + // InternalProblem.g:594:1: ruleShortLogicValue : ( ( rule__ShortLogicValue__Alternatives ) ) ; public final void ruleShortLogicValue() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:523:1: ( ( ( rule__ShortLogicValue__Alternatives ) ) ) - // InternalProblem.g:524:2: ( ( rule__ShortLogicValue__Alternatives ) ) + // InternalProblem.g:598:1: ( ( ( rule__ShortLogicValue__Alternatives ) ) ) + // InternalProblem.g:599:2: ( ( rule__ShortLogicValue__Alternatives ) ) { - // InternalProblem.g:524:2: ( ( rule__ShortLogicValue__Alternatives ) ) - // InternalProblem.g:525:3: ( rule__ShortLogicValue__Alternatives ) + // InternalProblem.g:599:2: ( ( rule__ShortLogicValue__Alternatives ) ) + // InternalProblem.g:600:3: ( rule__ShortLogicValue__Alternatives ) { before(grammarAccess.getShortLogicValueAccess().getAlternatives()); - // InternalProblem.g:526:3: ( rule__ShortLogicValue__Alternatives ) - // InternalProblem.g:526:4: rule__ShortLogicValue__Alternatives + // InternalProblem.g:601:3: ( rule__ShortLogicValue__Alternatives ) + // InternalProblem.g:601:4: rule__ShortLogicValue__Alternatives { pushFollow(FOLLOW_2); rule__ShortLogicValue__Alternatives(); @@ -1596,52 +1802,53 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Statement__Alternatives" - // InternalProblem.g:534:1: rule__Statement__Alternatives : ( ( ruleClassDeclaration ) | ( rulePredicateDefinition ) | ( ruleAssertion ) | ( ruleScopeDeclaration ) ); + // InternalProblem.g:609:1: rule__Statement__Alternatives : ( ( ruleClassDeclaration ) | ( rulePredicateDefinition ) | ( ruleAssertion ) | ( ruleScopeDeclaration ) ); public final void rule__Statement__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:538:1: ( ( ruleClassDeclaration ) | ( rulePredicateDefinition ) | ( ruleAssertion ) | ( ruleScopeDeclaration ) ) - int alt2=4; + // InternalProblem.g:613:1: ( ( ruleClassDeclaration ) | ( rulePredicateDefinition ) | ( ruleAssertion ) | ( ruleScopeDeclaration ) ) + int alt1=4; switch ( input.LA(1) ) { - case 20: - case 35: + case 23: + case 38: { - alt2=1; + alt1=1; } break; - case 12: - case 37: + case 14: + case 40: { - alt2=2; + alt1=2; } break; + case RULE_QUOTED_ID: case RULE_ID: - case 18: - case 19: + case 20: + case 21: { - alt2=3; + alt1=3; } break; - case 32: + case 36: { - alt2=4; + alt1=4; } break; default: NoViableAltException nvae = - new NoViableAltException("", 2, 0, input); + new NoViableAltException("", 1, 0, input); throw nvae; } - switch (alt2) { + switch (alt1) { case 1 : - // InternalProblem.g:539:2: ( ruleClassDeclaration ) + // InternalProblem.g:614:2: ( ruleClassDeclaration ) { - // InternalProblem.g:539:2: ( ruleClassDeclaration ) - // InternalProblem.g:540:3: ruleClassDeclaration + // InternalProblem.g:614:2: ( ruleClassDeclaration ) + // InternalProblem.g:615:3: ruleClassDeclaration { before(grammarAccess.getStatementAccess().getClassDeclarationParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -1657,10 +1864,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:545:2: ( rulePredicateDefinition ) + // InternalProblem.g:620:2: ( rulePredicateDefinition ) { - // InternalProblem.g:545:2: ( rulePredicateDefinition ) - // InternalProblem.g:546:3: rulePredicateDefinition + // InternalProblem.g:620:2: ( rulePredicateDefinition ) + // InternalProblem.g:621:3: rulePredicateDefinition { before(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -1676,10 +1883,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 3 : - // InternalProblem.g:551:2: ( ruleAssertion ) + // InternalProblem.g:626:2: ( ruleAssertion ) { - // InternalProblem.g:551:2: ( ruleAssertion ) - // InternalProblem.g:552:3: ruleAssertion + // InternalProblem.g:626:2: ( ruleAssertion ) + // InternalProblem.g:627:3: ruleAssertion { before(grammarAccess.getStatementAccess().getAssertionParserRuleCall_2()); pushFollow(FOLLOW_2); @@ -1695,10 +1902,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 4 : - // InternalProblem.g:557:2: ( ruleScopeDeclaration ) + // InternalProblem.g:632:2: ( ruleScopeDeclaration ) { - // InternalProblem.g:557:2: ( ruleScopeDeclaration ) - // InternalProblem.g:558:3: ruleScopeDeclaration + // InternalProblem.g:632:2: ( ruleScopeDeclaration ) + // InternalProblem.g:633:3: ruleScopeDeclaration { before(grammarAccess.getStatementAccess().getScopeDeclarationParserRuleCall_3()); pushFollow(FOLLOW_2); @@ -1730,49 +1937,49 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR end "rule__Statement__Alternatives" - // $ANTLR start "rule__ClassDeclaration__Alternatives_3" - // InternalProblem.g:567:1: rule__ClassDeclaration__Alternatives_3 : ( ( ( rule__ClassDeclaration__Group_3_0__0 ) ) | ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1 ) ) ); - public final void rule__ClassDeclaration__Alternatives_3() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Alternatives_4" + // InternalProblem.g:642:1: rule__ClassDeclaration__Alternatives_4 : ( ( ( rule__ClassDeclaration__Group_4_0__0 ) ) | ( '.' ) ); + public final void rule__ClassDeclaration__Alternatives_4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:571:1: ( ( ( rule__ClassDeclaration__Group_3_0__0 ) ) | ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1 ) ) ) - int alt3=2; - int LA3_0 = input.LA(1); + // InternalProblem.g:646:1: ( ( ( rule__ClassDeclaration__Group_4_0__0 ) ) | ( '.' ) ) + int alt2=2; + int LA2_0 = input.LA(1); - if ( (LA3_0==22) ) { - alt3=1; + if ( (LA2_0==26) ) { + alt2=1; } - else if ( (LA3_0==11||LA3_0==36) ) { - alt3=2; + else if ( (LA2_0==12) ) { + alt2=2; } else { NoViableAltException nvae = - new NoViableAltException("", 3, 0, input); + new NoViableAltException("", 2, 0, input); throw nvae; } - switch (alt3) { + switch (alt2) { case 1 : - // InternalProblem.g:572:2: ( ( rule__ClassDeclaration__Group_3_0__0 ) ) + // InternalProblem.g:647:2: ( ( rule__ClassDeclaration__Group_4_0__0 ) ) { - // InternalProblem.g:572:2: ( ( rule__ClassDeclaration__Group_3_0__0 ) ) - // InternalProblem.g:573:3: ( rule__ClassDeclaration__Group_3_0__0 ) + // InternalProblem.g:647:2: ( ( rule__ClassDeclaration__Group_4_0__0 ) ) + // InternalProblem.g:648:3: ( rule__ClassDeclaration__Group_4_0__0 ) { - before(grammarAccess.getClassDeclarationAccess().getGroup_3_0()); - // InternalProblem.g:574:3: ( rule__ClassDeclaration__Group_3_0__0 ) - // InternalProblem.g:574:4: rule__ClassDeclaration__Group_3_0__0 + before(grammarAccess.getClassDeclarationAccess().getGroup_4_0()); + // InternalProblem.g:649:3: ( rule__ClassDeclaration__Group_4_0__0 ) + // InternalProblem.g:649:4: rule__ClassDeclaration__Group_4_0__0 { pushFollow(FOLLOW_2); - rule__ClassDeclaration__Group_3_0__0(); + rule__ClassDeclaration__Group_4_0__0(); state._fsp--; } - after(grammarAccess.getClassDeclarationAccess().getGroup_3_0()); + after(grammarAccess.getClassDeclarationAccess().getGroup_4_0()); } @@ -1780,24 +1987,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:578:2: ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1 ) ) + // InternalProblem.g:653:2: ( '.' ) { - // InternalProblem.g:578:2: ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1 ) ) - // InternalProblem.g:579:3: ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1 ) + // InternalProblem.g:653:2: ( '.' ) + // InternalProblem.g:654:3: '.' { - before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_3_1()); - // InternalProblem.g:580:3: ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1 ) - // InternalProblem.g:580:4: rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1 - { - pushFollow(FOLLOW_2); - rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1(); - - state._fsp--; - - - } - - after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_3_1()); + before(grammarAccess.getClassDeclarationAccess().getFullStopKeyword_4_1()); + match(input,12,FOLLOW_2); + after(grammarAccess.getClassDeclarationAccess().getFullStopKeyword_4_1()); } @@ -1818,52 +2015,52 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Alternatives_3" + // $ANTLR end "rule__ClassDeclaration__Alternatives_4" - // $ANTLR start "rule__ClassDeclaration__Alternatives_3_0_1" - // InternalProblem.g:588:1: rule__ClassDeclaration__Alternatives_3_0_1 : ( ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0 ) ) | ( ( rule__ClassDeclaration__Group_3_0_1_1__0 ) ) ); - public final void rule__ClassDeclaration__Alternatives_3_0_1() throws RecognitionException { + // $ANTLR start "rule__ReferenceDeclaration__Alternatives_0" + // InternalProblem.g:663:1: rule__ReferenceDeclaration__Alternatives_0 : ( ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) ) | ( 'refers' ) ); + public final void rule__ReferenceDeclaration__Alternatives_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:592:1: ( ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0 ) ) | ( ( rule__ClassDeclaration__Group_3_0_1_1__0 ) ) ) - int alt4=2; - int LA4_0 = input.LA(1); + // InternalProblem.g:667:1: ( ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) ) | ( 'refers' ) ) + int alt3=2; + int LA3_0 = input.LA(1); - if ( (LA4_0==RULE_ID) ) { - alt4=1; + if ( (LA3_0==39) ) { + alt3=1; } - else if ( (LA4_0==23) ) { - alt4=2; + else if ( (LA3_0==13) ) { + alt3=2; } else { NoViableAltException nvae = - new NoViableAltException("", 4, 0, input); + new NoViableAltException("", 3, 0, input); throw nvae; } - switch (alt4) { + switch (alt3) { case 1 : - // InternalProblem.g:593:2: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0 ) ) + // InternalProblem.g:668:2: ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) ) { - // InternalProblem.g:593:2: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0 ) ) - // InternalProblem.g:594:3: ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0 ) + // InternalProblem.g:668:2: ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) ) + // InternalProblem.g:669:3: ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) { - before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_0()); - // InternalProblem.g:595:3: ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0 ) - // InternalProblem.g:595:4: rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0 + before(grammarAccess.getReferenceDeclarationAccess().getContainmentAssignment_0_0()); + // InternalProblem.g:670:3: ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) + // InternalProblem.g:670:4: rule__ReferenceDeclaration__ContainmentAssignment_0_0 { pushFollow(FOLLOW_2); - rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0(); + rule__ReferenceDeclaration__ContainmentAssignment_0_0(); state._fsp--; } - after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_0()); + after(grammarAccess.getReferenceDeclarationAccess().getContainmentAssignment_0_0()); } @@ -1871,24 +2068,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:599:2: ( ( rule__ClassDeclaration__Group_3_0_1_1__0 ) ) + // InternalProblem.g:674:2: ( 'refers' ) { - // InternalProblem.g:599:2: ( ( rule__ClassDeclaration__Group_3_0_1_1__0 ) ) - // InternalProblem.g:600:3: ( rule__ClassDeclaration__Group_3_0_1_1__0 ) + // InternalProblem.g:674:2: ( 'refers' ) + // InternalProblem.g:675:3: 'refers' { - before(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1()); - // InternalProblem.g:601:3: ( rule__ClassDeclaration__Group_3_0_1_1__0 ) - // InternalProblem.g:601:4: rule__ClassDeclaration__Group_3_0_1_1__0 - { - pushFollow(FOLLOW_2); - rule__ClassDeclaration__Group_3_0_1_1__0(); - - state._fsp--; - - - } - - after(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1()); + before(grammarAccess.getReferenceDeclarationAccess().getRefersKeyword_0_1()); + match(input,13,FOLLOW_2); + after(grammarAccess.getReferenceDeclarationAccess().getRefersKeyword_0_1()); } @@ -1909,52 +2096,52 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Alternatives_3_0_1" + // $ANTLR end "rule__ReferenceDeclaration__Alternatives_0" - // $ANTLR start "rule__ReferenceDeclaration__Alternatives_0" - // InternalProblem.g:609:1: rule__ReferenceDeclaration__Alternatives_0 : ( ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) ) | ( 'refers' ) ); - public final void rule__ReferenceDeclaration__Alternatives_0() throws RecognitionException { + // $ANTLR start "rule__PredicateDefinition__Alternatives_0" + // InternalProblem.g:684:1: rule__PredicateDefinition__Alternatives_0 : ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( 'pred' ) ); + public final void rule__PredicateDefinition__Alternatives_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:613:1: ( ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) ) | ( 'refers' ) ) - int alt5=2; - int LA5_0 = input.LA(1); + // InternalProblem.g:688:1: ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( 'pred' ) ) + int alt4=2; + int LA4_0 = input.LA(1); - if ( (LA5_0==36) ) { - alt5=1; + if ( (LA4_0==40) ) { + alt4=1; } - else if ( (LA5_0==11) ) { - alt5=2; + else if ( (LA4_0==14) ) { + alt4=2; } else { NoViableAltException nvae = - new NoViableAltException("", 5, 0, input); + new NoViableAltException("", 4, 0, input); throw nvae; } - switch (alt5) { + switch (alt4) { case 1 : - // InternalProblem.g:614:2: ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) ) + // InternalProblem.g:689:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) { - // InternalProblem.g:614:2: ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) ) - // InternalProblem.g:615:3: ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) + // InternalProblem.g:689:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) + // InternalProblem.g:690:3: ( rule__PredicateDefinition__Group_0_0__0 ) { - before(grammarAccess.getReferenceDeclarationAccess().getContainmentAssignment_0_0()); - // InternalProblem.g:616:3: ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) - // InternalProblem.g:616:4: rule__ReferenceDeclaration__ContainmentAssignment_0_0 + before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); + // InternalProblem.g:691:3: ( rule__PredicateDefinition__Group_0_0__0 ) + // InternalProblem.g:691:4: rule__PredicateDefinition__Group_0_0__0 { pushFollow(FOLLOW_2); - rule__ReferenceDeclaration__ContainmentAssignment_0_0(); + rule__PredicateDefinition__Group_0_0__0(); state._fsp--; } - after(grammarAccess.getReferenceDeclarationAccess().getContainmentAssignment_0_0()); + after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); } @@ -1962,16 +2149,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:620:2: ( 'refers' ) + // InternalProblem.g:695:2: ( 'pred' ) { - // InternalProblem.g:620:2: ( 'refers' ) - // InternalProblem.g:621:3: 'refers' + // InternalProblem.g:695:2: ( 'pred' ) + // InternalProblem.g:696:3: 'pred' { - before(grammarAccess.getReferenceDeclarationAccess().getRefersKeyword_0_1()); - match(input,11,FOLLOW_2); - after(grammarAccess.getReferenceDeclarationAccess().getRefersKeyword_0_1()); - - } + before(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_1()); + match(input,14,FOLLOW_2); + after(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_1()); + + } } @@ -1990,52 +2177,118 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ReferenceDeclaration__Alternatives_0" + // $ANTLR end "rule__PredicateDefinition__Alternatives_0" - // $ANTLR start "rule__PredicateDefinition__Alternatives_0" - // InternalProblem.g:630:1: rule__PredicateDefinition__Alternatives_0 : ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( 'pred' ) ); - public final void rule__PredicateDefinition__Alternatives_0() throws RecognitionException { + // $ANTLR start "rule__Literal__Alternatives" + // InternalProblem.g:705:1: rule__Literal__Alternatives : ( ( ruleAtom ) | ( ruleNegativeLiteral ) ); + public final void rule__Literal__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:634:1: ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( 'pred' ) ) - int alt6=2; - int LA6_0 = input.LA(1); + // InternalProblem.g:709:1: ( ( ruleAtom ) | ( ruleNegativeLiteral ) ) + int alt5=2; + int LA5_0 = input.LA(1); - if ( (LA6_0==37) ) { - alt6=1; + if ( ((LA5_0>=RULE_QUOTED_ID && LA5_0<=RULE_ID)) ) { + alt5=1; } - else if ( (LA6_0==12) ) { - alt6=2; + else if ( (LA5_0==20) ) { + alt5=2; } else { NoViableAltException nvae = - new NoViableAltException("", 6, 0, input); + new NoViableAltException("", 5, 0, input); throw nvae; } + switch (alt5) { + case 1 : + // InternalProblem.g:710:2: ( ruleAtom ) + { + // InternalProblem.g:710:2: ( ruleAtom ) + // InternalProblem.g:711:3: ruleAtom + { + before(grammarAccess.getLiteralAccess().getAtomParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleAtom(); + + state._fsp--; + + after(grammarAccess.getLiteralAccess().getAtomParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalProblem.g:716:2: ( ruleNegativeLiteral ) + { + // InternalProblem.g:716:2: ( ruleNegativeLiteral ) + // InternalProblem.g:717:3: ruleNegativeLiteral + { + before(grammarAccess.getLiteralAccess().getNegativeLiteralParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleNegativeLiteral(); + + state._fsp--; + + after(grammarAccess.getLiteralAccess().getNegativeLiteralParserRuleCall_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Literal__Alternatives" + + + // $ANTLR start "rule__Assertion__Alternatives_0" + // InternalProblem.g:726:1: rule__Assertion__Alternatives_0 : ( ( ( rule__Assertion__Group_0_0__0 ) ) | ( ( rule__Assertion__Group_0_1__0 ) ) ); + public final void rule__Assertion__Alternatives_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:730:1: ( ( ( rule__Assertion__Group_0_0__0 ) ) | ( ( rule__Assertion__Group_0_1__0 ) ) ) + int alt6=2; + alt6 = dfa6.predict(input); switch (alt6) { case 1 : - // InternalProblem.g:635:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) + // InternalProblem.g:731:2: ( ( rule__Assertion__Group_0_0__0 ) ) { - // InternalProblem.g:635:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) - // InternalProblem.g:636:3: ( rule__PredicateDefinition__Group_0_0__0 ) + // InternalProblem.g:731:2: ( ( rule__Assertion__Group_0_0__0 ) ) + // InternalProblem.g:732:3: ( rule__Assertion__Group_0_0__0 ) { - before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); - // InternalProblem.g:637:3: ( rule__PredicateDefinition__Group_0_0__0 ) - // InternalProblem.g:637:4: rule__PredicateDefinition__Group_0_0__0 + before(grammarAccess.getAssertionAccess().getGroup_0_0()); + // InternalProblem.g:733:3: ( rule__Assertion__Group_0_0__0 ) + // InternalProblem.g:733:4: rule__Assertion__Group_0_0__0 { pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group_0_0__0(); + rule__Assertion__Group_0_0__0(); state._fsp--; } - after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); + after(grammarAccess.getAssertionAccess().getGroup_0_0()); } @@ -2043,14 +2296,24 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:641:2: ( 'pred' ) + // InternalProblem.g:737:2: ( ( rule__Assertion__Group_0_1__0 ) ) { - // InternalProblem.g:641:2: ( 'pred' ) - // InternalProblem.g:642:3: 'pred' + // InternalProblem.g:737:2: ( ( rule__Assertion__Group_0_1__0 ) ) + // InternalProblem.g:738:3: ( rule__Assertion__Group_0_1__0 ) { - before(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_1()); - match(input,12,FOLLOW_2); - after(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_1()); + before(grammarAccess.getAssertionAccess().getGroup_0_1()); + // InternalProblem.g:739:3: ( rule__Assertion__Group_0_1__0 ) + // InternalProblem.g:739:4: rule__Assertion__Group_0_1__0 + { + pushFollow(FOLLOW_2); + rule__Assertion__Group_0_1__0(); + + state._fsp--; + + + } + + after(grammarAccess.getAssertionAccess().getGroup_0_1()); } @@ -2071,24 +2334,24 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__PredicateDefinition__Alternatives_0" + // $ANTLR end "rule__Assertion__Alternatives_0" - // $ANTLR start "rule__Literal__Alternatives" - // InternalProblem.g:651:1: rule__Literal__Alternatives : ( ( ruleAtom ) | ( ruleNegativeLiteral ) ); - public final void rule__Literal__Alternatives() throws RecognitionException { + // $ANTLR start "rule__TypeScope__Alternatives_1" + // InternalProblem.g:747:1: rule__TypeScope__Alternatives_1 : ( ( ( rule__TypeScope__IncrementAssignment_1_0 ) ) | ( '=' ) ); + public final void rule__TypeScope__Alternatives_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:655:1: ( ( ruleAtom ) | ( ruleNegativeLiteral ) ) + // InternalProblem.g:751:1: ( ( ( rule__TypeScope__IncrementAssignment_1_0 ) ) | ( '=' ) ) int alt7=2; int LA7_0 = input.LA(1); - if ( (LA7_0==RULE_ID) ) { + if ( (LA7_0==42) ) { alt7=1; } - else if ( (LA7_0==18) ) { + else if ( (LA7_0==15) ) { alt7=2; } else { @@ -2099,18 +2362,24 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt7) { case 1 : - // InternalProblem.g:656:2: ( ruleAtom ) + // InternalProblem.g:752:2: ( ( rule__TypeScope__IncrementAssignment_1_0 ) ) { - // InternalProblem.g:656:2: ( ruleAtom ) - // InternalProblem.g:657:3: ruleAtom + // InternalProblem.g:752:2: ( ( rule__TypeScope__IncrementAssignment_1_0 ) ) + // InternalProblem.g:753:3: ( rule__TypeScope__IncrementAssignment_1_0 ) + { + before(grammarAccess.getTypeScopeAccess().getIncrementAssignment_1_0()); + // InternalProblem.g:754:3: ( rule__TypeScope__IncrementAssignment_1_0 ) + // InternalProblem.g:754:4: rule__TypeScope__IncrementAssignment_1_0 { - before(grammarAccess.getLiteralAccess().getAtomParserRuleCall_0()); pushFollow(FOLLOW_2); - ruleAtom(); + rule__TypeScope__IncrementAssignment_1_0(); state._fsp--; - after(grammarAccess.getLiteralAccess().getAtomParserRuleCall_0()); + + } + + after(grammarAccess.getTypeScopeAccess().getIncrementAssignment_1_0()); } @@ -2118,18 +2387,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:662:2: ( ruleNegativeLiteral ) + // InternalProblem.g:758:2: ( '=' ) { - // InternalProblem.g:662:2: ( ruleNegativeLiteral ) - // InternalProblem.g:663:3: ruleNegativeLiteral + // InternalProblem.g:758:2: ( '=' ) + // InternalProblem.g:759:3: '=' { - before(grammarAccess.getLiteralAccess().getNegativeLiteralParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleNegativeLiteral(); - - state._fsp--; - - after(grammarAccess.getLiteralAccess().getNegativeLiteralParserRuleCall_1()); + before(grammarAccess.getTypeScopeAccess().getEqualsSignKeyword_1_1()); + match(input,15,FOLLOW_2); + after(grammarAccess.getTypeScopeAccess().getEqualsSignKeyword_1_1()); } @@ -2150,39 +2415,46 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__Literal__Alternatives" + // $ANTLR end "rule__TypeScope__Alternatives_1" - // $ANTLR start "rule__Assertion__Alternatives_0" - // InternalProblem.g:672:1: rule__Assertion__Alternatives_0 : ( ( ( rule__Assertion__Group_0_0__0 ) ) | ( ( rule__Assertion__Group_0_1__0 ) ) ); - public final void rule__Assertion__Alternatives_0() throws RecognitionException { + // $ANTLR start "rule__Multiplicity__Alternatives" + // InternalProblem.g:768:1: rule__Multiplicity__Alternatives : ( ( ruleUnboundedMultiplicity ) | ( ruleDefiniteMultiplicity ) ); + public final void rule__Multiplicity__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:676:1: ( ( ( rule__Assertion__Group_0_0__0 ) ) | ( ( rule__Assertion__Group_0_1__0 ) ) ) + // InternalProblem.g:772:1: ( ( ruleUnboundedMultiplicity ) | ( ruleDefiniteMultiplicity ) ) int alt8=2; - alt8 = dfa8.predict(input); + int LA8_0 = input.LA(1); + + if ( (LA8_0==EOF||LA8_0==30) ) { + alt8=1; + } + else if ( (LA8_0==RULE_INT) ) { + alt8=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 8, 0, input); + + throw nvae; + } switch (alt8) { case 1 : - // InternalProblem.g:677:2: ( ( rule__Assertion__Group_0_0__0 ) ) + // InternalProblem.g:773:2: ( ruleUnboundedMultiplicity ) { - // InternalProblem.g:677:2: ( ( rule__Assertion__Group_0_0__0 ) ) - // InternalProblem.g:678:3: ( rule__Assertion__Group_0_0__0 ) - { - before(grammarAccess.getAssertionAccess().getGroup_0_0()); - // InternalProblem.g:679:3: ( rule__Assertion__Group_0_0__0 ) - // InternalProblem.g:679:4: rule__Assertion__Group_0_0__0 + // InternalProblem.g:773:2: ( ruleUnboundedMultiplicity ) + // InternalProblem.g:774:3: ruleUnboundedMultiplicity { + before(grammarAccess.getMultiplicityAccess().getUnboundedMultiplicityParserRuleCall_0()); pushFollow(FOLLOW_2); - rule__Assertion__Group_0_0__0(); + ruleUnboundedMultiplicity(); state._fsp--; - - } - - after(grammarAccess.getAssertionAccess().getGroup_0_0()); + after(grammarAccess.getMultiplicityAccess().getUnboundedMultiplicityParserRuleCall_0()); } @@ -2190,24 +2462,18 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:683:2: ( ( rule__Assertion__Group_0_1__0 ) ) - { - // InternalProblem.g:683:2: ( ( rule__Assertion__Group_0_1__0 ) ) - // InternalProblem.g:684:3: ( rule__Assertion__Group_0_1__0 ) + // InternalProblem.g:779:2: ( ruleDefiniteMultiplicity ) { - before(grammarAccess.getAssertionAccess().getGroup_0_1()); - // InternalProblem.g:685:3: ( rule__Assertion__Group_0_1__0 ) - // InternalProblem.g:685:4: rule__Assertion__Group_0_1__0 + // InternalProblem.g:779:2: ( ruleDefiniteMultiplicity ) + // InternalProblem.g:780:3: ruleDefiniteMultiplicity { + before(grammarAccess.getMultiplicityAccess().getDefiniteMultiplicityParserRuleCall_1()); pushFollow(FOLLOW_2); - rule__Assertion__Group_0_1__0(); + ruleDefiniteMultiplicity(); state._fsp--; - - } - - after(grammarAccess.getAssertionAccess().getGroup_0_1()); + after(grammarAccess.getMultiplicityAccess().getDefiniteMultiplicityParserRuleCall_1()); } @@ -2228,25 +2494,35 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__Assertion__Alternatives_0" + // $ANTLR end "rule__Multiplicity__Alternatives" - // $ANTLR start "rule__TypeScope__Alternatives_1" - // InternalProblem.g:693:1: rule__TypeScope__Alternatives_1 : ( ( ( rule__TypeScope__IncrementAssignment_1_0 ) ) | ( '=' ) ); - public final void rule__TypeScope__Alternatives_1() throws RecognitionException { + // $ANTLR start "rule__DefiniteMultiplicity__Alternatives" + // InternalProblem.g:789:1: rule__DefiniteMultiplicity__Alternatives : ( ( ruleRangeMultiplicity ) | ( ruleExactMultiplicity ) ); + public final void rule__DefiniteMultiplicity__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:697:1: ( ( ( rule__TypeScope__IncrementAssignment_1_0 ) ) | ( '=' ) ) + // InternalProblem.g:793:1: ( ( ruleRangeMultiplicity ) | ( ruleExactMultiplicity ) ) int alt9=2; int LA9_0 = input.LA(1); - if ( (LA9_0==39) ) { - alt9=1; - } - else if ( (LA9_0==13) ) { - alt9=2; + if ( (LA9_0==RULE_INT) ) { + int LA9_1 = input.LA(2); + + if ( (LA9_1==37) ) { + alt9=1; + } + else if ( (LA9_1==EOF||LA9_1==12||LA9_1==25||LA9_1==30) ) { + alt9=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 9, 1, input); + + throw nvae; + } } else { NoViableAltException nvae = @@ -2256,24 +2532,18 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt9) { case 1 : - // InternalProblem.g:698:2: ( ( rule__TypeScope__IncrementAssignment_1_0 ) ) - { - // InternalProblem.g:698:2: ( ( rule__TypeScope__IncrementAssignment_1_0 ) ) - // InternalProblem.g:699:3: ( rule__TypeScope__IncrementAssignment_1_0 ) + // InternalProblem.g:794:2: ( ruleRangeMultiplicity ) { - before(grammarAccess.getTypeScopeAccess().getIncrementAssignment_1_0()); - // InternalProblem.g:700:3: ( rule__TypeScope__IncrementAssignment_1_0 ) - // InternalProblem.g:700:4: rule__TypeScope__IncrementAssignment_1_0 + // InternalProblem.g:794:2: ( ruleRangeMultiplicity ) + // InternalProblem.g:795:3: ruleRangeMultiplicity { + before(grammarAccess.getDefiniteMultiplicityAccess().getRangeMultiplicityParserRuleCall_0()); pushFollow(FOLLOW_2); - rule__TypeScope__IncrementAssignment_1_0(); + ruleRangeMultiplicity(); state._fsp--; - - } - - after(grammarAccess.getTypeScopeAccess().getIncrementAssignment_1_0()); + after(grammarAccess.getDefiniteMultiplicityAccess().getRangeMultiplicityParserRuleCall_0()); } @@ -2281,14 +2551,18 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:704:2: ( '=' ) + // InternalProblem.g:800:2: ( ruleExactMultiplicity ) { - // InternalProblem.g:704:2: ( '=' ) - // InternalProblem.g:705:3: '=' + // InternalProblem.g:800:2: ( ruleExactMultiplicity ) + // InternalProblem.g:801:3: ruleExactMultiplicity { - before(grammarAccess.getTypeScopeAccess().getEqualsSignKeyword_1_1()); - match(input,13,FOLLOW_2); - after(grammarAccess.getTypeScopeAccess().getEqualsSignKeyword_1_1()); + before(grammarAccess.getDefiniteMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleExactMultiplicity(); + + state._fsp--; + + after(grammarAccess.getDefiniteMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); } @@ -2309,35 +2583,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__TypeScope__Alternatives_1" + // $ANTLR end "rule__DefiniteMultiplicity__Alternatives" - // $ANTLR start "rule__Multiplicity__Alternatives" - // InternalProblem.g:714:1: rule__Multiplicity__Alternatives : ( ( ruleRangeMultiplicity ) | ( ruleExactMultiplicity ) ); - public final void rule__Multiplicity__Alternatives() throws RecognitionException { + // $ANTLR start "rule__UpperBound__Alternatives" + // InternalProblem.g:810:1: rule__UpperBound__Alternatives : ( ( RULE_INT ) | ( '*' ) ); + public final void rule__UpperBound__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:718:1: ( ( ruleRangeMultiplicity ) | ( ruleExactMultiplicity ) ) + // InternalProblem.g:814:1: ( ( RULE_INT ) | ( '*' ) ) int alt10=2; int LA10_0 = input.LA(1); if ( (LA10_0==RULE_INT) ) { - int LA10_1 = input.LA(2); - - if ( (LA10_1==33) ) { - alt10=1; - } - else if ( (LA10_1==EOF||LA10_1==21||(LA10_1>=24 && LA10_1<=25)) ) { - alt10=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 10, 1, input); - - throw nvae; - } + alt10=1; + } + else if ( (LA10_0==16) ) { + alt10=2; } else { NoViableAltException nvae = @@ -2347,18 +2611,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt10) { case 1 : - // InternalProblem.g:719:2: ( ruleRangeMultiplicity ) + // InternalProblem.g:815:2: ( RULE_INT ) { - // InternalProblem.g:719:2: ( ruleRangeMultiplicity ) - // InternalProblem.g:720:3: ruleRangeMultiplicity + // InternalProblem.g:815:2: ( RULE_INT ) + // InternalProblem.g:816:3: RULE_INT { - before(grammarAccess.getMultiplicityAccess().getRangeMultiplicityParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleRangeMultiplicity(); - - state._fsp--; - - after(grammarAccess.getMultiplicityAccess().getRangeMultiplicityParserRuleCall_0()); + before(grammarAccess.getUpperBoundAccess().getINTTerminalRuleCall_0()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getUpperBoundAccess().getINTTerminalRuleCall_0()); } @@ -2366,18 +2626,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:725:2: ( ruleExactMultiplicity ) + // InternalProblem.g:821:2: ( '*' ) { - // InternalProblem.g:725:2: ( ruleExactMultiplicity ) - // InternalProblem.g:726:3: ruleExactMultiplicity + // InternalProblem.g:821:2: ( '*' ) + // InternalProblem.g:822:3: '*' { - before(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleExactMultiplicity(); - - state._fsp--; - - after(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); + before(grammarAccess.getUpperBoundAccess().getAsteriskKeyword_1()); + match(input,16,FOLLOW_2); + after(grammarAccess.getUpperBoundAccess().getAsteriskKeyword_1()); } @@ -2398,24 +2654,24 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__Multiplicity__Alternatives" + // $ANTLR end "rule__UpperBound__Alternatives" - // $ANTLR start "rule__UpperBound__Alternatives" - // InternalProblem.g:735:1: rule__UpperBound__Alternatives : ( ( RULE_INT ) | ( '*' ) ); - public final void rule__UpperBound__Alternatives() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Alternatives" + // InternalProblem.g:831:1: rule__QualifiedName__Alternatives : ( ( RULE_QUOTED_ID ) | ( ( rule__QualifiedName__Group_1__0 ) ) ); + public final void rule__QualifiedName__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:739:1: ( ( RULE_INT ) | ( '*' ) ) + // InternalProblem.g:835:1: ( ( RULE_QUOTED_ID ) | ( ( rule__QualifiedName__Group_1__0 ) ) ) int alt11=2; int LA11_0 = input.LA(1); - if ( (LA11_0==RULE_INT) ) { + if ( (LA11_0==RULE_QUOTED_ID) ) { alt11=1; } - else if ( (LA11_0==14) ) { + else if ( (LA11_0==RULE_ID) ) { alt11=2; } else { @@ -2426,14 +2682,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt11) { case 1 : - // InternalProblem.g:740:2: ( RULE_INT ) + // InternalProblem.g:836:2: ( RULE_QUOTED_ID ) { - // InternalProblem.g:740:2: ( RULE_INT ) - // InternalProblem.g:741:3: RULE_INT + // InternalProblem.g:836:2: ( RULE_QUOTED_ID ) + // InternalProblem.g:837:3: RULE_QUOTED_ID { - before(grammarAccess.getUpperBoundAccess().getINTTerminalRuleCall_0()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getUpperBoundAccess().getINTTerminalRuleCall_0()); + before(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_0()); + match(input,RULE_QUOTED_ID,FOLLOW_2); + after(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_0()); } @@ -2441,14 +2697,24 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:746:2: ( '*' ) + // InternalProblem.g:842:2: ( ( rule__QualifiedName__Group_1__0 ) ) { - // InternalProblem.g:746:2: ( '*' ) - // InternalProblem.g:747:3: '*' + // InternalProblem.g:842:2: ( ( rule__QualifiedName__Group_1__0 ) ) + // InternalProblem.g:843:3: ( rule__QualifiedName__Group_1__0 ) { - before(grammarAccess.getUpperBoundAccess().getAsteriskKeyword_1()); - match(input,14,FOLLOW_2); - after(grammarAccess.getUpperBoundAccess().getAsteriskKeyword_1()); + before(grammarAccess.getQualifiedNameAccess().getGroup_1()); + // InternalProblem.g:844:3: ( rule__QualifiedName__Group_1__0 ) + // InternalProblem.g:844:4: rule__QualifiedName__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__QualifiedName__Group_1__0(); + + state._fsp--; + + + } + + after(grammarAccess.getQualifiedNameAccess().getGroup_1()); } @@ -2469,30 +2735,30 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__UpperBound__Alternatives" + // $ANTLR end "rule__QualifiedName__Alternatives" // $ANTLR start "rule__LogicValue__Alternatives" - // InternalProblem.g:756:1: rule__LogicValue__Alternatives : ( ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'unknown' ) ) ); + // InternalProblem.g:852:1: rule__LogicValue__Alternatives : ( ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'unknown' ) ) ); public final void rule__LogicValue__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:760:1: ( ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'unknown' ) ) ) + // InternalProblem.g:856:1: ( ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'unknown' ) ) ) int alt12=3; switch ( input.LA(1) ) { - case 15: + case 17: { alt12=1; } break; - case 16: + case 18: { alt12=2; } break; - case 17: + case 19: { alt12=3; } @@ -2506,16 +2772,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { switch (alt12) { case 1 : - // InternalProblem.g:761:2: ( ( 'true' ) ) + // InternalProblem.g:857:2: ( ( 'true' ) ) { - // InternalProblem.g:761:2: ( ( 'true' ) ) - // InternalProblem.g:762:3: ( 'true' ) + // InternalProblem.g:857:2: ( ( 'true' ) ) + // InternalProblem.g:858:3: ( 'true' ) { before(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); - // InternalProblem.g:763:3: ( 'true' ) - // InternalProblem.g:763:4: 'true' + // InternalProblem.g:859:3: ( 'true' ) + // InternalProblem.g:859:4: 'true' { - match(input,15,FOLLOW_2); + match(input,17,FOLLOW_2); } @@ -2527,16 +2793,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:767:2: ( ( 'false' ) ) + // InternalProblem.g:863:2: ( ( 'false' ) ) { - // InternalProblem.g:767:2: ( ( 'false' ) ) - // InternalProblem.g:768:3: ( 'false' ) + // InternalProblem.g:863:2: ( ( 'false' ) ) + // InternalProblem.g:864:3: ( 'false' ) { before(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); - // InternalProblem.g:769:3: ( 'false' ) - // InternalProblem.g:769:4: 'false' + // InternalProblem.g:865:3: ( 'false' ) + // InternalProblem.g:865:4: 'false' { - match(input,16,FOLLOW_2); + match(input,18,FOLLOW_2); } @@ -2548,16 +2814,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 3 : - // InternalProblem.g:773:2: ( ( 'unknown' ) ) + // InternalProblem.g:869:2: ( ( 'unknown' ) ) { - // InternalProblem.g:773:2: ( ( 'unknown' ) ) - // InternalProblem.g:774:3: ( 'unknown' ) + // InternalProblem.g:869:2: ( ( 'unknown' ) ) + // InternalProblem.g:870:3: ( 'unknown' ) { before(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); - // InternalProblem.g:775:3: ( 'unknown' ) - // InternalProblem.g:775:4: 'unknown' + // InternalProblem.g:871:3: ( 'unknown' ) + // InternalProblem.g:871:4: 'unknown' { - match(input,17,FOLLOW_2); + match(input,19,FOLLOW_2); } @@ -2586,20 +2852,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ShortLogicValue__Alternatives" - // InternalProblem.g:783:1: rule__ShortLogicValue__Alternatives : ( ( ( '!' ) ) | ( ( '?' ) ) ); + // InternalProblem.g:879:1: rule__ShortLogicValue__Alternatives : ( ( ( '!' ) ) | ( ( '?' ) ) ); public final void rule__ShortLogicValue__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:787:1: ( ( ( '!' ) ) | ( ( '?' ) ) ) + // InternalProblem.g:883:1: ( ( ( '!' ) ) | ( ( '?' ) ) ) int alt13=2; int LA13_0 = input.LA(1); - if ( (LA13_0==18) ) { + if ( (LA13_0==20) ) { alt13=1; } - else if ( (LA13_0==19) ) { + else if ( (LA13_0==21) ) { alt13=2; } else { @@ -2610,16 +2876,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt13) { case 1 : - // InternalProblem.g:788:2: ( ( '!' ) ) + // InternalProblem.g:884:2: ( ( '!' ) ) { - // InternalProblem.g:788:2: ( ( '!' ) ) - // InternalProblem.g:789:3: ( '!' ) + // InternalProblem.g:884:2: ( ( '!' ) ) + // InternalProblem.g:885:3: ( '!' ) { before(grammarAccess.getShortLogicValueAccess().getFALSEEnumLiteralDeclaration_0()); - // InternalProblem.g:790:3: ( '!' ) - // InternalProblem.g:790:4: '!' + // InternalProblem.g:886:3: ( '!' ) + // InternalProblem.g:886:4: '!' { - match(input,18,FOLLOW_2); + match(input,20,FOLLOW_2); } @@ -2631,28 +2897,452 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:794:2: ( ( '?' ) ) + // InternalProblem.g:890:2: ( ( '?' ) ) { - // InternalProblem.g:794:2: ( ( '?' ) ) - // InternalProblem.g:795:3: ( '?' ) + // InternalProblem.g:890:2: ( ( '?' ) ) + // InternalProblem.g:891:3: ( '?' ) { before(grammarAccess.getShortLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_1()); - // InternalProblem.g:796:3: ( '?' ) - // InternalProblem.g:796:4: '?' + // InternalProblem.g:892:3: ( '?' ) + // InternalProblem.g:892:4: '?' { - match(input,19,FOLLOW_2); + match(input,21,FOLLOW_2); + + } + + after(grammarAccess.getShortLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ShortLogicValue__Alternatives" + + + // $ANTLR start "rule__Problem__Group__0" + // InternalProblem.g:900:1: rule__Problem__Group__0 : rule__Problem__Group__0__Impl rule__Problem__Group__1 ; + public final void rule__Problem__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:904:1: ( rule__Problem__Group__0__Impl rule__Problem__Group__1 ) + // InternalProblem.g:905:2: rule__Problem__Group__0__Impl rule__Problem__Group__1 + { + pushFollow(FOLLOW_3); + rule__Problem__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Problem__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group__0" + + + // $ANTLR start "rule__Problem__Group__0__Impl" + // InternalProblem.g:912:1: rule__Problem__Group__0__Impl : ( ( rule__Problem__Group_0__0 )? ) ; + public final void rule__Problem__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:916:1: ( ( ( rule__Problem__Group_0__0 )? ) ) + // InternalProblem.g:917:1: ( ( rule__Problem__Group_0__0 )? ) + { + // InternalProblem.g:917:1: ( ( rule__Problem__Group_0__0 )? ) + // InternalProblem.g:918:2: ( rule__Problem__Group_0__0 )? + { + before(grammarAccess.getProblemAccess().getGroup_0()); + // InternalProblem.g:919:2: ( rule__Problem__Group_0__0 )? + int alt14=2; + int LA14_0 = input.LA(1); + + if ( (LA14_0==22) ) { + alt14=1; + } + switch (alt14) { + case 1 : + // InternalProblem.g:919:3: rule__Problem__Group_0__0 + { + pushFollow(FOLLOW_2); + rule__Problem__Group_0__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getProblemAccess().getGroup_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group__0__Impl" + + + // $ANTLR start "rule__Problem__Group__1" + // InternalProblem.g:927:1: rule__Problem__Group__1 : rule__Problem__Group__1__Impl ; + public final void rule__Problem__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:931:1: ( rule__Problem__Group__1__Impl ) + // InternalProblem.g:932:2: rule__Problem__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__Problem__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group__1" + + + // $ANTLR start "rule__Problem__Group__1__Impl" + // InternalProblem.g:938:1: rule__Problem__Group__1__Impl : ( ( rule__Problem__StatementsAssignment_1 )* ) ; + public final void rule__Problem__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:942:1: ( ( ( rule__Problem__StatementsAssignment_1 )* ) ) + // InternalProblem.g:943:1: ( ( rule__Problem__StatementsAssignment_1 )* ) + { + // InternalProblem.g:943:1: ( ( rule__Problem__StatementsAssignment_1 )* ) + // InternalProblem.g:944:2: ( rule__Problem__StatementsAssignment_1 )* + { + before(grammarAccess.getProblemAccess().getStatementsAssignment_1()); + // InternalProblem.g:945:2: ( rule__Problem__StatementsAssignment_1 )* + loop15: + do { + int alt15=2; + int LA15_0 = input.LA(1); + + if ( ((LA15_0>=RULE_QUOTED_ID && LA15_0<=RULE_ID)||LA15_0==14||(LA15_0>=20 && LA15_0<=21)||LA15_0==23||LA15_0==36||LA15_0==38||LA15_0==40) ) { + alt15=1; + } + + + switch (alt15) { + case 1 : + // InternalProblem.g:945:3: rule__Problem__StatementsAssignment_1 + { + pushFollow(FOLLOW_4); + rule__Problem__StatementsAssignment_1(); + + state._fsp--; + + + } + break; + + default : + break loop15; + } + } while (true); + + after(grammarAccess.getProblemAccess().getStatementsAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group__1__Impl" + + + // $ANTLR start "rule__Problem__Group_0__0" + // InternalProblem.g:954:1: rule__Problem__Group_0__0 : rule__Problem__Group_0__0__Impl rule__Problem__Group_0__1 ; + public final void rule__Problem__Group_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:958:1: ( rule__Problem__Group_0__0__Impl rule__Problem__Group_0__1 ) + // InternalProblem.g:959:2: rule__Problem__Group_0__0__Impl rule__Problem__Group_0__1 + { + pushFollow(FOLLOW_5); + rule__Problem__Group_0__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Problem__Group_0__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group_0__0" + + + // $ANTLR start "rule__Problem__Group_0__0__Impl" + // InternalProblem.g:966:1: rule__Problem__Group_0__0__Impl : ( 'problem' ) ; + public final void rule__Problem__Group_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:970:1: ( ( 'problem' ) ) + // InternalProblem.g:971:1: ( 'problem' ) + { + // InternalProblem.g:971:1: ( 'problem' ) + // InternalProblem.g:972:2: 'problem' + { + before(grammarAccess.getProblemAccess().getProblemKeyword_0_0()); + match(input,22,FOLLOW_2); + after(grammarAccess.getProblemAccess().getProblemKeyword_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group_0__0__Impl" + + + // $ANTLR start "rule__Problem__Group_0__1" + // InternalProblem.g:981:1: rule__Problem__Group_0__1 : rule__Problem__Group_0__1__Impl rule__Problem__Group_0__2 ; + public final void rule__Problem__Group_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:985:1: ( rule__Problem__Group_0__1__Impl rule__Problem__Group_0__2 ) + // InternalProblem.g:986:2: rule__Problem__Group_0__1__Impl rule__Problem__Group_0__2 + { + pushFollow(FOLLOW_6); + rule__Problem__Group_0__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Problem__Group_0__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group_0__1" + + + // $ANTLR start "rule__Problem__Group_0__1__Impl" + // InternalProblem.g:993:1: rule__Problem__Group_0__1__Impl : ( ( rule__Problem__NameAssignment_0_1 ) ) ; + public final void rule__Problem__Group_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:997:1: ( ( ( rule__Problem__NameAssignment_0_1 ) ) ) + // InternalProblem.g:998:1: ( ( rule__Problem__NameAssignment_0_1 ) ) + { + // InternalProblem.g:998:1: ( ( rule__Problem__NameAssignment_0_1 ) ) + // InternalProblem.g:999:2: ( rule__Problem__NameAssignment_0_1 ) + { + before(grammarAccess.getProblemAccess().getNameAssignment_0_1()); + // InternalProblem.g:1000:2: ( rule__Problem__NameAssignment_0_1 ) + // InternalProblem.g:1000:3: rule__Problem__NameAssignment_0_1 + { + pushFollow(FOLLOW_2); + rule__Problem__NameAssignment_0_1(); + + state._fsp--; + + + } + + after(grammarAccess.getProblemAccess().getNameAssignment_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group_0__1__Impl" + + + // $ANTLR start "rule__Problem__Group_0__2" + // InternalProblem.g:1008:1: rule__Problem__Group_0__2 : rule__Problem__Group_0__2__Impl ; + public final void rule__Problem__Group_0__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:1012:1: ( rule__Problem__Group_0__2__Impl ) + // InternalProblem.g:1013:2: rule__Problem__Group_0__2__Impl + { + pushFollow(FOLLOW_2); + rule__Problem__Group_0__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group_0__2" - } - after(grammarAccess.getShortLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_1()); + // $ANTLR start "rule__Problem__Group_0__2__Impl" + // InternalProblem.g:1019:1: rule__Problem__Group_0__2__Impl : ( '.' ) ; + public final void rule__Problem__Group_0__2__Impl() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:1023:1: ( ( '.' ) ) + // InternalProblem.g:1024:1: ( '.' ) + { + // InternalProblem.g:1024:1: ( '.' ) + // InternalProblem.g:1025:2: '.' + { + before(grammarAccess.getProblemAccess().getFullStopKeyword_0_2()); + match(input,12,FOLLOW_2); + after(grammarAccess.getProblemAccess().getFullStopKeyword_0_2()); + } - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -2665,20 +3355,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ShortLogicValue__Alternatives" + // $ANTLR end "rule__Problem__Group_0__2__Impl" // $ANTLR start "rule__ClassDeclaration__Group__0" - // InternalProblem.g:804:1: rule__ClassDeclaration__Group__0 : rule__ClassDeclaration__Group__0__Impl rule__ClassDeclaration__Group__1 ; + // InternalProblem.g:1035:1: rule__ClassDeclaration__Group__0 : rule__ClassDeclaration__Group__0__Impl rule__ClassDeclaration__Group__1 ; public final void rule__ClassDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:808:1: ( rule__ClassDeclaration__Group__0__Impl rule__ClassDeclaration__Group__1 ) - // InternalProblem.g:809:2: rule__ClassDeclaration__Group__0__Impl rule__ClassDeclaration__Group__1 + // InternalProblem.g:1039:1: ( rule__ClassDeclaration__Group__0__Impl rule__ClassDeclaration__Group__1 ) + // InternalProblem.g:1040:2: rule__ClassDeclaration__Group__0__Impl rule__ClassDeclaration__Group__1 { - pushFollow(FOLLOW_4); + pushFollow(FOLLOW_7); rule__ClassDeclaration__Group__0__Impl(); state._fsp--; @@ -2707,29 +3397,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__0__Impl" - // InternalProblem.g:816:1: rule__ClassDeclaration__Group__0__Impl : ( ( rule__ClassDeclaration__AbstractAssignment_0 )? ) ; + // InternalProblem.g:1047:1: rule__ClassDeclaration__Group__0__Impl : ( ( rule__ClassDeclaration__AbstractAssignment_0 )? ) ; public final void rule__ClassDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:820:1: ( ( ( rule__ClassDeclaration__AbstractAssignment_0 )? ) ) - // InternalProblem.g:821:1: ( ( rule__ClassDeclaration__AbstractAssignment_0 )? ) + // InternalProblem.g:1051:1: ( ( ( rule__ClassDeclaration__AbstractAssignment_0 )? ) ) + // InternalProblem.g:1052:1: ( ( rule__ClassDeclaration__AbstractAssignment_0 )? ) { - // InternalProblem.g:821:1: ( ( rule__ClassDeclaration__AbstractAssignment_0 )? ) - // InternalProblem.g:822:2: ( rule__ClassDeclaration__AbstractAssignment_0 )? + // InternalProblem.g:1052:1: ( ( rule__ClassDeclaration__AbstractAssignment_0 )? ) + // InternalProblem.g:1053:2: ( rule__ClassDeclaration__AbstractAssignment_0 )? { before(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0()); - // InternalProblem.g:823:2: ( rule__ClassDeclaration__AbstractAssignment_0 )? - int alt14=2; - int LA14_0 = input.LA(1); + // InternalProblem.g:1054:2: ( rule__ClassDeclaration__AbstractAssignment_0 )? + int alt16=2; + int LA16_0 = input.LA(1); - if ( (LA14_0==35) ) { - alt14=1; + if ( (LA16_0==38) ) { + alt16=1; } - switch (alt14) { + switch (alt16) { case 1 : - // InternalProblem.g:823:3: rule__ClassDeclaration__AbstractAssignment_0 + // InternalProblem.g:1054:3: rule__ClassDeclaration__AbstractAssignment_0 { pushFollow(FOLLOW_2); rule__ClassDeclaration__AbstractAssignment_0(); @@ -2765,14 +3455,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__1" - // InternalProblem.g:831:1: rule__ClassDeclaration__Group__1 : rule__ClassDeclaration__Group__1__Impl rule__ClassDeclaration__Group__2 ; + // InternalProblem.g:1062:1: rule__ClassDeclaration__Group__1 : rule__ClassDeclaration__Group__1__Impl rule__ClassDeclaration__Group__2 ; public final void rule__ClassDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:835:1: ( rule__ClassDeclaration__Group__1__Impl rule__ClassDeclaration__Group__2 ) - // InternalProblem.g:836:2: rule__ClassDeclaration__Group__1__Impl rule__ClassDeclaration__Group__2 + // InternalProblem.g:1066:1: ( rule__ClassDeclaration__Group__1__Impl rule__ClassDeclaration__Group__2 ) + // InternalProblem.g:1067:2: rule__ClassDeclaration__Group__1__Impl rule__ClassDeclaration__Group__2 { pushFollow(FOLLOW_5); rule__ClassDeclaration__Group__1__Impl(); @@ -2803,20 +3493,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__1__Impl" - // InternalProblem.g:843:1: rule__ClassDeclaration__Group__1__Impl : ( 'class' ) ; + // InternalProblem.g:1074:1: rule__ClassDeclaration__Group__1__Impl : ( 'class' ) ; public final void rule__ClassDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:847:1: ( ( 'class' ) ) - // InternalProblem.g:848:1: ( 'class' ) + // InternalProblem.g:1078:1: ( ( 'class' ) ) + // InternalProblem.g:1079:1: ( 'class' ) { - // InternalProblem.g:848:1: ( 'class' ) - // InternalProblem.g:849:2: 'class' + // InternalProblem.g:1079:1: ( 'class' ) + // InternalProblem.g:1080:2: 'class' { before(grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); - match(input,20,FOLLOW_2); + match(input,23,FOLLOW_2); after(grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); } @@ -2840,16 +3530,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__2" - // InternalProblem.g:858:1: rule__ClassDeclaration__Group__2 : rule__ClassDeclaration__Group__2__Impl rule__ClassDeclaration__Group__3 ; + // InternalProblem.g:1089:1: rule__ClassDeclaration__Group__2 : rule__ClassDeclaration__Group__2__Impl rule__ClassDeclaration__Group__3 ; public final void rule__ClassDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:862:1: ( rule__ClassDeclaration__Group__2__Impl rule__ClassDeclaration__Group__3 ) - // InternalProblem.g:863:2: rule__ClassDeclaration__Group__2__Impl rule__ClassDeclaration__Group__3 + // InternalProblem.g:1093:1: ( rule__ClassDeclaration__Group__2__Impl rule__ClassDeclaration__Group__3 ) + // InternalProblem.g:1094:2: rule__ClassDeclaration__Group__2__Impl rule__ClassDeclaration__Group__3 { - pushFollow(FOLLOW_6); + pushFollow(FOLLOW_8); rule__ClassDeclaration__Group__2__Impl(); state._fsp--; @@ -2878,21 +3568,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__2__Impl" - // InternalProblem.g:870:1: rule__ClassDeclaration__Group__2__Impl : ( ( rule__ClassDeclaration__NameAssignment_2 ) ) ; + // InternalProblem.g:1101:1: rule__ClassDeclaration__Group__2__Impl : ( ( rule__ClassDeclaration__NameAssignment_2 ) ) ; public final void rule__ClassDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:874:1: ( ( ( rule__ClassDeclaration__NameAssignment_2 ) ) ) - // InternalProblem.g:875:1: ( ( rule__ClassDeclaration__NameAssignment_2 ) ) + // InternalProblem.g:1105:1: ( ( ( rule__ClassDeclaration__NameAssignment_2 ) ) ) + // InternalProblem.g:1106:1: ( ( rule__ClassDeclaration__NameAssignment_2 ) ) { - // InternalProblem.g:875:1: ( ( rule__ClassDeclaration__NameAssignment_2 ) ) - // InternalProblem.g:876:2: ( rule__ClassDeclaration__NameAssignment_2 ) + // InternalProblem.g:1106:1: ( ( rule__ClassDeclaration__NameAssignment_2 ) ) + // InternalProblem.g:1107:2: ( rule__ClassDeclaration__NameAssignment_2 ) { before(grammarAccess.getClassDeclarationAccess().getNameAssignment_2()); - // InternalProblem.g:877:2: ( rule__ClassDeclaration__NameAssignment_2 ) - // InternalProblem.g:877:3: rule__ClassDeclaration__NameAssignment_2 + // InternalProblem.g:1108:2: ( rule__ClassDeclaration__NameAssignment_2 ) + // InternalProblem.g:1108:3: rule__ClassDeclaration__NameAssignment_2 { pushFollow(FOLLOW_2); rule__ClassDeclaration__NameAssignment_2(); @@ -2925,16 +3615,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__3" - // InternalProblem.g:885:1: rule__ClassDeclaration__Group__3 : rule__ClassDeclaration__Group__3__Impl rule__ClassDeclaration__Group__4 ; + // InternalProblem.g:1116:1: rule__ClassDeclaration__Group__3 : rule__ClassDeclaration__Group__3__Impl rule__ClassDeclaration__Group__4 ; public final void rule__ClassDeclaration__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:889:1: ( rule__ClassDeclaration__Group__3__Impl rule__ClassDeclaration__Group__4 ) - // InternalProblem.g:890:2: rule__ClassDeclaration__Group__3__Impl rule__ClassDeclaration__Group__4 + // InternalProblem.g:1120:1: ( rule__ClassDeclaration__Group__3__Impl rule__ClassDeclaration__Group__4 ) + // InternalProblem.g:1121:2: rule__ClassDeclaration__Group__3__Impl rule__ClassDeclaration__Group__4 { - pushFollow(FOLLOW_6); + pushFollow(FOLLOW_8); rule__ClassDeclaration__Group__3__Impl(); state._fsp--; @@ -2963,32 +3653,32 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__3__Impl" - // InternalProblem.g:897:1: rule__ClassDeclaration__Group__3__Impl : ( ( rule__ClassDeclaration__Alternatives_3 )? ) ; + // InternalProblem.g:1128:1: rule__ClassDeclaration__Group__3__Impl : ( ( rule__ClassDeclaration__Group_3__0 )? ) ; public final void rule__ClassDeclaration__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:901:1: ( ( ( rule__ClassDeclaration__Alternatives_3 )? ) ) - // InternalProblem.g:902:1: ( ( rule__ClassDeclaration__Alternatives_3 )? ) + // InternalProblem.g:1132:1: ( ( ( rule__ClassDeclaration__Group_3__0 )? ) ) + // InternalProblem.g:1133:1: ( ( rule__ClassDeclaration__Group_3__0 )? ) { - // InternalProblem.g:902:1: ( ( rule__ClassDeclaration__Alternatives_3 )? ) - // InternalProblem.g:903:2: ( rule__ClassDeclaration__Alternatives_3 )? + // InternalProblem.g:1133:1: ( ( rule__ClassDeclaration__Group_3__0 )? ) + // InternalProblem.g:1134:2: ( rule__ClassDeclaration__Group_3__0 )? { - before(grammarAccess.getClassDeclarationAccess().getAlternatives_3()); - // InternalProblem.g:904:2: ( rule__ClassDeclaration__Alternatives_3 )? - int alt15=2; - int LA15_0 = input.LA(1); + before(grammarAccess.getClassDeclarationAccess().getGroup_3()); + // InternalProblem.g:1135:2: ( rule__ClassDeclaration__Group_3__0 )? + int alt17=2; + int LA17_0 = input.LA(1); - if ( (LA15_0==11||LA15_0==22||LA15_0==36) ) { - alt15=1; + if ( (LA17_0==24) ) { + alt17=1; } - switch (alt15) { + switch (alt17) { case 1 : - // InternalProblem.g:904:3: rule__ClassDeclaration__Alternatives_3 + // InternalProblem.g:1135:3: rule__ClassDeclaration__Group_3__0 { pushFollow(FOLLOW_2); - rule__ClassDeclaration__Alternatives_3(); + rule__ClassDeclaration__Group_3__0(); state._fsp--; @@ -2998,7 +3688,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } - after(grammarAccess.getClassDeclarationAccess().getAlternatives_3()); + after(grammarAccess.getClassDeclarationAccess().getGroup_3()); } @@ -3021,22 +3711,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__4" - // InternalProblem.g:912:1: rule__ClassDeclaration__Group__4 : rule__ClassDeclaration__Group__4__Impl rule__ClassDeclaration__Group__5 ; + // InternalProblem.g:1143:1: rule__ClassDeclaration__Group__4 : rule__ClassDeclaration__Group__4__Impl ; public final void rule__ClassDeclaration__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:916:1: ( rule__ClassDeclaration__Group__4__Impl rule__ClassDeclaration__Group__5 ) - // InternalProblem.g:917:2: rule__ClassDeclaration__Group__4__Impl rule__ClassDeclaration__Group__5 + // InternalProblem.g:1147:1: ( rule__ClassDeclaration__Group__4__Impl ) + // InternalProblem.g:1148:2: rule__ClassDeclaration__Group__4__Impl { - pushFollow(FOLLOW_6); - rule__ClassDeclaration__Group__4__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ClassDeclaration__Group__5(); + rule__ClassDeclaration__Group__4__Impl(); state._fsp--; @@ -3059,49 +3744,31 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__4__Impl" - // InternalProblem.g:924:1: rule__ClassDeclaration__Group__4__Impl : ( ( rule__ClassDeclaration__Group_4__0 )* ) ; + // InternalProblem.g:1154:1: rule__ClassDeclaration__Group__4__Impl : ( ( rule__ClassDeclaration__Alternatives_4 ) ) ; public final void rule__ClassDeclaration__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:928:1: ( ( ( rule__ClassDeclaration__Group_4__0 )* ) ) - // InternalProblem.g:929:1: ( ( rule__ClassDeclaration__Group_4__0 )* ) + // InternalProblem.g:1158:1: ( ( ( rule__ClassDeclaration__Alternatives_4 ) ) ) + // InternalProblem.g:1159:1: ( ( rule__ClassDeclaration__Alternatives_4 ) ) { - // InternalProblem.g:929:1: ( ( rule__ClassDeclaration__Group_4__0 )* ) - // InternalProblem.g:930:2: ( rule__ClassDeclaration__Group_4__0 )* + // InternalProblem.g:1159:1: ( ( rule__ClassDeclaration__Alternatives_4 ) ) + // InternalProblem.g:1160:2: ( rule__ClassDeclaration__Alternatives_4 ) { - before(grammarAccess.getClassDeclarationAccess().getGroup_4()); - // InternalProblem.g:931:2: ( rule__ClassDeclaration__Group_4__0 )* - loop16: - do { - int alt16=2; - int LA16_0 = input.LA(1); - - if ( (LA16_0==25) ) { - alt16=1; - } - - - switch (alt16) { - case 1 : - // InternalProblem.g:931:3: rule__ClassDeclaration__Group_4__0 - { - pushFollow(FOLLOW_7); - rule__ClassDeclaration__Group_4__0(); - - state._fsp--; + before(grammarAccess.getClassDeclarationAccess().getAlternatives_4()); + // InternalProblem.g:1161:2: ( rule__ClassDeclaration__Alternatives_4 ) + // InternalProblem.g:1161:3: rule__ClassDeclaration__Alternatives_4 + { + pushFollow(FOLLOW_2); + rule__ClassDeclaration__Alternatives_4(); + state._fsp--; - } - break; - default : - break loop16; - } - } while (true); + } - after(grammarAccess.getClassDeclarationAccess().getGroup_4()); + after(grammarAccess.getClassDeclarationAccess().getAlternatives_4()); } @@ -3123,18 +3790,23 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR end "rule__ClassDeclaration__Group__4__Impl" - // $ANTLR start "rule__ClassDeclaration__Group__5" - // InternalProblem.g:939:1: rule__ClassDeclaration__Group__5 : rule__ClassDeclaration__Group__5__Impl ; - public final void rule__ClassDeclaration__Group__5() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3__0" + // InternalProblem.g:1170:1: rule__ClassDeclaration__Group_3__0 : rule__ClassDeclaration__Group_3__0__Impl rule__ClassDeclaration__Group_3__1 ; + public final void rule__ClassDeclaration__Group_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:943:1: ( rule__ClassDeclaration__Group__5__Impl ) - // InternalProblem.g:944:2: rule__ClassDeclaration__Group__5__Impl + // InternalProblem.g:1174:1: ( rule__ClassDeclaration__Group_3__0__Impl rule__ClassDeclaration__Group_3__1 ) + // InternalProblem.g:1175:2: rule__ClassDeclaration__Group_3__0__Impl rule__ClassDeclaration__Group_3__1 { + pushFollow(FOLLOW_9); + rule__ClassDeclaration__Group_3__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ClassDeclaration__Group__5__Impl(); + rule__ClassDeclaration__Group_3__1(); state._fsp--; @@ -3153,25 +3825,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group__5" + // $ANTLR end "rule__ClassDeclaration__Group_3__0" - // $ANTLR start "rule__ClassDeclaration__Group__5__Impl" - // InternalProblem.g:950:1: rule__ClassDeclaration__Group__5__Impl : ( '.' ) ; - public final void rule__ClassDeclaration__Group__5__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3__0__Impl" + // InternalProblem.g:1182:1: rule__ClassDeclaration__Group_3__0__Impl : ( 'extends' ) ; + public final void rule__ClassDeclaration__Group_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:954:1: ( ( '.' ) ) - // InternalProblem.g:955:1: ( '.' ) + // InternalProblem.g:1186:1: ( ( 'extends' ) ) + // InternalProblem.g:1187:1: ( 'extends' ) { - // InternalProblem.g:955:1: ( '.' ) - // InternalProblem.g:956:2: '.' + // InternalProblem.g:1187:1: ( 'extends' ) + // InternalProblem.g:1188:2: 'extends' { - before(grammarAccess.getClassDeclarationAccess().getFullStopKeyword_5()); - match(input,21,FOLLOW_2); - after(grammarAccess.getClassDeclarationAccess().getFullStopKeyword_5()); + before(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0()); + match(input,24,FOLLOW_2); + after(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0()); } @@ -3190,26 +3862,26 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group__5__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_3__0__Impl" - // $ANTLR start "rule__ClassDeclaration__Group_3_0__0" - // InternalProblem.g:966:1: rule__ClassDeclaration__Group_3_0__0 : rule__ClassDeclaration__Group_3_0__0__Impl rule__ClassDeclaration__Group_3_0__1 ; - public final void rule__ClassDeclaration__Group_3_0__0() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3__1" + // InternalProblem.g:1197:1: rule__ClassDeclaration__Group_3__1 : rule__ClassDeclaration__Group_3__1__Impl rule__ClassDeclaration__Group_3__2 ; + public final void rule__ClassDeclaration__Group_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:970:1: ( rule__ClassDeclaration__Group_3_0__0__Impl rule__ClassDeclaration__Group_3_0__1 ) - // InternalProblem.g:971:2: rule__ClassDeclaration__Group_3_0__0__Impl rule__ClassDeclaration__Group_3_0__1 + // InternalProblem.g:1201:1: ( rule__ClassDeclaration__Group_3__1__Impl rule__ClassDeclaration__Group_3__2 ) + // InternalProblem.g:1202:2: rule__ClassDeclaration__Group_3__1__Impl rule__ClassDeclaration__Group_3__2 { - pushFollow(FOLLOW_8); - rule__ClassDeclaration__Group_3_0__0__Impl(); + pushFollow(FOLLOW_10); + rule__ClassDeclaration__Group_3__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDeclaration__Group_3_0__1(); + rule__ClassDeclaration__Group_3__2(); state._fsp--; @@ -3228,25 +3900,35 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group_3_0__0" + // $ANTLR end "rule__ClassDeclaration__Group_3__1" - // $ANTLR start "rule__ClassDeclaration__Group_3_0__0__Impl" - // InternalProblem.g:978:1: rule__ClassDeclaration__Group_3_0__0__Impl : ( 'extends' ) ; - public final void rule__ClassDeclaration__Group_3_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3__1__Impl" + // InternalProblem.g:1209:1: rule__ClassDeclaration__Group_3__1__Impl : ( ( rule__ClassDeclaration__SuperTypesAssignment_3_1 ) ) ; + public final void rule__ClassDeclaration__Group_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:982:1: ( ( 'extends' ) ) - // InternalProblem.g:983:1: ( 'extends' ) + // InternalProblem.g:1213:1: ( ( ( rule__ClassDeclaration__SuperTypesAssignment_3_1 ) ) ) + // InternalProblem.g:1214:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_1 ) ) { - // InternalProblem.g:983:1: ( 'extends' ) - // InternalProblem.g:984:2: 'extends' + // InternalProblem.g:1214:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_1 ) ) + // InternalProblem.g:1215:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_1 ) { - before(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0_0()); - match(input,22,FOLLOW_2); - after(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0_0()); + before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_1()); + // InternalProblem.g:1216:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_1 ) + // InternalProblem.g:1216:3: rule__ClassDeclaration__SuperTypesAssignment_3_1 + { + pushFollow(FOLLOW_2); + rule__ClassDeclaration__SuperTypesAssignment_3_1(); + + state._fsp--; + + + } + + after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_1()); } @@ -3265,21 +3947,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group_3_0__0__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_3__1__Impl" - // $ANTLR start "rule__ClassDeclaration__Group_3_0__1" - // InternalProblem.g:993:1: rule__ClassDeclaration__Group_3_0__1 : rule__ClassDeclaration__Group_3_0__1__Impl ; - public final void rule__ClassDeclaration__Group_3_0__1() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3__2" + // InternalProblem.g:1224:1: rule__ClassDeclaration__Group_3__2 : rule__ClassDeclaration__Group_3__2__Impl ; + public final void rule__ClassDeclaration__Group_3__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:997:1: ( rule__ClassDeclaration__Group_3_0__1__Impl ) - // InternalProblem.g:998:2: rule__ClassDeclaration__Group_3_0__1__Impl + // InternalProblem.g:1228:1: ( rule__ClassDeclaration__Group_3__2__Impl ) + // InternalProblem.g:1229:2: rule__ClassDeclaration__Group_3__2__Impl { pushFollow(FOLLOW_2); - rule__ClassDeclaration__Group_3_0__1__Impl(); + rule__ClassDeclaration__Group_3__2__Impl(); state._fsp--; @@ -3298,35 +3980,53 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group_3_0__1" + // $ANTLR end "rule__ClassDeclaration__Group_3__2" - // $ANTLR start "rule__ClassDeclaration__Group_3_0__1__Impl" - // InternalProblem.g:1004:1: rule__ClassDeclaration__Group_3_0__1__Impl : ( ( rule__ClassDeclaration__Alternatives_3_0_1 ) ) ; - public final void rule__ClassDeclaration__Group_3_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3__2__Impl" + // InternalProblem.g:1235:1: rule__ClassDeclaration__Group_3__2__Impl : ( ( rule__ClassDeclaration__Group_3_2__0 )* ) ; + public final void rule__ClassDeclaration__Group_3__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1008:1: ( ( ( rule__ClassDeclaration__Alternatives_3_0_1 ) ) ) - // InternalProblem.g:1009:1: ( ( rule__ClassDeclaration__Alternatives_3_0_1 ) ) + // InternalProblem.g:1239:1: ( ( ( rule__ClassDeclaration__Group_3_2__0 )* ) ) + // InternalProblem.g:1240:1: ( ( rule__ClassDeclaration__Group_3_2__0 )* ) { - // InternalProblem.g:1009:1: ( ( rule__ClassDeclaration__Alternatives_3_0_1 ) ) - // InternalProblem.g:1010:2: ( rule__ClassDeclaration__Alternatives_3_0_1 ) + // InternalProblem.g:1240:1: ( ( rule__ClassDeclaration__Group_3_2__0 )* ) + // InternalProblem.g:1241:2: ( rule__ClassDeclaration__Group_3_2__0 )* { - before(grammarAccess.getClassDeclarationAccess().getAlternatives_3_0_1()); - // InternalProblem.g:1011:2: ( rule__ClassDeclaration__Alternatives_3_0_1 ) - // InternalProblem.g:1011:3: rule__ClassDeclaration__Alternatives_3_0_1 - { - pushFollow(FOLLOW_2); - rule__ClassDeclaration__Alternatives_3_0_1(); + before(grammarAccess.getClassDeclarationAccess().getGroup_3_2()); + // InternalProblem.g:1242:2: ( rule__ClassDeclaration__Group_3_2__0 )* + loop18: + do { + int alt18=2; + int LA18_0 = input.LA(1); - state._fsp--; + if ( (LA18_0==25) ) { + alt18=1; + } - } + switch (alt18) { + case 1 : + // InternalProblem.g:1242:3: rule__ClassDeclaration__Group_3_2__0 + { + pushFollow(FOLLOW_11); + rule__ClassDeclaration__Group_3_2__0(); + + state._fsp--; + + + } + break; + + default : + break loop18; + } + } while (true); - after(grammarAccess.getClassDeclarationAccess().getAlternatives_3_0_1()); + after(grammarAccess.getClassDeclarationAccess().getGroup_3_2()); } @@ -3345,26 +4045,26 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group_3_0__1__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_3__2__Impl" - // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1__0" - // InternalProblem.g:1020:1: rule__ClassDeclaration__Group_3_0_1_1__0 : rule__ClassDeclaration__Group_3_0_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1__1 ; - public final void rule__ClassDeclaration__Group_3_0_1_1__0() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3_2__0" + // InternalProblem.g:1251:1: rule__ClassDeclaration__Group_3_2__0 : rule__ClassDeclaration__Group_3_2__0__Impl rule__ClassDeclaration__Group_3_2__1 ; + public final void rule__ClassDeclaration__Group_3_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1024:1: ( rule__ClassDeclaration__Group_3_0_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1__1 ) - // InternalProblem.g:1025:2: rule__ClassDeclaration__Group_3_0_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1__1 + // InternalProblem.g:1255:1: ( rule__ClassDeclaration__Group_3_2__0__Impl rule__ClassDeclaration__Group_3_2__1 ) + // InternalProblem.g:1256:2: rule__ClassDeclaration__Group_3_2__0__Impl rule__ClassDeclaration__Group_3_2__1 { pushFollow(FOLLOW_9); - rule__ClassDeclaration__Group_3_0_1_1__0__Impl(); + rule__ClassDeclaration__Group_3_2__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDeclaration__Group_3_0_1_1__1(); + rule__ClassDeclaration__Group_3_2__1(); state._fsp--; @@ -3383,25 +4083,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1__0" + // $ANTLR end "rule__ClassDeclaration__Group_3_2__0" - // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1__0__Impl" - // InternalProblem.g:1032:1: rule__ClassDeclaration__Group_3_0_1_1__0__Impl : ( '[' ) ; - public final void rule__ClassDeclaration__Group_3_0_1_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3_2__0__Impl" + // InternalProblem.g:1263:1: rule__ClassDeclaration__Group_3_2__0__Impl : ( ',' ) ; + public final void rule__ClassDeclaration__Group_3_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1036:1: ( ( '[' ) ) - // InternalProblem.g:1037:1: ( '[' ) + // InternalProblem.g:1267:1: ( ( ',' ) ) + // InternalProblem.g:1268:1: ( ',' ) { - // InternalProblem.g:1037:1: ( '[' ) - // InternalProblem.g:1038:2: '[' + // InternalProblem.g:1268:1: ( ',' ) + // InternalProblem.g:1269:2: ',' { - before(grammarAccess.getClassDeclarationAccess().getLeftSquareBracketKeyword_3_0_1_1_0()); - match(input,23,FOLLOW_2); - after(grammarAccess.getClassDeclarationAccess().getLeftSquareBracketKeyword_3_0_1_1_0()); + before(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_2_0()); + match(input,25,FOLLOW_2); + after(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_2_0()); } @@ -3420,26 +4120,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1__0__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_3_2__0__Impl" - // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1__1" - // InternalProblem.g:1047:1: rule__ClassDeclaration__Group_3_0_1_1__1 : rule__ClassDeclaration__Group_3_0_1_1__1__Impl rule__ClassDeclaration__Group_3_0_1_1__2 ; - public final void rule__ClassDeclaration__Group_3_0_1_1__1() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3_2__1" + // InternalProblem.g:1278:1: rule__ClassDeclaration__Group_3_2__1 : rule__ClassDeclaration__Group_3_2__1__Impl ; + public final void rule__ClassDeclaration__Group_3_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1051:1: ( rule__ClassDeclaration__Group_3_0_1_1__1__Impl rule__ClassDeclaration__Group_3_0_1_1__2 ) - // InternalProblem.g:1052:2: rule__ClassDeclaration__Group_3_0_1_1__1__Impl rule__ClassDeclaration__Group_3_0_1_1__2 + // InternalProblem.g:1282:1: ( rule__ClassDeclaration__Group_3_2__1__Impl ) + // InternalProblem.g:1283:2: rule__ClassDeclaration__Group_3_2__1__Impl { - pushFollow(FOLLOW_9); - rule__ClassDeclaration__Group_3_0_1_1__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ClassDeclaration__Group_3_0_1_1__2(); + rule__ClassDeclaration__Group_3_2__1__Impl(); state._fsp--; @@ -3458,116 +4153,35 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1__1" + // $ANTLR end "rule__ClassDeclaration__Group_3_2__1" - // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1__1__Impl" - // InternalProblem.g:1059:1: rule__ClassDeclaration__Group_3_0_1_1__1__Impl : ( ( rule__ClassDeclaration__Group_3_0_1_1_1__0 )? ) ; - public final void rule__ClassDeclaration__Group_3_0_1_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3_2__1__Impl" + // InternalProblem.g:1289:1: rule__ClassDeclaration__Group_3_2__1__Impl : ( ( rule__ClassDeclaration__SuperTypesAssignment_3_2_1 ) ) ; + public final void rule__ClassDeclaration__Group_3_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1063:1: ( ( ( rule__ClassDeclaration__Group_3_0_1_1_1__0 )? ) ) - // InternalProblem.g:1064:1: ( ( rule__ClassDeclaration__Group_3_0_1_1_1__0 )? ) + // InternalProblem.g:1293:1: ( ( ( rule__ClassDeclaration__SuperTypesAssignment_3_2_1 ) ) ) + // InternalProblem.g:1294:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_2_1 ) ) { - // InternalProblem.g:1064:1: ( ( rule__ClassDeclaration__Group_3_0_1_1_1__0 )? ) - // InternalProblem.g:1065:2: ( rule__ClassDeclaration__Group_3_0_1_1_1__0 )? + // InternalProblem.g:1294:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_2_1 ) ) + // InternalProblem.g:1295:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_2_1 ) { - before(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1()); - // InternalProblem.g:1066:2: ( rule__ClassDeclaration__Group_3_0_1_1_1__0 )? - int alt17=2; - int LA17_0 = input.LA(1); - - if ( (LA17_0==RULE_ID) ) { - alt17=1; - } - switch (alt17) { - case 1 : - // InternalProblem.g:1066:3: rule__ClassDeclaration__Group_3_0_1_1_1__0 - { - pushFollow(FOLLOW_2); - rule__ClassDeclaration__Group_3_0_1_1_1__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1__1__Impl" - - - // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1__2" - // InternalProblem.g:1074:1: rule__ClassDeclaration__Group_3_0_1_1__2 : rule__ClassDeclaration__Group_3_0_1_1__2__Impl ; - public final void rule__ClassDeclaration__Group_3_0_1_1__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:1078:1: ( rule__ClassDeclaration__Group_3_0_1_1__2__Impl ) - // InternalProblem.g:1079:2: rule__ClassDeclaration__Group_3_0_1_1__2__Impl + before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_2_1()); + // InternalProblem.g:1296:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_2_1 ) + // InternalProblem.g:1296:3: rule__ClassDeclaration__SuperTypesAssignment_3_2_1 { pushFollow(FOLLOW_2); - rule__ClassDeclaration__Group_3_0_1_1__2__Impl(); + rule__ClassDeclaration__SuperTypesAssignment_3_2_1(); state._fsp--; } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1__2" - - - // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1__2__Impl" - // InternalProblem.g:1085:1: rule__ClassDeclaration__Group_3_0_1_1__2__Impl : ( ']' ) ; - public final void rule__ClassDeclaration__Group_3_0_1_1__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:1089:1: ( ( ']' ) ) - // InternalProblem.g:1090:1: ( ']' ) - { - // InternalProblem.g:1090:1: ( ']' ) - // InternalProblem.g:1091:2: ']' - { - before(grammarAccess.getClassDeclarationAccess().getRightSquareBracketKeyword_3_0_1_1_2()); - match(input,24,FOLLOW_2); - after(grammarAccess.getClassDeclarationAccess().getRightSquareBracketKeyword_3_0_1_1_2()); + after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_2_1()); } @@ -3586,26 +4200,26 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1__2__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_3_2__1__Impl" - // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1_1__0" - // InternalProblem.g:1101:1: rule__ClassDeclaration__Group_3_0_1_1_1__0 : rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1_1__1 ; - public final void rule__ClassDeclaration__Group_3_0_1_1_1__0() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_4_0__0" + // InternalProblem.g:1305:1: rule__ClassDeclaration__Group_4_0__0 : rule__ClassDeclaration__Group_4_0__0__Impl rule__ClassDeclaration__Group_4_0__1 ; + public final void rule__ClassDeclaration__Group_4_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1105:1: ( rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1_1__1 ) - // InternalProblem.g:1106:2: rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1_1__1 + // InternalProblem.g:1309:1: ( rule__ClassDeclaration__Group_4_0__0__Impl rule__ClassDeclaration__Group_4_0__1 ) + // InternalProblem.g:1310:2: rule__ClassDeclaration__Group_4_0__0__Impl rule__ClassDeclaration__Group_4_0__1 { - pushFollow(FOLLOW_10); - rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl(); + pushFollow(FOLLOW_12); + rule__ClassDeclaration__Group_4_0__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDeclaration__Group_3_0_1_1_1__1(); + rule__ClassDeclaration__Group_4_0__1(); state._fsp--; @@ -3624,35 +4238,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1_1__0" + // $ANTLR end "rule__ClassDeclaration__Group_4_0__0" - // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl" - // InternalProblem.g:1113:1: rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl : ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0 ) ) ; - public final void rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_4_0__0__Impl" + // InternalProblem.g:1317:1: rule__ClassDeclaration__Group_4_0__0__Impl : ( '{' ) ; + public final void rule__ClassDeclaration__Group_4_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1117:1: ( ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0 ) ) ) - // InternalProblem.g:1118:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0 ) ) + // InternalProblem.g:1321:1: ( ( '{' ) ) + // InternalProblem.g:1322:1: ( '{' ) { - // InternalProblem.g:1118:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0 ) ) - // InternalProblem.g:1119:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0 ) + // InternalProblem.g:1322:1: ( '{' ) + // InternalProblem.g:1323:2: '{' { - before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_0()); - // InternalProblem.g:1120:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0 ) - // InternalProblem.g:1120:3: rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0 - { - pushFollow(FOLLOW_2); - rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0(); - - state._fsp--; - - - } - - after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_0()); + before(grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()); + match(input,26,FOLLOW_2); + after(grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()); } @@ -3671,21 +4275,26 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_4_0__0__Impl" - // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1_1__1" - // InternalProblem.g:1128:1: rule__ClassDeclaration__Group_3_0_1_1_1__1 : rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl ; - public final void rule__ClassDeclaration__Group_3_0_1_1_1__1() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_4_0__1" + // InternalProblem.g:1332:1: rule__ClassDeclaration__Group_4_0__1 : rule__ClassDeclaration__Group_4_0__1__Impl rule__ClassDeclaration__Group_4_0__2 ; + public final void rule__ClassDeclaration__Group_4_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1132:1: ( rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl ) - // InternalProblem.g:1133:2: rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl + // InternalProblem.g:1336:1: ( rule__ClassDeclaration__Group_4_0__1__Impl rule__ClassDeclaration__Group_4_0__2 ) + // InternalProblem.g:1337:2: rule__ClassDeclaration__Group_4_0__1__Impl rule__ClassDeclaration__Group_4_0__2 { + pushFollow(FOLLOW_12); + rule__ClassDeclaration__Group_4_0__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl(); + rule__ClassDeclaration__Group_4_0__2(); state._fsp--; @@ -3704,40 +4313,40 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1_1__1" + // $ANTLR end "rule__ClassDeclaration__Group_4_0__1" - // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl" - // InternalProblem.g:1139:1: rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl : ( ( rule__ClassDeclaration__Group_3_0_1_1_1_1__0 )* ) ; - public final void rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_4_0__1__Impl" + // InternalProblem.g:1344:1: rule__ClassDeclaration__Group_4_0__1__Impl : ( ( rule__ClassDeclaration__Group_4_0_1__0 )* ) ; + public final void rule__ClassDeclaration__Group_4_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1143:1: ( ( ( rule__ClassDeclaration__Group_3_0_1_1_1_1__0 )* ) ) - // InternalProblem.g:1144:1: ( ( rule__ClassDeclaration__Group_3_0_1_1_1_1__0 )* ) + // InternalProblem.g:1348:1: ( ( ( rule__ClassDeclaration__Group_4_0_1__0 )* ) ) + // InternalProblem.g:1349:1: ( ( rule__ClassDeclaration__Group_4_0_1__0 )* ) { - // InternalProblem.g:1144:1: ( ( rule__ClassDeclaration__Group_3_0_1_1_1_1__0 )* ) - // InternalProblem.g:1145:2: ( rule__ClassDeclaration__Group_3_0_1_1_1_1__0 )* + // InternalProblem.g:1349:1: ( ( rule__ClassDeclaration__Group_4_0_1__0 )* ) + // InternalProblem.g:1350:2: ( rule__ClassDeclaration__Group_4_0_1__0 )* { - before(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1_1()); - // InternalProblem.g:1146:2: ( rule__ClassDeclaration__Group_3_0_1_1_1_1__0 )* - loop18: + before(grammarAccess.getClassDeclarationAccess().getGroup_4_0_1()); + // InternalProblem.g:1351:2: ( rule__ClassDeclaration__Group_4_0_1__0 )* + loop19: do { - int alt18=2; - int LA18_0 = input.LA(1); + int alt19=2; + int LA19_0 = input.LA(1); - if ( (LA18_0==25) ) { - alt18=1; + if ( (LA19_0==13||LA19_0==39) ) { + alt19=1; } - switch (alt18) { + switch (alt19) { case 1 : - // InternalProblem.g:1146:3: rule__ClassDeclaration__Group_3_0_1_1_1_1__0 + // InternalProblem.g:1351:3: rule__ClassDeclaration__Group_4_0_1__0 { - pushFollow(FOLLOW_7); - rule__ClassDeclaration__Group_3_0_1_1_1_1__0(); + pushFollow(FOLLOW_13); + rule__ClassDeclaration__Group_4_0_1__0(); state._fsp--; @@ -3746,86 +4355,11 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop18; + break loop19; } } while (true); - after(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl" - - - // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1_1_1__0" - // InternalProblem.g:1155:1: rule__ClassDeclaration__Group_3_0_1_1_1_1__0 : rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1_1_1__1 ; - public final void rule__ClassDeclaration__Group_3_0_1_1_1_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:1159:1: ( rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1_1_1__1 ) - // InternalProblem.g:1160:2: rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1_1_1__1 - { - pushFollow(FOLLOW_5); - rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ClassDeclaration__Group_3_0_1_1_1_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1_1_1__0" - - - // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl" - // InternalProblem.g:1167:1: rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl : ( ',' ) ; - public final void rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:1171:1: ( ( ',' ) ) - // InternalProblem.g:1172:1: ( ',' ) - { - // InternalProblem.g:1172:1: ( ',' ) - // InternalProblem.g:1173:2: ',' - { - before(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_0_1_1_1_1_0()); - match(input,25,FOLLOW_2); - after(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_0_1_1_1_1_0()); + after(grammarAccess.getClassDeclarationAccess().getGroup_4_0_1()); } @@ -3844,21 +4378,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_4_0__1__Impl" - // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1_1_1__1" - // InternalProblem.g:1182:1: rule__ClassDeclaration__Group_3_0_1_1_1_1__1 : rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl ; - public final void rule__ClassDeclaration__Group_3_0_1_1_1_1__1() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_4_0__2" + // InternalProblem.g:1359:1: rule__ClassDeclaration__Group_4_0__2 : rule__ClassDeclaration__Group_4_0__2__Impl ; + public final void rule__ClassDeclaration__Group_4_0__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1186:1: ( rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl ) - // InternalProblem.g:1187:2: rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl + // InternalProblem.g:1363:1: ( rule__ClassDeclaration__Group_4_0__2__Impl ) + // InternalProblem.g:1364:2: rule__ClassDeclaration__Group_4_0__2__Impl { pushFollow(FOLLOW_2); - rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl(); + rule__ClassDeclaration__Group_4_0__2__Impl(); state._fsp--; @@ -3876,36 +4410,26 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; - } - // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1_1_1__1" - - - // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl" - // InternalProblem.g:1193:1: rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl : ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1 ) ) ; - public final void rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:1197:1: ( ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1 ) ) ) - // InternalProblem.g:1198:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1 ) ) - { - // InternalProblem.g:1198:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1 ) ) - // InternalProblem.g:1199:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1 ) - { - before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_1_1()); - // InternalProblem.g:1200:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1 ) - // InternalProblem.g:1200:3: rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1 - { - pushFollow(FOLLOW_2); - rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1(); - - state._fsp--; + } + // $ANTLR end "rule__ClassDeclaration__Group_4_0__2" - } + // $ANTLR start "rule__ClassDeclaration__Group_4_0__2__Impl" + // InternalProblem.g:1370:1: rule__ClassDeclaration__Group_4_0__2__Impl : ( '}' ) ; + public final void rule__ClassDeclaration__Group_4_0__2__Impl() throws RecognitionException { - after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_1_1()); + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:1374:1: ( ( '}' ) ) + // InternalProblem.g:1375:1: ( '}' ) + { + // InternalProblem.g:1375:1: ( '}' ) + // InternalProblem.g:1376:2: '}' + { + before(grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2()); + match(input,27,FOLLOW_2); + after(grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2()); } @@ -3924,26 +4448,26 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_4_0__2__Impl" - // $ANTLR start "rule__ClassDeclaration__Group_4__0" - // InternalProblem.g:1209:1: rule__ClassDeclaration__Group_4__0 : rule__ClassDeclaration__Group_4__0__Impl rule__ClassDeclaration__Group_4__1 ; - public final void rule__ClassDeclaration__Group_4__0() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_4_0_1__0" + // InternalProblem.g:1386:1: rule__ClassDeclaration__Group_4_0_1__0 : rule__ClassDeclaration__Group_4_0_1__0__Impl rule__ClassDeclaration__Group_4_0_1__1 ; + public final void rule__ClassDeclaration__Group_4_0_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1213:1: ( rule__ClassDeclaration__Group_4__0__Impl rule__ClassDeclaration__Group_4__1 ) - // InternalProblem.g:1214:2: rule__ClassDeclaration__Group_4__0__Impl rule__ClassDeclaration__Group_4__1 + // InternalProblem.g:1390:1: ( rule__ClassDeclaration__Group_4_0_1__0__Impl rule__ClassDeclaration__Group_4_0_1__1 ) + // InternalProblem.g:1391:2: rule__ClassDeclaration__Group_4_0_1__0__Impl rule__ClassDeclaration__Group_4_0_1__1 { - pushFollow(FOLLOW_11); - rule__ClassDeclaration__Group_4__0__Impl(); + pushFollow(FOLLOW_14); + rule__ClassDeclaration__Group_4_0_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDeclaration__Group_4__1(); + rule__ClassDeclaration__Group_4_0_1__1(); state._fsp--; @@ -3962,25 +4486,35 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group_4__0" + // $ANTLR end "rule__ClassDeclaration__Group_4_0_1__0" - // $ANTLR start "rule__ClassDeclaration__Group_4__0__Impl" - // InternalProblem.g:1221:1: rule__ClassDeclaration__Group_4__0__Impl : ( ',' ) ; - public final void rule__ClassDeclaration__Group_4__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_4_0_1__0__Impl" + // InternalProblem.g:1398:1: rule__ClassDeclaration__Group_4_0_1__0__Impl : ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 ) ) ; + public final void rule__ClassDeclaration__Group_4_0_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1225:1: ( ( ',' ) ) - // InternalProblem.g:1226:1: ( ',' ) + // InternalProblem.g:1402:1: ( ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 ) ) ) + // InternalProblem.g:1403:1: ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 ) ) { - // InternalProblem.g:1226:1: ( ',' ) - // InternalProblem.g:1227:2: ',' + // InternalProblem.g:1403:1: ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 ) ) + // InternalProblem.g:1404:2: ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 ) { - before(grammarAccess.getClassDeclarationAccess().getCommaKeyword_4_0()); - match(input,25,FOLLOW_2); - after(grammarAccess.getClassDeclarationAccess().getCommaKeyword_4_0()); + before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_0_1_0()); + // InternalProblem.g:1405:2: ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 ) + // InternalProblem.g:1405:3: rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 + { + pushFollow(FOLLOW_2); + rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0(); + + state._fsp--; + + + } + + after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_0_1_0()); } @@ -3999,21 +4533,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group_4__0__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_4_0_1__0__Impl" - // $ANTLR start "rule__ClassDeclaration__Group_4__1" - // InternalProblem.g:1236:1: rule__ClassDeclaration__Group_4__1 : rule__ClassDeclaration__Group_4__1__Impl ; - public final void rule__ClassDeclaration__Group_4__1() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_4_0_1__1" + // InternalProblem.g:1413:1: rule__ClassDeclaration__Group_4_0_1__1 : rule__ClassDeclaration__Group_4_0_1__1__Impl ; + public final void rule__ClassDeclaration__Group_4_0_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1240:1: ( rule__ClassDeclaration__Group_4__1__Impl ) - // InternalProblem.g:1241:2: rule__ClassDeclaration__Group_4__1__Impl + // InternalProblem.g:1417:1: ( rule__ClassDeclaration__Group_4_0_1__1__Impl ) + // InternalProblem.g:1418:2: rule__ClassDeclaration__Group_4_0_1__1__Impl { pushFollow(FOLLOW_2); - rule__ClassDeclaration__Group_4__1__Impl(); + rule__ClassDeclaration__Group_4_0_1__1__Impl(); state._fsp--; @@ -4032,35 +4566,42 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group_4__1" + // $ANTLR end "rule__ClassDeclaration__Group_4_0_1__1" - // $ANTLR start "rule__ClassDeclaration__Group_4__1__Impl" - // InternalProblem.g:1247:1: rule__ClassDeclaration__Group_4__1__Impl : ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1 ) ) ; - public final void rule__ClassDeclaration__Group_4__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_4_0_1__1__Impl" + // InternalProblem.g:1424:1: rule__ClassDeclaration__Group_4_0_1__1__Impl : ( ( ';' )? ) ; + public final void rule__ClassDeclaration__Group_4_0_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1251:1: ( ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1 ) ) ) - // InternalProblem.g:1252:1: ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1 ) ) + // InternalProblem.g:1428:1: ( ( ( ';' )? ) ) + // InternalProblem.g:1429:1: ( ( ';' )? ) { - // InternalProblem.g:1252:1: ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1 ) ) - // InternalProblem.g:1253:2: ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1 ) + // InternalProblem.g:1429:1: ( ( ';' )? ) + // InternalProblem.g:1430:2: ( ';' )? { - before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_1()); - // InternalProblem.g:1254:2: ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1 ) - // InternalProblem.g:1254:3: rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1 - { - pushFollow(FOLLOW_2); - rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1(); + before(grammarAccess.getClassDeclarationAccess().getSemicolonKeyword_4_0_1_1()); + // InternalProblem.g:1431:2: ( ';' )? + int alt20=2; + int LA20_0 = input.LA(1); - state._fsp--; + if ( (LA20_0==28) ) { + alt20=1; + } + switch (alt20) { + case 1 : + // InternalProblem.g:1431:3: ';' + { + match(input,28,FOLLOW_2); + } + break; } - after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_1()); + after(grammarAccess.getClassDeclarationAccess().getSemicolonKeyword_4_0_1_1()); } @@ -4079,20 +4620,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__Group_4__1__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_4_0_1__1__Impl" // $ANTLR start "rule__ReferenceDeclaration__Group__0" - // InternalProblem.g:1263:1: rule__ReferenceDeclaration__Group__0 : rule__ReferenceDeclaration__Group__0__Impl rule__ReferenceDeclaration__Group__1 ; + // InternalProblem.g:1440:1: rule__ReferenceDeclaration__Group__0 : rule__ReferenceDeclaration__Group__0__Impl rule__ReferenceDeclaration__Group__1 ; public final void rule__ReferenceDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1267:1: ( rule__ReferenceDeclaration__Group__0__Impl rule__ReferenceDeclaration__Group__1 ) - // InternalProblem.g:1268:2: rule__ReferenceDeclaration__Group__0__Impl rule__ReferenceDeclaration__Group__1 + // InternalProblem.g:1444:1: ( rule__ReferenceDeclaration__Group__0__Impl rule__ReferenceDeclaration__Group__1 ) + // InternalProblem.g:1445:2: rule__ReferenceDeclaration__Group__0__Impl rule__ReferenceDeclaration__Group__1 { - pushFollow(FOLLOW_5); + pushFollow(FOLLOW_9); rule__ReferenceDeclaration__Group__0__Impl(); state._fsp--; @@ -4121,21 +4662,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__0__Impl" - // InternalProblem.g:1275:1: rule__ReferenceDeclaration__Group__0__Impl : ( ( rule__ReferenceDeclaration__Alternatives_0 ) ) ; + // InternalProblem.g:1452:1: rule__ReferenceDeclaration__Group__0__Impl : ( ( rule__ReferenceDeclaration__Alternatives_0 ) ) ; public final void rule__ReferenceDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1279:1: ( ( ( rule__ReferenceDeclaration__Alternatives_0 ) ) ) - // InternalProblem.g:1280:1: ( ( rule__ReferenceDeclaration__Alternatives_0 ) ) + // InternalProblem.g:1456:1: ( ( ( rule__ReferenceDeclaration__Alternatives_0 ) ) ) + // InternalProblem.g:1457:1: ( ( rule__ReferenceDeclaration__Alternatives_0 ) ) { - // InternalProblem.g:1280:1: ( ( rule__ReferenceDeclaration__Alternatives_0 ) ) - // InternalProblem.g:1281:2: ( rule__ReferenceDeclaration__Alternatives_0 ) + // InternalProblem.g:1457:1: ( ( rule__ReferenceDeclaration__Alternatives_0 ) ) + // InternalProblem.g:1458:2: ( rule__ReferenceDeclaration__Alternatives_0 ) { before(grammarAccess.getReferenceDeclarationAccess().getAlternatives_0()); - // InternalProblem.g:1282:2: ( rule__ReferenceDeclaration__Alternatives_0 ) - // InternalProblem.g:1282:3: rule__ReferenceDeclaration__Alternatives_0 + // InternalProblem.g:1459:2: ( rule__ReferenceDeclaration__Alternatives_0 ) + // InternalProblem.g:1459:3: rule__ReferenceDeclaration__Alternatives_0 { pushFollow(FOLLOW_2); rule__ReferenceDeclaration__Alternatives_0(); @@ -4168,16 +4709,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__1" - // InternalProblem.g:1290:1: rule__ReferenceDeclaration__Group__1 : rule__ReferenceDeclaration__Group__1__Impl rule__ReferenceDeclaration__Group__2 ; + // InternalProblem.g:1467:1: rule__ReferenceDeclaration__Group__1 : rule__ReferenceDeclaration__Group__1__Impl rule__ReferenceDeclaration__Group__2 ; public final void rule__ReferenceDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1294:1: ( rule__ReferenceDeclaration__Group__1__Impl rule__ReferenceDeclaration__Group__2 ) - // InternalProblem.g:1295:2: rule__ReferenceDeclaration__Group__1__Impl rule__ReferenceDeclaration__Group__2 + // InternalProblem.g:1471:1: ( rule__ReferenceDeclaration__Group__1__Impl rule__ReferenceDeclaration__Group__2 ) + // InternalProblem.g:1472:2: rule__ReferenceDeclaration__Group__1__Impl rule__ReferenceDeclaration__Group__2 { - pushFollow(FOLLOW_12); + pushFollow(FOLLOW_15); rule__ReferenceDeclaration__Group__1__Impl(); state._fsp--; @@ -4206,21 +4747,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__1__Impl" - // InternalProblem.g:1302:1: rule__ReferenceDeclaration__Group__1__Impl : ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) ) ; + // InternalProblem.g:1479:1: rule__ReferenceDeclaration__Group__1__Impl : ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) ) ; public final void rule__ReferenceDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1306:1: ( ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) ) ) - // InternalProblem.g:1307:1: ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) ) + // InternalProblem.g:1483:1: ( ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) ) ) + // InternalProblem.g:1484:1: ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) ) { - // InternalProblem.g:1307:1: ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) ) - // InternalProblem.g:1308:2: ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) + // InternalProblem.g:1484:1: ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) ) + // InternalProblem.g:1485:2: ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) { before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeAssignment_1()); - // InternalProblem.g:1309:2: ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) - // InternalProblem.g:1309:3: rule__ReferenceDeclaration__ReferenceTypeAssignment_1 + // InternalProblem.g:1486:2: ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) + // InternalProblem.g:1486:3: rule__ReferenceDeclaration__ReferenceTypeAssignment_1 { pushFollow(FOLLOW_2); rule__ReferenceDeclaration__ReferenceTypeAssignment_1(); @@ -4253,16 +4794,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__2" - // InternalProblem.g:1317:1: rule__ReferenceDeclaration__Group__2 : rule__ReferenceDeclaration__Group__2__Impl rule__ReferenceDeclaration__Group__3 ; + // InternalProblem.g:1494:1: rule__ReferenceDeclaration__Group__2 : rule__ReferenceDeclaration__Group__2__Impl rule__ReferenceDeclaration__Group__3 ; public final void rule__ReferenceDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1321:1: ( rule__ReferenceDeclaration__Group__2__Impl rule__ReferenceDeclaration__Group__3 ) - // InternalProblem.g:1322:2: rule__ReferenceDeclaration__Group__2__Impl rule__ReferenceDeclaration__Group__3 + // InternalProblem.g:1498:1: ( rule__ReferenceDeclaration__Group__2__Impl rule__ReferenceDeclaration__Group__3 ) + // InternalProblem.g:1499:2: rule__ReferenceDeclaration__Group__2__Impl rule__ReferenceDeclaration__Group__3 { - pushFollow(FOLLOW_13); + pushFollow(FOLLOW_15); rule__ReferenceDeclaration__Group__2__Impl(); state._fsp--; @@ -4291,21 +4832,42 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__2__Impl" - // InternalProblem.g:1329:1: rule__ReferenceDeclaration__Group__2__Impl : ( '[' ) ; + // InternalProblem.g:1506:1: rule__ReferenceDeclaration__Group__2__Impl : ( ( rule__ReferenceDeclaration__Group_2__0 )? ) ; public final void rule__ReferenceDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1333:1: ( ( '[' ) ) - // InternalProblem.g:1334:1: ( '[' ) + // InternalProblem.g:1510:1: ( ( ( rule__ReferenceDeclaration__Group_2__0 )? ) ) + // InternalProblem.g:1511:1: ( ( rule__ReferenceDeclaration__Group_2__0 )? ) { - // InternalProblem.g:1334:1: ( '[' ) - // InternalProblem.g:1335:2: '[' + // InternalProblem.g:1511:1: ( ( rule__ReferenceDeclaration__Group_2__0 )? ) + // InternalProblem.g:1512:2: ( rule__ReferenceDeclaration__Group_2__0 )? { - before(grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2()); - match(input,23,FOLLOW_2); - after(grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2()); + before(grammarAccess.getReferenceDeclarationAccess().getGroup_2()); + // InternalProblem.g:1513:2: ( rule__ReferenceDeclaration__Group_2__0 )? + int alt21=2; + int LA21_0 = input.LA(1); + + if ( (LA21_0==29) ) { + alt21=1; + } + switch (alt21) { + case 1 : + // InternalProblem.g:1513:3: rule__ReferenceDeclaration__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__ReferenceDeclaration__Group_2__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getReferenceDeclarationAccess().getGroup_2()); } @@ -4328,16 +4890,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__3" - // InternalProblem.g:1344:1: rule__ReferenceDeclaration__Group__3 : rule__ReferenceDeclaration__Group__3__Impl rule__ReferenceDeclaration__Group__4 ; + // InternalProblem.g:1521:1: rule__ReferenceDeclaration__Group__3 : rule__ReferenceDeclaration__Group__3__Impl rule__ReferenceDeclaration__Group__4 ; public final void rule__ReferenceDeclaration__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1348:1: ( rule__ReferenceDeclaration__Group__3__Impl rule__ReferenceDeclaration__Group__4 ) - // InternalProblem.g:1349:2: rule__ReferenceDeclaration__Group__3__Impl rule__ReferenceDeclaration__Group__4 + // InternalProblem.g:1525:1: ( rule__ReferenceDeclaration__Group__3__Impl rule__ReferenceDeclaration__Group__4 ) + // InternalProblem.g:1526:2: rule__ReferenceDeclaration__Group__3__Impl rule__ReferenceDeclaration__Group__4 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_16); rule__ReferenceDeclaration__Group__3__Impl(); state._fsp--; @@ -4366,31 +4928,31 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__3__Impl" - // InternalProblem.g:1356:1: rule__ReferenceDeclaration__Group__3__Impl : ( ( rule__ReferenceDeclaration__MultiplicityAssignment_3 ) ) ; + // InternalProblem.g:1533:1: rule__ReferenceDeclaration__Group__3__Impl : ( ( rule__ReferenceDeclaration__NameAssignment_3 ) ) ; public final void rule__ReferenceDeclaration__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1360:1: ( ( ( rule__ReferenceDeclaration__MultiplicityAssignment_3 ) ) ) - // InternalProblem.g:1361:1: ( ( rule__ReferenceDeclaration__MultiplicityAssignment_3 ) ) + // InternalProblem.g:1537:1: ( ( ( rule__ReferenceDeclaration__NameAssignment_3 ) ) ) + // InternalProblem.g:1538:1: ( ( rule__ReferenceDeclaration__NameAssignment_3 ) ) { - // InternalProblem.g:1361:1: ( ( rule__ReferenceDeclaration__MultiplicityAssignment_3 ) ) - // InternalProblem.g:1362:2: ( rule__ReferenceDeclaration__MultiplicityAssignment_3 ) + // InternalProblem.g:1538:1: ( ( rule__ReferenceDeclaration__NameAssignment_3 ) ) + // InternalProblem.g:1539:2: ( rule__ReferenceDeclaration__NameAssignment_3 ) { - before(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_3()); - // InternalProblem.g:1363:2: ( rule__ReferenceDeclaration__MultiplicityAssignment_3 ) - // InternalProblem.g:1363:3: rule__ReferenceDeclaration__MultiplicityAssignment_3 + before(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_3()); + // InternalProblem.g:1540:2: ( rule__ReferenceDeclaration__NameAssignment_3 ) + // InternalProblem.g:1540:3: rule__ReferenceDeclaration__NameAssignment_3 { pushFollow(FOLLOW_2); - rule__ReferenceDeclaration__MultiplicityAssignment_3(); + rule__ReferenceDeclaration__NameAssignment_3(); state._fsp--; } - after(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_3()); + after(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_3()); } @@ -4413,22 +4975,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__4" - // InternalProblem.g:1371:1: rule__ReferenceDeclaration__Group__4 : rule__ReferenceDeclaration__Group__4__Impl rule__ReferenceDeclaration__Group__5 ; + // InternalProblem.g:1548:1: rule__ReferenceDeclaration__Group__4 : rule__ReferenceDeclaration__Group__4__Impl ; public final void rule__ReferenceDeclaration__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1375:1: ( rule__ReferenceDeclaration__Group__4__Impl rule__ReferenceDeclaration__Group__5 ) - // InternalProblem.g:1376:2: rule__ReferenceDeclaration__Group__4__Impl rule__ReferenceDeclaration__Group__5 + // InternalProblem.g:1552:1: ( rule__ReferenceDeclaration__Group__4__Impl ) + // InternalProblem.g:1553:2: rule__ReferenceDeclaration__Group__4__Impl { - pushFollow(FOLLOW_5); - rule__ReferenceDeclaration__Group__4__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ReferenceDeclaration__Group__5(); + rule__ReferenceDeclaration__Group__4__Impl(); state._fsp--; @@ -4451,21 +5008,42 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__4__Impl" - // InternalProblem.g:1383:1: rule__ReferenceDeclaration__Group__4__Impl : ( ']' ) ; + // InternalProblem.g:1559:1: rule__ReferenceDeclaration__Group__4__Impl : ( ( rule__ReferenceDeclaration__Group_4__0 )? ) ; public final void rule__ReferenceDeclaration__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1387:1: ( ( ']' ) ) - // InternalProblem.g:1388:1: ( ']' ) + // InternalProblem.g:1563:1: ( ( ( rule__ReferenceDeclaration__Group_4__0 )? ) ) + // InternalProblem.g:1564:1: ( ( rule__ReferenceDeclaration__Group_4__0 )? ) { - // InternalProblem.g:1388:1: ( ']' ) - // InternalProblem.g:1389:2: ']' + // InternalProblem.g:1564:1: ( ( rule__ReferenceDeclaration__Group_4__0 )? ) + // InternalProblem.g:1565:2: ( rule__ReferenceDeclaration__Group_4__0 )? { - before(grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_4()); - match(input,24,FOLLOW_2); - after(grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_4()); + before(grammarAccess.getReferenceDeclarationAccess().getGroup_4()); + // InternalProblem.g:1566:2: ( rule__ReferenceDeclaration__Group_4__0 )? + int alt22=2; + int LA22_0 = input.LA(1); + + if ( (LA22_0==31) ) { + alt22=1; + } + switch (alt22) { + case 1 : + // InternalProblem.g:1566:3: rule__ReferenceDeclaration__Group_4__0 + { + pushFollow(FOLLOW_2); + rule__ReferenceDeclaration__Group_4__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getReferenceDeclarationAccess().getGroup_4()); } @@ -4487,23 +5065,23 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR end "rule__ReferenceDeclaration__Group__4__Impl" - // $ANTLR start "rule__ReferenceDeclaration__Group__5" - // InternalProblem.g:1398:1: rule__ReferenceDeclaration__Group__5 : rule__ReferenceDeclaration__Group__5__Impl rule__ReferenceDeclaration__Group__6 ; - public final void rule__ReferenceDeclaration__Group__5() throws RecognitionException { + // $ANTLR start "rule__ReferenceDeclaration__Group_2__0" + // InternalProblem.g:1575:1: rule__ReferenceDeclaration__Group_2__0 : rule__ReferenceDeclaration__Group_2__0__Impl rule__ReferenceDeclaration__Group_2__1 ; + public final void rule__ReferenceDeclaration__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1402:1: ( rule__ReferenceDeclaration__Group__5__Impl rule__ReferenceDeclaration__Group__6 ) - // InternalProblem.g:1403:2: rule__ReferenceDeclaration__Group__5__Impl rule__ReferenceDeclaration__Group__6 + // InternalProblem.g:1579:1: ( rule__ReferenceDeclaration__Group_2__0__Impl rule__ReferenceDeclaration__Group_2__1 ) + // InternalProblem.g:1580:2: rule__ReferenceDeclaration__Group_2__0__Impl rule__ReferenceDeclaration__Group_2__1 { - pushFollow(FOLLOW_15); - rule__ReferenceDeclaration__Group__5__Impl(); + pushFollow(FOLLOW_17); + rule__ReferenceDeclaration__Group_2__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ReferenceDeclaration__Group__6(); + rule__ReferenceDeclaration__Group_2__1(); state._fsp--; @@ -4522,37 +5100,65 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ReferenceDeclaration__Group__5" + // $ANTLR end "rule__ReferenceDeclaration__Group_2__0" - // $ANTLR start "rule__ReferenceDeclaration__Group__5__Impl" - // InternalProblem.g:1410:1: rule__ReferenceDeclaration__Group__5__Impl : ( ( rule__ReferenceDeclaration__NameAssignment_5 ) ) ; - public final void rule__ReferenceDeclaration__Group__5__Impl() throws RecognitionException { + // $ANTLR start "rule__ReferenceDeclaration__Group_2__0__Impl" + // InternalProblem.g:1587:1: rule__ReferenceDeclaration__Group_2__0__Impl : ( '[' ) ; + public final void rule__ReferenceDeclaration__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1414:1: ( ( ( rule__ReferenceDeclaration__NameAssignment_5 ) ) ) - // InternalProblem.g:1415:1: ( ( rule__ReferenceDeclaration__NameAssignment_5 ) ) + // InternalProblem.g:1591:1: ( ( '[' ) ) + // InternalProblem.g:1592:1: ( '[' ) { - // InternalProblem.g:1415:1: ( ( rule__ReferenceDeclaration__NameAssignment_5 ) ) - // InternalProblem.g:1416:2: ( rule__ReferenceDeclaration__NameAssignment_5 ) + // InternalProblem.g:1592:1: ( '[' ) + // InternalProblem.g:1593:2: '[' { - before(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_5()); - // InternalProblem.g:1417:2: ( rule__ReferenceDeclaration__NameAssignment_5 ) - // InternalProblem.g:1417:3: rule__ReferenceDeclaration__NameAssignment_5 - { - pushFollow(FOLLOW_2); - rule__ReferenceDeclaration__NameAssignment_5(); + before(grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2_0()); + match(input,29,FOLLOW_2); + after(grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2_0()); - state._fsp--; + } } - after(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_5()); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - } + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ReferenceDeclaration__Group_2__0__Impl" + + + // $ANTLR start "rule__ReferenceDeclaration__Group_2__1" + // InternalProblem.g:1602:1: rule__ReferenceDeclaration__Group_2__1 : rule__ReferenceDeclaration__Group_2__1__Impl rule__ReferenceDeclaration__Group_2__2 ; + public final void rule__ReferenceDeclaration__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:1606:1: ( rule__ReferenceDeclaration__Group_2__1__Impl rule__ReferenceDeclaration__Group_2__2 ) + // InternalProblem.g:1607:2: rule__ReferenceDeclaration__Group_2__1__Impl rule__ReferenceDeclaration__Group_2__2 + { + pushFollow(FOLLOW_18); + rule__ReferenceDeclaration__Group_2__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ReferenceDeclaration__Group_2__2(); + + state._fsp--; } @@ -4569,25 +5175,39 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ReferenceDeclaration__Group__5__Impl" + // $ANTLR end "rule__ReferenceDeclaration__Group_2__1" - // $ANTLR start "rule__ReferenceDeclaration__Group__6" - // InternalProblem.g:1425:1: rule__ReferenceDeclaration__Group__6 : rule__ReferenceDeclaration__Group__6__Impl ; - public final void rule__ReferenceDeclaration__Group__6() throws RecognitionException { + // $ANTLR start "rule__ReferenceDeclaration__Group_2__1__Impl" + // InternalProblem.g:1614:1: rule__ReferenceDeclaration__Group_2__1__Impl : ( ( rule__ReferenceDeclaration__MultiplicityAssignment_2_1 ) ) ; + public final void rule__ReferenceDeclaration__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1429:1: ( rule__ReferenceDeclaration__Group__6__Impl ) - // InternalProblem.g:1430:2: rule__ReferenceDeclaration__Group__6__Impl + // InternalProblem.g:1618:1: ( ( ( rule__ReferenceDeclaration__MultiplicityAssignment_2_1 ) ) ) + // InternalProblem.g:1619:1: ( ( rule__ReferenceDeclaration__MultiplicityAssignment_2_1 ) ) + { + // InternalProblem.g:1619:1: ( ( rule__ReferenceDeclaration__MultiplicityAssignment_2_1 ) ) + // InternalProblem.g:1620:2: ( rule__ReferenceDeclaration__MultiplicityAssignment_2_1 ) + { + before(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_2_1()); + // InternalProblem.g:1621:2: ( rule__ReferenceDeclaration__MultiplicityAssignment_2_1 ) + // InternalProblem.g:1621:3: rule__ReferenceDeclaration__MultiplicityAssignment_2_1 { pushFollow(FOLLOW_2); - rule__ReferenceDeclaration__Group__6__Impl(); + rule__ReferenceDeclaration__MultiplicityAssignment_2_1(); state._fsp--; + } + + after(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_2_1()); + + } + + } } @@ -4602,46 +5222,58 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ReferenceDeclaration__Group__6" + // $ANTLR end "rule__ReferenceDeclaration__Group_2__1__Impl" - // $ANTLR start "rule__ReferenceDeclaration__Group__6__Impl" - // InternalProblem.g:1436:1: rule__ReferenceDeclaration__Group__6__Impl : ( ( rule__ReferenceDeclaration__Group_6__0 )? ) ; - public final void rule__ReferenceDeclaration__Group__6__Impl() throws RecognitionException { + // $ANTLR start "rule__ReferenceDeclaration__Group_2__2" + // InternalProblem.g:1629:1: rule__ReferenceDeclaration__Group_2__2 : rule__ReferenceDeclaration__Group_2__2__Impl ; + public final void rule__ReferenceDeclaration__Group_2__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1440:1: ( ( ( rule__ReferenceDeclaration__Group_6__0 )? ) ) - // InternalProblem.g:1441:1: ( ( rule__ReferenceDeclaration__Group_6__0 )? ) - { - // InternalProblem.g:1441:1: ( ( rule__ReferenceDeclaration__Group_6__0 )? ) - // InternalProblem.g:1442:2: ( rule__ReferenceDeclaration__Group_6__0 )? + // InternalProblem.g:1633:1: ( rule__ReferenceDeclaration__Group_2__2__Impl ) + // InternalProblem.g:1634:2: rule__ReferenceDeclaration__Group_2__2__Impl { - before(grammarAccess.getReferenceDeclarationAccess().getGroup_6()); - // InternalProblem.g:1443:2: ( rule__ReferenceDeclaration__Group_6__0 )? - int alt19=2; - int LA19_0 = input.LA(1); + pushFollow(FOLLOW_2); + rule__ReferenceDeclaration__Group_2__2__Impl(); + + state._fsp--; + - if ( (LA19_0==26) ) { - alt19=1; } - switch (alt19) { - case 1 : - // InternalProblem.g:1443:3: rule__ReferenceDeclaration__Group_6__0 - { - pushFollow(FOLLOW_2); - rule__ReferenceDeclaration__Group_6__0(); - state._fsp--; + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + restoreStackSize(stackSize); - } - break; + } + return ; + } + // $ANTLR end "rule__ReferenceDeclaration__Group_2__2" - } - after(grammarAccess.getReferenceDeclarationAccess().getGroup_6()); + // $ANTLR start "rule__ReferenceDeclaration__Group_2__2__Impl" + // InternalProblem.g:1640:1: rule__ReferenceDeclaration__Group_2__2__Impl : ( ']' ) ; + public final void rule__ReferenceDeclaration__Group_2__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:1644:1: ( ( ']' ) ) + // InternalProblem.g:1645:1: ( ']' ) + { + // InternalProblem.g:1645:1: ( ']' ) + // InternalProblem.g:1646:2: ']' + { + before(grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_2_2()); + match(input,30,FOLLOW_2); + after(grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_2_2()); } @@ -4660,26 +5292,26 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ReferenceDeclaration__Group__6__Impl" + // $ANTLR end "rule__ReferenceDeclaration__Group_2__2__Impl" - // $ANTLR start "rule__ReferenceDeclaration__Group_6__0" - // InternalProblem.g:1452:1: rule__ReferenceDeclaration__Group_6__0 : rule__ReferenceDeclaration__Group_6__0__Impl rule__ReferenceDeclaration__Group_6__1 ; - public final void rule__ReferenceDeclaration__Group_6__0() throws RecognitionException { + // $ANTLR start "rule__ReferenceDeclaration__Group_4__0" + // InternalProblem.g:1656:1: rule__ReferenceDeclaration__Group_4__0 : rule__ReferenceDeclaration__Group_4__0__Impl rule__ReferenceDeclaration__Group_4__1 ; + public final void rule__ReferenceDeclaration__Group_4__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1456:1: ( rule__ReferenceDeclaration__Group_6__0__Impl rule__ReferenceDeclaration__Group_6__1 ) - // InternalProblem.g:1457:2: rule__ReferenceDeclaration__Group_6__0__Impl rule__ReferenceDeclaration__Group_6__1 + // InternalProblem.g:1660:1: ( rule__ReferenceDeclaration__Group_4__0__Impl rule__ReferenceDeclaration__Group_4__1 ) + // InternalProblem.g:1661:2: rule__ReferenceDeclaration__Group_4__0__Impl rule__ReferenceDeclaration__Group_4__1 { - pushFollow(FOLLOW_5); - rule__ReferenceDeclaration__Group_6__0__Impl(); + pushFollow(FOLLOW_9); + rule__ReferenceDeclaration__Group_4__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ReferenceDeclaration__Group_6__1(); + rule__ReferenceDeclaration__Group_4__1(); state._fsp--; @@ -4698,25 +5330,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ReferenceDeclaration__Group_6__0" + // $ANTLR end "rule__ReferenceDeclaration__Group_4__0" - // $ANTLR start "rule__ReferenceDeclaration__Group_6__0__Impl" - // InternalProblem.g:1464:1: rule__ReferenceDeclaration__Group_6__0__Impl : ( 'opposite' ) ; - public final void rule__ReferenceDeclaration__Group_6__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ReferenceDeclaration__Group_4__0__Impl" + // InternalProblem.g:1668:1: rule__ReferenceDeclaration__Group_4__0__Impl : ( 'opposite' ) ; + public final void rule__ReferenceDeclaration__Group_4__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1468:1: ( ( 'opposite' ) ) - // InternalProblem.g:1469:1: ( 'opposite' ) + // InternalProblem.g:1672:1: ( ( 'opposite' ) ) + // InternalProblem.g:1673:1: ( 'opposite' ) { - // InternalProblem.g:1469:1: ( 'opposite' ) - // InternalProblem.g:1470:2: 'opposite' + // InternalProblem.g:1673:1: ( 'opposite' ) + // InternalProblem.g:1674:2: 'opposite' { - before(grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_6_0()); - match(input,26,FOLLOW_2); - after(grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_6_0()); + before(grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_4_0()); + match(input,31,FOLLOW_2); + after(grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_4_0()); } @@ -4735,21 +5367,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ReferenceDeclaration__Group_6__0__Impl" + // $ANTLR end "rule__ReferenceDeclaration__Group_4__0__Impl" - // $ANTLR start "rule__ReferenceDeclaration__Group_6__1" - // InternalProblem.g:1479:1: rule__ReferenceDeclaration__Group_6__1 : rule__ReferenceDeclaration__Group_6__1__Impl ; - public final void rule__ReferenceDeclaration__Group_6__1() throws RecognitionException { + // $ANTLR start "rule__ReferenceDeclaration__Group_4__1" + // InternalProblem.g:1683:1: rule__ReferenceDeclaration__Group_4__1 : rule__ReferenceDeclaration__Group_4__1__Impl ; + public final void rule__ReferenceDeclaration__Group_4__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1483:1: ( rule__ReferenceDeclaration__Group_6__1__Impl ) - // InternalProblem.g:1484:2: rule__ReferenceDeclaration__Group_6__1__Impl + // InternalProblem.g:1687:1: ( rule__ReferenceDeclaration__Group_4__1__Impl ) + // InternalProblem.g:1688:2: rule__ReferenceDeclaration__Group_4__1__Impl { pushFollow(FOLLOW_2); - rule__ReferenceDeclaration__Group_6__1__Impl(); + rule__ReferenceDeclaration__Group_4__1__Impl(); state._fsp--; @@ -4768,35 +5400,35 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ReferenceDeclaration__Group_6__1" + // $ANTLR end "rule__ReferenceDeclaration__Group_4__1" - // $ANTLR start "rule__ReferenceDeclaration__Group_6__1__Impl" - // InternalProblem.g:1490:1: rule__ReferenceDeclaration__Group_6__1__Impl : ( ( rule__ReferenceDeclaration__OppositeAssignment_6_1 ) ) ; - public final void rule__ReferenceDeclaration__Group_6__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ReferenceDeclaration__Group_4__1__Impl" + // InternalProblem.g:1694:1: rule__ReferenceDeclaration__Group_4__1__Impl : ( ( rule__ReferenceDeclaration__OppositeAssignment_4_1 ) ) ; + public final void rule__ReferenceDeclaration__Group_4__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1494:1: ( ( ( rule__ReferenceDeclaration__OppositeAssignment_6_1 ) ) ) - // InternalProblem.g:1495:1: ( ( rule__ReferenceDeclaration__OppositeAssignment_6_1 ) ) + // InternalProblem.g:1698:1: ( ( ( rule__ReferenceDeclaration__OppositeAssignment_4_1 ) ) ) + // InternalProblem.g:1699:1: ( ( rule__ReferenceDeclaration__OppositeAssignment_4_1 ) ) { - // InternalProblem.g:1495:1: ( ( rule__ReferenceDeclaration__OppositeAssignment_6_1 ) ) - // InternalProblem.g:1496:2: ( rule__ReferenceDeclaration__OppositeAssignment_6_1 ) + // InternalProblem.g:1699:1: ( ( rule__ReferenceDeclaration__OppositeAssignment_4_1 ) ) + // InternalProblem.g:1700:2: ( rule__ReferenceDeclaration__OppositeAssignment_4_1 ) { - before(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_6_1()); - // InternalProblem.g:1497:2: ( rule__ReferenceDeclaration__OppositeAssignment_6_1 ) - // InternalProblem.g:1497:3: rule__ReferenceDeclaration__OppositeAssignment_6_1 + before(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_4_1()); + // InternalProblem.g:1701:2: ( rule__ReferenceDeclaration__OppositeAssignment_4_1 ) + // InternalProblem.g:1701:3: rule__ReferenceDeclaration__OppositeAssignment_4_1 { pushFollow(FOLLOW_2); - rule__ReferenceDeclaration__OppositeAssignment_6_1(); + rule__ReferenceDeclaration__OppositeAssignment_4_1(); state._fsp--; } - after(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_6_1()); + after(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_4_1()); } @@ -4815,18 +5447,18 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ReferenceDeclaration__Group_6__1__Impl" + // $ANTLR end "rule__ReferenceDeclaration__Group_4__1__Impl" // $ANTLR start "rule__PredicateDefinition__Group__0" - // InternalProblem.g:1506:1: rule__PredicateDefinition__Group__0 : rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ; + // InternalProblem.g:1710: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 { - // InternalProblem.g:1510:1: ( rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ) - // InternalProblem.g:1511:2: rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 + // InternalProblem.g:1714:1: ( rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ) + // InternalProblem.g:1715:2: rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 { pushFollow(FOLLOW_5); rule__PredicateDefinition__Group__0__Impl(); @@ -4857,21 +5489,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__0__Impl" - // InternalProblem.g:1518:1: rule__PredicateDefinition__Group__0__Impl : ( ( rule__PredicateDefinition__Alternatives_0 ) ) ; + // InternalProblem.g:1722:1: rule__PredicateDefinition__Group__0__Impl : ( ( rule__PredicateDefinition__Alternatives_0 ) ) ; public final void rule__PredicateDefinition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1522:1: ( ( ( rule__PredicateDefinition__Alternatives_0 ) ) ) - // InternalProblem.g:1523:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) + // InternalProblem.g:1726:1: ( ( ( rule__PredicateDefinition__Alternatives_0 ) ) ) + // InternalProblem.g:1727:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) { - // InternalProblem.g:1523:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) - // InternalProblem.g:1524:2: ( rule__PredicateDefinition__Alternatives_0 ) + // InternalProblem.g:1727:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) + // InternalProblem.g:1728:2: ( rule__PredicateDefinition__Alternatives_0 ) { before(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); - // InternalProblem.g:1525:2: ( rule__PredicateDefinition__Alternatives_0 ) - // InternalProblem.g:1525:3: rule__PredicateDefinition__Alternatives_0 + // InternalProblem.g:1729:2: ( rule__PredicateDefinition__Alternatives_0 ) + // InternalProblem.g:1729:3: rule__PredicateDefinition__Alternatives_0 { pushFollow(FOLLOW_2); rule__PredicateDefinition__Alternatives_0(); @@ -4904,16 +5536,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__1" - // InternalProblem.g:1533:1: rule__PredicateDefinition__Group__1 : rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ; + // InternalProblem.g:1737: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 { - // InternalProblem.g:1537:1: ( rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ) - // InternalProblem.g:1538:2: rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 + // InternalProblem.g:1741:1: ( rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ) + // InternalProblem.g:1742:2: rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_19); rule__PredicateDefinition__Group__1__Impl(); state._fsp--; @@ -4942,21 +5574,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__1__Impl" - // InternalProblem.g:1545:1: rule__PredicateDefinition__Group__1__Impl : ( ( rule__PredicateDefinition__NameAssignment_1 ) ) ; + // InternalProblem.g:1749:1: rule__PredicateDefinition__Group__1__Impl : ( ( rule__PredicateDefinition__NameAssignment_1 ) ) ; public final void rule__PredicateDefinition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1549:1: ( ( ( rule__PredicateDefinition__NameAssignment_1 ) ) ) - // InternalProblem.g:1550:1: ( ( rule__PredicateDefinition__NameAssignment_1 ) ) + // InternalProblem.g:1753:1: ( ( ( rule__PredicateDefinition__NameAssignment_1 ) ) ) + // InternalProblem.g:1754:1: ( ( rule__PredicateDefinition__NameAssignment_1 ) ) { - // InternalProblem.g:1550:1: ( ( rule__PredicateDefinition__NameAssignment_1 ) ) - // InternalProblem.g:1551:2: ( rule__PredicateDefinition__NameAssignment_1 ) + // InternalProblem.g:1754:1: ( ( rule__PredicateDefinition__NameAssignment_1 ) ) + // InternalProblem.g:1755:2: ( rule__PredicateDefinition__NameAssignment_1 ) { before(grammarAccess.getPredicateDefinitionAccess().getNameAssignment_1()); - // InternalProblem.g:1552:2: ( rule__PredicateDefinition__NameAssignment_1 ) - // InternalProblem.g:1552:3: rule__PredicateDefinition__NameAssignment_1 + // InternalProblem.g:1756:2: ( rule__PredicateDefinition__NameAssignment_1 ) + // InternalProblem.g:1756:3: rule__PredicateDefinition__NameAssignment_1 { pushFollow(FOLLOW_2); rule__PredicateDefinition__NameAssignment_1(); @@ -4989,16 +5621,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__2" - // InternalProblem.g:1560:1: rule__PredicateDefinition__Group__2 : rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ; + // InternalProblem.g:1764: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 { - // InternalProblem.g:1564:1: ( rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ) - // InternalProblem.g:1565:2: rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 + // InternalProblem.g:1768:1: ( rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ) + // InternalProblem.g:1769:2: rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_20); rule__PredicateDefinition__Group__2__Impl(); state._fsp--; @@ -5027,20 +5659,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__2__Impl" - // InternalProblem.g:1572:1: rule__PredicateDefinition__Group__2__Impl : ( '(' ) ; + // InternalProblem.g:1776:1: rule__PredicateDefinition__Group__2__Impl : ( '(' ) ; public final void rule__PredicateDefinition__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1576:1: ( ( '(' ) ) - // InternalProblem.g:1577:1: ( '(' ) + // InternalProblem.g:1780:1: ( ( '(' ) ) + // InternalProblem.g:1781:1: ( '(' ) { - // InternalProblem.g:1577:1: ( '(' ) - // InternalProblem.g:1578:2: '(' + // InternalProblem.g:1781:1: ( '(' ) + // InternalProblem.g:1782:2: '(' { before(grammarAccess.getPredicateDefinitionAccess().getLeftParenthesisKeyword_2()); - match(input,27,FOLLOW_2); + match(input,32,FOLLOW_2); after(grammarAccess.getPredicateDefinitionAccess().getLeftParenthesisKeyword_2()); } @@ -5064,16 +5696,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__3" - // InternalProblem.g:1587:1: rule__PredicateDefinition__Group__3 : rule__PredicateDefinition__Group__3__Impl rule__PredicateDefinition__Group__4 ; + // InternalProblem.g:1791:1: rule__PredicateDefinition__Group__3 : rule__PredicateDefinition__Group__3__Impl rule__PredicateDefinition__Group__4 ; public final void rule__PredicateDefinition__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1591:1: ( rule__PredicateDefinition__Group__3__Impl rule__PredicateDefinition__Group__4 ) - // InternalProblem.g:1592:2: rule__PredicateDefinition__Group__3__Impl rule__PredicateDefinition__Group__4 + // InternalProblem.g:1795:1: ( rule__PredicateDefinition__Group__3__Impl rule__PredicateDefinition__Group__4 ) + // InternalProblem.g:1796:2: rule__PredicateDefinition__Group__3__Impl rule__PredicateDefinition__Group__4 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_20); rule__PredicateDefinition__Group__3__Impl(); state._fsp--; @@ -5102,29 +5734,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__3__Impl" - // InternalProblem.g:1599:1: rule__PredicateDefinition__Group__3__Impl : ( ( rule__PredicateDefinition__Group_3__0 )? ) ; + // InternalProblem.g:1803:1: rule__PredicateDefinition__Group__3__Impl : ( ( rule__PredicateDefinition__Group_3__0 )? ) ; public final void rule__PredicateDefinition__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1603:1: ( ( ( rule__PredicateDefinition__Group_3__0 )? ) ) - // InternalProblem.g:1604:1: ( ( rule__PredicateDefinition__Group_3__0 )? ) + // InternalProblem.g:1807:1: ( ( ( rule__PredicateDefinition__Group_3__0 )? ) ) + // InternalProblem.g:1808:1: ( ( rule__PredicateDefinition__Group_3__0 )? ) { - // InternalProblem.g:1604:1: ( ( rule__PredicateDefinition__Group_3__0 )? ) - // InternalProblem.g:1605:2: ( rule__PredicateDefinition__Group_3__0 )? + // InternalProblem.g:1808:1: ( ( rule__PredicateDefinition__Group_3__0 )? ) + // InternalProblem.g:1809:2: ( rule__PredicateDefinition__Group_3__0 )? { before(grammarAccess.getPredicateDefinitionAccess().getGroup_3()); - // InternalProblem.g:1606:2: ( rule__PredicateDefinition__Group_3__0 )? - int alt20=2; - int LA20_0 = input.LA(1); + // InternalProblem.g:1810:2: ( rule__PredicateDefinition__Group_3__0 )? + int alt23=2; + int LA23_0 = input.LA(1); - if ( (LA20_0==RULE_ID) ) { - alt20=1; + if ( (LA23_0==RULE_ID) ) { + alt23=1; } - switch (alt20) { + switch (alt23) { case 1 : - // InternalProblem.g:1606:3: rule__PredicateDefinition__Group_3__0 + // InternalProblem.g:1810:3: rule__PredicateDefinition__Group_3__0 { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group_3__0(); @@ -5160,16 +5792,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__4" - // InternalProblem.g:1614:1: rule__PredicateDefinition__Group__4 : rule__PredicateDefinition__Group__4__Impl rule__PredicateDefinition__Group__5 ; + // InternalProblem.g:1818:1: rule__PredicateDefinition__Group__4 : rule__PredicateDefinition__Group__4__Impl rule__PredicateDefinition__Group__5 ; public final void rule__PredicateDefinition__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1618:1: ( rule__PredicateDefinition__Group__4__Impl rule__PredicateDefinition__Group__5 ) - // InternalProblem.g:1619:2: rule__PredicateDefinition__Group__4__Impl rule__PredicateDefinition__Group__5 + // InternalProblem.g:1822:1: ( rule__PredicateDefinition__Group__4__Impl rule__PredicateDefinition__Group__5 ) + // InternalProblem.g:1823:2: rule__PredicateDefinition__Group__4__Impl rule__PredicateDefinition__Group__5 { - pushFollow(FOLLOW_18); + pushFollow(FOLLOW_21); rule__PredicateDefinition__Group__4__Impl(); state._fsp--; @@ -5198,20 +5830,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__4__Impl" - // InternalProblem.g:1626:1: rule__PredicateDefinition__Group__4__Impl : ( ')' ) ; + // InternalProblem.g:1830:1: rule__PredicateDefinition__Group__4__Impl : ( ')' ) ; public final void rule__PredicateDefinition__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1630:1: ( ( ')' ) ) - // InternalProblem.g:1631:1: ( ')' ) + // InternalProblem.g:1834:1: ( ( ')' ) ) + // InternalProblem.g:1835:1: ( ')' ) { - // InternalProblem.g:1631:1: ( ')' ) - // InternalProblem.g:1632:2: ')' + // InternalProblem.g:1835:1: ( ')' ) + // InternalProblem.g:1836:2: ')' { before(grammarAccess.getPredicateDefinitionAccess().getRightParenthesisKeyword_4()); - match(input,28,FOLLOW_2); + match(input,33,FOLLOW_2); after(grammarAccess.getPredicateDefinitionAccess().getRightParenthesisKeyword_4()); } @@ -5235,16 +5867,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__5" - // InternalProblem.g:1641:1: rule__PredicateDefinition__Group__5 : rule__PredicateDefinition__Group__5__Impl rule__PredicateDefinition__Group__6 ; + // InternalProblem.g:1845:1: rule__PredicateDefinition__Group__5 : rule__PredicateDefinition__Group__5__Impl rule__PredicateDefinition__Group__6 ; public final void rule__PredicateDefinition__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1645:1: ( rule__PredicateDefinition__Group__5__Impl rule__PredicateDefinition__Group__6 ) - // InternalProblem.g:1646:2: rule__PredicateDefinition__Group__5__Impl rule__PredicateDefinition__Group__6 + // InternalProblem.g:1849:1: ( rule__PredicateDefinition__Group__5__Impl rule__PredicateDefinition__Group__6 ) + // InternalProblem.g:1850:2: rule__PredicateDefinition__Group__5__Impl rule__PredicateDefinition__Group__6 { - pushFollow(FOLLOW_18); + pushFollow(FOLLOW_21); rule__PredicateDefinition__Group__5__Impl(); state._fsp--; @@ -5273,29 +5905,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__5__Impl" - // InternalProblem.g:1653:1: rule__PredicateDefinition__Group__5__Impl : ( ( rule__PredicateDefinition__Group_5__0 )? ) ; + // InternalProblem.g:1857:1: rule__PredicateDefinition__Group__5__Impl : ( ( rule__PredicateDefinition__Group_5__0 )? ) ; public final void rule__PredicateDefinition__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1657:1: ( ( ( rule__PredicateDefinition__Group_5__0 )? ) ) - // InternalProblem.g:1658:1: ( ( rule__PredicateDefinition__Group_5__0 )? ) + // InternalProblem.g:1861:1: ( ( ( rule__PredicateDefinition__Group_5__0 )? ) ) + // InternalProblem.g:1862:1: ( ( rule__PredicateDefinition__Group_5__0 )? ) { - // InternalProblem.g:1658:1: ( ( rule__PredicateDefinition__Group_5__0 )? ) - // InternalProblem.g:1659:2: ( rule__PredicateDefinition__Group_5__0 )? + // InternalProblem.g:1862:1: ( ( rule__PredicateDefinition__Group_5__0 )? ) + // InternalProblem.g:1863:2: ( rule__PredicateDefinition__Group_5__0 )? { before(grammarAccess.getPredicateDefinitionAccess().getGroup_5()); - // InternalProblem.g:1660:2: ( rule__PredicateDefinition__Group_5__0 )? - int alt21=2; - int LA21_0 = input.LA(1); + // InternalProblem.g:1864:2: ( rule__PredicateDefinition__Group_5__0 )? + int alt24=2; + int LA24_0 = input.LA(1); - if ( (LA21_0==29) ) { - alt21=1; + if ( (LA24_0==34) ) { + alt24=1; } - switch (alt21) { + switch (alt24) { case 1 : - // InternalProblem.g:1660:3: rule__PredicateDefinition__Group_5__0 + // InternalProblem.g:1864:3: rule__PredicateDefinition__Group_5__0 { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group_5__0(); @@ -5331,14 +5963,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__6" - // InternalProblem.g:1668:1: rule__PredicateDefinition__Group__6 : rule__PredicateDefinition__Group__6__Impl ; + // InternalProblem.g:1872:1: rule__PredicateDefinition__Group__6 : rule__PredicateDefinition__Group__6__Impl ; public final void rule__PredicateDefinition__Group__6() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1672:1: ( rule__PredicateDefinition__Group__6__Impl ) - // InternalProblem.g:1673:2: rule__PredicateDefinition__Group__6__Impl + // InternalProblem.g:1876:1: ( rule__PredicateDefinition__Group__6__Impl ) + // InternalProblem.g:1877:2: rule__PredicateDefinition__Group__6__Impl { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group__6__Impl(); @@ -5364,20 +5996,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__6__Impl" - // InternalProblem.g:1679:1: rule__PredicateDefinition__Group__6__Impl : ( '.' ) ; + // InternalProblem.g:1883:1: rule__PredicateDefinition__Group__6__Impl : ( '.' ) ; public final void rule__PredicateDefinition__Group__6__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1683:1: ( ( '.' ) ) - // InternalProblem.g:1684:1: ( '.' ) + // InternalProblem.g:1887:1: ( ( '.' ) ) + // InternalProblem.g:1888:1: ( '.' ) { - // InternalProblem.g:1684:1: ( '.' ) - // InternalProblem.g:1685:2: '.' + // InternalProblem.g:1888:1: ( '.' ) + // InternalProblem.g:1889:2: '.' { before(grammarAccess.getPredicateDefinitionAccess().getFullStopKeyword_6()); - match(input,21,FOLLOW_2); + match(input,12,FOLLOW_2); after(grammarAccess.getPredicateDefinitionAccess().getFullStopKeyword_6()); } @@ -5401,16 +6033,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_0_0__0" - // InternalProblem.g:1695:1: rule__PredicateDefinition__Group_0_0__0 : rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ; + // InternalProblem.g:1899: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 { - // InternalProblem.g:1699:1: ( rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ) - // InternalProblem.g:1700:2: rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 + // InternalProblem.g:1903:1: ( rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ) + // InternalProblem.g:1904:2: rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 { - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_22); rule__PredicateDefinition__Group_0_0__0__Impl(); state._fsp--; @@ -5439,21 +6071,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_0_0__0__Impl" - // InternalProblem.g:1707:1: rule__PredicateDefinition__Group_0_0__0__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) ) ; + // InternalProblem.g:1911:1: rule__PredicateDefinition__Group_0_0__0__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) ) ; public final void rule__PredicateDefinition__Group_0_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1711:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) ) ) - // InternalProblem.g:1712:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) ) + // InternalProblem.g:1915:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) ) ) + // InternalProblem.g:1916:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) ) { - // InternalProblem.g:1712:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) ) - // InternalProblem.g:1713:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) + // InternalProblem.g:1916:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) ) + // InternalProblem.g:1917:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) { before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_0()); - // InternalProblem.g:1714:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) - // InternalProblem.g:1714:3: rule__PredicateDefinition__ErrorAssignment_0_0_0 + // InternalProblem.g:1918:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) + // InternalProblem.g:1918:3: rule__PredicateDefinition__ErrorAssignment_0_0_0 { pushFollow(FOLLOW_2); rule__PredicateDefinition__ErrorAssignment_0_0_0(); @@ -5486,14 +6118,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_0_0__1" - // InternalProblem.g:1722:1: rule__PredicateDefinition__Group_0_0__1 : rule__PredicateDefinition__Group_0_0__1__Impl ; + // InternalProblem.g:1926: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 { - // InternalProblem.g:1726:1: ( rule__PredicateDefinition__Group_0_0__1__Impl ) - // InternalProblem.g:1727:2: rule__PredicateDefinition__Group_0_0__1__Impl + // InternalProblem.g:1930:1: ( rule__PredicateDefinition__Group_0_0__1__Impl ) + // InternalProblem.g:1931:2: rule__PredicateDefinition__Group_0_0__1__Impl { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group_0_0__1__Impl(); @@ -5519,31 +6151,31 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_0_0__1__Impl" - // InternalProblem.g:1733:1: rule__PredicateDefinition__Group_0_0__1__Impl : ( ( 'pred' )? ) ; + // InternalProblem.g:1937:1: rule__PredicateDefinition__Group_0_0__1__Impl : ( ( 'pred' )? ) ; public final void rule__PredicateDefinition__Group_0_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1737:1: ( ( ( 'pred' )? ) ) - // InternalProblem.g:1738:1: ( ( 'pred' )? ) + // InternalProblem.g:1941:1: ( ( ( 'pred' )? ) ) + // InternalProblem.g:1942:1: ( ( 'pred' )? ) { - // InternalProblem.g:1738:1: ( ( 'pred' )? ) - // InternalProblem.g:1739:2: ( 'pred' )? + // InternalProblem.g:1942:1: ( ( 'pred' )? ) + // InternalProblem.g:1943:2: ( 'pred' )? { before(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_0_1()); - // InternalProblem.g:1740:2: ( 'pred' )? - int alt22=2; - int LA22_0 = input.LA(1); + // InternalProblem.g:1944:2: ( 'pred' )? + int alt25=2; + int LA25_0 = input.LA(1); - if ( (LA22_0==12) ) { - alt22=1; + if ( (LA25_0==14) ) { + alt25=1; } - switch (alt22) { + switch (alt25) { case 1 : - // InternalProblem.g:1740:3: 'pred' + // InternalProblem.g:1944:3: 'pred' { - match(input,12,FOLLOW_2); + match(input,14,FOLLOW_2); } break; @@ -5573,14 +6205,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_3__0" - // InternalProblem.g:1749:1: rule__PredicateDefinition__Group_3__0 : rule__PredicateDefinition__Group_3__0__Impl rule__PredicateDefinition__Group_3__1 ; + // InternalProblem.g:1953:1: rule__PredicateDefinition__Group_3__0 : rule__PredicateDefinition__Group_3__0__Impl rule__PredicateDefinition__Group_3__1 ; public final void rule__PredicateDefinition__Group_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1753:1: ( rule__PredicateDefinition__Group_3__0__Impl rule__PredicateDefinition__Group_3__1 ) - // InternalProblem.g:1754:2: rule__PredicateDefinition__Group_3__0__Impl rule__PredicateDefinition__Group_3__1 + // InternalProblem.g:1957:1: ( rule__PredicateDefinition__Group_3__0__Impl rule__PredicateDefinition__Group_3__1 ) + // InternalProblem.g:1958:2: rule__PredicateDefinition__Group_3__0__Impl rule__PredicateDefinition__Group_3__1 { pushFollow(FOLLOW_10); rule__PredicateDefinition__Group_3__0__Impl(); @@ -5611,21 +6243,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_3__0__Impl" - // InternalProblem.g:1761:1: rule__PredicateDefinition__Group_3__0__Impl : ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) ) ; + // InternalProblem.g:1965:1: rule__PredicateDefinition__Group_3__0__Impl : ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) ) ; public final void rule__PredicateDefinition__Group_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1765:1: ( ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) ) ) - // InternalProblem.g:1766:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) ) + // InternalProblem.g:1969:1: ( ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) ) ) + // InternalProblem.g:1970:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) ) { - // InternalProblem.g:1766:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) ) - // InternalProblem.g:1767:2: ( rule__PredicateDefinition__ParametersAssignment_3_0 ) + // InternalProblem.g:1970:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) ) + // InternalProblem.g:1971:2: ( rule__PredicateDefinition__ParametersAssignment_3_0 ) { before(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_0()); - // InternalProblem.g:1768:2: ( rule__PredicateDefinition__ParametersAssignment_3_0 ) - // InternalProblem.g:1768:3: rule__PredicateDefinition__ParametersAssignment_3_0 + // InternalProblem.g:1972:2: ( rule__PredicateDefinition__ParametersAssignment_3_0 ) + // InternalProblem.g:1972:3: rule__PredicateDefinition__ParametersAssignment_3_0 { pushFollow(FOLLOW_2); rule__PredicateDefinition__ParametersAssignment_3_0(); @@ -5658,14 +6290,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_3__1" - // InternalProblem.g:1776:1: rule__PredicateDefinition__Group_3__1 : rule__PredicateDefinition__Group_3__1__Impl ; + // InternalProblem.g:1980:1: rule__PredicateDefinition__Group_3__1 : rule__PredicateDefinition__Group_3__1__Impl ; public final void rule__PredicateDefinition__Group_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1780:1: ( rule__PredicateDefinition__Group_3__1__Impl ) - // InternalProblem.g:1781:2: rule__PredicateDefinition__Group_3__1__Impl + // InternalProblem.g:1984:1: ( rule__PredicateDefinition__Group_3__1__Impl ) + // InternalProblem.g:1985:2: rule__PredicateDefinition__Group_3__1__Impl { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group_3__1__Impl(); @@ -5691,35 +6323,35 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_3__1__Impl" - // InternalProblem.g:1787:1: rule__PredicateDefinition__Group_3__1__Impl : ( ( rule__PredicateDefinition__Group_3_1__0 )* ) ; + // InternalProblem.g:1991:1: rule__PredicateDefinition__Group_3__1__Impl : ( ( rule__PredicateDefinition__Group_3_1__0 )* ) ; public final void rule__PredicateDefinition__Group_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1791:1: ( ( ( rule__PredicateDefinition__Group_3_1__0 )* ) ) - // InternalProblem.g:1792:1: ( ( rule__PredicateDefinition__Group_3_1__0 )* ) + // InternalProblem.g:1995:1: ( ( ( rule__PredicateDefinition__Group_3_1__0 )* ) ) + // InternalProblem.g:1996:1: ( ( rule__PredicateDefinition__Group_3_1__0 )* ) { - // InternalProblem.g:1792:1: ( ( rule__PredicateDefinition__Group_3_1__0 )* ) - // InternalProblem.g:1793:2: ( rule__PredicateDefinition__Group_3_1__0 )* + // InternalProblem.g:1996:1: ( ( rule__PredicateDefinition__Group_3_1__0 )* ) + // InternalProblem.g:1997:2: ( rule__PredicateDefinition__Group_3_1__0 )* { before(grammarAccess.getPredicateDefinitionAccess().getGroup_3_1()); - // InternalProblem.g:1794:2: ( rule__PredicateDefinition__Group_3_1__0 )* - loop23: + // InternalProblem.g:1998:2: ( rule__PredicateDefinition__Group_3_1__0 )* + loop26: do { - int alt23=2; - int LA23_0 = input.LA(1); + int alt26=2; + int LA26_0 = input.LA(1); - if ( (LA23_0==25) ) { - alt23=1; + if ( (LA26_0==25) ) { + alt26=1; } - switch (alt23) { + switch (alt26) { case 1 : - // InternalProblem.g:1794:3: rule__PredicateDefinition__Group_3_1__0 + // InternalProblem.g:1998:3: rule__PredicateDefinition__Group_3_1__0 { - pushFollow(FOLLOW_7); + pushFollow(FOLLOW_11); rule__PredicateDefinition__Group_3_1__0(); state._fsp--; @@ -5729,7 +6361,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop23; + break loop26; } } while (true); @@ -5756,14 +6388,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_3_1__0" - // InternalProblem.g:1803:1: rule__PredicateDefinition__Group_3_1__0 : rule__PredicateDefinition__Group_3_1__0__Impl rule__PredicateDefinition__Group_3_1__1 ; + // InternalProblem.g:2007:1: rule__PredicateDefinition__Group_3_1__0 : rule__PredicateDefinition__Group_3_1__0__Impl rule__PredicateDefinition__Group_3_1__1 ; public final void rule__PredicateDefinition__Group_3_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1807:1: ( rule__PredicateDefinition__Group_3_1__0__Impl rule__PredicateDefinition__Group_3_1__1 ) - // InternalProblem.g:1808:2: rule__PredicateDefinition__Group_3_1__0__Impl rule__PredicateDefinition__Group_3_1__1 + // InternalProblem.g:2011:1: ( rule__PredicateDefinition__Group_3_1__0__Impl rule__PredicateDefinition__Group_3_1__1 ) + // InternalProblem.g:2012:2: rule__PredicateDefinition__Group_3_1__0__Impl rule__PredicateDefinition__Group_3_1__1 { pushFollow(FOLLOW_5); rule__PredicateDefinition__Group_3_1__0__Impl(); @@ -5794,17 +6426,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_3_1__0__Impl" - // InternalProblem.g:1815:1: rule__PredicateDefinition__Group_3_1__0__Impl : ( ',' ) ; + // InternalProblem.g:2019:1: rule__PredicateDefinition__Group_3_1__0__Impl : ( ',' ) ; public final void rule__PredicateDefinition__Group_3_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1819:1: ( ( ',' ) ) - // InternalProblem.g:1820:1: ( ',' ) + // InternalProblem.g:2023:1: ( ( ',' ) ) + // InternalProblem.g:2024:1: ( ',' ) { - // InternalProblem.g:1820:1: ( ',' ) - // InternalProblem.g:1821:2: ',' + // InternalProblem.g:2024:1: ( ',' ) + // InternalProblem.g:2025:2: ',' { before(grammarAccess.getPredicateDefinitionAccess().getCommaKeyword_3_1_0()); match(input,25,FOLLOW_2); @@ -5831,14 +6463,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_3_1__1" - // InternalProblem.g:1830:1: rule__PredicateDefinition__Group_3_1__1 : rule__PredicateDefinition__Group_3_1__1__Impl ; + // InternalProblem.g:2034:1: rule__PredicateDefinition__Group_3_1__1 : rule__PredicateDefinition__Group_3_1__1__Impl ; public final void rule__PredicateDefinition__Group_3_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1834:1: ( rule__PredicateDefinition__Group_3_1__1__Impl ) - // InternalProblem.g:1835:2: rule__PredicateDefinition__Group_3_1__1__Impl + // InternalProblem.g:2038:1: ( rule__PredicateDefinition__Group_3_1__1__Impl ) + // InternalProblem.g:2039:2: rule__PredicateDefinition__Group_3_1__1__Impl { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group_3_1__1__Impl(); @@ -5864,21 +6496,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_3_1__1__Impl" - // InternalProblem.g:1841:1: rule__PredicateDefinition__Group_3_1__1__Impl : ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) ) ; + // InternalProblem.g:2045:1: rule__PredicateDefinition__Group_3_1__1__Impl : ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) ) ; public final void rule__PredicateDefinition__Group_3_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1845:1: ( ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) ) ) - // InternalProblem.g:1846:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) ) + // InternalProblem.g:2049:1: ( ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) ) ) + // InternalProblem.g:2050:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) ) { - // InternalProblem.g:1846:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) ) - // InternalProblem.g:1847:2: ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) + // InternalProblem.g:2050:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) ) + // InternalProblem.g:2051:2: ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) { before(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_1_1()); - // InternalProblem.g:1848:2: ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) - // InternalProblem.g:1848:3: rule__PredicateDefinition__ParametersAssignment_3_1_1 + // InternalProblem.g:2052:2: ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) + // InternalProblem.g:2052:3: rule__PredicateDefinition__ParametersAssignment_3_1_1 { pushFollow(FOLLOW_2); rule__PredicateDefinition__ParametersAssignment_3_1_1(); @@ -5911,16 +6543,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5__0" - // InternalProblem.g:1857:1: rule__PredicateDefinition__Group_5__0 : rule__PredicateDefinition__Group_5__0__Impl rule__PredicateDefinition__Group_5__1 ; + // InternalProblem.g:2061:1: rule__PredicateDefinition__Group_5__0 : rule__PredicateDefinition__Group_5__0__Impl rule__PredicateDefinition__Group_5__1 ; public final void rule__PredicateDefinition__Group_5__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1861:1: ( rule__PredicateDefinition__Group_5__0__Impl rule__PredicateDefinition__Group_5__1 ) - // InternalProblem.g:1862:2: rule__PredicateDefinition__Group_5__0__Impl rule__PredicateDefinition__Group_5__1 + // InternalProblem.g:2065:1: ( rule__PredicateDefinition__Group_5__0__Impl rule__PredicateDefinition__Group_5__1 ) + // InternalProblem.g:2066:2: rule__PredicateDefinition__Group_5__0__Impl rule__PredicateDefinition__Group_5__1 { - pushFollow(FOLLOW_20); + pushFollow(FOLLOW_23); rule__PredicateDefinition__Group_5__0__Impl(); state._fsp--; @@ -5949,21 +6581,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5__0__Impl" - // InternalProblem.g:1869:1: rule__PredicateDefinition__Group_5__0__Impl : ( ':=' ) ; + // InternalProblem.g:2073:1: rule__PredicateDefinition__Group_5__0__Impl : ( ':-' ) ; public final void rule__PredicateDefinition__Group_5__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1873:1: ( ( ':=' ) ) - // InternalProblem.g:1874:1: ( ':=' ) + // InternalProblem.g:2077:1: ( ( ':-' ) ) + // InternalProblem.g:2078:1: ( ':-' ) { - // InternalProblem.g:1874:1: ( ':=' ) - // InternalProblem.g:1875:2: ':=' + // InternalProblem.g:2078:1: ( ':-' ) + // InternalProblem.g:2079:2: ':-' { - before(grammarAccess.getPredicateDefinitionAccess().getColonEqualsSignKeyword_5_0()); - match(input,29,FOLLOW_2); - after(grammarAccess.getPredicateDefinitionAccess().getColonEqualsSignKeyword_5_0()); + before(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_5_0()); + match(input,34,FOLLOW_2); + after(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_5_0()); } @@ -5986,16 +6618,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5__1" - // InternalProblem.g:1884:1: rule__PredicateDefinition__Group_5__1 : rule__PredicateDefinition__Group_5__1__Impl rule__PredicateDefinition__Group_5__2 ; + // InternalProblem.g:2088:1: rule__PredicateDefinition__Group_5__1 : rule__PredicateDefinition__Group_5__1__Impl rule__PredicateDefinition__Group_5__2 ; public final void rule__PredicateDefinition__Group_5__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1888:1: ( rule__PredicateDefinition__Group_5__1__Impl rule__PredicateDefinition__Group_5__2 ) - // InternalProblem.g:1889:2: rule__PredicateDefinition__Group_5__1__Impl rule__PredicateDefinition__Group_5__2 + // InternalProblem.g:2092:1: ( rule__PredicateDefinition__Group_5__1__Impl rule__PredicateDefinition__Group_5__2 ) + // InternalProblem.g:2093:2: rule__PredicateDefinition__Group_5__1__Impl rule__PredicateDefinition__Group_5__2 { - pushFollow(FOLLOW_21); + pushFollow(FOLLOW_14); rule__PredicateDefinition__Group_5__1__Impl(); state._fsp--; @@ -6024,21 +6656,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5__1__Impl" - // InternalProblem.g:1896:1: rule__PredicateDefinition__Group_5__1__Impl : ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) ) ; + // InternalProblem.g:2100:1: rule__PredicateDefinition__Group_5__1__Impl : ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) ) ; public final void rule__PredicateDefinition__Group_5__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1900:1: ( ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) ) ) - // InternalProblem.g:1901:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) ) + // InternalProblem.g:2104:1: ( ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) ) ) + // InternalProblem.g:2105:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) ) { - // InternalProblem.g:1901:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) ) - // InternalProblem.g:1902:2: ( rule__PredicateDefinition__BodiesAssignment_5_1 ) + // InternalProblem.g:2105:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) ) + // InternalProblem.g:2106:2: ( rule__PredicateDefinition__BodiesAssignment_5_1 ) { before(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_1()); - // InternalProblem.g:1903:2: ( rule__PredicateDefinition__BodiesAssignment_5_1 ) - // InternalProblem.g:1903:3: rule__PredicateDefinition__BodiesAssignment_5_1 + // InternalProblem.g:2107:2: ( rule__PredicateDefinition__BodiesAssignment_5_1 ) + // InternalProblem.g:2107:3: rule__PredicateDefinition__BodiesAssignment_5_1 { pushFollow(FOLLOW_2); rule__PredicateDefinition__BodiesAssignment_5_1(); @@ -6071,14 +6703,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5__2" - // InternalProblem.g:1911:1: rule__PredicateDefinition__Group_5__2 : rule__PredicateDefinition__Group_5__2__Impl ; + // InternalProblem.g:2115:1: rule__PredicateDefinition__Group_5__2 : rule__PredicateDefinition__Group_5__2__Impl ; public final void rule__PredicateDefinition__Group_5__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1915:1: ( rule__PredicateDefinition__Group_5__2__Impl ) - // InternalProblem.g:1916:2: rule__PredicateDefinition__Group_5__2__Impl + // InternalProblem.g:2119:1: ( rule__PredicateDefinition__Group_5__2__Impl ) + // InternalProblem.g:2120:2: rule__PredicateDefinition__Group_5__2__Impl { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group_5__2__Impl(); @@ -6104,35 +6736,35 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5__2__Impl" - // InternalProblem.g:1922:1: rule__PredicateDefinition__Group_5__2__Impl : ( ( rule__PredicateDefinition__Group_5_2__0 )* ) ; + // InternalProblem.g:2126:1: rule__PredicateDefinition__Group_5__2__Impl : ( ( rule__PredicateDefinition__Group_5_2__0 )* ) ; public final void rule__PredicateDefinition__Group_5__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1926:1: ( ( ( rule__PredicateDefinition__Group_5_2__0 )* ) ) - // InternalProblem.g:1927:1: ( ( rule__PredicateDefinition__Group_5_2__0 )* ) + // InternalProblem.g:2130:1: ( ( ( rule__PredicateDefinition__Group_5_2__0 )* ) ) + // InternalProblem.g:2131:1: ( ( rule__PredicateDefinition__Group_5_2__0 )* ) { - // InternalProblem.g:1927:1: ( ( rule__PredicateDefinition__Group_5_2__0 )* ) - // InternalProblem.g:1928:2: ( rule__PredicateDefinition__Group_5_2__0 )* + // InternalProblem.g:2131:1: ( ( rule__PredicateDefinition__Group_5_2__0 )* ) + // InternalProblem.g:2132:2: ( rule__PredicateDefinition__Group_5_2__0 )* { before(grammarAccess.getPredicateDefinitionAccess().getGroup_5_2()); - // InternalProblem.g:1929:2: ( rule__PredicateDefinition__Group_5_2__0 )* - loop24: + // InternalProblem.g:2133:2: ( rule__PredicateDefinition__Group_5_2__0 )* + loop27: do { - int alt24=2; - int LA24_0 = input.LA(1); + int alt27=2; + int LA27_0 = input.LA(1); - if ( (LA24_0==30) ) { - alt24=1; + if ( (LA27_0==28) ) { + alt27=1; } - switch (alt24) { + switch (alt27) { case 1 : - // InternalProblem.g:1929:3: rule__PredicateDefinition__Group_5_2__0 + // InternalProblem.g:2133:3: rule__PredicateDefinition__Group_5_2__0 { - pushFollow(FOLLOW_22); + pushFollow(FOLLOW_24); rule__PredicateDefinition__Group_5_2__0(); state._fsp--; @@ -6142,7 +6774,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop24; + break loop27; } } while (true); @@ -6169,16 +6801,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5_2__0" - // InternalProblem.g:1938:1: rule__PredicateDefinition__Group_5_2__0 : rule__PredicateDefinition__Group_5_2__0__Impl rule__PredicateDefinition__Group_5_2__1 ; + // InternalProblem.g:2142:1: rule__PredicateDefinition__Group_5_2__0 : rule__PredicateDefinition__Group_5_2__0__Impl rule__PredicateDefinition__Group_5_2__1 ; public final void rule__PredicateDefinition__Group_5_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1942:1: ( rule__PredicateDefinition__Group_5_2__0__Impl rule__PredicateDefinition__Group_5_2__1 ) - // InternalProblem.g:1943:2: rule__PredicateDefinition__Group_5_2__0__Impl rule__PredicateDefinition__Group_5_2__1 + // InternalProblem.g:2146:1: ( rule__PredicateDefinition__Group_5_2__0__Impl rule__PredicateDefinition__Group_5_2__1 ) + // InternalProblem.g:2147:2: rule__PredicateDefinition__Group_5_2__0__Impl rule__PredicateDefinition__Group_5_2__1 { - pushFollow(FOLLOW_20); + pushFollow(FOLLOW_23); rule__PredicateDefinition__Group_5_2__0__Impl(); state._fsp--; @@ -6207,20 +6839,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5_2__0__Impl" - // InternalProblem.g:1950:1: rule__PredicateDefinition__Group_5_2__0__Impl : ( ';' ) ; + // InternalProblem.g:2154:1: rule__PredicateDefinition__Group_5_2__0__Impl : ( ';' ) ; public final void rule__PredicateDefinition__Group_5_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1954:1: ( ( ';' ) ) - // InternalProblem.g:1955:1: ( ';' ) + // InternalProblem.g:2158:1: ( ( ';' ) ) + // InternalProblem.g:2159:1: ( ';' ) { - // InternalProblem.g:1955:1: ( ';' ) - // InternalProblem.g:1956:2: ';' + // InternalProblem.g:2159:1: ( ';' ) + // InternalProblem.g:2160:2: ';' { before(grammarAccess.getPredicateDefinitionAccess().getSemicolonKeyword_5_2_0()); - match(input,30,FOLLOW_2); + match(input,28,FOLLOW_2); after(grammarAccess.getPredicateDefinitionAccess().getSemicolonKeyword_5_2_0()); } @@ -6244,14 +6876,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5_2__1" - // InternalProblem.g:1965:1: rule__PredicateDefinition__Group_5_2__1 : rule__PredicateDefinition__Group_5_2__1__Impl ; + // InternalProblem.g:2169:1: rule__PredicateDefinition__Group_5_2__1 : rule__PredicateDefinition__Group_5_2__1__Impl ; public final void rule__PredicateDefinition__Group_5_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1969:1: ( rule__PredicateDefinition__Group_5_2__1__Impl ) - // InternalProblem.g:1970:2: rule__PredicateDefinition__Group_5_2__1__Impl + // InternalProblem.g:2173:1: ( rule__PredicateDefinition__Group_5_2__1__Impl ) + // InternalProblem.g:2174:2: rule__PredicateDefinition__Group_5_2__1__Impl { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group_5_2__1__Impl(); @@ -6277,21 +6909,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5_2__1__Impl" - // InternalProblem.g:1976:1: rule__PredicateDefinition__Group_5_2__1__Impl : ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) ) ; + // InternalProblem.g:2180:1: rule__PredicateDefinition__Group_5_2__1__Impl : ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) ) ; public final void rule__PredicateDefinition__Group_5_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1980:1: ( ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) ) ) - // InternalProblem.g:1981:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) ) + // InternalProblem.g:2184:1: ( ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) ) ) + // InternalProblem.g:2185:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) ) { - // InternalProblem.g:1981:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) ) - // InternalProblem.g:1982:2: ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) + // InternalProblem.g:2185:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) ) + // InternalProblem.g:2186:2: ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) { before(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_2_1()); - // InternalProblem.g:1983:2: ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) - // InternalProblem.g:1983:3: rule__PredicateDefinition__BodiesAssignment_5_2_1 + // InternalProblem.g:2187:2: ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) + // InternalProblem.g:2187:3: rule__PredicateDefinition__BodiesAssignment_5_2_1 { pushFollow(FOLLOW_2); rule__PredicateDefinition__BodiesAssignment_5_2_1(); @@ -6324,14 +6956,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Parameter__Group__0" - // InternalProblem.g:1992:1: rule__Parameter__Group__0 : rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ; + // InternalProblem.g:2196:1: rule__Parameter__Group__0 : rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ; public final void rule__Parameter__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1996:1: ( rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ) - // InternalProblem.g:1997:2: rule__Parameter__Group__0__Impl rule__Parameter__Group__1 + // InternalProblem.g:2200:1: ( rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ) + // InternalProblem.g:2201:2: rule__Parameter__Group__0__Impl rule__Parameter__Group__1 { pushFollow(FOLLOW_5); rule__Parameter__Group__0__Impl(); @@ -6362,21 +6994,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Parameter__Group__0__Impl" - // InternalProblem.g:2004:1: rule__Parameter__Group__0__Impl : ( ( rule__Parameter__ParameterTypeAssignment_0 ) ) ; + // InternalProblem.g:2208:1: rule__Parameter__Group__0__Impl : ( ( rule__Parameter__ParameterTypeAssignment_0 ) ) ; public final void rule__Parameter__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2008:1: ( ( ( rule__Parameter__ParameterTypeAssignment_0 ) ) ) - // InternalProblem.g:2009:1: ( ( rule__Parameter__ParameterTypeAssignment_0 ) ) + // InternalProblem.g:2212:1: ( ( ( rule__Parameter__ParameterTypeAssignment_0 ) ) ) + // InternalProblem.g:2213:1: ( ( rule__Parameter__ParameterTypeAssignment_0 ) ) { - // InternalProblem.g:2009:1: ( ( rule__Parameter__ParameterTypeAssignment_0 ) ) - // InternalProblem.g:2010:2: ( rule__Parameter__ParameterTypeAssignment_0 ) + // InternalProblem.g:2213:1: ( ( rule__Parameter__ParameterTypeAssignment_0 ) ) + // InternalProblem.g:2214:2: ( rule__Parameter__ParameterTypeAssignment_0 ) { before(grammarAccess.getParameterAccess().getParameterTypeAssignment_0()); - // InternalProblem.g:2011:2: ( rule__Parameter__ParameterTypeAssignment_0 ) - // InternalProblem.g:2011:3: rule__Parameter__ParameterTypeAssignment_0 + // InternalProblem.g:2215:2: ( rule__Parameter__ParameterTypeAssignment_0 ) + // InternalProblem.g:2215:3: rule__Parameter__ParameterTypeAssignment_0 { pushFollow(FOLLOW_2); rule__Parameter__ParameterTypeAssignment_0(); @@ -6409,14 +7041,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Parameter__Group__1" - // InternalProblem.g:2019:1: rule__Parameter__Group__1 : rule__Parameter__Group__1__Impl ; + // InternalProblem.g:2223:1: rule__Parameter__Group__1 : rule__Parameter__Group__1__Impl ; public final void rule__Parameter__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2023:1: ( rule__Parameter__Group__1__Impl ) - // InternalProblem.g:2024:2: rule__Parameter__Group__1__Impl + // InternalProblem.g:2227:1: ( rule__Parameter__Group__1__Impl ) + // InternalProblem.g:2228:2: rule__Parameter__Group__1__Impl { pushFollow(FOLLOW_2); rule__Parameter__Group__1__Impl(); @@ -6442,21 +7074,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Parameter__Group__1__Impl" - // InternalProblem.g:2030:1: rule__Parameter__Group__1__Impl : ( ( rule__Parameter__NameAssignment_1 ) ) ; + // InternalProblem.g:2234:1: rule__Parameter__Group__1__Impl : ( ( rule__Parameter__NameAssignment_1 ) ) ; public final void rule__Parameter__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2034:1: ( ( ( rule__Parameter__NameAssignment_1 ) ) ) - // InternalProblem.g:2035:1: ( ( rule__Parameter__NameAssignment_1 ) ) + // InternalProblem.g:2238:1: ( ( ( rule__Parameter__NameAssignment_1 ) ) ) + // InternalProblem.g:2239:1: ( ( rule__Parameter__NameAssignment_1 ) ) { - // InternalProblem.g:2035:1: ( ( rule__Parameter__NameAssignment_1 ) ) - // InternalProblem.g:2036:2: ( rule__Parameter__NameAssignment_1 ) + // InternalProblem.g:2239:1: ( ( rule__Parameter__NameAssignment_1 ) ) + // InternalProblem.g:2240:2: ( rule__Parameter__NameAssignment_1 ) { before(grammarAccess.getParameterAccess().getNameAssignment_1()); - // InternalProblem.g:2037:2: ( rule__Parameter__NameAssignment_1 ) - // InternalProblem.g:2037:3: rule__Parameter__NameAssignment_1 + // InternalProblem.g:2241:2: ( rule__Parameter__NameAssignment_1 ) + // InternalProblem.g:2241:3: rule__Parameter__NameAssignment_1 { pushFollow(FOLLOW_2); rule__Parameter__NameAssignment_1(); @@ -6489,14 +7121,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__Group__0" - // InternalProblem.g:2046:1: rule__Conjunction__Group__0 : rule__Conjunction__Group__0__Impl rule__Conjunction__Group__1 ; + // InternalProblem.g:2250:1: rule__Conjunction__Group__0 : rule__Conjunction__Group__0__Impl rule__Conjunction__Group__1 ; public final void rule__Conjunction__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2050:1: ( rule__Conjunction__Group__0__Impl rule__Conjunction__Group__1 ) - // InternalProblem.g:2051:2: rule__Conjunction__Group__0__Impl rule__Conjunction__Group__1 + // InternalProblem.g:2254:1: ( rule__Conjunction__Group__0__Impl rule__Conjunction__Group__1 ) + // InternalProblem.g:2255:2: rule__Conjunction__Group__0__Impl rule__Conjunction__Group__1 { pushFollow(FOLLOW_10); rule__Conjunction__Group__0__Impl(); @@ -6527,21 +7159,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__Group__0__Impl" - // InternalProblem.g:2058:1: rule__Conjunction__Group__0__Impl : ( ( rule__Conjunction__LiteralsAssignment_0 ) ) ; + // InternalProblem.g:2262:1: rule__Conjunction__Group__0__Impl : ( ( rule__Conjunction__LiteralsAssignment_0 ) ) ; public final void rule__Conjunction__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2062:1: ( ( ( rule__Conjunction__LiteralsAssignment_0 ) ) ) - // InternalProblem.g:2063:1: ( ( rule__Conjunction__LiteralsAssignment_0 ) ) + // InternalProblem.g:2266:1: ( ( ( rule__Conjunction__LiteralsAssignment_0 ) ) ) + // InternalProblem.g:2267:1: ( ( rule__Conjunction__LiteralsAssignment_0 ) ) { - // InternalProblem.g:2063:1: ( ( rule__Conjunction__LiteralsAssignment_0 ) ) - // InternalProblem.g:2064:2: ( rule__Conjunction__LiteralsAssignment_0 ) + // InternalProblem.g:2267:1: ( ( rule__Conjunction__LiteralsAssignment_0 ) ) + // InternalProblem.g:2268:2: ( rule__Conjunction__LiteralsAssignment_0 ) { before(grammarAccess.getConjunctionAccess().getLiteralsAssignment_0()); - // InternalProblem.g:2065:2: ( rule__Conjunction__LiteralsAssignment_0 ) - // InternalProblem.g:2065:3: rule__Conjunction__LiteralsAssignment_0 + // InternalProblem.g:2269:2: ( rule__Conjunction__LiteralsAssignment_0 ) + // InternalProblem.g:2269:3: rule__Conjunction__LiteralsAssignment_0 { pushFollow(FOLLOW_2); rule__Conjunction__LiteralsAssignment_0(); @@ -6574,14 +7206,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__Group__1" - // InternalProblem.g:2073:1: rule__Conjunction__Group__1 : rule__Conjunction__Group__1__Impl ; + // InternalProblem.g:2277:1: rule__Conjunction__Group__1 : rule__Conjunction__Group__1__Impl ; public final void rule__Conjunction__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2077:1: ( rule__Conjunction__Group__1__Impl ) - // InternalProblem.g:2078:2: rule__Conjunction__Group__1__Impl + // InternalProblem.g:2281:1: ( rule__Conjunction__Group__1__Impl ) + // InternalProblem.g:2282:2: rule__Conjunction__Group__1__Impl { pushFollow(FOLLOW_2); rule__Conjunction__Group__1__Impl(); @@ -6607,35 +7239,35 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__Group__1__Impl" - // InternalProblem.g:2084:1: rule__Conjunction__Group__1__Impl : ( ( rule__Conjunction__Group_1__0 )* ) ; + // InternalProblem.g:2288:1: rule__Conjunction__Group__1__Impl : ( ( rule__Conjunction__Group_1__0 )* ) ; public final void rule__Conjunction__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2088:1: ( ( ( rule__Conjunction__Group_1__0 )* ) ) - // InternalProblem.g:2089:1: ( ( rule__Conjunction__Group_1__0 )* ) + // InternalProblem.g:2292:1: ( ( ( rule__Conjunction__Group_1__0 )* ) ) + // InternalProblem.g:2293:1: ( ( rule__Conjunction__Group_1__0 )* ) { - // InternalProblem.g:2089:1: ( ( rule__Conjunction__Group_1__0 )* ) - // InternalProblem.g:2090:2: ( rule__Conjunction__Group_1__0 )* + // InternalProblem.g:2293:1: ( ( rule__Conjunction__Group_1__0 )* ) + // InternalProblem.g:2294:2: ( rule__Conjunction__Group_1__0 )* { before(grammarAccess.getConjunctionAccess().getGroup_1()); - // InternalProblem.g:2091:2: ( rule__Conjunction__Group_1__0 )* - loop25: + // InternalProblem.g:2295:2: ( rule__Conjunction__Group_1__0 )* + loop28: do { - int alt25=2; - int LA25_0 = input.LA(1); + int alt28=2; + int LA28_0 = input.LA(1); - if ( (LA25_0==25) ) { - alt25=1; + if ( (LA28_0==25) ) { + alt28=1; } - switch (alt25) { + switch (alt28) { case 1 : - // InternalProblem.g:2091:3: rule__Conjunction__Group_1__0 + // InternalProblem.g:2295:3: rule__Conjunction__Group_1__0 { - pushFollow(FOLLOW_7); + pushFollow(FOLLOW_11); rule__Conjunction__Group_1__0(); state._fsp--; @@ -6645,7 +7277,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop25; + break loop28; } } while (true); @@ -6672,16 +7304,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__Group_1__0" - // InternalProblem.g:2100:1: rule__Conjunction__Group_1__0 : rule__Conjunction__Group_1__0__Impl rule__Conjunction__Group_1__1 ; + // InternalProblem.g:2304:1: rule__Conjunction__Group_1__0 : rule__Conjunction__Group_1__0__Impl rule__Conjunction__Group_1__1 ; public final void rule__Conjunction__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2104:1: ( rule__Conjunction__Group_1__0__Impl rule__Conjunction__Group_1__1 ) - // InternalProblem.g:2105:2: rule__Conjunction__Group_1__0__Impl rule__Conjunction__Group_1__1 + // InternalProblem.g:2308:1: ( rule__Conjunction__Group_1__0__Impl rule__Conjunction__Group_1__1 ) + // InternalProblem.g:2309:2: rule__Conjunction__Group_1__0__Impl rule__Conjunction__Group_1__1 { - pushFollow(FOLLOW_20); + pushFollow(FOLLOW_23); rule__Conjunction__Group_1__0__Impl(); state._fsp--; @@ -6710,17 +7342,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__Group_1__0__Impl" - // InternalProblem.g:2112:1: rule__Conjunction__Group_1__0__Impl : ( ',' ) ; + // InternalProblem.g:2316:1: rule__Conjunction__Group_1__0__Impl : ( ',' ) ; public final void rule__Conjunction__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2116:1: ( ( ',' ) ) - // InternalProblem.g:2117:1: ( ',' ) + // InternalProblem.g:2320:1: ( ( ',' ) ) + // InternalProblem.g:2321:1: ( ',' ) { - // InternalProblem.g:2117:1: ( ',' ) - // InternalProblem.g:2118:2: ',' + // InternalProblem.g:2321:1: ( ',' ) + // InternalProblem.g:2322:2: ',' { before(grammarAccess.getConjunctionAccess().getCommaKeyword_1_0()); match(input,25,FOLLOW_2); @@ -6747,14 +7379,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__Group_1__1" - // InternalProblem.g:2127:1: rule__Conjunction__Group_1__1 : rule__Conjunction__Group_1__1__Impl ; + // InternalProblem.g:2331:1: rule__Conjunction__Group_1__1 : rule__Conjunction__Group_1__1__Impl ; public final void rule__Conjunction__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2131:1: ( rule__Conjunction__Group_1__1__Impl ) - // InternalProblem.g:2132:2: rule__Conjunction__Group_1__1__Impl + // InternalProblem.g:2335:1: ( rule__Conjunction__Group_1__1__Impl ) + // InternalProblem.g:2336:2: rule__Conjunction__Group_1__1__Impl { pushFollow(FOLLOW_2); rule__Conjunction__Group_1__1__Impl(); @@ -6780,21 +7412,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__Group_1__1__Impl" - // InternalProblem.g:2138:1: rule__Conjunction__Group_1__1__Impl : ( ( rule__Conjunction__LiteralsAssignment_1_1 ) ) ; + // InternalProblem.g:2342:1: rule__Conjunction__Group_1__1__Impl : ( ( rule__Conjunction__LiteralsAssignment_1_1 ) ) ; public final void rule__Conjunction__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2142:1: ( ( ( rule__Conjunction__LiteralsAssignment_1_1 ) ) ) - // InternalProblem.g:2143:1: ( ( rule__Conjunction__LiteralsAssignment_1_1 ) ) + // InternalProblem.g:2346:1: ( ( ( rule__Conjunction__LiteralsAssignment_1_1 ) ) ) + // InternalProblem.g:2347:1: ( ( rule__Conjunction__LiteralsAssignment_1_1 ) ) { - // InternalProblem.g:2143:1: ( ( rule__Conjunction__LiteralsAssignment_1_1 ) ) - // InternalProblem.g:2144:2: ( rule__Conjunction__LiteralsAssignment_1_1 ) + // InternalProblem.g:2347:1: ( ( rule__Conjunction__LiteralsAssignment_1_1 ) ) + // InternalProblem.g:2348:2: ( rule__Conjunction__LiteralsAssignment_1_1 ) { before(grammarAccess.getConjunctionAccess().getLiteralsAssignment_1_1()); - // InternalProblem.g:2145:2: ( rule__Conjunction__LiteralsAssignment_1_1 ) - // InternalProblem.g:2145:3: rule__Conjunction__LiteralsAssignment_1_1 + // InternalProblem.g:2349:2: ( rule__Conjunction__LiteralsAssignment_1_1 ) + // InternalProblem.g:2349:3: rule__Conjunction__LiteralsAssignment_1_1 { pushFollow(FOLLOW_2); rule__Conjunction__LiteralsAssignment_1_1(); @@ -6827,16 +7459,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NegativeLiteral__Group__0" - // InternalProblem.g:2154:1: rule__NegativeLiteral__Group__0 : rule__NegativeLiteral__Group__0__Impl rule__NegativeLiteral__Group__1 ; + // InternalProblem.g:2358:1: rule__NegativeLiteral__Group__0 : rule__NegativeLiteral__Group__0__Impl rule__NegativeLiteral__Group__1 ; public final void rule__NegativeLiteral__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2158:1: ( rule__NegativeLiteral__Group__0__Impl rule__NegativeLiteral__Group__1 ) - // InternalProblem.g:2159:2: rule__NegativeLiteral__Group__0__Impl rule__NegativeLiteral__Group__1 + // InternalProblem.g:2362:1: ( rule__NegativeLiteral__Group__0__Impl rule__NegativeLiteral__Group__1 ) + // InternalProblem.g:2363:2: rule__NegativeLiteral__Group__0__Impl rule__NegativeLiteral__Group__1 { - pushFollow(FOLLOW_5); + pushFollow(FOLLOW_9); rule__NegativeLiteral__Group__0__Impl(); state._fsp--; @@ -6865,20 +7497,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NegativeLiteral__Group__0__Impl" - // InternalProblem.g:2166:1: rule__NegativeLiteral__Group__0__Impl : ( '!' ) ; + // InternalProblem.g:2370:1: rule__NegativeLiteral__Group__0__Impl : ( '!' ) ; public final void rule__NegativeLiteral__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2170:1: ( ( '!' ) ) - // InternalProblem.g:2171:1: ( '!' ) + // InternalProblem.g:2374:1: ( ( '!' ) ) + // InternalProblem.g:2375:1: ( '!' ) { - // InternalProblem.g:2171:1: ( '!' ) - // InternalProblem.g:2172:2: '!' + // InternalProblem.g:2375:1: ( '!' ) + // InternalProblem.g:2376:2: '!' { before(grammarAccess.getNegativeLiteralAccess().getExclamationMarkKeyword_0()); - match(input,18,FOLLOW_2); + match(input,20,FOLLOW_2); after(grammarAccess.getNegativeLiteralAccess().getExclamationMarkKeyword_0()); } @@ -6902,14 +7534,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NegativeLiteral__Group__1" - // InternalProblem.g:2181:1: rule__NegativeLiteral__Group__1 : rule__NegativeLiteral__Group__1__Impl ; + // InternalProblem.g:2385:1: rule__NegativeLiteral__Group__1 : rule__NegativeLiteral__Group__1__Impl ; public final void rule__NegativeLiteral__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2185:1: ( rule__NegativeLiteral__Group__1__Impl ) - // InternalProblem.g:2186:2: rule__NegativeLiteral__Group__1__Impl + // InternalProblem.g:2389:1: ( rule__NegativeLiteral__Group__1__Impl ) + // InternalProblem.g:2390:2: rule__NegativeLiteral__Group__1__Impl { pushFollow(FOLLOW_2); rule__NegativeLiteral__Group__1__Impl(); @@ -6935,21 +7567,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NegativeLiteral__Group__1__Impl" - // InternalProblem.g:2192:1: rule__NegativeLiteral__Group__1__Impl : ( ( rule__NegativeLiteral__AtomAssignment_1 ) ) ; + // InternalProblem.g:2396:1: rule__NegativeLiteral__Group__1__Impl : ( ( rule__NegativeLiteral__AtomAssignment_1 ) ) ; public final void rule__NegativeLiteral__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2196:1: ( ( ( rule__NegativeLiteral__AtomAssignment_1 ) ) ) - // InternalProblem.g:2197:1: ( ( rule__NegativeLiteral__AtomAssignment_1 ) ) + // InternalProblem.g:2400:1: ( ( ( rule__NegativeLiteral__AtomAssignment_1 ) ) ) + // InternalProblem.g:2401:1: ( ( rule__NegativeLiteral__AtomAssignment_1 ) ) { - // InternalProblem.g:2197:1: ( ( rule__NegativeLiteral__AtomAssignment_1 ) ) - // InternalProblem.g:2198:2: ( rule__NegativeLiteral__AtomAssignment_1 ) + // InternalProblem.g:2401:1: ( ( rule__NegativeLiteral__AtomAssignment_1 ) ) + // InternalProblem.g:2402:2: ( rule__NegativeLiteral__AtomAssignment_1 ) { before(grammarAccess.getNegativeLiteralAccess().getAtomAssignment_1()); - // InternalProblem.g:2199:2: ( rule__NegativeLiteral__AtomAssignment_1 ) - // InternalProblem.g:2199:3: rule__NegativeLiteral__AtomAssignment_1 + // InternalProblem.g:2403:2: ( rule__NegativeLiteral__AtomAssignment_1 ) + // InternalProblem.g:2403:3: rule__NegativeLiteral__AtomAssignment_1 { pushFollow(FOLLOW_2); rule__NegativeLiteral__AtomAssignment_1(); @@ -6982,16 +7614,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__0" - // InternalProblem.g:2208:1: rule__Atom__Group__0 : rule__Atom__Group__0__Impl rule__Atom__Group__1 ; + // InternalProblem.g:2412:1: rule__Atom__Group__0 : rule__Atom__Group__0__Impl rule__Atom__Group__1 ; public final void rule__Atom__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2212:1: ( rule__Atom__Group__0__Impl rule__Atom__Group__1 ) - // InternalProblem.g:2213:2: rule__Atom__Group__0__Impl rule__Atom__Group__1 + // InternalProblem.g:2416:1: ( rule__Atom__Group__0__Impl rule__Atom__Group__1 ) + // InternalProblem.g:2417:2: rule__Atom__Group__0__Impl rule__Atom__Group__1 { - pushFollow(FOLLOW_23); + pushFollow(FOLLOW_25); rule__Atom__Group__0__Impl(); state._fsp--; @@ -7020,21 +7652,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__0__Impl" - // InternalProblem.g:2220:1: rule__Atom__Group__0__Impl : ( ( rule__Atom__RelationAssignment_0 ) ) ; + // InternalProblem.g:2424:1: rule__Atom__Group__0__Impl : ( ( rule__Atom__RelationAssignment_0 ) ) ; public final void rule__Atom__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2224:1: ( ( ( rule__Atom__RelationAssignment_0 ) ) ) - // InternalProblem.g:2225:1: ( ( rule__Atom__RelationAssignment_0 ) ) + // InternalProblem.g:2428:1: ( ( ( rule__Atom__RelationAssignment_0 ) ) ) + // InternalProblem.g:2429:1: ( ( rule__Atom__RelationAssignment_0 ) ) { - // InternalProblem.g:2225:1: ( ( rule__Atom__RelationAssignment_0 ) ) - // InternalProblem.g:2226:2: ( rule__Atom__RelationAssignment_0 ) + // InternalProblem.g:2429:1: ( ( rule__Atom__RelationAssignment_0 ) ) + // InternalProblem.g:2430:2: ( rule__Atom__RelationAssignment_0 ) { before(grammarAccess.getAtomAccess().getRelationAssignment_0()); - // InternalProblem.g:2227:2: ( rule__Atom__RelationAssignment_0 ) - // InternalProblem.g:2227:3: rule__Atom__RelationAssignment_0 + // InternalProblem.g:2431:2: ( rule__Atom__RelationAssignment_0 ) + // InternalProblem.g:2431:3: rule__Atom__RelationAssignment_0 { pushFollow(FOLLOW_2); rule__Atom__RelationAssignment_0(); @@ -7067,16 +7699,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__1" - // InternalProblem.g:2235:1: rule__Atom__Group__1 : rule__Atom__Group__1__Impl rule__Atom__Group__2 ; + // InternalProblem.g:2439:1: rule__Atom__Group__1 : rule__Atom__Group__1__Impl rule__Atom__Group__2 ; public final void rule__Atom__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2239:1: ( rule__Atom__Group__1__Impl rule__Atom__Group__2 ) - // InternalProblem.g:2240:2: rule__Atom__Group__1__Impl rule__Atom__Group__2 + // InternalProblem.g:2443:1: ( rule__Atom__Group__1__Impl rule__Atom__Group__2 ) + // InternalProblem.g:2444:2: rule__Atom__Group__1__Impl rule__Atom__Group__2 { - pushFollow(FOLLOW_23); + pushFollow(FOLLOW_25); rule__Atom__Group__1__Impl(); state._fsp--; @@ -7105,29 +7737,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__1__Impl" - // InternalProblem.g:2247:1: rule__Atom__Group__1__Impl : ( ( rule__Atom__TransitiveClosureAssignment_1 )? ) ; + // InternalProblem.g:2451:1: rule__Atom__Group__1__Impl : ( ( rule__Atom__TransitiveClosureAssignment_1 )? ) ; public final void rule__Atom__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2251:1: ( ( ( rule__Atom__TransitiveClosureAssignment_1 )? ) ) - // InternalProblem.g:2252:1: ( ( rule__Atom__TransitiveClosureAssignment_1 )? ) + // InternalProblem.g:2455:1: ( ( ( rule__Atom__TransitiveClosureAssignment_1 )? ) ) + // InternalProblem.g:2456:1: ( ( rule__Atom__TransitiveClosureAssignment_1 )? ) { - // InternalProblem.g:2252:1: ( ( rule__Atom__TransitiveClosureAssignment_1 )? ) - // InternalProblem.g:2253:2: ( rule__Atom__TransitiveClosureAssignment_1 )? + // InternalProblem.g:2456:1: ( ( rule__Atom__TransitiveClosureAssignment_1 )? ) + // InternalProblem.g:2457:2: ( rule__Atom__TransitiveClosureAssignment_1 )? { before(grammarAccess.getAtomAccess().getTransitiveClosureAssignment_1()); - // InternalProblem.g:2254:2: ( rule__Atom__TransitiveClosureAssignment_1 )? - int alt26=2; - int LA26_0 = input.LA(1); + // InternalProblem.g:2458:2: ( rule__Atom__TransitiveClosureAssignment_1 )? + int alt29=2; + int LA29_0 = input.LA(1); - if ( (LA26_0==38) ) { - alt26=1; + if ( (LA29_0==41) ) { + alt29=1; } - switch (alt26) { + switch (alt29) { case 1 : - // InternalProblem.g:2254:3: rule__Atom__TransitiveClosureAssignment_1 + // InternalProblem.g:2458:3: rule__Atom__TransitiveClosureAssignment_1 { pushFollow(FOLLOW_2); rule__Atom__TransitiveClosureAssignment_1(); @@ -7163,16 +7795,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__2" - // InternalProblem.g:2262:1: rule__Atom__Group__2 : rule__Atom__Group__2__Impl rule__Atom__Group__3 ; + // InternalProblem.g:2466:1: rule__Atom__Group__2 : rule__Atom__Group__2__Impl rule__Atom__Group__3 ; public final void rule__Atom__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2266:1: ( rule__Atom__Group__2__Impl rule__Atom__Group__3 ) - // InternalProblem.g:2267:2: rule__Atom__Group__2__Impl rule__Atom__Group__3 + // InternalProblem.g:2470:1: ( rule__Atom__Group__2__Impl rule__Atom__Group__3 ) + // InternalProblem.g:2471:2: rule__Atom__Group__2__Impl rule__Atom__Group__3 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_20); rule__Atom__Group__2__Impl(); state._fsp--; @@ -7201,20 +7833,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__2__Impl" - // InternalProblem.g:2274:1: rule__Atom__Group__2__Impl : ( '(' ) ; + // InternalProblem.g:2478:1: rule__Atom__Group__2__Impl : ( '(' ) ; public final void rule__Atom__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2278:1: ( ( '(' ) ) - // InternalProblem.g:2279:1: ( '(' ) + // InternalProblem.g:2482:1: ( ( '(' ) ) + // InternalProblem.g:2483:1: ( '(' ) { - // InternalProblem.g:2279:1: ( '(' ) - // InternalProblem.g:2280:2: '(' + // InternalProblem.g:2483:1: ( '(' ) + // InternalProblem.g:2484:2: '(' { before(grammarAccess.getAtomAccess().getLeftParenthesisKeyword_2()); - match(input,27,FOLLOW_2); + match(input,32,FOLLOW_2); after(grammarAccess.getAtomAccess().getLeftParenthesisKeyword_2()); } @@ -7238,16 +7870,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__3" - // InternalProblem.g:2289:1: rule__Atom__Group__3 : rule__Atom__Group__3__Impl rule__Atom__Group__4 ; + // InternalProblem.g:2493:1: rule__Atom__Group__3 : rule__Atom__Group__3__Impl rule__Atom__Group__4 ; public final void rule__Atom__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2293:1: ( rule__Atom__Group__3__Impl rule__Atom__Group__4 ) - // InternalProblem.g:2294:2: rule__Atom__Group__3__Impl rule__Atom__Group__4 + // InternalProblem.g:2497:1: ( rule__Atom__Group__3__Impl rule__Atom__Group__4 ) + // InternalProblem.g:2498:2: rule__Atom__Group__3__Impl rule__Atom__Group__4 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_20); rule__Atom__Group__3__Impl(); state._fsp--; @@ -7276,29 +7908,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__3__Impl" - // InternalProblem.g:2301:1: rule__Atom__Group__3__Impl : ( ( rule__Atom__Group_3__0 )? ) ; + // InternalProblem.g:2505:1: rule__Atom__Group__3__Impl : ( ( rule__Atom__Group_3__0 )? ) ; public final void rule__Atom__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2305:1: ( ( ( rule__Atom__Group_3__0 )? ) ) - // InternalProblem.g:2306:1: ( ( rule__Atom__Group_3__0 )? ) + // InternalProblem.g:2509:1: ( ( ( rule__Atom__Group_3__0 )? ) ) + // InternalProblem.g:2510:1: ( ( rule__Atom__Group_3__0 )? ) { - // InternalProblem.g:2306:1: ( ( rule__Atom__Group_3__0 )? ) - // InternalProblem.g:2307:2: ( rule__Atom__Group_3__0 )? + // InternalProblem.g:2510:1: ( ( rule__Atom__Group_3__0 )? ) + // InternalProblem.g:2511:2: ( rule__Atom__Group_3__0 )? { before(grammarAccess.getAtomAccess().getGroup_3()); - // InternalProblem.g:2308:2: ( rule__Atom__Group_3__0 )? - int alt27=2; - int LA27_0 = input.LA(1); + // InternalProblem.g:2512:2: ( rule__Atom__Group_3__0 )? + int alt30=2; + int LA30_0 = input.LA(1); - if ( (LA27_0==RULE_ID) ) { - alt27=1; + if ( (LA30_0==RULE_ID) ) { + alt30=1; } - switch (alt27) { + switch (alt30) { case 1 : - // InternalProblem.g:2308:3: rule__Atom__Group_3__0 + // InternalProblem.g:2512:3: rule__Atom__Group_3__0 { pushFollow(FOLLOW_2); rule__Atom__Group_3__0(); @@ -7334,14 +7966,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__4" - // InternalProblem.g:2316:1: rule__Atom__Group__4 : rule__Atom__Group__4__Impl ; + // InternalProblem.g:2520:1: rule__Atom__Group__4 : rule__Atom__Group__4__Impl ; public final void rule__Atom__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2320:1: ( rule__Atom__Group__4__Impl ) - // InternalProblem.g:2321:2: rule__Atom__Group__4__Impl + // InternalProblem.g:2524:1: ( rule__Atom__Group__4__Impl ) + // InternalProblem.g:2525:2: rule__Atom__Group__4__Impl { pushFollow(FOLLOW_2); rule__Atom__Group__4__Impl(); @@ -7367,20 +7999,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__4__Impl" - // InternalProblem.g:2327:1: rule__Atom__Group__4__Impl : ( ')' ) ; + // InternalProblem.g:2531:1: rule__Atom__Group__4__Impl : ( ')' ) ; public final void rule__Atom__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2331:1: ( ( ')' ) ) - // InternalProblem.g:2332:1: ( ')' ) + // InternalProblem.g:2535:1: ( ( ')' ) ) + // InternalProblem.g:2536:1: ( ')' ) { - // InternalProblem.g:2332:1: ( ')' ) - // InternalProblem.g:2333:2: ')' + // InternalProblem.g:2536:1: ( ')' ) + // InternalProblem.g:2537:2: ')' { before(grammarAccess.getAtomAccess().getRightParenthesisKeyword_4()); - match(input,28,FOLLOW_2); + match(input,33,FOLLOW_2); after(grammarAccess.getAtomAccess().getRightParenthesisKeyword_4()); } @@ -7404,14 +8036,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group_3__0" - // InternalProblem.g:2343:1: rule__Atom__Group_3__0 : rule__Atom__Group_3__0__Impl rule__Atom__Group_3__1 ; + // InternalProblem.g:2547:1: rule__Atom__Group_3__0 : rule__Atom__Group_3__0__Impl rule__Atom__Group_3__1 ; public final void rule__Atom__Group_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2347:1: ( rule__Atom__Group_3__0__Impl rule__Atom__Group_3__1 ) - // InternalProblem.g:2348:2: rule__Atom__Group_3__0__Impl rule__Atom__Group_3__1 + // InternalProblem.g:2551:1: ( rule__Atom__Group_3__0__Impl rule__Atom__Group_3__1 ) + // InternalProblem.g:2552:2: rule__Atom__Group_3__0__Impl rule__Atom__Group_3__1 { pushFollow(FOLLOW_10); rule__Atom__Group_3__0__Impl(); @@ -7442,21 +8074,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group_3__0__Impl" - // InternalProblem.g:2355:1: rule__Atom__Group_3__0__Impl : ( ( rule__Atom__ArgumentsAssignment_3_0 ) ) ; + // InternalProblem.g:2559:1: rule__Atom__Group_3__0__Impl : ( ( rule__Atom__ArgumentsAssignment_3_0 ) ) ; public final void rule__Atom__Group_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2359:1: ( ( ( rule__Atom__ArgumentsAssignment_3_0 ) ) ) - // InternalProblem.g:2360:1: ( ( rule__Atom__ArgumentsAssignment_3_0 ) ) + // InternalProblem.g:2563:1: ( ( ( rule__Atom__ArgumentsAssignment_3_0 ) ) ) + // InternalProblem.g:2564:1: ( ( rule__Atom__ArgumentsAssignment_3_0 ) ) { - // InternalProblem.g:2360:1: ( ( rule__Atom__ArgumentsAssignment_3_0 ) ) - // InternalProblem.g:2361:2: ( rule__Atom__ArgumentsAssignment_3_0 ) + // InternalProblem.g:2564:1: ( ( rule__Atom__ArgumentsAssignment_3_0 ) ) + // InternalProblem.g:2565:2: ( rule__Atom__ArgumentsAssignment_3_0 ) { before(grammarAccess.getAtomAccess().getArgumentsAssignment_3_0()); - // InternalProblem.g:2362:2: ( rule__Atom__ArgumentsAssignment_3_0 ) - // InternalProblem.g:2362:3: rule__Atom__ArgumentsAssignment_3_0 + // InternalProblem.g:2566:2: ( rule__Atom__ArgumentsAssignment_3_0 ) + // InternalProblem.g:2566:3: rule__Atom__ArgumentsAssignment_3_0 { pushFollow(FOLLOW_2); rule__Atom__ArgumentsAssignment_3_0(); @@ -7489,14 +8121,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group_3__1" - // InternalProblem.g:2370:1: rule__Atom__Group_3__1 : rule__Atom__Group_3__1__Impl ; + // InternalProblem.g:2574:1: rule__Atom__Group_3__1 : rule__Atom__Group_3__1__Impl ; public final void rule__Atom__Group_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2374:1: ( rule__Atom__Group_3__1__Impl ) - // InternalProblem.g:2375:2: rule__Atom__Group_3__1__Impl + // InternalProblem.g:2578:1: ( rule__Atom__Group_3__1__Impl ) + // InternalProblem.g:2579:2: rule__Atom__Group_3__1__Impl { pushFollow(FOLLOW_2); rule__Atom__Group_3__1__Impl(); @@ -7522,35 +8154,35 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group_3__1__Impl" - // InternalProblem.g:2381:1: rule__Atom__Group_3__1__Impl : ( ( rule__Atom__Group_3_1__0 )* ) ; + // InternalProblem.g:2585:1: rule__Atom__Group_3__1__Impl : ( ( rule__Atom__Group_3_1__0 )* ) ; public final void rule__Atom__Group_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2385:1: ( ( ( rule__Atom__Group_3_1__0 )* ) ) - // InternalProblem.g:2386:1: ( ( rule__Atom__Group_3_1__0 )* ) + // InternalProblem.g:2589:1: ( ( ( rule__Atom__Group_3_1__0 )* ) ) + // InternalProblem.g:2590:1: ( ( rule__Atom__Group_3_1__0 )* ) { - // InternalProblem.g:2386:1: ( ( rule__Atom__Group_3_1__0 )* ) - // InternalProblem.g:2387:2: ( rule__Atom__Group_3_1__0 )* + // InternalProblem.g:2590:1: ( ( rule__Atom__Group_3_1__0 )* ) + // InternalProblem.g:2591:2: ( rule__Atom__Group_3_1__0 )* { before(grammarAccess.getAtomAccess().getGroup_3_1()); - // InternalProblem.g:2388:2: ( rule__Atom__Group_3_1__0 )* - loop28: + // InternalProblem.g:2592:2: ( rule__Atom__Group_3_1__0 )* + loop31: do { - int alt28=2; - int LA28_0 = input.LA(1); + int alt31=2; + int LA31_0 = input.LA(1); - if ( (LA28_0==25) ) { - alt28=1; + if ( (LA31_0==25) ) { + alt31=1; } - switch (alt28) { + switch (alt31) { case 1 : - // InternalProblem.g:2388:3: rule__Atom__Group_3_1__0 + // InternalProblem.g:2592:3: rule__Atom__Group_3_1__0 { - pushFollow(FOLLOW_7); + pushFollow(FOLLOW_11); rule__Atom__Group_3_1__0(); state._fsp--; @@ -7560,7 +8192,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop28; + break loop31; } } while (true); @@ -7587,14 +8219,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group_3_1__0" - // InternalProblem.g:2397:1: rule__Atom__Group_3_1__0 : rule__Atom__Group_3_1__0__Impl rule__Atom__Group_3_1__1 ; + // InternalProblem.g:2601:1: rule__Atom__Group_3_1__0 : rule__Atom__Group_3_1__0__Impl rule__Atom__Group_3_1__1 ; public final void rule__Atom__Group_3_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2401:1: ( rule__Atom__Group_3_1__0__Impl rule__Atom__Group_3_1__1 ) - // InternalProblem.g:2402:2: rule__Atom__Group_3_1__0__Impl rule__Atom__Group_3_1__1 + // InternalProblem.g:2605:1: ( rule__Atom__Group_3_1__0__Impl rule__Atom__Group_3_1__1 ) + // InternalProblem.g:2606:2: rule__Atom__Group_3_1__0__Impl rule__Atom__Group_3_1__1 { pushFollow(FOLLOW_5); rule__Atom__Group_3_1__0__Impl(); @@ -7625,17 +8257,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group_3_1__0__Impl" - // InternalProblem.g:2409:1: rule__Atom__Group_3_1__0__Impl : ( ',' ) ; + // InternalProblem.g:2613:1: rule__Atom__Group_3_1__0__Impl : ( ',' ) ; public final void rule__Atom__Group_3_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2413:1: ( ( ',' ) ) - // InternalProblem.g:2414:1: ( ',' ) + // InternalProblem.g:2617:1: ( ( ',' ) ) + // InternalProblem.g:2618:1: ( ',' ) { - // InternalProblem.g:2414:1: ( ',' ) - // InternalProblem.g:2415:2: ',' + // InternalProblem.g:2618:1: ( ',' ) + // InternalProblem.g:2619:2: ',' { before(grammarAccess.getAtomAccess().getCommaKeyword_3_1_0()); match(input,25,FOLLOW_2); @@ -7662,14 +8294,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group_3_1__1" - // InternalProblem.g:2424:1: rule__Atom__Group_3_1__1 : rule__Atom__Group_3_1__1__Impl ; + // InternalProblem.g:2628:1: rule__Atom__Group_3_1__1 : rule__Atom__Group_3_1__1__Impl ; public final void rule__Atom__Group_3_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2428:1: ( rule__Atom__Group_3_1__1__Impl ) - // InternalProblem.g:2429:2: rule__Atom__Group_3_1__1__Impl + // InternalProblem.g:2632:1: ( rule__Atom__Group_3_1__1__Impl ) + // InternalProblem.g:2633:2: rule__Atom__Group_3_1__1__Impl { pushFollow(FOLLOW_2); rule__Atom__Group_3_1__1__Impl(); @@ -7695,21 +8327,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group_3_1__1__Impl" - // InternalProblem.g:2435:1: rule__Atom__Group_3_1__1__Impl : ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) ) ; + // InternalProblem.g:2639:1: rule__Atom__Group_3_1__1__Impl : ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) ) ; public final void rule__Atom__Group_3_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2439:1: ( ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) ) ) - // InternalProblem.g:2440:1: ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) ) + // InternalProblem.g:2643:1: ( ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) ) ) + // InternalProblem.g:2644:1: ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) ) { - // InternalProblem.g:2440:1: ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) ) - // InternalProblem.g:2441:2: ( rule__Atom__ArgumentsAssignment_3_1_1 ) + // InternalProblem.g:2644:1: ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) ) + // InternalProblem.g:2645:2: ( rule__Atom__ArgumentsAssignment_3_1_1 ) { before(grammarAccess.getAtomAccess().getArgumentsAssignment_3_1_1()); - // InternalProblem.g:2442:2: ( rule__Atom__ArgumentsAssignment_3_1_1 ) - // InternalProblem.g:2442:3: rule__Atom__ArgumentsAssignment_3_1_1 + // InternalProblem.g:2646:2: ( rule__Atom__ArgumentsAssignment_3_1_1 ) + // InternalProblem.g:2646:3: rule__Atom__ArgumentsAssignment_3_1_1 { pushFollow(FOLLOW_2); rule__Atom__ArgumentsAssignment_3_1_1(); @@ -7742,16 +8374,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group__0" - // InternalProblem.g:2451:1: rule__Assertion__Group__0 : rule__Assertion__Group__0__Impl rule__Assertion__Group__1 ; + // InternalProblem.g:2655:1: rule__Assertion__Group__0 : rule__Assertion__Group__0__Impl rule__Assertion__Group__1 ; public final void rule__Assertion__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2455:1: ( rule__Assertion__Group__0__Impl rule__Assertion__Group__1 ) - // InternalProblem.g:2456:2: rule__Assertion__Group__0__Impl rule__Assertion__Group__1 + // InternalProblem.g:2659:1: ( rule__Assertion__Group__0__Impl rule__Assertion__Group__1 ) + // InternalProblem.g:2660:2: rule__Assertion__Group__0__Impl rule__Assertion__Group__1 { - pushFollow(FOLLOW_24); + pushFollow(FOLLOW_6); rule__Assertion__Group__0__Impl(); state._fsp--; @@ -7780,21 +8412,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group__0__Impl" - // InternalProblem.g:2463:1: rule__Assertion__Group__0__Impl : ( ( rule__Assertion__Alternatives_0 ) ) ; + // InternalProblem.g:2667:1: rule__Assertion__Group__0__Impl : ( ( rule__Assertion__Alternatives_0 ) ) ; public final void rule__Assertion__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2467:1: ( ( ( rule__Assertion__Alternatives_0 ) ) ) - // InternalProblem.g:2468:1: ( ( rule__Assertion__Alternatives_0 ) ) + // InternalProblem.g:2671:1: ( ( ( rule__Assertion__Alternatives_0 ) ) ) + // InternalProblem.g:2672:1: ( ( rule__Assertion__Alternatives_0 ) ) { - // InternalProblem.g:2468:1: ( ( rule__Assertion__Alternatives_0 ) ) - // InternalProblem.g:2469:2: ( rule__Assertion__Alternatives_0 ) + // InternalProblem.g:2672:1: ( ( rule__Assertion__Alternatives_0 ) ) + // InternalProblem.g:2673:2: ( rule__Assertion__Alternatives_0 ) { before(grammarAccess.getAssertionAccess().getAlternatives_0()); - // InternalProblem.g:2470:2: ( rule__Assertion__Alternatives_0 ) - // InternalProblem.g:2470:3: rule__Assertion__Alternatives_0 + // InternalProblem.g:2674:2: ( rule__Assertion__Alternatives_0 ) + // InternalProblem.g:2674:3: rule__Assertion__Alternatives_0 { pushFollow(FOLLOW_2); rule__Assertion__Alternatives_0(); @@ -7827,14 +8459,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group__1" - // InternalProblem.g:2478:1: rule__Assertion__Group__1 : rule__Assertion__Group__1__Impl ; + // InternalProblem.g:2682:1: rule__Assertion__Group__1 : rule__Assertion__Group__1__Impl ; public final void rule__Assertion__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2482:1: ( rule__Assertion__Group__1__Impl ) - // InternalProblem.g:2483:2: rule__Assertion__Group__1__Impl + // InternalProblem.g:2686:1: ( rule__Assertion__Group__1__Impl ) + // InternalProblem.g:2687:2: rule__Assertion__Group__1__Impl { pushFollow(FOLLOW_2); rule__Assertion__Group__1__Impl(); @@ -7860,20 +8492,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group__1__Impl" - // InternalProblem.g:2489:1: rule__Assertion__Group__1__Impl : ( '.' ) ; + // InternalProblem.g:2693:1: rule__Assertion__Group__1__Impl : ( '.' ) ; public final void rule__Assertion__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2493:1: ( ( '.' ) ) - // InternalProblem.g:2494:1: ( '.' ) + // InternalProblem.g:2697:1: ( ( '.' ) ) + // InternalProblem.g:2698:1: ( '.' ) { - // InternalProblem.g:2494:1: ( '.' ) - // InternalProblem.g:2495:2: '.' + // InternalProblem.g:2698:1: ( '.' ) + // InternalProblem.g:2699:2: '.' { before(grammarAccess.getAssertionAccess().getFullStopKeyword_1()); - match(input,21,FOLLOW_2); + match(input,12,FOLLOW_2); after(grammarAccess.getAssertionAccess().getFullStopKeyword_1()); } @@ -7897,16 +8529,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__0" - // InternalProblem.g:2505:1: rule__Assertion__Group_0_0__0 : rule__Assertion__Group_0_0__0__Impl rule__Assertion__Group_0_0__1 ; + // InternalProblem.g:2709:1: rule__Assertion__Group_0_0__0 : rule__Assertion__Group_0_0__0__Impl rule__Assertion__Group_0_0__1 ; public final void rule__Assertion__Group_0_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2509:1: ( rule__Assertion__Group_0_0__0__Impl rule__Assertion__Group_0_0__1 ) - // InternalProblem.g:2510:2: rule__Assertion__Group_0_0__0__Impl rule__Assertion__Group_0_0__1 + // InternalProblem.g:2713:1: ( rule__Assertion__Group_0_0__0__Impl rule__Assertion__Group_0_0__1 ) + // InternalProblem.g:2714:2: rule__Assertion__Group_0_0__0__Impl rule__Assertion__Group_0_0__1 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_19); rule__Assertion__Group_0_0__0__Impl(); state._fsp--; @@ -7935,21 +8567,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__0__Impl" - // InternalProblem.g:2517:1: rule__Assertion__Group_0_0__0__Impl : ( ( rule__Assertion__RelationAssignment_0_0_0 ) ) ; + // InternalProblem.g:2721:1: rule__Assertion__Group_0_0__0__Impl : ( ( rule__Assertion__RelationAssignment_0_0_0 ) ) ; public final void rule__Assertion__Group_0_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2521:1: ( ( ( rule__Assertion__RelationAssignment_0_0_0 ) ) ) - // InternalProblem.g:2522:1: ( ( rule__Assertion__RelationAssignment_0_0_0 ) ) + // InternalProblem.g:2725:1: ( ( ( rule__Assertion__RelationAssignment_0_0_0 ) ) ) + // InternalProblem.g:2726:1: ( ( rule__Assertion__RelationAssignment_0_0_0 ) ) { - // InternalProblem.g:2522:1: ( ( rule__Assertion__RelationAssignment_0_0_0 ) ) - // InternalProblem.g:2523:2: ( rule__Assertion__RelationAssignment_0_0_0 ) + // InternalProblem.g:2726:1: ( ( rule__Assertion__RelationAssignment_0_0_0 ) ) + // InternalProblem.g:2727:2: ( rule__Assertion__RelationAssignment_0_0_0 ) { before(grammarAccess.getAssertionAccess().getRelationAssignment_0_0_0()); - // InternalProblem.g:2524:2: ( rule__Assertion__RelationAssignment_0_0_0 ) - // InternalProblem.g:2524:3: rule__Assertion__RelationAssignment_0_0_0 + // InternalProblem.g:2728:2: ( rule__Assertion__RelationAssignment_0_0_0 ) + // InternalProblem.g:2728:3: rule__Assertion__RelationAssignment_0_0_0 { pushFollow(FOLLOW_2); rule__Assertion__RelationAssignment_0_0_0(); @@ -7982,16 +8614,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__1" - // InternalProblem.g:2532:1: rule__Assertion__Group_0_0__1 : rule__Assertion__Group_0_0__1__Impl rule__Assertion__Group_0_0__2 ; + // InternalProblem.g:2736:1: rule__Assertion__Group_0_0__1 : rule__Assertion__Group_0_0__1__Impl rule__Assertion__Group_0_0__2 ; public final void rule__Assertion__Group_0_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2536:1: ( rule__Assertion__Group_0_0__1__Impl rule__Assertion__Group_0_0__2 ) - // InternalProblem.g:2537:2: rule__Assertion__Group_0_0__1__Impl rule__Assertion__Group_0_0__2 + // InternalProblem.g:2740:1: ( rule__Assertion__Group_0_0__1__Impl rule__Assertion__Group_0_0__2 ) + // InternalProblem.g:2741:2: rule__Assertion__Group_0_0__1__Impl rule__Assertion__Group_0_0__2 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_26); rule__Assertion__Group_0_0__1__Impl(); state._fsp--; @@ -8020,20 +8652,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__1__Impl" - // InternalProblem.g:2544:1: rule__Assertion__Group_0_0__1__Impl : ( '(' ) ; + // InternalProblem.g:2748:1: rule__Assertion__Group_0_0__1__Impl : ( '(' ) ; public final void rule__Assertion__Group_0_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2548:1: ( ( '(' ) ) - // InternalProblem.g:2549:1: ( '(' ) + // InternalProblem.g:2752:1: ( ( '(' ) ) + // InternalProblem.g:2753:1: ( '(' ) { - // InternalProblem.g:2549:1: ( '(' ) - // InternalProblem.g:2550:2: '(' + // InternalProblem.g:2753:1: ( '(' ) + // InternalProblem.g:2754:2: '(' { before(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_0_1()); - match(input,27,FOLLOW_2); + match(input,32,FOLLOW_2); after(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_0_1()); } @@ -8057,16 +8689,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__2" - // InternalProblem.g:2559:1: rule__Assertion__Group_0_0__2 : rule__Assertion__Group_0_0__2__Impl rule__Assertion__Group_0_0__3 ; + // InternalProblem.g:2763:1: rule__Assertion__Group_0_0__2 : rule__Assertion__Group_0_0__2__Impl rule__Assertion__Group_0_0__3 ; public final void rule__Assertion__Group_0_0__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2563:1: ( rule__Assertion__Group_0_0__2__Impl rule__Assertion__Group_0_0__3 ) - // InternalProblem.g:2564:2: rule__Assertion__Group_0_0__2__Impl rule__Assertion__Group_0_0__3 + // InternalProblem.g:2767:1: ( rule__Assertion__Group_0_0__2__Impl rule__Assertion__Group_0_0__3 ) + // InternalProblem.g:2768:2: rule__Assertion__Group_0_0__2__Impl rule__Assertion__Group_0_0__3 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_26); rule__Assertion__Group_0_0__2__Impl(); state._fsp--; @@ -8095,29 +8727,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__2__Impl" - // InternalProblem.g:2571:1: rule__Assertion__Group_0_0__2__Impl : ( ( rule__Assertion__Group_0_0_2__0 )? ) ; + // InternalProblem.g:2775:1: rule__Assertion__Group_0_0__2__Impl : ( ( rule__Assertion__Group_0_0_2__0 )? ) ; public final void rule__Assertion__Group_0_0__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2575:1: ( ( ( rule__Assertion__Group_0_0_2__0 )? ) ) - // InternalProblem.g:2576:1: ( ( rule__Assertion__Group_0_0_2__0 )? ) + // InternalProblem.g:2779:1: ( ( ( rule__Assertion__Group_0_0_2__0 )? ) ) + // InternalProblem.g:2780:1: ( ( rule__Assertion__Group_0_0_2__0 )? ) { - // InternalProblem.g:2576:1: ( ( rule__Assertion__Group_0_0_2__0 )? ) - // InternalProblem.g:2577:2: ( rule__Assertion__Group_0_0_2__0 )? + // InternalProblem.g:2780:1: ( ( rule__Assertion__Group_0_0_2__0 )? ) + // InternalProblem.g:2781:2: ( rule__Assertion__Group_0_0_2__0 )? { before(grammarAccess.getAssertionAccess().getGroup_0_0_2()); - // InternalProblem.g:2578:2: ( rule__Assertion__Group_0_0_2__0 )? - int alt29=2; - int LA29_0 = input.LA(1); + // InternalProblem.g:2782:2: ( rule__Assertion__Group_0_0_2__0 )? + int alt32=2; + int LA32_0 = input.LA(1); - if ( (LA29_0==RULE_ID) ) { - alt29=1; + if ( ((LA32_0>=RULE_QUOTED_ID && LA32_0<=RULE_ID)) ) { + alt32=1; } - switch (alt29) { + switch (alt32) { case 1 : - // InternalProblem.g:2578:3: rule__Assertion__Group_0_0_2__0 + // InternalProblem.g:2782:3: rule__Assertion__Group_0_0_2__0 { pushFollow(FOLLOW_2); rule__Assertion__Group_0_0_2__0(); @@ -8153,16 +8785,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__3" - // InternalProblem.g:2586:1: rule__Assertion__Group_0_0__3 : rule__Assertion__Group_0_0__3__Impl rule__Assertion__Group_0_0__4 ; + // InternalProblem.g:2790:1: rule__Assertion__Group_0_0__3 : rule__Assertion__Group_0_0__3__Impl rule__Assertion__Group_0_0__4 ; public final void rule__Assertion__Group_0_0__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2590:1: ( rule__Assertion__Group_0_0__3__Impl rule__Assertion__Group_0_0__4 ) - // InternalProblem.g:2591:2: rule__Assertion__Group_0_0__3__Impl rule__Assertion__Group_0_0__4 + // InternalProblem.g:2794:1: ( rule__Assertion__Group_0_0__3__Impl rule__Assertion__Group_0_0__4 ) + // InternalProblem.g:2795:2: rule__Assertion__Group_0_0__3__Impl rule__Assertion__Group_0_0__4 { - pushFollow(FOLLOW_25); + pushFollow(FOLLOW_27); rule__Assertion__Group_0_0__3__Impl(); state._fsp--; @@ -8191,20 +8823,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__3__Impl" - // InternalProblem.g:2598:1: rule__Assertion__Group_0_0__3__Impl : ( ')' ) ; + // InternalProblem.g:2802:1: rule__Assertion__Group_0_0__3__Impl : ( ')' ) ; public final void rule__Assertion__Group_0_0__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2602:1: ( ( ')' ) ) - // InternalProblem.g:2603:1: ( ')' ) + // InternalProblem.g:2806:1: ( ( ')' ) ) + // InternalProblem.g:2807:1: ( ')' ) { - // InternalProblem.g:2603:1: ( ')' ) - // InternalProblem.g:2604:2: ')' + // InternalProblem.g:2807:1: ( ')' ) + // InternalProblem.g:2808:2: ')' { before(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_0_3()); - match(input,28,FOLLOW_2); + match(input,33,FOLLOW_2); after(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_0_3()); } @@ -8228,16 +8860,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__4" - // InternalProblem.g:2613:1: rule__Assertion__Group_0_0__4 : rule__Assertion__Group_0_0__4__Impl rule__Assertion__Group_0_0__5 ; + // InternalProblem.g:2817:1: rule__Assertion__Group_0_0__4 : rule__Assertion__Group_0_0__4__Impl rule__Assertion__Group_0_0__5 ; public final void rule__Assertion__Group_0_0__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2617:1: ( rule__Assertion__Group_0_0__4__Impl rule__Assertion__Group_0_0__5 ) - // InternalProblem.g:2618:2: rule__Assertion__Group_0_0__4__Impl rule__Assertion__Group_0_0__5 + // InternalProblem.g:2821:1: ( rule__Assertion__Group_0_0__4__Impl rule__Assertion__Group_0_0__5 ) + // InternalProblem.g:2822:2: rule__Assertion__Group_0_0__4__Impl rule__Assertion__Group_0_0__5 { - pushFollow(FOLLOW_26); + pushFollow(FOLLOW_28); rule__Assertion__Group_0_0__4__Impl(); state._fsp--; @@ -8266,20 +8898,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__4__Impl" - // InternalProblem.g:2625:1: rule__Assertion__Group_0_0__4__Impl : ( ':' ) ; + // InternalProblem.g:2829:1: rule__Assertion__Group_0_0__4__Impl : ( ':' ) ; public final void rule__Assertion__Group_0_0__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2629:1: ( ( ':' ) ) - // InternalProblem.g:2630:1: ( ':' ) + // InternalProblem.g:2833:1: ( ( ':' ) ) + // InternalProblem.g:2834:1: ( ':' ) { - // InternalProblem.g:2630:1: ( ':' ) - // InternalProblem.g:2631:2: ':' + // InternalProblem.g:2834:1: ( ':' ) + // InternalProblem.g:2835:2: ':' { before(grammarAccess.getAssertionAccess().getColonKeyword_0_0_4()); - match(input,31,FOLLOW_2); + match(input,35,FOLLOW_2); after(grammarAccess.getAssertionAccess().getColonKeyword_0_0_4()); } @@ -8303,14 +8935,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__5" - // InternalProblem.g:2640:1: rule__Assertion__Group_0_0__5 : rule__Assertion__Group_0_0__5__Impl ; + // InternalProblem.g:2844:1: rule__Assertion__Group_0_0__5 : rule__Assertion__Group_0_0__5__Impl ; public final void rule__Assertion__Group_0_0__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2644:1: ( rule__Assertion__Group_0_0__5__Impl ) - // InternalProblem.g:2645:2: rule__Assertion__Group_0_0__5__Impl + // InternalProblem.g:2848:1: ( rule__Assertion__Group_0_0__5__Impl ) + // InternalProblem.g:2849:2: rule__Assertion__Group_0_0__5__Impl { pushFollow(FOLLOW_2); rule__Assertion__Group_0_0__5__Impl(); @@ -8336,21 +8968,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__5__Impl" - // InternalProblem.g:2651:1: rule__Assertion__Group_0_0__5__Impl : ( ( rule__Assertion__ValueAssignment_0_0_5 ) ) ; + // InternalProblem.g:2855:1: rule__Assertion__Group_0_0__5__Impl : ( ( rule__Assertion__ValueAssignment_0_0_5 ) ) ; public final void rule__Assertion__Group_0_0__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2655:1: ( ( ( rule__Assertion__ValueAssignment_0_0_5 ) ) ) - // InternalProblem.g:2656:1: ( ( rule__Assertion__ValueAssignment_0_0_5 ) ) + // InternalProblem.g:2859:1: ( ( ( rule__Assertion__ValueAssignment_0_0_5 ) ) ) + // InternalProblem.g:2860:1: ( ( rule__Assertion__ValueAssignment_0_0_5 ) ) { - // InternalProblem.g:2656:1: ( ( rule__Assertion__ValueAssignment_0_0_5 ) ) - // InternalProblem.g:2657:2: ( rule__Assertion__ValueAssignment_0_0_5 ) + // InternalProblem.g:2860:1: ( ( rule__Assertion__ValueAssignment_0_0_5 ) ) + // InternalProblem.g:2861:2: ( rule__Assertion__ValueAssignment_0_0_5 ) { before(grammarAccess.getAssertionAccess().getValueAssignment_0_0_5()); - // InternalProblem.g:2658:2: ( rule__Assertion__ValueAssignment_0_0_5 ) - // InternalProblem.g:2658:3: rule__Assertion__ValueAssignment_0_0_5 + // InternalProblem.g:2862:2: ( rule__Assertion__ValueAssignment_0_0_5 ) + // InternalProblem.g:2862:3: rule__Assertion__ValueAssignment_0_0_5 { pushFollow(FOLLOW_2); rule__Assertion__ValueAssignment_0_0_5(); @@ -8383,14 +9015,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0_2__0" - // InternalProblem.g:2667:1: rule__Assertion__Group_0_0_2__0 : rule__Assertion__Group_0_0_2__0__Impl rule__Assertion__Group_0_0_2__1 ; + // InternalProblem.g:2871:1: rule__Assertion__Group_0_0_2__0 : rule__Assertion__Group_0_0_2__0__Impl rule__Assertion__Group_0_0_2__1 ; public final void rule__Assertion__Group_0_0_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2671:1: ( rule__Assertion__Group_0_0_2__0__Impl rule__Assertion__Group_0_0_2__1 ) - // InternalProblem.g:2672:2: rule__Assertion__Group_0_0_2__0__Impl rule__Assertion__Group_0_0_2__1 + // InternalProblem.g:2875:1: ( rule__Assertion__Group_0_0_2__0__Impl rule__Assertion__Group_0_0_2__1 ) + // InternalProblem.g:2876:2: rule__Assertion__Group_0_0_2__0__Impl rule__Assertion__Group_0_0_2__1 { pushFollow(FOLLOW_10); rule__Assertion__Group_0_0_2__0__Impl(); @@ -8421,21 +9053,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0_2__0__Impl" - // InternalProblem.g:2679:1: rule__Assertion__Group_0_0_2__0__Impl : ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) ) ; + // InternalProblem.g:2883:1: rule__Assertion__Group_0_0_2__0__Impl : ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) ) ; public final void rule__Assertion__Group_0_0_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2683:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) ) ) - // InternalProblem.g:2684:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) ) + // InternalProblem.g:2887:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) ) ) + // InternalProblem.g:2888:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) ) { - // InternalProblem.g:2684:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) ) - // InternalProblem.g:2685:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) + // InternalProblem.g:2888:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) ) + // InternalProblem.g:2889:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) { before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_0()); - // InternalProblem.g:2686:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) - // InternalProblem.g:2686:3: rule__Assertion__ArgumentsAssignment_0_0_2_0 + // InternalProblem.g:2890:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) + // InternalProblem.g:2890:3: rule__Assertion__ArgumentsAssignment_0_0_2_0 { pushFollow(FOLLOW_2); rule__Assertion__ArgumentsAssignment_0_0_2_0(); @@ -8468,14 +9100,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0_2__1" - // InternalProblem.g:2694:1: rule__Assertion__Group_0_0_2__1 : rule__Assertion__Group_0_0_2__1__Impl ; + // InternalProblem.g:2898:1: rule__Assertion__Group_0_0_2__1 : rule__Assertion__Group_0_0_2__1__Impl ; public final void rule__Assertion__Group_0_0_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2698:1: ( rule__Assertion__Group_0_0_2__1__Impl ) - // InternalProblem.g:2699:2: rule__Assertion__Group_0_0_2__1__Impl + // InternalProblem.g:2902:1: ( rule__Assertion__Group_0_0_2__1__Impl ) + // InternalProblem.g:2903:2: rule__Assertion__Group_0_0_2__1__Impl { pushFollow(FOLLOW_2); rule__Assertion__Group_0_0_2__1__Impl(); @@ -8501,35 +9133,35 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0_2__1__Impl" - // InternalProblem.g:2705:1: rule__Assertion__Group_0_0_2__1__Impl : ( ( rule__Assertion__Group_0_0_2_1__0 )* ) ; + // InternalProblem.g:2909:1: rule__Assertion__Group_0_0_2__1__Impl : ( ( rule__Assertion__Group_0_0_2_1__0 )* ) ; public final void rule__Assertion__Group_0_0_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2709:1: ( ( ( rule__Assertion__Group_0_0_2_1__0 )* ) ) - // InternalProblem.g:2710:1: ( ( rule__Assertion__Group_0_0_2_1__0 )* ) + // InternalProblem.g:2913:1: ( ( ( rule__Assertion__Group_0_0_2_1__0 )* ) ) + // InternalProblem.g:2914:1: ( ( rule__Assertion__Group_0_0_2_1__0 )* ) { - // InternalProblem.g:2710:1: ( ( rule__Assertion__Group_0_0_2_1__0 )* ) - // InternalProblem.g:2711:2: ( rule__Assertion__Group_0_0_2_1__0 )* + // InternalProblem.g:2914:1: ( ( rule__Assertion__Group_0_0_2_1__0 )* ) + // InternalProblem.g:2915:2: ( rule__Assertion__Group_0_0_2_1__0 )* { before(grammarAccess.getAssertionAccess().getGroup_0_0_2_1()); - // InternalProblem.g:2712:2: ( rule__Assertion__Group_0_0_2_1__0 )* - loop30: + // InternalProblem.g:2916:2: ( rule__Assertion__Group_0_0_2_1__0 )* + loop33: do { - int alt30=2; - int LA30_0 = input.LA(1); + int alt33=2; + int LA33_0 = input.LA(1); - if ( (LA30_0==25) ) { - alt30=1; + if ( (LA33_0==25) ) { + alt33=1; } - switch (alt30) { + switch (alt33) { case 1 : - // InternalProblem.g:2712:3: rule__Assertion__Group_0_0_2_1__0 + // InternalProblem.g:2916:3: rule__Assertion__Group_0_0_2_1__0 { - pushFollow(FOLLOW_7); + pushFollow(FOLLOW_11); rule__Assertion__Group_0_0_2_1__0(); state._fsp--; @@ -8539,7 +9171,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop30; + break loop33; } } while (true); @@ -8566,16 +9198,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0_2_1__0" - // InternalProblem.g:2721:1: rule__Assertion__Group_0_0_2_1__0 : rule__Assertion__Group_0_0_2_1__0__Impl rule__Assertion__Group_0_0_2_1__1 ; + // InternalProblem.g:2925:1: rule__Assertion__Group_0_0_2_1__0 : rule__Assertion__Group_0_0_2_1__0__Impl rule__Assertion__Group_0_0_2_1__1 ; public final void rule__Assertion__Group_0_0_2_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2725:1: ( rule__Assertion__Group_0_0_2_1__0__Impl rule__Assertion__Group_0_0_2_1__1 ) - // InternalProblem.g:2726:2: rule__Assertion__Group_0_0_2_1__0__Impl rule__Assertion__Group_0_0_2_1__1 + // InternalProblem.g:2929:1: ( rule__Assertion__Group_0_0_2_1__0__Impl rule__Assertion__Group_0_0_2_1__1 ) + // InternalProblem.g:2930:2: rule__Assertion__Group_0_0_2_1__0__Impl rule__Assertion__Group_0_0_2_1__1 { - pushFollow(FOLLOW_5); + pushFollow(FOLLOW_9); rule__Assertion__Group_0_0_2_1__0__Impl(); state._fsp--; @@ -8604,17 +9236,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0_2_1__0__Impl" - // InternalProblem.g:2733:1: rule__Assertion__Group_0_0_2_1__0__Impl : ( ',' ) ; + // InternalProblem.g:2937:1: rule__Assertion__Group_0_0_2_1__0__Impl : ( ',' ) ; public final void rule__Assertion__Group_0_0_2_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2737:1: ( ( ',' ) ) - // InternalProblem.g:2738:1: ( ',' ) + // InternalProblem.g:2941:1: ( ( ',' ) ) + // InternalProblem.g:2942:1: ( ',' ) { - // InternalProblem.g:2738:1: ( ',' ) - // InternalProblem.g:2739:2: ',' + // InternalProblem.g:2942:1: ( ',' ) + // InternalProblem.g:2943:2: ',' { before(grammarAccess.getAssertionAccess().getCommaKeyword_0_0_2_1_0()); match(input,25,FOLLOW_2); @@ -8641,14 +9273,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0_2_1__1" - // InternalProblem.g:2748:1: rule__Assertion__Group_0_0_2_1__1 : rule__Assertion__Group_0_0_2_1__1__Impl ; + // InternalProblem.g:2952:1: rule__Assertion__Group_0_0_2_1__1 : rule__Assertion__Group_0_0_2_1__1__Impl ; public final void rule__Assertion__Group_0_0_2_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2752:1: ( rule__Assertion__Group_0_0_2_1__1__Impl ) - // InternalProblem.g:2753:2: rule__Assertion__Group_0_0_2_1__1__Impl + // InternalProblem.g:2956:1: ( rule__Assertion__Group_0_0_2_1__1__Impl ) + // InternalProblem.g:2957:2: rule__Assertion__Group_0_0_2_1__1__Impl { pushFollow(FOLLOW_2); rule__Assertion__Group_0_0_2_1__1__Impl(); @@ -8674,21 +9306,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0_2_1__1__Impl" - // InternalProblem.g:2759:1: rule__Assertion__Group_0_0_2_1__1__Impl : ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) ) ; + // InternalProblem.g:2963:1: rule__Assertion__Group_0_0_2_1__1__Impl : ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) ) ; public final void rule__Assertion__Group_0_0_2_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2763:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) ) ) - // InternalProblem.g:2764:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) ) + // InternalProblem.g:2967:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) ) ) + // InternalProblem.g:2968:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) ) { - // InternalProblem.g:2764:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) ) - // InternalProblem.g:2765:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) + // InternalProblem.g:2968:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) ) + // InternalProblem.g:2969:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) { before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_1_1()); - // InternalProblem.g:2766:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) - // InternalProblem.g:2766:3: rule__Assertion__ArgumentsAssignment_0_0_2_1_1 + // InternalProblem.g:2970:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) + // InternalProblem.g:2970:3: rule__Assertion__ArgumentsAssignment_0_0_2_1_1 { pushFollow(FOLLOW_2); rule__Assertion__ArgumentsAssignment_0_0_2_1_1(); @@ -8721,16 +9353,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__0" - // InternalProblem.g:2775:1: rule__Assertion__Group_0_1__0 : rule__Assertion__Group_0_1__0__Impl rule__Assertion__Group_0_1__1 ; + // InternalProblem.g:2979:1: rule__Assertion__Group_0_1__0 : rule__Assertion__Group_0_1__0__Impl rule__Assertion__Group_0_1__1 ; public final void rule__Assertion__Group_0_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2779:1: ( rule__Assertion__Group_0_1__0__Impl rule__Assertion__Group_0_1__1 ) - // InternalProblem.g:2780:2: rule__Assertion__Group_0_1__0__Impl rule__Assertion__Group_0_1__1 + // InternalProblem.g:2983:1: ( rule__Assertion__Group_0_1__0__Impl rule__Assertion__Group_0_1__1 ) + // InternalProblem.g:2984:2: rule__Assertion__Group_0_1__0__Impl rule__Assertion__Group_0_1__1 { - pushFollow(FOLLOW_27); + pushFollow(FOLLOW_29); rule__Assertion__Group_0_1__0__Impl(); state._fsp--; @@ -8759,29 +9391,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__0__Impl" - // InternalProblem.g:2787:1: rule__Assertion__Group_0_1__0__Impl : ( ( rule__Assertion__ValueAssignment_0_1_0 )? ) ; + // InternalProblem.g:2991:1: rule__Assertion__Group_0_1__0__Impl : ( ( rule__Assertion__ValueAssignment_0_1_0 )? ) ; public final void rule__Assertion__Group_0_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2791:1: ( ( ( rule__Assertion__ValueAssignment_0_1_0 )? ) ) - // InternalProblem.g:2792:1: ( ( rule__Assertion__ValueAssignment_0_1_0 )? ) + // InternalProblem.g:2995:1: ( ( ( rule__Assertion__ValueAssignment_0_1_0 )? ) ) + // InternalProblem.g:2996:1: ( ( rule__Assertion__ValueAssignment_0_1_0 )? ) { - // InternalProblem.g:2792:1: ( ( rule__Assertion__ValueAssignment_0_1_0 )? ) - // InternalProblem.g:2793:2: ( rule__Assertion__ValueAssignment_0_1_0 )? + // InternalProblem.g:2996:1: ( ( rule__Assertion__ValueAssignment_0_1_0 )? ) + // InternalProblem.g:2997:2: ( rule__Assertion__ValueAssignment_0_1_0 )? { before(grammarAccess.getAssertionAccess().getValueAssignment_0_1_0()); - // InternalProblem.g:2794:2: ( rule__Assertion__ValueAssignment_0_1_0 )? - int alt31=2; - int LA31_0 = input.LA(1); + // InternalProblem.g:2998:2: ( rule__Assertion__ValueAssignment_0_1_0 )? + int alt34=2; + int LA34_0 = input.LA(1); - if ( ((LA31_0>=18 && LA31_0<=19)) ) { - alt31=1; + if ( ((LA34_0>=20 && LA34_0<=21)) ) { + alt34=1; } - switch (alt31) { + switch (alt34) { case 1 : - // InternalProblem.g:2794:3: rule__Assertion__ValueAssignment_0_1_0 + // InternalProblem.g:2998:3: rule__Assertion__ValueAssignment_0_1_0 { pushFollow(FOLLOW_2); rule__Assertion__ValueAssignment_0_1_0(); @@ -8817,16 +9449,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__1" - // InternalProblem.g:2802:1: rule__Assertion__Group_0_1__1 : rule__Assertion__Group_0_1__1__Impl rule__Assertion__Group_0_1__2 ; + // InternalProblem.g:3006:1: rule__Assertion__Group_0_1__1 : rule__Assertion__Group_0_1__1__Impl rule__Assertion__Group_0_1__2 ; public final void rule__Assertion__Group_0_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2806:1: ( rule__Assertion__Group_0_1__1__Impl rule__Assertion__Group_0_1__2 ) - // InternalProblem.g:2807:2: rule__Assertion__Group_0_1__1__Impl rule__Assertion__Group_0_1__2 + // InternalProblem.g:3010:1: ( rule__Assertion__Group_0_1__1__Impl rule__Assertion__Group_0_1__2 ) + // InternalProblem.g:3011:2: rule__Assertion__Group_0_1__1__Impl rule__Assertion__Group_0_1__2 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_19); rule__Assertion__Group_0_1__1__Impl(); state._fsp--; @@ -8855,21 +9487,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__1__Impl" - // InternalProblem.g:2814:1: rule__Assertion__Group_0_1__1__Impl : ( ( rule__Assertion__RelationAssignment_0_1_1 ) ) ; + // InternalProblem.g:3018:1: rule__Assertion__Group_0_1__1__Impl : ( ( rule__Assertion__RelationAssignment_0_1_1 ) ) ; public final void rule__Assertion__Group_0_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2818:1: ( ( ( rule__Assertion__RelationAssignment_0_1_1 ) ) ) - // InternalProblem.g:2819:1: ( ( rule__Assertion__RelationAssignment_0_1_1 ) ) + // InternalProblem.g:3022:1: ( ( ( rule__Assertion__RelationAssignment_0_1_1 ) ) ) + // InternalProblem.g:3023:1: ( ( rule__Assertion__RelationAssignment_0_1_1 ) ) { - // InternalProblem.g:2819:1: ( ( rule__Assertion__RelationAssignment_0_1_1 ) ) - // InternalProblem.g:2820:2: ( rule__Assertion__RelationAssignment_0_1_1 ) + // InternalProblem.g:3023:1: ( ( rule__Assertion__RelationAssignment_0_1_1 ) ) + // InternalProblem.g:3024:2: ( rule__Assertion__RelationAssignment_0_1_1 ) { before(grammarAccess.getAssertionAccess().getRelationAssignment_0_1_1()); - // InternalProblem.g:2821:2: ( rule__Assertion__RelationAssignment_0_1_1 ) - // InternalProblem.g:2821:3: rule__Assertion__RelationAssignment_0_1_1 + // InternalProblem.g:3025:2: ( rule__Assertion__RelationAssignment_0_1_1 ) + // InternalProblem.g:3025:3: rule__Assertion__RelationAssignment_0_1_1 { pushFollow(FOLLOW_2); rule__Assertion__RelationAssignment_0_1_1(); @@ -8902,16 +9534,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__2" - // InternalProblem.g:2829:1: rule__Assertion__Group_0_1__2 : rule__Assertion__Group_0_1__2__Impl rule__Assertion__Group_0_1__3 ; + // InternalProblem.g:3033:1: rule__Assertion__Group_0_1__2 : rule__Assertion__Group_0_1__2__Impl rule__Assertion__Group_0_1__3 ; public final void rule__Assertion__Group_0_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2833:1: ( rule__Assertion__Group_0_1__2__Impl rule__Assertion__Group_0_1__3 ) - // InternalProblem.g:2834:2: rule__Assertion__Group_0_1__2__Impl rule__Assertion__Group_0_1__3 + // InternalProblem.g:3037:1: ( rule__Assertion__Group_0_1__2__Impl rule__Assertion__Group_0_1__3 ) + // InternalProblem.g:3038:2: rule__Assertion__Group_0_1__2__Impl rule__Assertion__Group_0_1__3 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_26); rule__Assertion__Group_0_1__2__Impl(); state._fsp--; @@ -8940,20 +9572,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__2__Impl" - // InternalProblem.g:2841:1: rule__Assertion__Group_0_1__2__Impl : ( '(' ) ; + // InternalProblem.g:3045:1: rule__Assertion__Group_0_1__2__Impl : ( '(' ) ; public final void rule__Assertion__Group_0_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2845:1: ( ( '(' ) ) - // InternalProblem.g:2846:1: ( '(' ) + // InternalProblem.g:3049:1: ( ( '(' ) ) + // InternalProblem.g:3050:1: ( '(' ) { - // InternalProblem.g:2846:1: ( '(' ) - // InternalProblem.g:2847:2: '(' + // InternalProblem.g:3050:1: ( '(' ) + // InternalProblem.g:3051:2: '(' { before(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_1_2()); - match(input,27,FOLLOW_2); + match(input,32,FOLLOW_2); after(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_1_2()); } @@ -8977,16 +9609,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__3" - // InternalProblem.g:2856:1: rule__Assertion__Group_0_1__3 : rule__Assertion__Group_0_1__3__Impl rule__Assertion__Group_0_1__4 ; + // InternalProblem.g:3060:1: rule__Assertion__Group_0_1__3 : rule__Assertion__Group_0_1__3__Impl rule__Assertion__Group_0_1__4 ; public final void rule__Assertion__Group_0_1__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2860:1: ( rule__Assertion__Group_0_1__3__Impl rule__Assertion__Group_0_1__4 ) - // InternalProblem.g:2861:2: rule__Assertion__Group_0_1__3__Impl rule__Assertion__Group_0_1__4 + // InternalProblem.g:3064:1: ( rule__Assertion__Group_0_1__3__Impl rule__Assertion__Group_0_1__4 ) + // InternalProblem.g:3065:2: rule__Assertion__Group_0_1__3__Impl rule__Assertion__Group_0_1__4 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_26); rule__Assertion__Group_0_1__3__Impl(); state._fsp--; @@ -9015,29 +9647,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__3__Impl" - // InternalProblem.g:2868:1: rule__Assertion__Group_0_1__3__Impl : ( ( rule__Assertion__Group_0_1_3__0 )? ) ; + // InternalProblem.g:3072:1: rule__Assertion__Group_0_1__3__Impl : ( ( rule__Assertion__Group_0_1_3__0 )? ) ; public final void rule__Assertion__Group_0_1__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2872:1: ( ( ( rule__Assertion__Group_0_1_3__0 )? ) ) - // InternalProblem.g:2873:1: ( ( rule__Assertion__Group_0_1_3__0 )? ) + // InternalProblem.g:3076:1: ( ( ( rule__Assertion__Group_0_1_3__0 )? ) ) + // InternalProblem.g:3077:1: ( ( rule__Assertion__Group_0_1_3__0 )? ) { - // InternalProblem.g:2873:1: ( ( rule__Assertion__Group_0_1_3__0 )? ) - // InternalProblem.g:2874:2: ( rule__Assertion__Group_0_1_3__0 )? + // InternalProblem.g:3077:1: ( ( rule__Assertion__Group_0_1_3__0 )? ) + // InternalProblem.g:3078:2: ( rule__Assertion__Group_0_1_3__0 )? { before(grammarAccess.getAssertionAccess().getGroup_0_1_3()); - // InternalProblem.g:2875:2: ( rule__Assertion__Group_0_1_3__0 )? - int alt32=2; - int LA32_0 = input.LA(1); + // InternalProblem.g:3079:2: ( rule__Assertion__Group_0_1_3__0 )? + int alt35=2; + int LA35_0 = input.LA(1); - if ( (LA32_0==RULE_ID) ) { - alt32=1; + if ( ((LA35_0>=RULE_QUOTED_ID && LA35_0<=RULE_ID)) ) { + alt35=1; } - switch (alt32) { + switch (alt35) { case 1 : - // InternalProblem.g:2875:3: rule__Assertion__Group_0_1_3__0 + // InternalProblem.g:3079:3: rule__Assertion__Group_0_1_3__0 { pushFollow(FOLLOW_2); rule__Assertion__Group_0_1_3__0(); @@ -9073,14 +9705,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__4" - // InternalProblem.g:2883:1: rule__Assertion__Group_0_1__4 : rule__Assertion__Group_0_1__4__Impl ; + // InternalProblem.g:3087:1: rule__Assertion__Group_0_1__4 : rule__Assertion__Group_0_1__4__Impl ; public final void rule__Assertion__Group_0_1__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2887:1: ( rule__Assertion__Group_0_1__4__Impl ) - // InternalProblem.g:2888:2: rule__Assertion__Group_0_1__4__Impl + // InternalProblem.g:3091:1: ( rule__Assertion__Group_0_1__4__Impl ) + // InternalProblem.g:3092:2: rule__Assertion__Group_0_1__4__Impl { pushFollow(FOLLOW_2); rule__Assertion__Group_0_1__4__Impl(); @@ -9106,20 +9738,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__4__Impl" - // InternalProblem.g:2894:1: rule__Assertion__Group_0_1__4__Impl : ( ')' ) ; + // InternalProblem.g:3098:1: rule__Assertion__Group_0_1__4__Impl : ( ')' ) ; public final void rule__Assertion__Group_0_1__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2898:1: ( ( ')' ) ) - // InternalProblem.g:2899:1: ( ')' ) + // InternalProblem.g:3102:1: ( ( ')' ) ) + // InternalProblem.g:3103:1: ( ')' ) { - // InternalProblem.g:2899:1: ( ')' ) - // InternalProblem.g:2900:2: ')' + // InternalProblem.g:3103:1: ( ')' ) + // InternalProblem.g:3104:2: ')' { before(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_1_4()); - match(input,28,FOLLOW_2); + match(input,33,FOLLOW_2); after(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_1_4()); } @@ -9143,14 +9775,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1_3__0" - // InternalProblem.g:2910:1: rule__Assertion__Group_0_1_3__0 : rule__Assertion__Group_0_1_3__0__Impl rule__Assertion__Group_0_1_3__1 ; + // InternalProblem.g:3114:1: rule__Assertion__Group_0_1_3__0 : rule__Assertion__Group_0_1_3__0__Impl rule__Assertion__Group_0_1_3__1 ; public final void rule__Assertion__Group_0_1_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2914:1: ( rule__Assertion__Group_0_1_3__0__Impl rule__Assertion__Group_0_1_3__1 ) - // InternalProblem.g:2915:2: rule__Assertion__Group_0_1_3__0__Impl rule__Assertion__Group_0_1_3__1 + // InternalProblem.g:3118:1: ( rule__Assertion__Group_0_1_3__0__Impl rule__Assertion__Group_0_1_3__1 ) + // InternalProblem.g:3119:2: rule__Assertion__Group_0_1_3__0__Impl rule__Assertion__Group_0_1_3__1 { pushFollow(FOLLOW_10); rule__Assertion__Group_0_1_3__0__Impl(); @@ -9181,21 +9813,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1_3__0__Impl" - // InternalProblem.g:2922:1: rule__Assertion__Group_0_1_3__0__Impl : ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) ) ; + // InternalProblem.g:3126:1: rule__Assertion__Group_0_1_3__0__Impl : ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) ) ; public final void rule__Assertion__Group_0_1_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2926:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) ) ) - // InternalProblem.g:2927:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) ) + // InternalProblem.g:3130:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) ) ) + // InternalProblem.g:3131:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) ) { - // InternalProblem.g:2927:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) ) - // InternalProblem.g:2928:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) + // InternalProblem.g:3131:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) ) + // InternalProblem.g:3132:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) { before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_0()); - // InternalProblem.g:2929:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) - // InternalProblem.g:2929:3: rule__Assertion__ArgumentsAssignment_0_1_3_0 + // InternalProblem.g:3133:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) + // InternalProblem.g:3133:3: rule__Assertion__ArgumentsAssignment_0_1_3_0 { pushFollow(FOLLOW_2); rule__Assertion__ArgumentsAssignment_0_1_3_0(); @@ -9228,14 +9860,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1_3__1" - // InternalProblem.g:2937:1: rule__Assertion__Group_0_1_3__1 : rule__Assertion__Group_0_1_3__1__Impl ; + // InternalProblem.g:3141:1: rule__Assertion__Group_0_1_3__1 : rule__Assertion__Group_0_1_3__1__Impl ; public final void rule__Assertion__Group_0_1_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2941:1: ( rule__Assertion__Group_0_1_3__1__Impl ) - // InternalProblem.g:2942:2: rule__Assertion__Group_0_1_3__1__Impl + // InternalProblem.g:3145:1: ( rule__Assertion__Group_0_1_3__1__Impl ) + // InternalProblem.g:3146:2: rule__Assertion__Group_0_1_3__1__Impl { pushFollow(FOLLOW_2); rule__Assertion__Group_0_1_3__1__Impl(); @@ -9261,35 +9893,35 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1_3__1__Impl" - // InternalProblem.g:2948:1: rule__Assertion__Group_0_1_3__1__Impl : ( ( rule__Assertion__Group_0_1_3_1__0 )* ) ; + // InternalProblem.g:3152:1: rule__Assertion__Group_0_1_3__1__Impl : ( ( rule__Assertion__Group_0_1_3_1__0 )* ) ; public final void rule__Assertion__Group_0_1_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2952:1: ( ( ( rule__Assertion__Group_0_1_3_1__0 )* ) ) - // InternalProblem.g:2953:1: ( ( rule__Assertion__Group_0_1_3_1__0 )* ) + // InternalProblem.g:3156:1: ( ( ( rule__Assertion__Group_0_1_3_1__0 )* ) ) + // InternalProblem.g:3157:1: ( ( rule__Assertion__Group_0_1_3_1__0 )* ) { - // InternalProblem.g:2953:1: ( ( rule__Assertion__Group_0_1_3_1__0 )* ) - // InternalProblem.g:2954:2: ( rule__Assertion__Group_0_1_3_1__0 )* + // InternalProblem.g:3157:1: ( ( rule__Assertion__Group_0_1_3_1__0 )* ) + // InternalProblem.g:3158:2: ( rule__Assertion__Group_0_1_3_1__0 )* { before(grammarAccess.getAssertionAccess().getGroup_0_1_3_1()); - // InternalProblem.g:2955:2: ( rule__Assertion__Group_0_1_3_1__0 )* - loop33: + // InternalProblem.g:3159:2: ( rule__Assertion__Group_0_1_3_1__0 )* + loop36: do { - int alt33=2; - int LA33_0 = input.LA(1); + int alt36=2; + int LA36_0 = input.LA(1); - if ( (LA33_0==25) ) { - alt33=1; + if ( (LA36_0==25) ) { + alt36=1; } - switch (alt33) { + switch (alt36) { case 1 : - // InternalProblem.g:2955:3: rule__Assertion__Group_0_1_3_1__0 + // InternalProblem.g:3159:3: rule__Assertion__Group_0_1_3_1__0 { - pushFollow(FOLLOW_7); + pushFollow(FOLLOW_11); rule__Assertion__Group_0_1_3_1__0(); state._fsp--; @@ -9299,7 +9931,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop33; + break loop36; } } while (true); @@ -9326,16 +9958,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1_3_1__0" - // InternalProblem.g:2964:1: rule__Assertion__Group_0_1_3_1__0 : rule__Assertion__Group_0_1_3_1__0__Impl rule__Assertion__Group_0_1_3_1__1 ; + // InternalProblem.g:3168:1: rule__Assertion__Group_0_1_3_1__0 : rule__Assertion__Group_0_1_3_1__0__Impl rule__Assertion__Group_0_1_3_1__1 ; public final void rule__Assertion__Group_0_1_3_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2968:1: ( rule__Assertion__Group_0_1_3_1__0__Impl rule__Assertion__Group_0_1_3_1__1 ) - // InternalProblem.g:2969:2: rule__Assertion__Group_0_1_3_1__0__Impl rule__Assertion__Group_0_1_3_1__1 + // InternalProblem.g:3172:1: ( rule__Assertion__Group_0_1_3_1__0__Impl rule__Assertion__Group_0_1_3_1__1 ) + // InternalProblem.g:3173:2: rule__Assertion__Group_0_1_3_1__0__Impl rule__Assertion__Group_0_1_3_1__1 { - pushFollow(FOLLOW_5); + pushFollow(FOLLOW_9); rule__Assertion__Group_0_1_3_1__0__Impl(); state._fsp--; @@ -9364,17 +9996,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1_3_1__0__Impl" - // InternalProblem.g:2976:1: rule__Assertion__Group_0_1_3_1__0__Impl : ( ',' ) ; + // InternalProblem.g:3180:1: rule__Assertion__Group_0_1_3_1__0__Impl : ( ',' ) ; public final void rule__Assertion__Group_0_1_3_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2980:1: ( ( ',' ) ) - // InternalProblem.g:2981:1: ( ',' ) + // InternalProblem.g:3184:1: ( ( ',' ) ) + // InternalProblem.g:3185:1: ( ',' ) { - // InternalProblem.g:2981:1: ( ',' ) - // InternalProblem.g:2982:2: ',' + // InternalProblem.g:3185:1: ( ',' ) + // InternalProblem.g:3186:2: ',' { before(grammarAccess.getAssertionAccess().getCommaKeyword_0_1_3_1_0()); match(input,25,FOLLOW_2); @@ -9401,14 +10033,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1_3_1__1" - // InternalProblem.g:2991:1: rule__Assertion__Group_0_1_3_1__1 : rule__Assertion__Group_0_1_3_1__1__Impl ; + // InternalProblem.g:3195:1: rule__Assertion__Group_0_1_3_1__1 : rule__Assertion__Group_0_1_3_1__1__Impl ; public final void rule__Assertion__Group_0_1_3_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2995:1: ( rule__Assertion__Group_0_1_3_1__1__Impl ) - // InternalProblem.g:2996:2: rule__Assertion__Group_0_1_3_1__1__Impl + // InternalProblem.g:3199:1: ( rule__Assertion__Group_0_1_3_1__1__Impl ) + // InternalProblem.g:3200:2: rule__Assertion__Group_0_1_3_1__1__Impl { pushFollow(FOLLOW_2); rule__Assertion__Group_0_1_3_1__1__Impl(); @@ -9434,21 +10066,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1_3_1__1__Impl" - // InternalProblem.g:3002:1: rule__Assertion__Group_0_1_3_1__1__Impl : ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) ) ; + // InternalProblem.g:3206:1: rule__Assertion__Group_0_1_3_1__1__Impl : ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) ) ; public final void rule__Assertion__Group_0_1_3_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3006:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) ) ) - // InternalProblem.g:3007:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) ) + // InternalProblem.g:3210:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) ) ) + // InternalProblem.g:3211:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) ) { - // InternalProblem.g:3007:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) ) - // InternalProblem.g:3008:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) + // InternalProblem.g:3211:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) ) + // InternalProblem.g:3212:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) { before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_1_1()); - // InternalProblem.g:3009:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) - // InternalProblem.g:3009:3: rule__Assertion__ArgumentsAssignment_0_1_3_1_1 + // InternalProblem.g:3213:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) + // InternalProblem.g:3213:3: rule__Assertion__ArgumentsAssignment_0_1_3_1_1 { pushFollow(FOLLOW_2); rule__Assertion__ArgumentsAssignment_0_1_3_1_1(); @@ -9481,14 +10113,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group__0" - // InternalProblem.g:3018:1: rule__ScopeDeclaration__Group__0 : rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ; + // InternalProblem.g:3222:1: rule__ScopeDeclaration__Group__0 : rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ; public final void rule__ScopeDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3022:1: ( rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ) - // InternalProblem.g:3023:2: rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 + // InternalProblem.g:3226:1: ( rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ) + // InternalProblem.g:3227:2: rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 { pushFollow(FOLLOW_5); rule__ScopeDeclaration__Group__0__Impl(); @@ -9519,20 +10151,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group__0__Impl" - // InternalProblem.g:3030:1: rule__ScopeDeclaration__Group__0__Impl : ( 'scope' ) ; + // InternalProblem.g:3234:1: rule__ScopeDeclaration__Group__0__Impl : ( 'scope' ) ; public final void rule__ScopeDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3034:1: ( ( 'scope' ) ) - // InternalProblem.g:3035:1: ( 'scope' ) + // InternalProblem.g:3238:1: ( ( 'scope' ) ) + // InternalProblem.g:3239:1: ( 'scope' ) { - // InternalProblem.g:3035:1: ( 'scope' ) - // InternalProblem.g:3036:2: 'scope' + // InternalProblem.g:3239:1: ( 'scope' ) + // InternalProblem.g:3240:2: 'scope' { before(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); - match(input,32,FOLLOW_2); + match(input,36,FOLLOW_2); after(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); } @@ -9556,16 +10188,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group__1" - // InternalProblem.g:3045:1: rule__ScopeDeclaration__Group__1 : rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ; + // InternalProblem.g:3249:1: rule__ScopeDeclaration__Group__1 : rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ; public final void rule__ScopeDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3049:1: ( rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ) - // InternalProblem.g:3050:2: rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 + // InternalProblem.g:3253:1: ( rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ) + // InternalProblem.g:3254:2: rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 { - pushFollow(FOLLOW_28); + pushFollow(FOLLOW_30); rule__ScopeDeclaration__Group__1__Impl(); state._fsp--; @@ -9594,21 +10226,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group__1__Impl" - // InternalProblem.g:3057:1: rule__ScopeDeclaration__Group__1__Impl : ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) ) ; + // InternalProblem.g:3261:1: rule__ScopeDeclaration__Group__1__Impl : ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) ) ; public final void rule__ScopeDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3061:1: ( ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) ) ) - // InternalProblem.g:3062:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) ) + // InternalProblem.g:3265:1: ( ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) ) ) + // InternalProblem.g:3266:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) ) { - // InternalProblem.g:3062:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) ) - // InternalProblem.g:3063:2: ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) + // InternalProblem.g:3266:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) ) + // InternalProblem.g:3267:2: ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) { before(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_1()); - // InternalProblem.g:3064:2: ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) - // InternalProblem.g:3064:3: rule__ScopeDeclaration__TypeScopesAssignment_1 + // InternalProblem.g:3268:2: ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) + // InternalProblem.g:3268:3: rule__ScopeDeclaration__TypeScopesAssignment_1 { pushFollow(FOLLOW_2); rule__ScopeDeclaration__TypeScopesAssignment_1(); @@ -9641,16 +10273,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group__2" - // InternalProblem.g:3072:1: rule__ScopeDeclaration__Group__2 : rule__ScopeDeclaration__Group__2__Impl rule__ScopeDeclaration__Group__3 ; + // InternalProblem.g:3276:1: rule__ScopeDeclaration__Group__2 : rule__ScopeDeclaration__Group__2__Impl rule__ScopeDeclaration__Group__3 ; public final void rule__ScopeDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3076:1: ( rule__ScopeDeclaration__Group__2__Impl rule__ScopeDeclaration__Group__3 ) - // InternalProblem.g:3077:2: rule__ScopeDeclaration__Group__2__Impl rule__ScopeDeclaration__Group__3 + // InternalProblem.g:3280:1: ( rule__ScopeDeclaration__Group__2__Impl rule__ScopeDeclaration__Group__3 ) + // InternalProblem.g:3281:2: rule__ScopeDeclaration__Group__2__Impl rule__ScopeDeclaration__Group__3 { - pushFollow(FOLLOW_28); + pushFollow(FOLLOW_30); rule__ScopeDeclaration__Group__2__Impl(); state._fsp--; @@ -9679,35 +10311,35 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group__2__Impl" - // InternalProblem.g:3084:1: rule__ScopeDeclaration__Group__2__Impl : ( ( rule__ScopeDeclaration__Group_2__0 )* ) ; + // InternalProblem.g:3288:1: rule__ScopeDeclaration__Group__2__Impl : ( ( rule__ScopeDeclaration__Group_2__0 )* ) ; public final void rule__ScopeDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3088:1: ( ( ( rule__ScopeDeclaration__Group_2__0 )* ) ) - // InternalProblem.g:3089:1: ( ( rule__ScopeDeclaration__Group_2__0 )* ) + // InternalProblem.g:3292:1: ( ( ( rule__ScopeDeclaration__Group_2__0 )* ) ) + // InternalProblem.g:3293:1: ( ( rule__ScopeDeclaration__Group_2__0 )* ) { - // InternalProblem.g:3089:1: ( ( rule__ScopeDeclaration__Group_2__0 )* ) - // InternalProblem.g:3090:2: ( rule__ScopeDeclaration__Group_2__0 )* + // InternalProblem.g:3293:1: ( ( rule__ScopeDeclaration__Group_2__0 )* ) + // InternalProblem.g:3294:2: ( rule__ScopeDeclaration__Group_2__0 )* { before(grammarAccess.getScopeDeclarationAccess().getGroup_2()); - // InternalProblem.g:3091:2: ( rule__ScopeDeclaration__Group_2__0 )* - loop34: + // InternalProblem.g:3295:2: ( rule__ScopeDeclaration__Group_2__0 )* + loop37: do { - int alt34=2; - int LA34_0 = input.LA(1); + int alt37=2; + int LA37_0 = input.LA(1); - if ( (LA34_0==25) ) { - alt34=1; + if ( (LA37_0==25) ) { + alt37=1; } - switch (alt34) { + switch (alt37) { case 1 : - // InternalProblem.g:3091:3: rule__ScopeDeclaration__Group_2__0 + // InternalProblem.g:3295:3: rule__ScopeDeclaration__Group_2__0 { - pushFollow(FOLLOW_7); + pushFollow(FOLLOW_11); rule__ScopeDeclaration__Group_2__0(); state._fsp--; @@ -9717,7 +10349,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop34; + break loop37; } } while (true); @@ -9744,14 +10376,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group__3" - // InternalProblem.g:3099:1: rule__ScopeDeclaration__Group__3 : rule__ScopeDeclaration__Group__3__Impl ; + // InternalProblem.g:3303:1: rule__ScopeDeclaration__Group__3 : rule__ScopeDeclaration__Group__3__Impl ; public final void rule__ScopeDeclaration__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3103:1: ( rule__ScopeDeclaration__Group__3__Impl ) - // InternalProblem.g:3104:2: rule__ScopeDeclaration__Group__3__Impl + // InternalProblem.g:3307:1: ( rule__ScopeDeclaration__Group__3__Impl ) + // InternalProblem.g:3308:2: rule__ScopeDeclaration__Group__3__Impl { pushFollow(FOLLOW_2); rule__ScopeDeclaration__Group__3__Impl(); @@ -9777,20 +10409,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group__3__Impl" - // InternalProblem.g:3110:1: rule__ScopeDeclaration__Group__3__Impl : ( '.' ) ; + // InternalProblem.g:3314:1: rule__ScopeDeclaration__Group__3__Impl : ( '.' ) ; public final void rule__ScopeDeclaration__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3114:1: ( ( '.' ) ) - // InternalProblem.g:3115:1: ( '.' ) + // InternalProblem.g:3318:1: ( ( '.' ) ) + // InternalProblem.g:3319:1: ( '.' ) { - // InternalProblem.g:3115:1: ( '.' ) - // InternalProblem.g:3116:2: '.' + // InternalProblem.g:3319:1: ( '.' ) + // InternalProblem.g:3320:2: '.' { before(grammarAccess.getScopeDeclarationAccess().getFullStopKeyword_3()); - match(input,21,FOLLOW_2); + match(input,12,FOLLOW_2); after(grammarAccess.getScopeDeclarationAccess().getFullStopKeyword_3()); } @@ -9814,14 +10446,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group_2__0" - // InternalProblem.g:3126:1: rule__ScopeDeclaration__Group_2__0 : rule__ScopeDeclaration__Group_2__0__Impl rule__ScopeDeclaration__Group_2__1 ; + // InternalProblem.g:3330:1: rule__ScopeDeclaration__Group_2__0 : rule__ScopeDeclaration__Group_2__0__Impl rule__ScopeDeclaration__Group_2__1 ; public final void rule__ScopeDeclaration__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3130:1: ( rule__ScopeDeclaration__Group_2__0__Impl rule__ScopeDeclaration__Group_2__1 ) - // InternalProblem.g:3131:2: rule__ScopeDeclaration__Group_2__0__Impl rule__ScopeDeclaration__Group_2__1 + // InternalProblem.g:3334:1: ( rule__ScopeDeclaration__Group_2__0__Impl rule__ScopeDeclaration__Group_2__1 ) + // InternalProblem.g:3335:2: rule__ScopeDeclaration__Group_2__0__Impl rule__ScopeDeclaration__Group_2__1 { pushFollow(FOLLOW_5); rule__ScopeDeclaration__Group_2__0__Impl(); @@ -9852,17 +10484,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group_2__0__Impl" - // InternalProblem.g:3138:1: rule__ScopeDeclaration__Group_2__0__Impl : ( ',' ) ; + // InternalProblem.g:3342:1: rule__ScopeDeclaration__Group_2__0__Impl : ( ',' ) ; public final void rule__ScopeDeclaration__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3142:1: ( ( ',' ) ) - // InternalProblem.g:3143:1: ( ',' ) + // InternalProblem.g:3346:1: ( ( ',' ) ) + // InternalProblem.g:3347:1: ( ',' ) { - // InternalProblem.g:3143:1: ( ',' ) - // InternalProblem.g:3144:2: ',' + // InternalProblem.g:3347:1: ( ',' ) + // InternalProblem.g:3348:2: ',' { before(grammarAccess.getScopeDeclarationAccess().getCommaKeyword_2_0()); match(input,25,FOLLOW_2); @@ -9889,14 +10521,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group_2__1" - // InternalProblem.g:3153:1: rule__ScopeDeclaration__Group_2__1 : rule__ScopeDeclaration__Group_2__1__Impl ; + // InternalProblem.g:3357:1: rule__ScopeDeclaration__Group_2__1 : rule__ScopeDeclaration__Group_2__1__Impl ; public final void rule__ScopeDeclaration__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3157:1: ( rule__ScopeDeclaration__Group_2__1__Impl ) - // InternalProblem.g:3158:2: rule__ScopeDeclaration__Group_2__1__Impl + // InternalProblem.g:3361:1: ( rule__ScopeDeclaration__Group_2__1__Impl ) + // InternalProblem.g:3362:2: rule__ScopeDeclaration__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__ScopeDeclaration__Group_2__1__Impl(); @@ -9922,21 +10554,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group_2__1__Impl" - // InternalProblem.g:3164:1: rule__ScopeDeclaration__Group_2__1__Impl : ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) ) ; + // InternalProblem.g:3368:1: rule__ScopeDeclaration__Group_2__1__Impl : ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) ) ; public final void rule__ScopeDeclaration__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3168:1: ( ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) ) ) - // InternalProblem.g:3169:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) ) + // InternalProblem.g:3372:1: ( ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) ) ) + // InternalProblem.g:3373:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) ) { - // InternalProblem.g:3169:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) ) - // InternalProblem.g:3170:2: ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) + // InternalProblem.g:3373:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) ) + // InternalProblem.g:3374:2: ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) { before(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_2_1()); - // InternalProblem.g:3171:2: ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) - // InternalProblem.g:3171:3: rule__ScopeDeclaration__TypeScopesAssignment_2_1 + // InternalProblem.g:3375:2: ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) + // InternalProblem.g:3375:3: rule__ScopeDeclaration__TypeScopesAssignment_2_1 { pushFollow(FOLLOW_2); rule__ScopeDeclaration__TypeScopesAssignment_2_1(); @@ -9969,16 +10601,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__Group__0" - // InternalProblem.g:3180:1: rule__TypeScope__Group__0 : rule__TypeScope__Group__0__Impl rule__TypeScope__Group__1 ; + // InternalProblem.g:3384:1: rule__TypeScope__Group__0 : rule__TypeScope__Group__0__Impl rule__TypeScope__Group__1 ; public final void rule__TypeScope__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3184:1: ( rule__TypeScope__Group__0__Impl rule__TypeScope__Group__1 ) - // InternalProblem.g:3185:2: rule__TypeScope__Group__0__Impl rule__TypeScope__Group__1 + // InternalProblem.g:3388:1: ( rule__TypeScope__Group__0__Impl rule__TypeScope__Group__1 ) + // InternalProblem.g:3389:2: rule__TypeScope__Group__0__Impl rule__TypeScope__Group__1 { - pushFollow(FOLLOW_29); + pushFollow(FOLLOW_31); rule__TypeScope__Group__0__Impl(); state._fsp--; @@ -10007,21 +10639,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__Group__0__Impl" - // InternalProblem.g:3192:1: rule__TypeScope__Group__0__Impl : ( ( rule__TypeScope__TargetTypeAssignment_0 ) ) ; + // InternalProblem.g:3396:1: rule__TypeScope__Group__0__Impl : ( ( rule__TypeScope__TargetTypeAssignment_0 ) ) ; public final void rule__TypeScope__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3196:1: ( ( ( rule__TypeScope__TargetTypeAssignment_0 ) ) ) - // InternalProblem.g:3197:1: ( ( rule__TypeScope__TargetTypeAssignment_0 ) ) + // InternalProblem.g:3400:1: ( ( ( rule__TypeScope__TargetTypeAssignment_0 ) ) ) + // InternalProblem.g:3401:1: ( ( rule__TypeScope__TargetTypeAssignment_0 ) ) { - // InternalProblem.g:3197:1: ( ( rule__TypeScope__TargetTypeAssignment_0 ) ) - // InternalProblem.g:3198:2: ( rule__TypeScope__TargetTypeAssignment_0 ) + // InternalProblem.g:3401:1: ( ( rule__TypeScope__TargetTypeAssignment_0 ) ) + // InternalProblem.g:3402:2: ( rule__TypeScope__TargetTypeAssignment_0 ) { before(grammarAccess.getTypeScopeAccess().getTargetTypeAssignment_0()); - // InternalProblem.g:3199:2: ( rule__TypeScope__TargetTypeAssignment_0 ) - // InternalProblem.g:3199:3: rule__TypeScope__TargetTypeAssignment_0 + // InternalProblem.g:3403:2: ( rule__TypeScope__TargetTypeAssignment_0 ) + // InternalProblem.g:3403:3: rule__TypeScope__TargetTypeAssignment_0 { pushFollow(FOLLOW_2); rule__TypeScope__TargetTypeAssignment_0(); @@ -10054,16 +10686,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__Group__1" - // InternalProblem.g:3207:1: rule__TypeScope__Group__1 : rule__TypeScope__Group__1__Impl rule__TypeScope__Group__2 ; + // InternalProblem.g:3411:1: rule__TypeScope__Group__1 : rule__TypeScope__Group__1__Impl rule__TypeScope__Group__2 ; public final void rule__TypeScope__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3211:1: ( rule__TypeScope__Group__1__Impl rule__TypeScope__Group__2 ) - // InternalProblem.g:3212:2: rule__TypeScope__Group__1__Impl rule__TypeScope__Group__2 + // InternalProblem.g:3415:1: ( rule__TypeScope__Group__1__Impl rule__TypeScope__Group__2 ) + // InternalProblem.g:3416:2: rule__TypeScope__Group__1__Impl rule__TypeScope__Group__2 { - pushFollow(FOLLOW_13); + pushFollow(FOLLOW_17); rule__TypeScope__Group__1__Impl(); state._fsp--; @@ -10092,21 +10724,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__Group__1__Impl" - // InternalProblem.g:3219:1: rule__TypeScope__Group__1__Impl : ( ( rule__TypeScope__Alternatives_1 ) ) ; + // InternalProblem.g:3423:1: rule__TypeScope__Group__1__Impl : ( ( rule__TypeScope__Alternatives_1 ) ) ; public final void rule__TypeScope__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3223:1: ( ( ( rule__TypeScope__Alternatives_1 ) ) ) - // InternalProblem.g:3224:1: ( ( rule__TypeScope__Alternatives_1 ) ) + // InternalProblem.g:3427:1: ( ( ( rule__TypeScope__Alternatives_1 ) ) ) + // InternalProblem.g:3428:1: ( ( rule__TypeScope__Alternatives_1 ) ) { - // InternalProblem.g:3224:1: ( ( rule__TypeScope__Alternatives_1 ) ) - // InternalProblem.g:3225:2: ( rule__TypeScope__Alternatives_1 ) + // InternalProblem.g:3428:1: ( ( rule__TypeScope__Alternatives_1 ) ) + // InternalProblem.g:3429:2: ( rule__TypeScope__Alternatives_1 ) { before(grammarAccess.getTypeScopeAccess().getAlternatives_1()); - // InternalProblem.g:3226:2: ( rule__TypeScope__Alternatives_1 ) - // InternalProblem.g:3226:3: rule__TypeScope__Alternatives_1 + // InternalProblem.g:3430:2: ( rule__TypeScope__Alternatives_1 ) + // InternalProblem.g:3430:3: rule__TypeScope__Alternatives_1 { pushFollow(FOLLOW_2); rule__TypeScope__Alternatives_1(); @@ -10139,14 +10771,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__Group__2" - // InternalProblem.g:3234:1: rule__TypeScope__Group__2 : rule__TypeScope__Group__2__Impl ; + // InternalProblem.g:3438:1: rule__TypeScope__Group__2 : rule__TypeScope__Group__2__Impl ; public final void rule__TypeScope__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3238:1: ( rule__TypeScope__Group__2__Impl ) - // InternalProblem.g:3239:2: rule__TypeScope__Group__2__Impl + // InternalProblem.g:3442:1: ( rule__TypeScope__Group__2__Impl ) + // InternalProblem.g:3443:2: rule__TypeScope__Group__2__Impl { pushFollow(FOLLOW_2); rule__TypeScope__Group__2__Impl(); @@ -10172,21 +10804,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__Group__2__Impl" - // InternalProblem.g:3245:1: rule__TypeScope__Group__2__Impl : ( ( rule__TypeScope__MultiplicityAssignment_2 ) ) ; + // InternalProblem.g:3449:1: rule__TypeScope__Group__2__Impl : ( ( rule__TypeScope__MultiplicityAssignment_2 ) ) ; public final void rule__TypeScope__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3249:1: ( ( ( rule__TypeScope__MultiplicityAssignment_2 ) ) ) - // InternalProblem.g:3250:1: ( ( rule__TypeScope__MultiplicityAssignment_2 ) ) + // InternalProblem.g:3453:1: ( ( ( rule__TypeScope__MultiplicityAssignment_2 ) ) ) + // InternalProblem.g:3454:1: ( ( rule__TypeScope__MultiplicityAssignment_2 ) ) { - // InternalProblem.g:3250:1: ( ( rule__TypeScope__MultiplicityAssignment_2 ) ) - // InternalProblem.g:3251:2: ( rule__TypeScope__MultiplicityAssignment_2 ) + // InternalProblem.g:3454:1: ( ( rule__TypeScope__MultiplicityAssignment_2 ) ) + // InternalProblem.g:3455:2: ( rule__TypeScope__MultiplicityAssignment_2 ) { before(grammarAccess.getTypeScopeAccess().getMultiplicityAssignment_2()); - // InternalProblem.g:3252:2: ( rule__TypeScope__MultiplicityAssignment_2 ) - // InternalProblem.g:3252:3: rule__TypeScope__MultiplicityAssignment_2 + // InternalProblem.g:3456:2: ( rule__TypeScope__MultiplicityAssignment_2 ) + // InternalProblem.g:3456:3: rule__TypeScope__MultiplicityAssignment_2 { pushFollow(FOLLOW_2); rule__TypeScope__MultiplicityAssignment_2(); @@ -10219,16 +10851,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__RangeMultiplicity__Group__0" - // InternalProblem.g:3261:1: rule__RangeMultiplicity__Group__0 : rule__RangeMultiplicity__Group__0__Impl rule__RangeMultiplicity__Group__1 ; + // InternalProblem.g:3465:1: rule__RangeMultiplicity__Group__0 : rule__RangeMultiplicity__Group__0__Impl rule__RangeMultiplicity__Group__1 ; public final void rule__RangeMultiplicity__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3265:1: ( rule__RangeMultiplicity__Group__0__Impl rule__RangeMultiplicity__Group__1 ) - // InternalProblem.g:3266:2: rule__RangeMultiplicity__Group__0__Impl rule__RangeMultiplicity__Group__1 + // InternalProblem.g:3469:1: ( rule__RangeMultiplicity__Group__0__Impl rule__RangeMultiplicity__Group__1 ) + // InternalProblem.g:3470:2: rule__RangeMultiplicity__Group__0__Impl rule__RangeMultiplicity__Group__1 { - pushFollow(FOLLOW_30); + pushFollow(FOLLOW_32); rule__RangeMultiplicity__Group__0__Impl(); state._fsp--; @@ -10253,35 +10885,265 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__RangeMultiplicity__Group__0" + // $ANTLR end "rule__RangeMultiplicity__Group__0" + + + // $ANTLR start "rule__RangeMultiplicity__Group__0__Impl" + // InternalProblem.g:3477:1: rule__RangeMultiplicity__Group__0__Impl : ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) ) ; + public final void rule__RangeMultiplicity__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:3481:1: ( ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) ) ) + // InternalProblem.g:3482:1: ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) ) + { + // InternalProblem.g:3482:1: ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) ) + // InternalProblem.g:3483:2: ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) + { + before(grammarAccess.getRangeMultiplicityAccess().getLowerBoundAssignment_0()); + // InternalProblem.g:3484:2: ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) + // InternalProblem.g:3484:3: rule__RangeMultiplicity__LowerBoundAssignment_0 + { + pushFollow(FOLLOW_2); + rule__RangeMultiplicity__LowerBoundAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getRangeMultiplicityAccess().getLowerBoundAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RangeMultiplicity__Group__0__Impl" + + + // $ANTLR start "rule__RangeMultiplicity__Group__1" + // InternalProblem.g:3492:1: rule__RangeMultiplicity__Group__1 : rule__RangeMultiplicity__Group__1__Impl rule__RangeMultiplicity__Group__2 ; + public final void rule__RangeMultiplicity__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:3496:1: ( rule__RangeMultiplicity__Group__1__Impl rule__RangeMultiplicity__Group__2 ) + // InternalProblem.g:3497:2: rule__RangeMultiplicity__Group__1__Impl rule__RangeMultiplicity__Group__2 + { + pushFollow(FOLLOW_33); + rule__RangeMultiplicity__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__RangeMultiplicity__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RangeMultiplicity__Group__1" + + + // $ANTLR start "rule__RangeMultiplicity__Group__1__Impl" + // InternalProblem.g:3504:1: rule__RangeMultiplicity__Group__1__Impl : ( '..' ) ; + public final void rule__RangeMultiplicity__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:3508:1: ( ( '..' ) ) + // InternalProblem.g:3509:1: ( '..' ) + { + // InternalProblem.g:3509:1: ( '..' ) + // InternalProblem.g:3510:2: '..' + { + before(grammarAccess.getRangeMultiplicityAccess().getFullStopFullStopKeyword_1()); + match(input,37,FOLLOW_2); + after(grammarAccess.getRangeMultiplicityAccess().getFullStopFullStopKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RangeMultiplicity__Group__1__Impl" + + + // $ANTLR start "rule__RangeMultiplicity__Group__2" + // InternalProblem.g:3519:1: rule__RangeMultiplicity__Group__2 : rule__RangeMultiplicity__Group__2__Impl ; + public final void rule__RangeMultiplicity__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:3523:1: ( rule__RangeMultiplicity__Group__2__Impl ) + // InternalProblem.g:3524:2: rule__RangeMultiplicity__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__RangeMultiplicity__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RangeMultiplicity__Group__2" + + + // $ANTLR start "rule__RangeMultiplicity__Group__2__Impl" + // InternalProblem.g:3530:1: rule__RangeMultiplicity__Group__2__Impl : ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) ) ; + public final void rule__RangeMultiplicity__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:3534:1: ( ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) ) ) + // InternalProblem.g:3535:1: ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) ) + { + // InternalProblem.g:3535:1: ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) ) + // InternalProblem.g:3536:2: ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) + { + before(grammarAccess.getRangeMultiplicityAccess().getUpperBoundAssignment_2()); + // InternalProblem.g:3537:2: ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) + // InternalProblem.g:3537:3: rule__RangeMultiplicity__UpperBoundAssignment_2 + { + pushFollow(FOLLOW_2); + rule__RangeMultiplicity__UpperBoundAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getRangeMultiplicityAccess().getUpperBoundAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RangeMultiplicity__Group__2__Impl" + + + // $ANTLR start "rule__QualifiedName__Group_1__0" + // InternalProblem.g:3546:1: rule__QualifiedName__Group_1__0 : rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ; + public final void rule__QualifiedName__Group_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:3550:1: ( rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ) + // InternalProblem.g:3551:2: rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 + { + pushFollow(FOLLOW_27); + rule__QualifiedName__Group_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__QualifiedName__Group_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__QualifiedName__Group_1__0" - // $ANTLR start "rule__RangeMultiplicity__Group__0__Impl" - // InternalProblem.g:3273:1: rule__RangeMultiplicity__Group__0__Impl : ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) ) ; - public final void rule__RangeMultiplicity__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_1__0__Impl" + // InternalProblem.g:3558:1: rule__QualifiedName__Group_1__0__Impl : ( RULE_ID ) ; + public final void rule__QualifiedName__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3277:1: ( ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) ) ) - // InternalProblem.g:3278:1: ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) ) + // InternalProblem.g:3562:1: ( ( RULE_ID ) ) + // InternalProblem.g:3563:1: ( RULE_ID ) { - // InternalProblem.g:3278:1: ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) ) - // InternalProblem.g:3279:2: ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) - { - before(grammarAccess.getRangeMultiplicityAccess().getLowerBoundAssignment_0()); - // InternalProblem.g:3280:2: ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) - // InternalProblem.g:3280:3: rule__RangeMultiplicity__LowerBoundAssignment_0 + // InternalProblem.g:3563:1: ( RULE_ID ) + // InternalProblem.g:3564:2: RULE_ID { - pushFollow(FOLLOW_2); - rule__RangeMultiplicity__LowerBoundAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getRangeMultiplicityAccess().getLowerBoundAssignment_0()); + before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_0()); } @@ -10300,26 +11162,26 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__RangeMultiplicity__Group__0__Impl" + // $ANTLR end "rule__QualifiedName__Group_1__0__Impl" - // $ANTLR start "rule__RangeMultiplicity__Group__1" - // InternalProblem.g:3288:1: rule__RangeMultiplicity__Group__1 : rule__RangeMultiplicity__Group__1__Impl rule__RangeMultiplicity__Group__2 ; - public final void rule__RangeMultiplicity__Group__1() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_1__1" + // InternalProblem.g:3573:1: rule__QualifiedName__Group_1__1 : rule__QualifiedName__Group_1__1__Impl rule__QualifiedName__Group_1__2 ; + public final void rule__QualifiedName__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3292:1: ( rule__RangeMultiplicity__Group__1__Impl rule__RangeMultiplicity__Group__2 ) - // InternalProblem.g:3293:2: rule__RangeMultiplicity__Group__1__Impl rule__RangeMultiplicity__Group__2 + // InternalProblem.g:3577:1: ( rule__QualifiedName__Group_1__1__Impl rule__QualifiedName__Group_1__2 ) + // InternalProblem.g:3578:2: rule__QualifiedName__Group_1__1__Impl rule__QualifiedName__Group_1__2 { - pushFollow(FOLLOW_31); - rule__RangeMultiplicity__Group__1__Impl(); + pushFollow(FOLLOW_27); + rule__QualifiedName__Group_1__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__RangeMultiplicity__Group__2(); + rule__QualifiedName__Group_1__2(); state._fsp--; @@ -10338,25 +11200,59 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__RangeMultiplicity__Group__1" + // $ANTLR end "rule__QualifiedName__Group_1__1" - // $ANTLR start "rule__RangeMultiplicity__Group__1__Impl" - // InternalProblem.g:3300:1: rule__RangeMultiplicity__Group__1__Impl : ( '..' ) ; - public final void rule__RangeMultiplicity__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_1__1__Impl" + // InternalProblem.g:3585:1: rule__QualifiedName__Group_1__1__Impl : ( ( rule__QualifiedName__Group_1_1__0 )* ) ; + public final void rule__QualifiedName__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3304:1: ( ( '..' ) ) - // InternalProblem.g:3305:1: ( '..' ) + // InternalProblem.g:3589:1: ( ( ( rule__QualifiedName__Group_1_1__0 )* ) ) + // InternalProblem.g:3590:1: ( ( rule__QualifiedName__Group_1_1__0 )* ) { - // InternalProblem.g:3305:1: ( '..' ) - // InternalProblem.g:3306:2: '..' + // InternalProblem.g:3590:1: ( ( rule__QualifiedName__Group_1_1__0 )* ) + // InternalProblem.g:3591:2: ( rule__QualifiedName__Group_1_1__0 )* { - before(grammarAccess.getRangeMultiplicityAccess().getFullStopFullStopKeyword_1()); - match(input,33,FOLLOW_2); - after(grammarAccess.getRangeMultiplicityAccess().getFullStopFullStopKeyword_1()); + before(grammarAccess.getQualifiedNameAccess().getGroup_1_1()); + // InternalProblem.g:3592:2: ( rule__QualifiedName__Group_1_1__0 )* + loop38: + do { + int alt38=2; + int LA38_0 = input.LA(1); + + if ( (LA38_0==35) ) { + int LA38_1 = input.LA(2); + + if ( (LA38_1==RULE_ID) ) { + alt38=1; + } + + + } + + + switch (alt38) { + case 1 : + // InternalProblem.g:3592:3: rule__QualifiedName__Group_1_1__0 + { + pushFollow(FOLLOW_34); + rule__QualifiedName__Group_1_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop38; + } + } while (true); + + after(grammarAccess.getQualifiedNameAccess().getGroup_1_1()); } @@ -10375,21 +11271,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__RangeMultiplicity__Group__1__Impl" + // $ANTLR end "rule__QualifiedName__Group_1__1__Impl" - // $ANTLR start "rule__RangeMultiplicity__Group__2" - // InternalProblem.g:3315:1: rule__RangeMultiplicity__Group__2 : rule__RangeMultiplicity__Group__2__Impl ; - public final void rule__RangeMultiplicity__Group__2() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_1__2" + // InternalProblem.g:3600:1: rule__QualifiedName__Group_1__2 : rule__QualifiedName__Group_1__2__Impl ; + public final void rule__QualifiedName__Group_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3319:1: ( rule__RangeMultiplicity__Group__2__Impl ) - // InternalProblem.g:3320:2: rule__RangeMultiplicity__Group__2__Impl + // InternalProblem.g:3604:1: ( rule__QualifiedName__Group_1__2__Impl ) + // InternalProblem.g:3605:2: rule__QualifiedName__Group_1__2__Impl { pushFollow(FOLLOW_2); - rule__RangeMultiplicity__Group__2__Impl(); + rule__QualifiedName__Group_1__2__Impl(); state._fsp--; @@ -10408,35 +11304,46 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__RangeMultiplicity__Group__2" + // $ANTLR end "rule__QualifiedName__Group_1__2" - // $ANTLR start "rule__RangeMultiplicity__Group__2__Impl" - // InternalProblem.g:3326:1: rule__RangeMultiplicity__Group__2__Impl : ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) ) ; - public final void rule__RangeMultiplicity__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_1__2__Impl" + // InternalProblem.g:3611:1: rule__QualifiedName__Group_1__2__Impl : ( ( rule__QualifiedName__Group_1_2__0 )? ) ; + public final void rule__QualifiedName__Group_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3330:1: ( ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) ) ) - // InternalProblem.g:3331:1: ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) ) + // InternalProblem.g:3615:1: ( ( ( rule__QualifiedName__Group_1_2__0 )? ) ) + // InternalProblem.g:3616:1: ( ( rule__QualifiedName__Group_1_2__0 )? ) { - // InternalProblem.g:3331:1: ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) ) - // InternalProblem.g:3332:2: ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) + // InternalProblem.g:3616:1: ( ( rule__QualifiedName__Group_1_2__0 )? ) + // InternalProblem.g:3617:2: ( rule__QualifiedName__Group_1_2__0 )? { - before(grammarAccess.getRangeMultiplicityAccess().getUpperBoundAssignment_2()); - // InternalProblem.g:3333:2: ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) - // InternalProblem.g:3333:3: rule__RangeMultiplicity__UpperBoundAssignment_2 - { - pushFollow(FOLLOW_2); - rule__RangeMultiplicity__UpperBoundAssignment_2(); + before(grammarAccess.getQualifiedNameAccess().getGroup_1_2()); + // InternalProblem.g:3618:2: ( rule__QualifiedName__Group_1_2__0 )? + int alt39=2; + int LA39_0 = input.LA(1); + + if ( (LA39_0==35) ) { + alt39=1; + } + switch (alt39) { + case 1 : + // InternalProblem.g:3618:3: rule__QualifiedName__Group_1_2__0 + { + pushFollow(FOLLOW_2); + rule__QualifiedName__Group_1_2__0(); + + state._fsp--; - state._fsp--; + } + break; } - after(grammarAccess.getRangeMultiplicityAccess().getUpperBoundAssignment_2()); + after(grammarAccess.getQualifiedNameAccess().getGroup_1_2()); } @@ -10455,26 +11362,26 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__RangeMultiplicity__Group__2__Impl" + // $ANTLR end "rule__QualifiedName__Group_1__2__Impl" - // $ANTLR start "rule__QualifiedName__Group__0" - // InternalProblem.g:3342:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ; - public final void rule__QualifiedName__Group__0() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_1_1__0" + // InternalProblem.g:3627:1: rule__QualifiedName__Group_1_1__0 : rule__QualifiedName__Group_1_1__0__Impl rule__QualifiedName__Group_1_1__1 ; + public final void rule__QualifiedName__Group_1_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3346:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ) - // InternalProblem.g:3347:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 + // InternalProblem.g:3631:1: ( rule__QualifiedName__Group_1_1__0__Impl rule__QualifiedName__Group_1_1__1 ) + // InternalProblem.g:3632:2: rule__QualifiedName__Group_1_1__0__Impl rule__QualifiedName__Group_1_1__1 { - pushFollow(FOLLOW_32); - rule__QualifiedName__Group__0__Impl(); + pushFollow(FOLLOW_5); + rule__QualifiedName__Group_1_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__QualifiedName__Group__1(); + rule__QualifiedName__Group_1_1__1(); state._fsp--; @@ -10493,25 +11400,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__QualifiedName__Group__0" + // $ANTLR end "rule__QualifiedName__Group_1_1__0" - // $ANTLR start "rule__QualifiedName__Group__0__Impl" - // InternalProblem.g:3354:1: rule__QualifiedName__Group__0__Impl : ( RULE_ID ) ; - public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_1_1__0__Impl" + // InternalProblem.g:3639:1: rule__QualifiedName__Group_1_1__0__Impl : ( ':' ) ; + public final void rule__QualifiedName__Group_1_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3358:1: ( ( RULE_ID ) ) - // InternalProblem.g:3359:1: ( RULE_ID ) + // InternalProblem.g:3643:1: ( ( ':' ) ) + // InternalProblem.g:3644:1: ( ':' ) { - // InternalProblem.g:3359:1: ( RULE_ID ) - // InternalProblem.g:3360:2: RULE_ID + // InternalProblem.g:3644:1: ( ':' ) + // InternalProblem.g:3645:2: ':' { - before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); + before(grammarAccess.getQualifiedNameAccess().getColonKeyword_1_1_0()); + match(input,35,FOLLOW_2); + after(grammarAccess.getQualifiedNameAccess().getColonKeyword_1_1_0()); } @@ -10530,21 +11437,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__QualifiedName__Group__0__Impl" + // $ANTLR end "rule__QualifiedName__Group_1_1__0__Impl" - // $ANTLR start "rule__QualifiedName__Group__1" - // InternalProblem.g:3369:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl ; - public final void rule__QualifiedName__Group__1() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_1_1__1" + // InternalProblem.g:3654:1: rule__QualifiedName__Group_1_1__1 : rule__QualifiedName__Group_1_1__1__Impl ; + public final void rule__QualifiedName__Group_1_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3373:1: ( rule__QualifiedName__Group__1__Impl ) - // InternalProblem.g:3374:2: rule__QualifiedName__Group__1__Impl + // InternalProblem.g:3658:1: ( rule__QualifiedName__Group_1_1__1__Impl ) + // InternalProblem.g:3659:2: rule__QualifiedName__Group_1_1__1__Impl { pushFollow(FOLLOW_2); - rule__QualifiedName__Group__1__Impl(); + rule__QualifiedName__Group_1_1__1__Impl(); state._fsp--; @@ -10563,53 +11470,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__QualifiedName__Group__1" + // $ANTLR end "rule__QualifiedName__Group_1_1__1" - // $ANTLR start "rule__QualifiedName__Group__1__Impl" - // InternalProblem.g:3380:1: rule__QualifiedName__Group__1__Impl : ( ( rule__QualifiedName__Group_1__0 )* ) ; - public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_1_1__1__Impl" + // InternalProblem.g:3665:1: rule__QualifiedName__Group_1_1__1__Impl : ( RULE_ID ) ; + public final void rule__QualifiedName__Group_1_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3384:1: ( ( ( rule__QualifiedName__Group_1__0 )* ) ) - // InternalProblem.g:3385:1: ( ( rule__QualifiedName__Group_1__0 )* ) + // InternalProblem.g:3669:1: ( ( RULE_ID ) ) + // InternalProblem.g:3670:1: ( RULE_ID ) { - // InternalProblem.g:3385:1: ( ( rule__QualifiedName__Group_1__0 )* ) - // InternalProblem.g:3386:2: ( rule__QualifiedName__Group_1__0 )* + // InternalProblem.g:3670:1: ( RULE_ID ) + // InternalProblem.g:3671:2: RULE_ID { - before(grammarAccess.getQualifiedNameAccess().getGroup_1()); - // InternalProblem.g:3387:2: ( rule__QualifiedName__Group_1__0 )* - loop35: - do { - int alt35=2; - int LA35_0 = input.LA(1); - - if ( (LA35_0==34) ) { - alt35=1; - } - - - switch (alt35) { - case 1 : - // InternalProblem.g:3387:3: rule__QualifiedName__Group_1__0 - { - pushFollow(FOLLOW_33); - rule__QualifiedName__Group_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop35; - } - } while (true); - - after(grammarAccess.getQualifiedNameAccess().getGroup_1()); + before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1_1()); } @@ -10628,26 +11507,26 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__QualifiedName__Group__1__Impl" + // $ANTLR end "rule__QualifiedName__Group_1_1__1__Impl" - // $ANTLR start "rule__QualifiedName__Group_1__0" - // InternalProblem.g:3396:1: rule__QualifiedName__Group_1__0 : rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ; - public final void rule__QualifiedName__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_1_2__0" + // InternalProblem.g:3681:1: rule__QualifiedName__Group_1_2__0 : rule__QualifiedName__Group_1_2__0__Impl rule__QualifiedName__Group_1_2__1 ; + public final void rule__QualifiedName__Group_1_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3400:1: ( rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ) - // InternalProblem.g:3401:2: rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 + // InternalProblem.g:3685:1: ( rule__QualifiedName__Group_1_2__0__Impl rule__QualifiedName__Group_1_2__1 ) + // InternalProblem.g:3686:2: rule__QualifiedName__Group_1_2__0__Impl rule__QualifiedName__Group_1_2__1 { - pushFollow(FOLLOW_5); - rule__QualifiedName__Group_1__0__Impl(); + pushFollow(FOLLOW_35); + rule__QualifiedName__Group_1_2__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__QualifiedName__Group_1__1(); + rule__QualifiedName__Group_1_2__1(); state._fsp--; @@ -10666,25 +11545,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__QualifiedName__Group_1__0" + // $ANTLR end "rule__QualifiedName__Group_1_2__0" - // $ANTLR start "rule__QualifiedName__Group_1__0__Impl" - // InternalProblem.g:3408:1: rule__QualifiedName__Group_1__0__Impl : ( '::' ) ; - public final void rule__QualifiedName__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_1_2__0__Impl" + // InternalProblem.g:3693:1: rule__QualifiedName__Group_1_2__0__Impl : ( ':' ) ; + public final void rule__QualifiedName__Group_1_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3412:1: ( ( '::' ) ) - // InternalProblem.g:3413:1: ( '::' ) + // InternalProblem.g:3697:1: ( ( ':' ) ) + // InternalProblem.g:3698:1: ( ':' ) { - // InternalProblem.g:3413:1: ( '::' ) - // InternalProblem.g:3414:2: '::' + // InternalProblem.g:3698:1: ( ':' ) + // InternalProblem.g:3699:2: ':' { - before(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_0()); - match(input,34,FOLLOW_2); - after(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_0()); + before(grammarAccess.getQualifiedNameAccess().getColonKeyword_1_2_0()); + match(input,35,FOLLOW_2); + after(grammarAccess.getQualifiedNameAccess().getColonKeyword_1_2_0()); } @@ -10703,21 +11582,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__QualifiedName__Group_1__0__Impl" + // $ANTLR end "rule__QualifiedName__Group_1_2__0__Impl" - // $ANTLR start "rule__QualifiedName__Group_1__1" - // InternalProblem.g:3423:1: rule__QualifiedName__Group_1__1 : rule__QualifiedName__Group_1__1__Impl ; - public final void rule__QualifiedName__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_1_2__1" + // InternalProblem.g:3708:1: rule__QualifiedName__Group_1_2__1 : rule__QualifiedName__Group_1_2__1__Impl ; + public final void rule__QualifiedName__Group_1_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3427:1: ( rule__QualifiedName__Group_1__1__Impl ) - // InternalProblem.g:3428:2: rule__QualifiedName__Group_1__1__Impl + // InternalProblem.g:3712:1: ( rule__QualifiedName__Group_1_2__1__Impl ) + // InternalProblem.g:3713:2: rule__QualifiedName__Group_1_2__1__Impl { pushFollow(FOLLOW_2); - rule__QualifiedName__Group_1__1__Impl(); + rule__QualifiedName__Group_1_2__1__Impl(); state._fsp--; @@ -10736,25 +11615,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__QualifiedName__Group_1__1" + // $ANTLR end "rule__QualifiedName__Group_1_2__1" - // $ANTLR start "rule__QualifiedName__Group_1__1__Impl" - // InternalProblem.g:3434:1: rule__QualifiedName__Group_1__1__Impl : ( RULE_ID ) ; - public final void rule__QualifiedName__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_1_2__1__Impl" + // InternalProblem.g:3719:1: rule__QualifiedName__Group_1_2__1__Impl : ( RULE_QUOTED_ID ) ; + public final void rule__QualifiedName__Group_1_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3438:1: ( ( RULE_ID ) ) - // InternalProblem.g:3439:1: ( RULE_ID ) + // InternalProblem.g:3723:1: ( ( RULE_QUOTED_ID ) ) + // InternalProblem.g:3724:1: ( RULE_QUOTED_ID ) { - // InternalProblem.g:3439:1: ( RULE_ID ) - // InternalProblem.g:3440:2: RULE_ID + // InternalProblem.g:3724:1: ( RULE_QUOTED_ID ) + // InternalProblem.g:3725:2: RULE_QUOTED_ID { - before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); + before(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1_2_1()); + match(input,RULE_QUOTED_ID,FOLLOW_2); + after(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1_2_1()); } @@ -10773,29 +11652,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__QualifiedName__Group_1__1__Impl" + // $ANTLR end "rule__QualifiedName__Group_1_2__1__Impl" - // $ANTLR start "rule__Problem__StatementsAssignment" - // InternalProblem.g:3450:1: rule__Problem__StatementsAssignment : ( ruleStatement ) ; - public final void rule__Problem__StatementsAssignment() throws RecognitionException { + // $ANTLR start "rule__Problem__NameAssignment_0_1" + // InternalProblem.g:3735:1: rule__Problem__NameAssignment_0_1 : ( RULE_ID ) ; + public final void rule__Problem__NameAssignment_0_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3454:1: ( ( ruleStatement ) ) - // InternalProblem.g:3455:2: ( ruleStatement ) + // InternalProblem.g:3739:1: ( ( RULE_ID ) ) + // InternalProblem.g:3740:2: ( RULE_ID ) { - // InternalProblem.g:3455:2: ( ruleStatement ) - // InternalProblem.g:3456:3: ruleStatement + // InternalProblem.g:3740:2: ( RULE_ID ) + // InternalProblem.g:3741:3: RULE_ID { - before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleStatement(); - - state._fsp--; - - after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); + before(grammarAccess.getProblemAccess().getNameIDTerminalRuleCall_0_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getProblemAccess().getNameIDTerminalRuleCall_0_1_0()); } @@ -10814,70 +11689,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__Problem__StatementsAssignment" + // $ANTLR end "rule__Problem__NameAssignment_0_1" - // $ANTLR start "rule__ClassDeclaration__AbstractAssignment_0" - // InternalProblem.g:3465:1: rule__ClassDeclaration__AbstractAssignment_0 : ( ( 'abstract' ) ) ; - public final void rule__ClassDeclaration__AbstractAssignment_0() throws RecognitionException { + // $ANTLR start "rule__Problem__StatementsAssignment_1" + // InternalProblem.g:3750:1: rule__Problem__StatementsAssignment_1 : ( ruleStatement ) ; + public final void rule__Problem__StatementsAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3469:1: ( ( ( 'abstract' ) ) ) - // InternalProblem.g:3470:2: ( ( 'abstract' ) ) + // InternalProblem.g:3754:1: ( ( ruleStatement ) ) + // InternalProblem.g:3755:2: ( ruleStatement ) { - // InternalProblem.g:3470:2: ( ( 'abstract' ) ) - // InternalProblem.g:3471:3: ( 'abstract' ) - { - before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); - // InternalProblem.g:3472:3: ( 'abstract' ) - // InternalProblem.g:3473:4: 'abstract' + // InternalProblem.g:3755:2: ( ruleStatement ) + // InternalProblem.g:3756:3: ruleStatement { - before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); - match(input,35,FOLLOW_2); - after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); - - } - - after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassDeclaration__AbstractAssignment_0" - + before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleStatement(); - // $ANTLR start "rule__ClassDeclaration__NameAssignment_2" - // InternalProblem.g:3484:1: rule__ClassDeclaration__NameAssignment_2 : ( RULE_ID ) ; - public final void rule__ClassDeclaration__NameAssignment_2() throws RecognitionException { + state._fsp--; - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:3488:1: ( ( RULE_ID ) ) - // InternalProblem.g:3489:2: ( RULE_ID ) - { - // InternalProblem.g:3489:2: ( RULE_ID ) - // InternalProblem.g:3490:3: RULE_ID - { - before(grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0()); + after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_1_0()); } @@ -10896,33 +11730,33 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__NameAssignment_2" + // $ANTLR end "rule__Problem__StatementsAssignment_1" - // $ANTLR start "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0" - // InternalProblem.g:3499:1: rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0 : ( ( RULE_ID ) ) ; - public final void rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__AbstractAssignment_0" + // InternalProblem.g:3765:1: rule__ClassDeclaration__AbstractAssignment_0 : ( ( 'abstract' ) ) ; + public final void rule__ClassDeclaration__AbstractAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3503:1: ( ( ( RULE_ID ) ) ) - // InternalProblem.g:3504:2: ( ( RULE_ID ) ) + // InternalProblem.g:3769:1: ( ( ( 'abstract' ) ) ) + // InternalProblem.g:3770:2: ( ( 'abstract' ) ) { - // InternalProblem.g:3504:2: ( ( RULE_ID ) ) - // InternalProblem.g:3505:3: ( RULE_ID ) + // InternalProblem.g:3770:2: ( ( 'abstract' ) ) + // InternalProblem.g:3771:3: ( 'abstract' ) { - before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_0_0()); - // InternalProblem.g:3506:3: ( RULE_ID ) - // InternalProblem.g:3507:4: RULE_ID + before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); + // InternalProblem.g:3772:3: ( 'abstract' ) + // InternalProblem.g:3773:4: 'abstract' { - before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_0_0_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_0_0_1()); + before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); + match(input,38,FOLLOW_2); + after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); } - after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_0_0()); + after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); } @@ -10941,33 +11775,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0" + // $ANTLR end "rule__ClassDeclaration__AbstractAssignment_0" - // $ANTLR start "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0" - // InternalProblem.g:3518:1: rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0 : ( ( RULE_ID ) ) ; - public final void rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__NameAssignment_2" + // InternalProblem.g:3784:1: rule__ClassDeclaration__NameAssignment_2 : ( RULE_ID ) ; + public final void rule__ClassDeclaration__NameAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3522:1: ( ( ( RULE_ID ) ) ) - // InternalProblem.g:3523:2: ( ( RULE_ID ) ) + // InternalProblem.g:3788:1: ( ( RULE_ID ) ) + // InternalProblem.g:3789:2: ( RULE_ID ) { - // InternalProblem.g:3523:2: ( ( RULE_ID ) ) - // InternalProblem.g:3524:3: ( RULE_ID ) + // InternalProblem.g:3789:2: ( RULE_ID ) + // InternalProblem.g:3790:3: RULE_ID { - before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_1_1_0_0()); - // InternalProblem.g:3525:3: ( RULE_ID ) - // InternalProblem.g:3526:4: RULE_ID - { - before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_1_1_0_0_1()); + before(grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0()); match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_1_1_0_0_1()); - - } - - after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_1_1_0_0()); + after(grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0()); } @@ -10986,33 +11812,37 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0" + // $ANTLR end "rule__ClassDeclaration__NameAssignment_2" - // $ANTLR start "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1" - // InternalProblem.g:3537:1: rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1 : ( ( RULE_ID ) ) ; - public final void rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__SuperTypesAssignment_3_1" + // InternalProblem.g:3799:1: rule__ClassDeclaration__SuperTypesAssignment_3_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__ClassDeclaration__SuperTypesAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3541:1: ( ( ( RULE_ID ) ) ) - // InternalProblem.g:3542:2: ( ( RULE_ID ) ) + // InternalProblem.g:3803:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:3804:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:3542:2: ( ( RULE_ID ) ) - // InternalProblem.g:3543:3: ( RULE_ID ) + // InternalProblem.g:3804:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:3805:3: ( ruleQualifiedName ) { - before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_1_1_1_1_0()); - // InternalProblem.g:3544:3: ( RULE_ID ) - // InternalProblem.g:3545:4: RULE_ID + before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_1_0()); + // InternalProblem.g:3806:3: ( ruleQualifiedName ) + // InternalProblem.g:3807:4: ruleQualifiedName { - before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_1_1_1_1_0_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_1_1_1_1_0_1()); + before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationQualifiedNameParserRuleCall_3_1_0_1()); + pushFollow(FOLLOW_2); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationQualifiedNameParserRuleCall_3_1_0_1()); } - after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_1_1_1_1_0()); + after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_1_0()); } @@ -11031,29 +11861,37 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1" + // $ANTLR end "rule__ClassDeclaration__SuperTypesAssignment_3_1" - // $ANTLR start "rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1" - // InternalProblem.g:3556:1: rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1 : ( ruleReferenceDeclaration ) ; - public final void rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__SuperTypesAssignment_3_2_1" + // InternalProblem.g:3818:1: rule__ClassDeclaration__SuperTypesAssignment_3_2_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__ClassDeclaration__SuperTypesAssignment_3_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3560:1: ( ( ruleReferenceDeclaration ) ) - // InternalProblem.g:3561:2: ( ruleReferenceDeclaration ) + // InternalProblem.g:3822:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:3823:2: ( ( ruleQualifiedName ) ) + { + // InternalProblem.g:3823:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:3824:3: ( ruleQualifiedName ) { - // InternalProblem.g:3561:2: ( ruleReferenceDeclaration ) - // InternalProblem.g:3562:3: ruleReferenceDeclaration + before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_2_1_0()); + // InternalProblem.g:3825:3: ( ruleQualifiedName ) + // InternalProblem.g:3826:4: ruleQualifiedName { - before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_3_1_0()); + before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationQualifiedNameParserRuleCall_3_2_1_0_1()); pushFollow(FOLLOW_2); - ruleReferenceDeclaration(); + ruleQualifiedName(); state._fsp--; - after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_3_1_0()); + after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationQualifiedNameParserRuleCall_3_2_1_0_1()); + + } + + after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_2_1_0()); } @@ -11072,29 +11910,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1" + // $ANTLR end "rule__ClassDeclaration__SuperTypesAssignment_3_2_1" - // $ANTLR start "rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1" - // InternalProblem.g:3571:1: rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1 : ( ruleReferenceDeclaration ) ; - public final void rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0" + // InternalProblem.g:3837:1: rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 : ( ruleReferenceDeclaration ) ; + public final void rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3575:1: ( ( ruleReferenceDeclaration ) ) - // InternalProblem.g:3576:2: ( ruleReferenceDeclaration ) + // InternalProblem.g:3841:1: ( ( ruleReferenceDeclaration ) ) + // InternalProblem.g:3842:2: ( ruleReferenceDeclaration ) { - // InternalProblem.g:3576:2: ( ruleReferenceDeclaration ) - // InternalProblem.g:3577:3: ruleReferenceDeclaration + // InternalProblem.g:3842:2: ( ruleReferenceDeclaration ) + // InternalProblem.g:3843:3: ruleReferenceDeclaration { - before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_4_1_0()); + before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_4_0_1_0_0()); pushFollow(FOLLOW_2); ruleReferenceDeclaration(); state._fsp--; - after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_4_1_0()); + after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_4_0_1_0_0()); } @@ -11113,28 +11951,28 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1" + // $ANTLR end "rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0" // $ANTLR start "rule__ReferenceDeclaration__ContainmentAssignment_0_0" - // InternalProblem.g:3586:1: rule__ReferenceDeclaration__ContainmentAssignment_0_0 : ( ( 'contains' ) ) ; + // InternalProblem.g:3852:1: rule__ReferenceDeclaration__ContainmentAssignment_0_0 : ( ( 'contains' ) ) ; public final void rule__ReferenceDeclaration__ContainmentAssignment_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3590:1: ( ( ( 'contains' ) ) ) - // InternalProblem.g:3591:2: ( ( 'contains' ) ) + // InternalProblem.g:3856:1: ( ( ( 'contains' ) ) ) + // InternalProblem.g:3857:2: ( ( 'contains' ) ) { - // InternalProblem.g:3591:2: ( ( 'contains' ) ) - // InternalProblem.g:3592:3: ( 'contains' ) + // InternalProblem.g:3857:2: ( ( 'contains' ) ) + // InternalProblem.g:3858:3: ( 'contains' ) { before(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0()); - // InternalProblem.g:3593:3: ( 'contains' ) - // InternalProblem.g:3594:4: 'contains' + // InternalProblem.g:3859:3: ( 'contains' ) + // InternalProblem.g:3860:4: 'contains' { before(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0()); - match(input,36,FOLLOW_2); + match(input,39,FOLLOW_2); after(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0()); } @@ -11162,25 +12000,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__ReferenceTypeAssignment_1" - // InternalProblem.g:3605:1: rule__ReferenceDeclaration__ReferenceTypeAssignment_1 : ( ( RULE_ID ) ) ; + // InternalProblem.g:3871:1: rule__ReferenceDeclaration__ReferenceTypeAssignment_1 : ( ( ruleQualifiedName ) ) ; public final void rule__ReferenceDeclaration__ReferenceTypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3609:1: ( ( ( RULE_ID ) ) ) - // InternalProblem.g:3610:2: ( ( RULE_ID ) ) + // InternalProblem.g:3875:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:3876:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:3610:2: ( ( RULE_ID ) ) - // InternalProblem.g:3611:3: ( RULE_ID ) + // InternalProblem.g:3876:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:3877:3: ( ruleQualifiedName ) { before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationCrossReference_1_0()); - // InternalProblem.g:3612:3: ( RULE_ID ) - // InternalProblem.g:3613:4: RULE_ID + // InternalProblem.g:3878:3: ( ruleQualifiedName ) + // InternalProblem.g:3879:4: ruleQualifiedName { - before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationIDTerminalRuleCall_1_0_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationIDTerminalRuleCall_1_0_1()); + before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationQualifiedNameParserRuleCall_1_0_1()); + pushFollow(FOLLOW_2); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationQualifiedNameParserRuleCall_1_0_1()); } @@ -11206,26 +12048,26 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR end "rule__ReferenceDeclaration__ReferenceTypeAssignment_1" - // $ANTLR start "rule__ReferenceDeclaration__MultiplicityAssignment_3" - // InternalProblem.g:3624:1: rule__ReferenceDeclaration__MultiplicityAssignment_3 : ( ruleMultiplicity ) ; - public final void rule__ReferenceDeclaration__MultiplicityAssignment_3() throws RecognitionException { + // $ANTLR start "rule__ReferenceDeclaration__MultiplicityAssignment_2_1" + // InternalProblem.g:3890:1: rule__ReferenceDeclaration__MultiplicityAssignment_2_1 : ( ruleMultiplicity ) ; + public final void rule__ReferenceDeclaration__MultiplicityAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3628:1: ( ( ruleMultiplicity ) ) - // InternalProblem.g:3629:2: ( ruleMultiplicity ) + // InternalProblem.g:3894:1: ( ( ruleMultiplicity ) ) + // InternalProblem.g:3895:2: ( ruleMultiplicity ) { - // InternalProblem.g:3629:2: ( ruleMultiplicity ) - // InternalProblem.g:3630:3: ruleMultiplicity + // InternalProblem.g:3895:2: ( ruleMultiplicity ) + // InternalProblem.g:3896:3: ruleMultiplicity { - before(grammarAccess.getReferenceDeclarationAccess().getMultiplicityMultiplicityParserRuleCall_3_0()); + before(grammarAccess.getReferenceDeclarationAccess().getMultiplicityMultiplicityParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); ruleMultiplicity(); state._fsp--; - after(grammarAccess.getReferenceDeclarationAccess().getMultiplicityMultiplicityParserRuleCall_3_0()); + after(grammarAccess.getReferenceDeclarationAccess().getMultiplicityMultiplicityParserRuleCall_2_1_0()); } @@ -11244,25 +12086,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ReferenceDeclaration__MultiplicityAssignment_3" + // $ANTLR end "rule__ReferenceDeclaration__MultiplicityAssignment_2_1" - // $ANTLR start "rule__ReferenceDeclaration__NameAssignment_5" - // InternalProblem.g:3639:1: rule__ReferenceDeclaration__NameAssignment_5 : ( RULE_ID ) ; - public final void rule__ReferenceDeclaration__NameAssignment_5() throws RecognitionException { + // $ANTLR start "rule__ReferenceDeclaration__NameAssignment_3" + // InternalProblem.g:3905:1: rule__ReferenceDeclaration__NameAssignment_3 : ( RULE_ID ) ; + public final void rule__ReferenceDeclaration__NameAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3643:1: ( ( RULE_ID ) ) - // InternalProblem.g:3644:2: ( RULE_ID ) + // InternalProblem.g:3909:1: ( ( RULE_ID ) ) + // InternalProblem.g:3910:2: ( RULE_ID ) { - // InternalProblem.g:3644:2: ( RULE_ID ) - // InternalProblem.g:3645:3: RULE_ID + // InternalProblem.g:3910:2: ( RULE_ID ) + // InternalProblem.g:3911:3: RULE_ID { - before(grammarAccess.getReferenceDeclarationAccess().getNameIDTerminalRuleCall_5_0()); + before(grammarAccess.getReferenceDeclarationAccess().getNameIDTerminalRuleCall_3_0()); match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getReferenceDeclarationAccess().getNameIDTerminalRuleCall_5_0()); + after(grammarAccess.getReferenceDeclarationAccess().getNameIDTerminalRuleCall_3_0()); } @@ -11281,37 +12123,37 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ReferenceDeclaration__NameAssignment_5" + // $ANTLR end "rule__ReferenceDeclaration__NameAssignment_3" - // $ANTLR start "rule__ReferenceDeclaration__OppositeAssignment_6_1" - // InternalProblem.g:3654:1: rule__ReferenceDeclaration__OppositeAssignment_6_1 : ( ( ruleQualifiedName ) ) ; - public final void rule__ReferenceDeclaration__OppositeAssignment_6_1() throws RecognitionException { + // $ANTLR start "rule__ReferenceDeclaration__OppositeAssignment_4_1" + // InternalProblem.g:3920:1: rule__ReferenceDeclaration__OppositeAssignment_4_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__ReferenceDeclaration__OppositeAssignment_4_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3658:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:3659:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:3924:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:3925:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:3659:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:3660:3: ( ruleQualifiedName ) + // InternalProblem.g:3925:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:3926:3: ( ruleQualifiedName ) { - before(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationCrossReference_6_1_0()); - // InternalProblem.g:3661:3: ( ruleQualifiedName ) - // InternalProblem.g:3662:4: ruleQualifiedName + before(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationCrossReference_4_1_0()); + // InternalProblem.g:3927:3: ( ruleQualifiedName ) + // InternalProblem.g:3928:4: ruleQualifiedName { - before(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationQualifiedNameParserRuleCall_6_1_0_1()); + before(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationQualifiedNameParserRuleCall_4_1_0_1()); pushFollow(FOLLOW_2); ruleQualifiedName(); state._fsp--; - after(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationQualifiedNameParserRuleCall_6_1_0_1()); + after(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationQualifiedNameParserRuleCall_4_1_0_1()); } - after(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationCrossReference_6_1_0()); + after(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationCrossReference_4_1_0()); } @@ -11330,28 +12172,28 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__ReferenceDeclaration__OppositeAssignment_6_1" + // $ANTLR end "rule__ReferenceDeclaration__OppositeAssignment_4_1" // $ANTLR start "rule__PredicateDefinition__ErrorAssignment_0_0_0" - // InternalProblem.g:3673:1: rule__PredicateDefinition__ErrorAssignment_0_0_0 : ( ( 'error' ) ) ; + // InternalProblem.g:3939:1: rule__PredicateDefinition__ErrorAssignment_0_0_0 : ( ( 'error' ) ) ; public final void rule__PredicateDefinition__ErrorAssignment_0_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3677:1: ( ( ( 'error' ) ) ) - // InternalProblem.g:3678:2: ( ( 'error' ) ) + // InternalProblem.g:3943:1: ( ( ( 'error' ) ) ) + // InternalProblem.g:3944:2: ( ( 'error' ) ) { - // InternalProblem.g:3678:2: ( ( 'error' ) ) - // InternalProblem.g:3679:3: ( 'error' ) + // InternalProblem.g:3944:2: ( ( 'error' ) ) + // InternalProblem.g:3945:3: ( 'error' ) { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0()); - // InternalProblem.g:3680:3: ( 'error' ) - // InternalProblem.g:3681:4: 'error' + // InternalProblem.g:3946:3: ( 'error' ) + // InternalProblem.g:3947:4: 'error' { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0()); - match(input,37,FOLLOW_2); + match(input,40,FOLLOW_2); after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0()); } @@ -11379,17 +12221,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__NameAssignment_1" - // InternalProblem.g:3692:1: rule__PredicateDefinition__NameAssignment_1 : ( RULE_ID ) ; + // InternalProblem.g:3958:1: rule__PredicateDefinition__NameAssignment_1 : ( RULE_ID ) ; public final void rule__PredicateDefinition__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3696:1: ( ( RULE_ID ) ) - // InternalProblem.g:3697:2: ( RULE_ID ) + // InternalProblem.g:3962:1: ( ( RULE_ID ) ) + // InternalProblem.g:3963:2: ( RULE_ID ) { - // InternalProblem.g:3697:2: ( RULE_ID ) - // InternalProblem.g:3698:3: RULE_ID + // InternalProblem.g:3963:2: ( RULE_ID ) + // InternalProblem.g:3964:3: RULE_ID { before(grammarAccess.getPredicateDefinitionAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); @@ -11416,17 +12258,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__ParametersAssignment_3_0" - // InternalProblem.g:3707:1: rule__PredicateDefinition__ParametersAssignment_3_0 : ( ruleParameter ) ; + // InternalProblem.g:3973:1: rule__PredicateDefinition__ParametersAssignment_3_0 : ( ruleParameter ) ; public final void rule__PredicateDefinition__ParametersAssignment_3_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3711:1: ( ( ruleParameter ) ) - // InternalProblem.g:3712:2: ( ruleParameter ) + // InternalProblem.g:3977:1: ( ( ruleParameter ) ) + // InternalProblem.g:3978:2: ( ruleParameter ) { - // InternalProblem.g:3712:2: ( ruleParameter ) - // InternalProblem.g:3713:3: ruleParameter + // InternalProblem.g:3978:2: ( ruleParameter ) + // InternalProblem.g:3979:3: ruleParameter { before(grammarAccess.getPredicateDefinitionAccess().getParametersParameterParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); @@ -11457,17 +12299,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__ParametersAssignment_3_1_1" - // InternalProblem.g:3722:1: rule__PredicateDefinition__ParametersAssignment_3_1_1 : ( ruleParameter ) ; + // InternalProblem.g:3988:1: rule__PredicateDefinition__ParametersAssignment_3_1_1 : ( ruleParameter ) ; public final void rule__PredicateDefinition__ParametersAssignment_3_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3726:1: ( ( ruleParameter ) ) - // InternalProblem.g:3727:2: ( ruleParameter ) + // InternalProblem.g:3992:1: ( ( ruleParameter ) ) + // InternalProblem.g:3993:2: ( ruleParameter ) { - // InternalProblem.g:3727:2: ( ruleParameter ) - // InternalProblem.g:3728:3: ruleParameter + // InternalProblem.g:3993:2: ( ruleParameter ) + // InternalProblem.g:3994:3: ruleParameter { before(grammarAccess.getPredicateDefinitionAccess().getParametersParameterParserRuleCall_3_1_1_0()); pushFollow(FOLLOW_2); @@ -11498,17 +12340,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__BodiesAssignment_5_1" - // InternalProblem.g:3737:1: rule__PredicateDefinition__BodiesAssignment_5_1 : ( ruleConjunction ) ; + // InternalProblem.g:4003:1: rule__PredicateDefinition__BodiesAssignment_5_1 : ( ruleConjunction ) ; public final void rule__PredicateDefinition__BodiesAssignment_5_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3741:1: ( ( ruleConjunction ) ) - // InternalProblem.g:3742:2: ( ruleConjunction ) + // InternalProblem.g:4007:1: ( ( ruleConjunction ) ) + // InternalProblem.g:4008:2: ( ruleConjunction ) { - // InternalProblem.g:3742:2: ( ruleConjunction ) - // InternalProblem.g:3743:3: ruleConjunction + // InternalProblem.g:4008:2: ( ruleConjunction ) + // InternalProblem.g:4009:3: ruleConjunction { before(grammarAccess.getPredicateDefinitionAccess().getBodiesConjunctionParserRuleCall_5_1_0()); pushFollow(FOLLOW_2); @@ -11539,17 +12381,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__BodiesAssignment_5_2_1" - // InternalProblem.g:3752:1: rule__PredicateDefinition__BodiesAssignment_5_2_1 : ( ruleConjunction ) ; + // InternalProblem.g:4018:1: rule__PredicateDefinition__BodiesAssignment_5_2_1 : ( ruleConjunction ) ; public final void rule__PredicateDefinition__BodiesAssignment_5_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3756:1: ( ( ruleConjunction ) ) - // InternalProblem.g:3757:2: ( ruleConjunction ) + // InternalProblem.g:4022:1: ( ( ruleConjunction ) ) + // InternalProblem.g:4023:2: ( ruleConjunction ) { - // InternalProblem.g:3757:2: ( ruleConjunction ) - // InternalProblem.g:3758:3: ruleConjunction + // InternalProblem.g:4023:2: ( ruleConjunction ) + // InternalProblem.g:4024:3: ruleConjunction { before(grammarAccess.getPredicateDefinitionAccess().getBodiesConjunctionParserRuleCall_5_2_1_0()); pushFollow(FOLLOW_2); @@ -11580,21 +12422,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Parameter__ParameterTypeAssignment_0" - // InternalProblem.g:3767:1: rule__Parameter__ParameterTypeAssignment_0 : ( ( RULE_ID ) ) ; + // InternalProblem.g:4033:1: rule__Parameter__ParameterTypeAssignment_0 : ( ( RULE_ID ) ) ; public final void rule__Parameter__ParameterTypeAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3771:1: ( ( ( RULE_ID ) ) ) - // InternalProblem.g:3772:2: ( ( RULE_ID ) ) + // InternalProblem.g:4037:1: ( ( ( RULE_ID ) ) ) + // InternalProblem.g:4038:2: ( ( RULE_ID ) ) { - // InternalProblem.g:3772:2: ( ( RULE_ID ) ) - // InternalProblem.g:3773:3: ( RULE_ID ) + // InternalProblem.g:4038:2: ( ( RULE_ID ) ) + // InternalProblem.g:4039:3: ( RULE_ID ) { before(grammarAccess.getParameterAccess().getParameterTypeClassDeclarationCrossReference_0_0()); - // InternalProblem.g:3774:3: ( RULE_ID ) - // InternalProblem.g:3775:4: RULE_ID + // InternalProblem.g:4040:3: ( RULE_ID ) + // InternalProblem.g:4041:4: RULE_ID { before(grammarAccess.getParameterAccess().getParameterTypeClassDeclarationIDTerminalRuleCall_0_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -11625,17 +12467,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Parameter__NameAssignment_1" - // InternalProblem.g:3786:1: rule__Parameter__NameAssignment_1 : ( RULE_ID ) ; + // InternalProblem.g:4052:1: rule__Parameter__NameAssignment_1 : ( RULE_ID ) ; public final void rule__Parameter__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3790:1: ( ( RULE_ID ) ) - // InternalProblem.g:3791:2: ( RULE_ID ) + // InternalProblem.g:4056:1: ( ( RULE_ID ) ) + // InternalProblem.g:4057:2: ( RULE_ID ) { - // InternalProblem.g:3791:2: ( RULE_ID ) - // InternalProblem.g:3792:3: RULE_ID + // InternalProblem.g:4057:2: ( RULE_ID ) + // InternalProblem.g:4058:3: RULE_ID { before(grammarAccess.getParameterAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); @@ -11662,17 +12504,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__LiteralsAssignment_0" - // InternalProblem.g:3801:1: rule__Conjunction__LiteralsAssignment_0 : ( ruleLiteral ) ; + // InternalProblem.g:4067:1: rule__Conjunction__LiteralsAssignment_0 : ( ruleLiteral ) ; public final void rule__Conjunction__LiteralsAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3805:1: ( ( ruleLiteral ) ) - // InternalProblem.g:3806:2: ( ruleLiteral ) + // InternalProblem.g:4071:1: ( ( ruleLiteral ) ) + // InternalProblem.g:4072:2: ( ruleLiteral ) { - // InternalProblem.g:3806:2: ( ruleLiteral ) - // InternalProblem.g:3807:3: ruleLiteral + // InternalProblem.g:4072:2: ( ruleLiteral ) + // InternalProblem.g:4073:3: ruleLiteral { before(grammarAccess.getConjunctionAccess().getLiteralsLiteralParserRuleCall_0_0()); pushFollow(FOLLOW_2); @@ -11703,17 +12545,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__LiteralsAssignment_1_1" - // InternalProblem.g:3816:1: rule__Conjunction__LiteralsAssignment_1_1 : ( ruleLiteral ) ; + // InternalProblem.g:4082:1: rule__Conjunction__LiteralsAssignment_1_1 : ( ruleLiteral ) ; public final void rule__Conjunction__LiteralsAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3820:1: ( ( ruleLiteral ) ) - // InternalProblem.g:3821:2: ( ruleLiteral ) + // InternalProblem.g:4086:1: ( ( ruleLiteral ) ) + // InternalProblem.g:4087:2: ( ruleLiteral ) { - // InternalProblem.g:3821:2: ( ruleLiteral ) - // InternalProblem.g:3822:3: ruleLiteral + // InternalProblem.g:4087:2: ( ruleLiteral ) + // InternalProblem.g:4088:3: ruleLiteral { before(grammarAccess.getConjunctionAccess().getLiteralsLiteralParserRuleCall_1_1_0()); pushFollow(FOLLOW_2); @@ -11744,17 +12586,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NegativeLiteral__AtomAssignment_1" - // InternalProblem.g:3831:1: rule__NegativeLiteral__AtomAssignment_1 : ( ruleAtom ) ; + // InternalProblem.g:4097:1: rule__NegativeLiteral__AtomAssignment_1 : ( ruleAtom ) ; public final void rule__NegativeLiteral__AtomAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3835:1: ( ( ruleAtom ) ) - // InternalProblem.g:3836:2: ( ruleAtom ) + // InternalProblem.g:4101:1: ( ( ruleAtom ) ) + // InternalProblem.g:4102:2: ( ruleAtom ) { - // InternalProblem.g:3836:2: ( ruleAtom ) - // InternalProblem.g:3837:3: ruleAtom + // InternalProblem.g:4102:2: ( ruleAtom ) + // InternalProblem.g:4103:3: ruleAtom { before(grammarAccess.getNegativeLiteralAccess().getAtomAtomParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -11785,21 +12627,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__RelationAssignment_0" - // InternalProblem.g:3846:1: rule__Atom__RelationAssignment_0 : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:4112:1: rule__Atom__RelationAssignment_0 : ( ( ruleQualifiedName ) ) ; public final void rule__Atom__RelationAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3850:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:3851:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4116:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:4117:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:3851:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:3852:3: ( ruleQualifiedName ) + // InternalProblem.g:4117:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4118:3: ( ruleQualifiedName ) { before(grammarAccess.getAtomAccess().getRelationRelationCrossReference_0_0()); - // InternalProblem.g:3853:3: ( ruleQualifiedName ) - // InternalProblem.g:3854:4: ruleQualifiedName + // InternalProblem.g:4119:3: ( ruleQualifiedName ) + // InternalProblem.g:4120:4: ruleQualifiedName { before(grammarAccess.getAtomAccess().getRelationRelationQualifiedNameParserRuleCall_0_0_1()); pushFollow(FOLLOW_2); @@ -11834,24 +12676,24 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__TransitiveClosureAssignment_1" - // InternalProblem.g:3865:1: rule__Atom__TransitiveClosureAssignment_1 : ( ( '+' ) ) ; + // InternalProblem.g:4131:1: rule__Atom__TransitiveClosureAssignment_1 : ( ( '+' ) ) ; public final void rule__Atom__TransitiveClosureAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3869:1: ( ( ( '+' ) ) ) - // InternalProblem.g:3870:2: ( ( '+' ) ) + // InternalProblem.g:4135:1: ( ( ( '+' ) ) ) + // InternalProblem.g:4136:2: ( ( '+' ) ) { - // InternalProblem.g:3870:2: ( ( '+' ) ) - // InternalProblem.g:3871:3: ( '+' ) + // InternalProblem.g:4136:2: ( ( '+' ) ) + // InternalProblem.g:4137:3: ( '+' ) { before(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0()); - // InternalProblem.g:3872:3: ( '+' ) - // InternalProblem.g:3873:4: '+' + // InternalProblem.g:4138:3: ( '+' ) + // InternalProblem.g:4139:4: '+' { before(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0()); - match(input,38,FOLLOW_2); + match(input,41,FOLLOW_2); after(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0()); } @@ -11879,29 +12721,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__ArgumentsAssignment_3_0" - // InternalProblem.g:3884:1: rule__Atom__ArgumentsAssignment_3_0 : ( ( RULE_ID ) ) ; + // InternalProblem.g:4150:1: rule__Atom__ArgumentsAssignment_3_0 : ( ruleArgument ) ; public final void rule__Atom__ArgumentsAssignment_3_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3888:1: ( ( ( RULE_ID ) ) ) - // InternalProblem.g:3889:2: ( ( RULE_ID ) ) - { - // InternalProblem.g:3889:2: ( ( RULE_ID ) ) - // InternalProblem.g:3890:3: ( RULE_ID ) + // InternalProblem.g:4154:1: ( ( ruleArgument ) ) + // InternalProblem.g:4155:2: ( ruleArgument ) { - before(grammarAccess.getAtomAccess().getArgumentsVariableCrossReference_3_0_0()); - // InternalProblem.g:3891:3: ( RULE_ID ) - // InternalProblem.g:3892:4: RULE_ID + // InternalProblem.g:4155:2: ( ruleArgument ) + // InternalProblem.g:4156:3: ruleArgument { - before(grammarAccess.getAtomAccess().getArgumentsVariableIDTerminalRuleCall_3_0_0_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getAtomAccess().getArgumentsVariableIDTerminalRuleCall_3_0_0_1()); + before(grammarAccess.getAtomAccess().getArgumentsArgumentParserRuleCall_3_0_0()); + pushFollow(FOLLOW_2); + ruleArgument(); - } + state._fsp--; - after(grammarAccess.getAtomAccess().getArgumentsVariableCrossReference_3_0_0()); + after(grammarAccess.getAtomAccess().getArgumentsArgumentParserRuleCall_3_0_0()); } @@ -11924,29 +12762,70 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__ArgumentsAssignment_3_1_1" - // InternalProblem.g:3903:1: rule__Atom__ArgumentsAssignment_3_1_1 : ( ( RULE_ID ) ) ; + // InternalProblem.g:4165:1: rule__Atom__ArgumentsAssignment_3_1_1 : ( ruleArgument ) ; public final void rule__Atom__ArgumentsAssignment_3_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3907:1: ( ( ( RULE_ID ) ) ) - // InternalProblem.g:3908:2: ( ( RULE_ID ) ) + // InternalProblem.g:4169:1: ( ( ruleArgument ) ) + // InternalProblem.g:4170:2: ( ruleArgument ) + { + // InternalProblem.g:4170:2: ( ruleArgument ) + // InternalProblem.g:4171:3: ruleArgument + { + before(grammarAccess.getAtomAccess().getArgumentsArgumentParserRuleCall_3_1_1_0()); + pushFollow(FOLLOW_2); + ruleArgument(); + + state._fsp--; + + after(grammarAccess.getAtomAccess().getArgumentsArgumentParserRuleCall_3_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Atom__ArgumentsAssignment_3_1_1" + + + // $ANTLR start "rule__Argument__VariableAssignment" + // InternalProblem.g:4180:1: rule__Argument__VariableAssignment : ( ( RULE_ID ) ) ; + public final void rule__Argument__VariableAssignment() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalProblem.g:4184:1: ( ( ( RULE_ID ) ) ) + // InternalProblem.g:4185:2: ( ( RULE_ID ) ) { - // InternalProblem.g:3908:2: ( ( RULE_ID ) ) - // InternalProblem.g:3909:3: ( RULE_ID ) + // InternalProblem.g:4185:2: ( ( RULE_ID ) ) + // InternalProblem.g:4186:3: ( RULE_ID ) { - before(grammarAccess.getAtomAccess().getArgumentsVariableCrossReference_3_1_1_0()); - // InternalProblem.g:3910:3: ( RULE_ID ) - // InternalProblem.g:3911:4: RULE_ID + before(grammarAccess.getArgumentAccess().getVariableVariableCrossReference_0()); + // InternalProblem.g:4187:3: ( RULE_ID ) + // InternalProblem.g:4188:4: RULE_ID { - before(grammarAccess.getAtomAccess().getArgumentsVariableIDTerminalRuleCall_3_1_1_0_1()); + before(grammarAccess.getArgumentAccess().getVariableVariableIDTerminalRuleCall_0_1()); match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getAtomAccess().getArgumentsVariableIDTerminalRuleCall_3_1_1_0_1()); + after(grammarAccess.getArgumentAccess().getVariableVariableIDTerminalRuleCall_0_1()); } - after(grammarAccess.getAtomAccess().getArgumentsVariableCrossReference_3_1_1_0()); + after(grammarAccess.getArgumentAccess().getVariableVariableCrossReference_0()); } @@ -11965,25 +12844,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__Atom__ArgumentsAssignment_3_1_1" + // $ANTLR end "rule__Argument__VariableAssignment" // $ANTLR start "rule__Assertion__RelationAssignment_0_0_0" - // InternalProblem.g:3922:1: rule__Assertion__RelationAssignment_0_0_0 : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:4199:1: rule__Assertion__RelationAssignment_0_0_0 : ( ( ruleQualifiedName ) ) ; public final void rule__Assertion__RelationAssignment_0_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3926:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:3927:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4203:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:4204:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:3927:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:3928:3: ( ruleQualifiedName ) + // InternalProblem.g:4204:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4205:3: ( ruleQualifiedName ) { before(grammarAccess.getAssertionAccess().getRelationRelationCrossReference_0_0_0_0()); - // InternalProblem.g:3929:3: ( ruleQualifiedName ) - // InternalProblem.g:3930:4: ruleQualifiedName + // InternalProblem.g:4206:3: ( ruleQualifiedName ) + // InternalProblem.g:4207:4: ruleQualifiedName { before(grammarAccess.getAssertionAccess().getRelationRelationQualifiedNameParserRuleCall_0_0_0_0_1()); pushFollow(FOLLOW_2); @@ -12018,21 +12897,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__ArgumentsAssignment_0_0_2_0" - // InternalProblem.g:3941:1: rule__Assertion__ArgumentsAssignment_0_0_2_0 : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:4218:1: rule__Assertion__ArgumentsAssignment_0_0_2_0 : ( ( ruleQualifiedName ) ) ; public final void rule__Assertion__ArgumentsAssignment_0_0_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3945:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:3946:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4222:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:4223:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:3946:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:3947:3: ( ruleQualifiedName ) + // InternalProblem.g:4223:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4224:3: ( ruleQualifiedName ) { before(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_0_2_0_0()); - // InternalProblem.g:3948:3: ( ruleQualifiedName ) - // InternalProblem.g:3949:4: ruleQualifiedName + // InternalProblem.g:4225:3: ( ruleQualifiedName ) + // InternalProblem.g:4226:4: ruleQualifiedName { before(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_0_2_0_0_1()); pushFollow(FOLLOW_2); @@ -12067,21 +12946,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__ArgumentsAssignment_0_0_2_1_1" - // InternalProblem.g:3960:1: rule__Assertion__ArgumentsAssignment_0_0_2_1_1 : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:4237:1: rule__Assertion__ArgumentsAssignment_0_0_2_1_1 : ( ( ruleQualifiedName ) ) ; public final void rule__Assertion__ArgumentsAssignment_0_0_2_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3964:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:3965:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4241:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:4242:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:3965:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:3966:3: ( ruleQualifiedName ) + // InternalProblem.g:4242:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4243:3: ( ruleQualifiedName ) { before(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_0_2_1_1_0()); - // InternalProblem.g:3967:3: ( ruleQualifiedName ) - // InternalProblem.g:3968:4: ruleQualifiedName + // InternalProblem.g:4244:3: ( ruleQualifiedName ) + // InternalProblem.g:4245:4: ruleQualifiedName { before(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_0_2_1_1_0_1()); pushFollow(FOLLOW_2); @@ -12116,17 +12995,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__ValueAssignment_0_0_5" - // InternalProblem.g:3979:1: rule__Assertion__ValueAssignment_0_0_5 : ( ruleLogicValue ) ; + // InternalProblem.g:4256:1: rule__Assertion__ValueAssignment_0_0_5 : ( ruleLogicValue ) ; public final void rule__Assertion__ValueAssignment_0_0_5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3983:1: ( ( ruleLogicValue ) ) - // InternalProblem.g:3984:2: ( ruleLogicValue ) + // InternalProblem.g:4260:1: ( ( ruleLogicValue ) ) + // InternalProblem.g:4261:2: ( ruleLogicValue ) { - // InternalProblem.g:3984:2: ( ruleLogicValue ) - // InternalProblem.g:3985:3: ruleLogicValue + // InternalProblem.g:4261:2: ( ruleLogicValue ) + // InternalProblem.g:4262:3: ruleLogicValue { before(grammarAccess.getAssertionAccess().getValueLogicValueEnumRuleCall_0_0_5_0()); pushFollow(FOLLOW_2); @@ -12157,17 +13036,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__ValueAssignment_0_1_0" - // InternalProblem.g:3994:1: rule__Assertion__ValueAssignment_0_1_0 : ( ruleShortLogicValue ) ; + // InternalProblem.g:4271:1: rule__Assertion__ValueAssignment_0_1_0 : ( ruleShortLogicValue ) ; public final void rule__Assertion__ValueAssignment_0_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3998:1: ( ( ruleShortLogicValue ) ) - // InternalProblem.g:3999:2: ( ruleShortLogicValue ) + // InternalProblem.g:4275:1: ( ( ruleShortLogicValue ) ) + // InternalProblem.g:4276:2: ( ruleShortLogicValue ) { - // InternalProblem.g:3999:2: ( ruleShortLogicValue ) - // InternalProblem.g:4000:3: ruleShortLogicValue + // InternalProblem.g:4276:2: ( ruleShortLogicValue ) + // InternalProblem.g:4277:3: ruleShortLogicValue { before(grammarAccess.getAssertionAccess().getValueShortLogicValueEnumRuleCall_0_1_0_0()); pushFollow(FOLLOW_2); @@ -12198,21 +13077,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__RelationAssignment_0_1_1" - // InternalProblem.g:4009:1: rule__Assertion__RelationAssignment_0_1_1 : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:4286:1: rule__Assertion__RelationAssignment_0_1_1 : ( ( ruleQualifiedName ) ) ; public final void rule__Assertion__RelationAssignment_0_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4013:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:4014:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4290:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:4291:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:4014:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:4015:3: ( ruleQualifiedName ) + // InternalProblem.g:4291:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4292:3: ( ruleQualifiedName ) { before(grammarAccess.getAssertionAccess().getRelationRelationCrossReference_0_1_1_0()); - // InternalProblem.g:4016:3: ( ruleQualifiedName ) - // InternalProblem.g:4017:4: ruleQualifiedName + // InternalProblem.g:4293:3: ( ruleQualifiedName ) + // InternalProblem.g:4294:4: ruleQualifiedName { before(grammarAccess.getAssertionAccess().getRelationRelationQualifiedNameParserRuleCall_0_1_1_0_1()); pushFollow(FOLLOW_2); @@ -12247,21 +13126,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__ArgumentsAssignment_0_1_3_0" - // InternalProblem.g:4028:1: rule__Assertion__ArgumentsAssignment_0_1_3_0 : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:4305:1: rule__Assertion__ArgumentsAssignment_0_1_3_0 : ( ( ruleQualifiedName ) ) ; public final void rule__Assertion__ArgumentsAssignment_0_1_3_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4032:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:4033:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4309:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:4310:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:4033:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:4034:3: ( ruleQualifiedName ) + // InternalProblem.g:4310:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4311:3: ( ruleQualifiedName ) { before(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_1_3_0_0()); - // InternalProblem.g:4035:3: ( ruleQualifiedName ) - // InternalProblem.g:4036:4: ruleQualifiedName + // InternalProblem.g:4312:3: ( ruleQualifiedName ) + // InternalProblem.g:4313:4: ruleQualifiedName { before(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_1_3_0_0_1()); pushFollow(FOLLOW_2); @@ -12296,21 +13175,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__ArgumentsAssignment_0_1_3_1_1" - // InternalProblem.g:4047:1: rule__Assertion__ArgumentsAssignment_0_1_3_1_1 : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:4324:1: rule__Assertion__ArgumentsAssignment_0_1_3_1_1 : ( ( ruleQualifiedName ) ) ; public final void rule__Assertion__ArgumentsAssignment_0_1_3_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4051:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:4052:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4328:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:4329:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:4052:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:4053:3: ( ruleQualifiedName ) + // InternalProblem.g:4329:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4330:3: ( ruleQualifiedName ) { before(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_1_3_1_1_0()); - // InternalProblem.g:4054:3: ( ruleQualifiedName ) - // InternalProblem.g:4055:4: ruleQualifiedName + // InternalProblem.g:4331:3: ( ruleQualifiedName ) + // InternalProblem.g:4332:4: ruleQualifiedName { before(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_1_3_1_1_0_1()); pushFollow(FOLLOW_2); @@ -12345,17 +13224,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__TypeScopesAssignment_1" - // InternalProblem.g:4066:1: rule__ScopeDeclaration__TypeScopesAssignment_1 : ( ruleTypeScope ) ; + // InternalProblem.g:4343:1: rule__ScopeDeclaration__TypeScopesAssignment_1 : ( ruleTypeScope ) ; public final void rule__ScopeDeclaration__TypeScopesAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4070:1: ( ( ruleTypeScope ) ) - // InternalProblem.g:4071:2: ( ruleTypeScope ) + // InternalProblem.g:4347:1: ( ( ruleTypeScope ) ) + // InternalProblem.g:4348:2: ( ruleTypeScope ) { - // InternalProblem.g:4071:2: ( ruleTypeScope ) - // InternalProblem.g:4072:3: ruleTypeScope + // InternalProblem.g:4348:2: ( ruleTypeScope ) + // InternalProblem.g:4349:3: ruleTypeScope { before(grammarAccess.getScopeDeclarationAccess().getTypeScopesTypeScopeParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -12386,17 +13265,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__TypeScopesAssignment_2_1" - // InternalProblem.g:4081:1: rule__ScopeDeclaration__TypeScopesAssignment_2_1 : ( ruleTypeScope ) ; + // InternalProblem.g:4358:1: rule__ScopeDeclaration__TypeScopesAssignment_2_1 : ( ruleTypeScope ) ; public final void rule__ScopeDeclaration__TypeScopesAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4085:1: ( ( ruleTypeScope ) ) - // InternalProblem.g:4086:2: ( ruleTypeScope ) + // InternalProblem.g:4362:1: ( ( ruleTypeScope ) ) + // InternalProblem.g:4363:2: ( ruleTypeScope ) { - // InternalProblem.g:4086:2: ( ruleTypeScope ) - // InternalProblem.g:4087:3: ruleTypeScope + // InternalProblem.g:4363:2: ( ruleTypeScope ) + // InternalProblem.g:4364:3: ruleTypeScope { before(grammarAccess.getScopeDeclarationAccess().getTypeScopesTypeScopeParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); @@ -12427,21 +13306,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__TargetTypeAssignment_0" - // InternalProblem.g:4096:1: rule__TypeScope__TargetTypeAssignment_0 : ( ( RULE_ID ) ) ; + // InternalProblem.g:4373:1: rule__TypeScope__TargetTypeAssignment_0 : ( ( RULE_ID ) ) ; public final void rule__TypeScope__TargetTypeAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4100:1: ( ( ( RULE_ID ) ) ) - // InternalProblem.g:4101:2: ( ( RULE_ID ) ) + // InternalProblem.g:4377:1: ( ( ( RULE_ID ) ) ) + // InternalProblem.g:4378:2: ( ( RULE_ID ) ) { - // InternalProblem.g:4101:2: ( ( RULE_ID ) ) - // InternalProblem.g:4102:3: ( RULE_ID ) + // InternalProblem.g:4378:2: ( ( RULE_ID ) ) + // InternalProblem.g:4379:3: ( RULE_ID ) { before(grammarAccess.getTypeScopeAccess().getTargetTypeClassDeclarationCrossReference_0_0()); - // InternalProblem.g:4103:3: ( RULE_ID ) - // InternalProblem.g:4104:4: RULE_ID + // InternalProblem.g:4380:3: ( RULE_ID ) + // InternalProblem.g:4381:4: RULE_ID { before(grammarAccess.getTypeScopeAccess().getTargetTypeClassDeclarationIDTerminalRuleCall_0_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -12472,24 +13351,24 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__IncrementAssignment_1_0" - // InternalProblem.g:4115:1: rule__TypeScope__IncrementAssignment_1_0 : ( ( '+=' ) ) ; + // InternalProblem.g:4392:1: rule__TypeScope__IncrementAssignment_1_0 : ( ( '+=' ) ) ; public final void rule__TypeScope__IncrementAssignment_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4119:1: ( ( ( '+=' ) ) ) - // InternalProblem.g:4120:2: ( ( '+=' ) ) + // InternalProblem.g:4396:1: ( ( ( '+=' ) ) ) + // InternalProblem.g:4397:2: ( ( '+=' ) ) { - // InternalProblem.g:4120:2: ( ( '+=' ) ) - // InternalProblem.g:4121:3: ( '+=' ) + // InternalProblem.g:4397:2: ( ( '+=' ) ) + // InternalProblem.g:4398:3: ( '+=' ) { before(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0()); - // InternalProblem.g:4122:3: ( '+=' ) - // InternalProblem.g:4123:4: '+=' + // InternalProblem.g:4399:3: ( '+=' ) + // InternalProblem.g:4400:4: '+=' { before(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0()); - match(input,39,FOLLOW_2); + match(input,42,FOLLOW_2); after(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0()); } @@ -12517,25 +13396,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__MultiplicityAssignment_2" - // InternalProblem.g:4134:1: rule__TypeScope__MultiplicityAssignment_2 : ( ruleMultiplicity ) ; + // InternalProblem.g:4411:1: rule__TypeScope__MultiplicityAssignment_2 : ( ruleDefiniteMultiplicity ) ; public final void rule__TypeScope__MultiplicityAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4138:1: ( ( ruleMultiplicity ) ) - // InternalProblem.g:4139:2: ( ruleMultiplicity ) + // InternalProblem.g:4415:1: ( ( ruleDefiniteMultiplicity ) ) + // InternalProblem.g:4416:2: ( ruleDefiniteMultiplicity ) { - // InternalProblem.g:4139:2: ( ruleMultiplicity ) - // InternalProblem.g:4140:3: ruleMultiplicity + // InternalProblem.g:4416:2: ( ruleDefiniteMultiplicity ) + // InternalProblem.g:4417:3: ruleDefiniteMultiplicity { - before(grammarAccess.getTypeScopeAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); + before(grammarAccess.getTypeScopeAccess().getMultiplicityDefiniteMultiplicityParserRuleCall_2_0()); pushFollow(FOLLOW_2); - ruleMultiplicity(); + ruleDefiniteMultiplicity(); state._fsp--; - after(grammarAccess.getTypeScopeAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); + after(grammarAccess.getTypeScopeAccess().getMultiplicityDefiniteMultiplicityParserRuleCall_2_0()); } @@ -12558,17 +13437,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__RangeMultiplicity__LowerBoundAssignment_0" - // InternalProblem.g:4149:1: rule__RangeMultiplicity__LowerBoundAssignment_0 : ( RULE_INT ) ; + // InternalProblem.g:4426:1: rule__RangeMultiplicity__LowerBoundAssignment_0 : ( RULE_INT ) ; public final void rule__RangeMultiplicity__LowerBoundAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4153:1: ( ( RULE_INT ) ) - // InternalProblem.g:4154:2: ( RULE_INT ) + // InternalProblem.g:4430:1: ( ( RULE_INT ) ) + // InternalProblem.g:4431:2: ( RULE_INT ) { - // InternalProblem.g:4154:2: ( RULE_INT ) - // InternalProblem.g:4155:3: RULE_INT + // InternalProblem.g:4431:2: ( RULE_INT ) + // InternalProblem.g:4432:3: RULE_INT { before(grammarAccess.getRangeMultiplicityAccess().getLowerBoundINTTerminalRuleCall_0_0()); match(input,RULE_INT,FOLLOW_2); @@ -12595,17 +13474,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__RangeMultiplicity__UpperBoundAssignment_2" - // InternalProblem.g:4164:1: rule__RangeMultiplicity__UpperBoundAssignment_2 : ( ruleUpperBound ) ; + // InternalProblem.g:4441:1: rule__RangeMultiplicity__UpperBoundAssignment_2 : ( ruleUpperBound ) ; public final void rule__RangeMultiplicity__UpperBoundAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4168:1: ( ( ruleUpperBound ) ) - // InternalProblem.g:4169:2: ( ruleUpperBound ) + // InternalProblem.g:4445:1: ( ( ruleUpperBound ) ) + // InternalProblem.g:4446:2: ( ruleUpperBound ) { - // InternalProblem.g:4169:2: ( ruleUpperBound ) - // InternalProblem.g:4170:3: ruleUpperBound + // InternalProblem.g:4446:2: ( ruleUpperBound ) + // InternalProblem.g:4447:3: ruleUpperBound { before(grammarAccess.getRangeMultiplicityAccess().getUpperBoundUpperBoundParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -12636,17 +13515,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ExactMultiplicity__ExactValueAssignment" - // InternalProblem.g:4179:1: rule__ExactMultiplicity__ExactValueAssignment : ( RULE_INT ) ; + // InternalProblem.g:4456:1: rule__ExactMultiplicity__ExactValueAssignment : ( RULE_INT ) ; public final void rule__ExactMultiplicity__ExactValueAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4183:1: ( ( RULE_INT ) ) - // InternalProblem.g:4184:2: ( RULE_INT ) + // InternalProblem.g:4460:1: ( ( RULE_INT ) ) + // InternalProblem.g:4461:2: ( RULE_INT ) { - // InternalProblem.g:4184:2: ( RULE_INT ) - // InternalProblem.g:4185:3: RULE_INT + // InternalProblem.g:4461:2: ( RULE_INT ) + // InternalProblem.g:4462:3: RULE_INT { before(grammarAccess.getExactMultiplicityAccess().getExactValueINTTerminalRuleCall_0()); match(input,RULE_INT,FOLLOW_2); @@ -12674,28 +13553,34 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // Delegated rules - protected DFA8 dfa8 = new DFA8(this); - static final String dfa_1s = "\17\uffff"; - static final String dfa_2s = "\1\5\1\33\1\uffff\2\5\1\33\1\31\1\25\2\5\1\uffff\2\31\1\5\1\31"; - static final String dfa_3s = "\1\23\1\42\1\uffff\1\5\1\34\2\42\1\37\2\5\1\uffff\2\42\1\5\1\42"; - static final String dfa_4s = "\2\uffff\1\2\7\uffff\1\1\4\uffff"; - static final String dfa_5s = "\17\uffff}>"; + protected DFA6 dfa6 = new DFA6(this); + static final String dfa_1s = "\25\uffff"; + static final String dfa_2s = "\1\5\2\40\1\uffff\2\5\2\31\1\14\2\40\2\5\1\uffff\4\31\1\5\2\31"; + static final String dfa_3s = "\1\25\1\40\1\43\1\uffff\1\41\1\6\1\41\3\43\1\40\2\6\1\uffff\1\41\2\43\1\41\1\6\1\43\1\41"; + static final String dfa_4s = "\3\uffff\1\2\11\uffff\1\1\7\uffff"; + static final String dfa_5s = "\25\uffff}>"; static final String[] dfa_6s = { - "\1\1\14\uffff\2\2", - "\1\4\6\uffff\1\3", + "\1\1\1\2\15\uffff\2\3", + "\1\4", + "\1\4\2\uffff\1\5", "", - "\1\5", - "\1\6\26\uffff\1\7", - "\1\4\6\uffff\1\3", - "\1\11\2\uffff\1\7\5\uffff\1\10", - "\1\2\11\uffff\1\12", - "\1\13", - "\1\14", + "\1\6\1\7\32\uffff\1\10", + "\1\12\1\11", + "\1\13\7\uffff\1\10", + "\1\13\7\uffff\1\10\1\uffff\1\14", + "\1\3\26\uffff\1\15", + "\1\4\2\uffff\1\5", + "\1\4", + "\1\16\1\17", + "\1\21\1\20", "", - "\1\11\2\uffff\1\7\5\uffff\1\10", - "\1\11\2\uffff\1\7\5\uffff\1\15", - "\1\16", - "\1\11\2\uffff\1\7\5\uffff\1\15" + "\1\13\7\uffff\1\10", + "\1\13\7\uffff\1\10\1\uffff\1\22", + "\1\13\7\uffff\1\10\1\uffff\1\14", + "\1\13\7\uffff\1\10", + "\1\24\1\23", + "\1\13\7\uffff\1\10\1\uffff\1\22", + "\1\13\7\uffff\1\10" }; static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); @@ -12705,11 +13590,11 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); - class DFA8 extends DFA { + class DFA6 extends DFA { - public DFA8(BaseRecognizer recognizer) { + public DFA6(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 8; + this.decisionNumber = 6; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -12719,43 +13604,45 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { this.transition = dfa_6; } public String getDescription() { - return "672:1: rule__Assertion__Alternatives_0 : ( ( ( rule__Assertion__Group_0_0__0 ) ) | ( ( rule__Assertion__Group_0_1__0 ) ) );"; + return "726:1: rule__Assertion__Alternatives_0 : ( ( ( rule__Assertion__Group_0_0__0 ) ) | ( ( rule__Assertion__Group_0_1__0 ) ) );"; } } 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[]{0x00000029001C1022L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000800100000L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000001002600800L}); - public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000002000002L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000800020L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000001000020L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000015000B04060L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000015000B04062L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000004000800000L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000005001000L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000000060L}); public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000002000000L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000001000400800L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000800000L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000001000000L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000004000000L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000008000000L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000010000020L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000020200000L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000040020L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000040000000L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000040000002L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000004008000000L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000200000L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000080000000L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000038000L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x00000000000C0020L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000002200000L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000008000002000L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000200000000L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000000004010L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000400000002L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000002000002L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000008008002000L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000008000002002L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000010000000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000020000040L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000040000000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000100000000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000200000040L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000400001000L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000100060L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000010000002L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000020100000000L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000200000060L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000800000000L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x00000000000E0000L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000000300060L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000002001000L}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000040000008000L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000002000000000L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000000010010L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000800000002L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000000000020L}); } \ No newline at end of file -- cgit v1.2.3-70-g09d2