From 82a2ca3c963e47611d1ba55f6938e7665488fc5a Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Mon, 28 Jun 2021 17:16:56 +0200 Subject: Fix real literals --- .../ide/contentassist/antlr/ProblemParser.java | 9 +- .../contentassist/antlr/internal/InternalProblem.g | 287 +- .../antlr/internal/InternalProblem.tokens | 83 +- .../antlr/internal/InternalProblemLexer.java | 995 ++-- .../antlr/internal/InternalProblemParser.java | 5205 +++++++++----------- .../mwe2/ProblemWebIntegrationFragment.java | 2 - language-web/src/main/webapp/style.css | 2 +- .../xtext-resources/generated/mode-problem.js | 4 +- .../eclipse/viatra/solver/language/Problem.xtext | 11 +- .../eclipse/viatra/solver/language/builtin.problem | 2 +- .../viatra/solver/language/Problem.xtextbin | Bin 7550 -> 7566 bytes .../parser/antlr/internal/InternalProblem.g | 111 +- .../parser/antlr/internal/InternalProblem.tokens | 81 +- .../antlr/internal/InternalProblemLexer.java | 999 ++-- .../antlr/internal/InternalProblemParser.java | 972 ++-- .../language/services/ProblemGrammarAccess.java | 128 +- .../solver/language/tests/ProblemParsingTest.xtend | 46 +- .../solver/language/tests/ProblemScopingTest.xtend | 33 +- .../solver/language/tests/ProblemTestUtil.xtend | 10 +- 19 files changed, 3922 insertions(+), 5058 deletions(-) diff --git a/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/ProblemParser.java b/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/ProblemParser.java index f899bb1e..e4f892c7 100644 --- a/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/ProblemParser.java +++ b/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/ProblemParser.java @@ -48,9 +48,8 @@ public class ProblemParser extends AbstractContentAssistParser { builder.put(grammarAccess.getUpperBoundAccess().getAlternatives(), "rule__UpperBound__Alternatives"); builder.put(grammarAccess.getQualifiedNameAccess().getAlternatives(), "rule__QualifiedName__Alternatives"); builder.put(grammarAccess.getIdentifierAccess().getAlternatives(), "rule__Identifier__Alternatives"); - builder.put(grammarAccess.getRealAccess().getAlternatives_2(), "rule__Real__Alternatives_2"); - builder.put(grammarAccess.getRealAccess().getAlternatives_2_1_1(), "rule__Real__Alternatives_2_1_1"); - builder.put(grammarAccess.getRealAccess().getAlternatives_2_1_2(), "rule__Real__Alternatives_2_1_2"); + builder.put(grammarAccess.getRealAccess().getAlternatives_1(), "rule__Real__Alternatives_1"); + builder.put(grammarAccess.getRealAccess().getAlternatives_1_1_2(), "rule__Real__Alternatives_1_1_2"); 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"); @@ -96,9 +95,7 @@ public class ProblemParser extends AbstractContentAssistParser { builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1_1(), "rule__QualifiedName__Group_1_1__0"); builder.put(grammarAccess.getIntegerAccess().getGroup(), "rule__Integer__Group__0"); builder.put(grammarAccess.getRealAccess().getGroup(), "rule__Real__Group__0"); - builder.put(grammarAccess.getRealAccess().getGroup_2_0(), "rule__Real__Group_2_0__0"); - builder.put(grammarAccess.getRealAccess().getGroup_2_1(), "rule__Real__Group_2_1__0"); - builder.put(grammarAccess.getRealAccess().getGroup_2_1_0(), "rule__Real__Group_2_1_0__0"); + builder.put(grammarAccess.getRealAccess().getGroup_1_1(), "rule__Real__Group_1_1__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"); diff --git a/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g b/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g index bec0e050..1fc6285d 100644 --- a/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g +++ b/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g @@ -942,23 +942,16 @@ finally { // Entry rule entryRuleReal entryRuleReal -@init { - HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); -} : { before(grammarAccess.getRealRule()); } ruleReal { after(grammarAccess.getRealRule()); } EOF ; -finally { - myHiddenTokenState.restore(); -} // Rule Real ruleReal @init { - HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); int stackSize = keepStackSize(); } : @@ -970,7 +963,6 @@ ruleReal ; finally { restoreStackSize(stackSize); - myHiddenTokenState.restore(); } // Rule LogicValue @@ -1245,15 +1237,15 @@ rule__Constant__Alternatives } : ( - { before(grammarAccess.getConstantAccess().getIntConstantParserRuleCall_0()); } - ruleIntConstant - { after(grammarAccess.getConstantAccess().getIntConstantParserRuleCall_0()); } + { before(grammarAccess.getConstantAccess().getRealConstantParserRuleCall_0()); } + ruleRealConstant + { after(grammarAccess.getConstantAccess().getRealConstantParserRuleCall_0()); } ) | ( - { before(grammarAccess.getConstantAccess().getRealConstantParserRuleCall_1()); } - ruleRealConstant - { after(grammarAccess.getConstantAccess().getRealConstantParserRuleCall_1()); } + { before(grammarAccess.getConstantAccess().getIntConstantParserRuleCall_1()); } + ruleIntConstant + { after(grammarAccess.getConstantAccess().getIntConstantParserRuleCall_1()); } ) | ( @@ -1393,80 +1385,47 @@ rule__Identifier__Alternatives 'false' { after(grammarAccess.getIdentifierAccess().getFalseKeyword_2()); } ) - | - ( - { before(grammarAccess.getIdentifierAccess().getEKeyword_3()); } - 'e' - { after(grammarAccess.getIdentifierAccess().getEKeyword_3()); } - ) - | - ( - { before(grammarAccess.getIdentifierAccess().getEKeyword_4()); } - 'E' - { after(grammarAccess.getIdentifierAccess().getEKeyword_4()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Real__Alternatives_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getRealAccess().getGroup_2_0()); } - (rule__Real__Group_2_0__0) - { after(grammarAccess.getRealAccess().getGroup_2_0()); } - ) - | - ( - { before(grammarAccess.getRealAccess().getGroup_2_1()); } - (rule__Real__Group_2_1__0) - { after(grammarAccess.getRealAccess().getGroup_2_1()); } - ) ; finally { restoreStackSize(stackSize); } -rule__Real__Alternatives_2_1_1 +rule__Real__Alternatives_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getRealAccess().getEKeyword_2_1_1_0()); } - 'e' - { after(grammarAccess.getRealAccess().getEKeyword_2_1_1_0()); } + { before(grammarAccess.getRealAccess().getEXPONENTIALTerminalRuleCall_1_0()); } + RULE_EXPONENTIAL + { after(grammarAccess.getRealAccess().getEXPONENTIALTerminalRuleCall_1_0()); } ) | ( - { before(grammarAccess.getRealAccess().getEKeyword_2_1_1_1()); } - 'E' - { after(grammarAccess.getRealAccess().getEKeyword_2_1_1_1()); } + { before(grammarAccess.getRealAccess().getGroup_1_1()); } + (rule__Real__Group_1_1__0) + { after(grammarAccess.getRealAccess().getGroup_1_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Real__Alternatives_2_1_2 +rule__Real__Alternatives_1_1_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getRealAccess().getHyphenMinusKeyword_2_1_2_0()); } - '-' - { after(grammarAccess.getRealAccess().getHyphenMinusKeyword_2_1_2_0()); } + { before(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1_2_0()); } + RULE_INT + { after(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1_2_0()); } ) | ( - { before(grammarAccess.getRealAccess().getPlusSignKeyword_2_1_2_1()); } - '+' - { after(grammarAccess.getRealAccess().getPlusSignKeyword_2_1_2_1()); } + { before(grammarAccess.getRealAccess().getEXPONENTIALTerminalRuleCall_1_1_2_1()); } + RULE_EXPONENTIAL + { after(grammarAccess.getRealAccess().getEXPONENTIALTerminalRuleCall_1_1_2_1()); } ) ; finally { @@ -4767,7 +4726,6 @@ rule__Real__Group__1 } : rule__Real__Group__1__Impl - rule__Real__Group__2 ; finally { restoreStackSize(stackSize); @@ -4779,251 +4737,90 @@ rule__Real__Group__1__Impl } : ( - { before(grammarAccess.getRealAccess().getINTTerminalRuleCall_1()); } - RULE_INT - { after(grammarAccess.getRealAccess().getINTTerminalRuleCall_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Real__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__Real__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Real__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealAccess().getAlternatives_2()); } - (rule__Real__Alternatives_2) - { after(grammarAccess.getRealAccess().getAlternatives_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__Real__Group_2_0__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Real__Group_2_0__0__Impl - rule__Real__Group_2_0__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Real__Group_2_0__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealAccess().getFullStopKeyword_2_0_0()); } - '.' - { after(grammarAccess.getRealAccess().getFullStopKeyword_2_0_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Real__Group_2_0__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Real__Group_2_0__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Real__Group_2_0__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealAccess().getINTTerminalRuleCall_2_0_1()); } - RULE_INT - { after(grammarAccess.getRealAccess().getINTTerminalRuleCall_2_0_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__Real__Group_2_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Real__Group_2_1__0__Impl - rule__Real__Group_2_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Real__Group_2_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealAccess().getGroup_2_1_0()); } - (rule__Real__Group_2_1_0__0)? - { after(grammarAccess.getRealAccess().getGroup_2_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Real__Group_2_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Real__Group_2_1__1__Impl - rule__Real__Group_2_1__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__Real__Group_2_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealAccess().getAlternatives_2_1_1()); } - (rule__Real__Alternatives_2_1_1) - { after(grammarAccess.getRealAccess().getAlternatives_2_1_1()); } + { before(grammarAccess.getRealAccess().getAlternatives_1()); } + (rule__Real__Alternatives_1) + { after(grammarAccess.getRealAccess().getAlternatives_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Real__Group_2_1__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__Real__Group_2_1__2__Impl - rule__Real__Group_2_1__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__Real__Group_2_1__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealAccess().getAlternatives_2_1_2()); } - (rule__Real__Alternatives_2_1_2)? - { after(grammarAccess.getRealAccess().getAlternatives_2_1_2()); } -) -; -finally { - restoreStackSize(stackSize); -} -rule__Real__Group_2_1__3 +rule__Real__Group_1_1__0 @init { int stackSize = keepStackSize(); } : - rule__Real__Group_2_1__3__Impl + rule__Real__Group_1_1__0__Impl + rule__Real__Group_1_1__1 ; finally { restoreStackSize(stackSize); } -rule__Real__Group_2_1__3__Impl +rule__Real__Group_1_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getRealAccess().getINTTerminalRuleCall_2_1_3()); } + { before(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1_0()); } RULE_INT - { after(grammarAccess.getRealAccess().getINTTerminalRuleCall_2_1_3()); } + { after(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Real__Group_2_1_0__0 +rule__Real__Group_1_1__1 @init { int stackSize = keepStackSize(); } : - rule__Real__Group_2_1_0__0__Impl - rule__Real__Group_2_1_0__1 + rule__Real__Group_1_1__1__Impl + rule__Real__Group_1_1__2 ; finally { restoreStackSize(stackSize); } -rule__Real__Group_2_1_0__0__Impl +rule__Real__Group_1_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getRealAccess().getFullStopKeyword_2_1_0_0()); } + { before(grammarAccess.getRealAccess().getFullStopKeyword_1_1_1()); } '.' - { after(grammarAccess.getRealAccess().getFullStopKeyword_2_1_0_0()); } + { after(grammarAccess.getRealAccess().getFullStopKeyword_1_1_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Real__Group_2_1_0__1 +rule__Real__Group_1_1__2 @init { int stackSize = keepStackSize(); } : - rule__Real__Group_2_1_0__1__Impl + rule__Real__Group_1_1__2__Impl ; finally { restoreStackSize(stackSize); } -rule__Real__Group_2_1_0__1__Impl +rule__Real__Group_1_1__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getRealAccess().getINTTerminalRuleCall_2_1_0_1()); } - RULE_INT - { after(grammarAccess.getRealAccess().getINTTerminalRuleCall_2_1_0_1()); } + { before(grammarAccess.getRealAccess().getAlternatives_1_1_2()); } + (rule__Real__Alternatives_1_1_2) + { after(grammarAccess.getRealAccess().getAlternatives_1_1_2()); } ) ; finally { @@ -5941,6 +5738,8 @@ finally { RULE_ID : ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; +RULE_EXPONENTIAL : RULE_INT ('e'|'E') ('+'|'-')? RULE_INT; + RULE_STRING : '"' ('\\' .|~(('\\'|'"')))* '"'; RULE_QUOTED_ID : '\'' ('\\' .|~(('\\'|'\'')))* '\''; diff --git a/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.tokens b/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.tokens index a9f3d8e2..d18d6d05 100644 --- a/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.tokens +++ b/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.tokens @@ -1,48 +1,46 @@ -'!'=26 -'('=37 -')'=38 -'*'=18 -'+'=24 -'+='=47 -','=13 -'-'=23 -'.'=12 -'..'=42 -':'=40 -':-'=39 -'::'=43 -';'=14 -'='=17 -'?'=27 -'E'=22 -'['=34 -']'=35 -'abstract'=44 -'class'=29 -'contains'=45 -'e'=21 -'enum'=33 -'error'=46 -'extends'=30 -'false'=20 -'opposite'=36 -'pred'=16 -'problem'=28 -'refers'=15 -'scope'=41 -'true'=19 -'unknown'=25 -'{'=31 -'}'=32 -RULE_ANY_OTHER=11 +'!'=23 +'('=34 +')'=35 +'*'=19 +'+'=45 +'+='=46 +','=14 +'-'=41 +'.'=13 +'..'=39 +':'=37 +':-'=36 +'::'=40 +';'=15 +'='=18 +'?'=24 +'['=31 +']'=32 +'abstract'=42 +'class'=26 +'contains'=43 +'enum'=30 +'error'=44 +'extends'=27 +'false'=21 +'opposite'=33 +'pred'=17 +'problem'=25 +'refers'=16 +'scope'=38 +'true'=20 +'unknown'=22 +'{'=28 +'}'=29 +RULE_ANY_OTHER=12 +RULE_EXPONENTIAL=7 RULE_ID=6 RULE_INT=4 -RULE_ML_COMMENT=9 +RULE_ML_COMMENT=10 RULE_QUOTED_ID=5 -RULE_SL_COMMENT=8 -RULE_STRING=7 -RULE_WS=10 -T__12=12 +RULE_SL_COMMENT=9 +RULE_STRING=8 +RULE_WS=11 T__13=13 T__14=14 T__15=15 @@ -77,4 +75,3 @@ T__43=43 T__44=44 T__45=45 T__46=46 -T__47=47 diff --git a/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblemLexer.java b/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblemLexer.java index 05537108..c6044e0c 100644 --- a/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblemLexer.java +++ b/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblemLexer.java @@ -17,9 +17,9 @@ public class InternalProblemLexer extends Lexer { public static final int T__16=16; public static final int T__17=17; public static final int T__18=18; - public static final int T__12=12; public static final int T__13=13; public static final int T__14=14; + public static final int RULE_EXPONENTIAL=7; public static final int RULE_ID=6; public static final int RULE_QUOTED_ID=5; public static final int T__26=26; @@ -28,14 +28,14 @@ public class InternalProblemLexer extends Lexer { 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=9; + public static final int RULE_ML_COMMENT=10; 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__20=20; public static final int T__21=21; - public static final int RULE_STRING=7; - public static final int RULE_SL_COMMENT=8; + public static final int RULE_STRING=8; + public static final int RULE_SL_COMMENT=9; public static final int T__37=37; public static final int T__38=38; public static final int T__39=39; @@ -47,12 +47,11 @@ 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_WS=10; - public static final int RULE_ANY_OTHER=11; + public static final int RULE_WS=11; + public static final int RULE_ANY_OTHER=12; public static final int T__44=44; public static final int T__45=45; public static final int T__46=46; - public static final int T__47=47; public static final int T__40=40; public static final int T__41=41; public static final int T__42=42; @@ -71,35 +70,15 @@ public class InternalProblemLexer extends Lexer { } public String getGrammarFileName() { return "InternalProblem.g"; } - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { - try { - int _type = T__12; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:11:7: ( '.' ) - // InternalProblem.g:11:9: '.' - { - match('.'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__12" - // $ANTLR start "T__13" public final void mT__13() throws RecognitionException { try { int _type = T__13; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:12:7: ( ',' ) - // InternalProblem.g:12:9: ',' + // InternalProblem.g:11:7: ( '.' ) + // InternalProblem.g:11:9: '.' { - match(','); + match('.'); } @@ -116,10 +95,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__14; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:13:7: ( ';' ) - // InternalProblem.g:13:9: ';' + // InternalProblem.g:12:7: ( ',' ) + // InternalProblem.g:12:9: ',' { - match(';'); + match(','); } @@ -136,11 +115,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__15; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:14:7: ( 'refers' ) - // InternalProblem.g:14:9: 'refers' + // InternalProblem.g:13:7: ( ';' ) + // InternalProblem.g:13:9: ';' { - match("refers"); - + match(';'); } @@ -157,10 +135,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__16; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:15:7: ( 'pred' ) - // InternalProblem.g:15:9: 'pred' + // InternalProblem.g:14:7: ( 'refers' ) + // InternalProblem.g:14:9: 'refers' { - match("pred"); + match("refers"); } @@ -178,10 +156,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__17; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:16:7: ( '=' ) - // InternalProblem.g:16:9: '=' + // InternalProblem.g:15:7: ( 'pred' ) + // InternalProblem.g:15:9: 'pred' { - match('='); + match("pred"); + } @@ -198,10 +177,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__18; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:17:7: ( '*' ) - // InternalProblem.g:17:9: '*' + // InternalProblem.g:16:7: ( '=' ) + // InternalProblem.g:16:9: '=' { - match('*'); + match('='); } @@ -218,11 +197,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__19; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:18:7: ( 'true' ) - // InternalProblem.g:18:9: 'true' + // InternalProblem.g:17:7: ( '*' ) + // InternalProblem.g:17:9: '*' { - match("true"); - + match('*'); } @@ -239,10 +217,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__20; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:19:7: ( 'false' ) - // InternalProblem.g:19:9: 'false' + // InternalProblem.g:18:7: ( 'true' ) + // InternalProblem.g:18:9: 'true' { - match("false"); + match("true"); } @@ -260,10 +238,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__21; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:20:7: ( 'e' ) - // InternalProblem.g:20:9: 'e' + // InternalProblem.g:19:7: ( 'false' ) + // InternalProblem.g:19:9: 'false' { - match('e'); + match("false"); + } @@ -280,10 +259,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__22; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:21:7: ( 'E' ) - // InternalProblem.g:21:9: 'E' + // InternalProblem.g:20:7: ( 'unknown' ) + // InternalProblem.g:20:9: 'unknown' { - match('E'); + match("unknown"); + } @@ -300,10 +280,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__23; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:22:7: ( '-' ) - // InternalProblem.g:22:9: '-' + // InternalProblem.g:21:7: ( '!' ) + // InternalProblem.g:21:9: '!' { - match('-'); + match('!'); } @@ -320,10 +300,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__24; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:23:7: ( '+' ) - // InternalProblem.g:23:9: '+' + // InternalProblem.g:22:7: ( '?' ) + // InternalProblem.g:22:9: '?' { - match('+'); + match('?'); } @@ -340,10 +320,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__25; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:24:7: ( 'unknown' ) - // InternalProblem.g:24:9: 'unknown' + // InternalProblem.g:23:7: ( 'problem' ) + // InternalProblem.g:23:9: 'problem' { - match("unknown"); + match("problem"); } @@ -361,10 +341,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__26; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:25:7: ( '!' ) - // InternalProblem.g:25:9: '!' + // InternalProblem.g:24:7: ( 'class' ) + // InternalProblem.g:24:9: 'class' { - match('!'); + match("class"); + } @@ -381,10 +362,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__27; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:26:7: ( '?' ) - // InternalProblem.g:26:9: '?' + // InternalProblem.g:25:7: ( 'extends' ) + // InternalProblem.g:25:9: 'extends' { - match('?'); + match("extends"); + } @@ -401,11 +383,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__28; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:27:7: ( 'problem' ) - // InternalProblem.g:27:9: 'problem' + // InternalProblem.g:26:7: ( '{' ) + // InternalProblem.g:26:9: '{' { - match("problem"); - + match('{'); } @@ -422,11 +403,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__29; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:28:7: ( 'class' ) - // InternalProblem.g:28:9: 'class' + // InternalProblem.g:27:7: ( '}' ) + // InternalProblem.g:27:9: '}' { - match("class"); - + match('}'); } @@ -443,10 +423,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__30; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:29:7: ( 'extends' ) - // InternalProblem.g:29:9: 'extends' + // InternalProblem.g:28:7: ( 'enum' ) + // InternalProblem.g:28:9: 'enum' { - match("extends"); + match("enum"); } @@ -464,10 +444,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__31; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:30:7: ( '{' ) - // InternalProblem.g:30:9: '{' + // InternalProblem.g:29:7: ( '[' ) + // InternalProblem.g:29:9: '[' { - match('{'); + match('['); } @@ -484,10 +464,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__32; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:31:7: ( '}' ) - // InternalProblem.g:31:9: '}' + // InternalProblem.g:30:7: ( ']' ) + // InternalProblem.g:30:9: ']' { - match('}'); + match(']'); } @@ -504,10 +484,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__33; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:32:7: ( 'enum' ) - // InternalProblem.g:32:9: 'enum' + // InternalProblem.g:31:7: ( 'opposite' ) + // InternalProblem.g:31:9: 'opposite' { - match("enum"); + match("opposite"); } @@ -525,10 +505,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__34; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:33:7: ( '[' ) - // InternalProblem.g:33:9: '[' + // InternalProblem.g:32:7: ( '(' ) + // InternalProblem.g:32:9: '(' { - match('['); + match('('); } @@ -545,10 +525,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__35; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:34:7: ( ']' ) - // InternalProblem.g:34:9: ']' + // InternalProblem.g:33:7: ( ')' ) + // InternalProblem.g:33:9: ')' { - match(']'); + match(')'); } @@ -565,10 +545,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__36; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:35:7: ( 'opposite' ) - // InternalProblem.g:35:9: 'opposite' + // InternalProblem.g:34:7: ( ':-' ) + // InternalProblem.g:34:9: ':-' { - match("opposite"); + match(":-"); } @@ -586,10 +566,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__37; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:36:7: ( '(' ) - // InternalProblem.g:36:9: '(' + // InternalProblem.g:35:7: ( ':' ) + // InternalProblem.g:35:9: ':' { - match('('); + match(':'); } @@ -606,10 +586,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__38; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:37:7: ( ')' ) - // InternalProblem.g:37:9: ')' + // InternalProblem.g:36:7: ( 'scope' ) + // InternalProblem.g:36:9: 'scope' { - match(')'); + match("scope"); + } @@ -626,10 +607,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__39; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:38:7: ( ':-' ) - // InternalProblem.g:38:9: ':-' + // InternalProblem.g:37:7: ( '..' ) + // InternalProblem.g:37:9: '..' { - match(":-"); + match(".."); } @@ -647,10 +628,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__40; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:39:7: ( ':' ) - // InternalProblem.g:39:9: ':' + // InternalProblem.g:38:7: ( '::' ) + // InternalProblem.g:38:9: '::' { - match(':'); + match("::"); + } @@ -667,11 +649,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__41; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:40:7: ( 'scope' ) - // InternalProblem.g:40:9: 'scope' + // InternalProblem.g:39:7: ( '-' ) + // InternalProblem.g:39:9: '-' { - match("scope"); - + match('-'); } @@ -688,10 +669,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__42; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:41:7: ( '..' ) - // InternalProblem.g:41:9: '..' + // InternalProblem.g:40:7: ( 'abstract' ) + // InternalProblem.g:40:9: 'abstract' { - match(".."); + match("abstract"); } @@ -709,10 +690,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__43; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:42:7: ( '::' ) - // InternalProblem.g:42:9: '::' + // InternalProblem.g:41:7: ( 'contains' ) + // InternalProblem.g:41:9: 'contains' { - match("::"); + match("contains"); } @@ -730,10 +711,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__44; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:43:7: ( 'abstract' ) - // InternalProblem.g:43:9: 'abstract' + // InternalProblem.g:42:7: ( 'error' ) + // InternalProblem.g:42:9: 'error' { - match("abstract"); + match("error"); } @@ -751,11 +732,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__45; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:44:7: ( 'contains' ) - // InternalProblem.g:44:9: 'contains' + // InternalProblem.g:43:7: ( '+' ) + // InternalProblem.g:43:9: '+' { - match("contains"); - + match('+'); } @@ -772,29 +752,8 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__46; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:45:7: ( 'error' ) - // InternalProblem.g:45:9: 'error' - { - match("error"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__46" - - // $ANTLR start "T__47" - public final void mT__47() throws RecognitionException { - try { - int _type = T__47; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:46:7: ( '+=' ) - // InternalProblem.g:46:9: '+=' + // InternalProblem.g:44:7: ( '+=' ) + // InternalProblem.g:44:9: '+=' { match("+="); @@ -807,15 +766,15 @@ public class InternalProblemLexer extends Lexer { finally { } } - // $ANTLR end "T__47" + // $ANTLR end "T__46" // $ANTLR start "RULE_ID" public final void mRULE_ID() throws RecognitionException { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:5942:9: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalProblem.g:5942:11: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalProblem.g:5739:9: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalProblem.g:5739:11: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { input.consume(); @@ -826,7 +785,7 @@ public class InternalProblemLexer extends Lexer { recover(mse); throw mse;} - // InternalProblem.g:5942:35: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalProblem.g:5739:35: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop1: do { int alt1=2; @@ -870,32 +829,88 @@ public class InternalProblemLexer extends Lexer { } // $ANTLR end "RULE_ID" + // $ANTLR start "RULE_EXPONENTIAL" + public final void mRULE_EXPONENTIAL() throws RecognitionException { + try { + int _type = RULE_EXPONENTIAL; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalProblem.g:5741:18: ( RULE_INT ( 'e' | 'E' ) ( '+' | '-' )? RULE_INT ) + // InternalProblem.g:5741:20: RULE_INT ( 'e' | 'E' ) ( '+' | '-' )? RULE_INT + { + mRULE_INT(); + if ( input.LA(1)=='E'||input.LA(1)=='e' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // InternalProblem.g:5741:39: ( '+' | '-' )? + int alt2=2; + int LA2_0 = input.LA(1); + + if ( (LA2_0=='+'||LA2_0=='-') ) { + alt2=1; + } + switch (alt2) { + case 1 : + // InternalProblem.g: + { + if ( input.LA(1)=='+'||input.LA(1)=='-' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + } + + mRULE_INT(); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_EXPONENTIAL" + // $ANTLR start "RULE_STRING" public final void mRULE_STRING() throws RecognitionException { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:5944:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) - // InternalProblem.g:5944:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalProblem.g:5743:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) + // InternalProblem.g:5743:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalProblem.g:5944:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* - loop2: + // InternalProblem.g:5743:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + loop3: do { - int alt2=3; - int LA2_0 = input.LA(1); + int alt3=3; + int LA3_0 = input.LA(1); - if ( (LA2_0=='\\') ) { - alt2=1; + if ( (LA3_0=='\\') ) { + alt3=1; } - else if ( ((LA2_0>='\u0000' && LA2_0<='!')||(LA2_0>='#' && LA2_0<='[')||(LA2_0>=']' && LA2_0<='\uFFFF')) ) { - alt2=2; + else if ( ((LA3_0>='\u0000' && LA3_0<='!')||(LA3_0>='#' && LA3_0<='[')||(LA3_0>=']' && LA3_0<='\uFFFF')) ) { + alt3=2; } - switch (alt2) { + switch (alt3) { case 1 : - // InternalProblem.g:5944:20: '\\\\' . + // InternalProblem.g:5743:20: '\\\\' . { match('\\'); matchAny(); @@ -903,7 +918,7 @@ public class InternalProblemLexer extends Lexer { } break; case 2 : - // InternalProblem.g:5944:27: ~ ( ( '\\\\' | '\"' ) ) + // InternalProblem.g:5743:27: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -919,7 +934,7 @@ public class InternalProblemLexer extends Lexer { break; default : - break loop2; + break loop3; } } while (true); @@ -940,27 +955,27 @@ public class InternalProblemLexer extends Lexer { try { int _type = RULE_QUOTED_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:5946:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - // InternalProblem.g:5946:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalProblem.g:5745:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalProblem.g:5745:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalProblem.g:5946:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* - loop3: + // InternalProblem.g:5745:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + loop4: do { - int alt3=3; - int LA3_0 = input.LA(1); + int alt4=3; + int LA4_0 = input.LA(1); - if ( (LA3_0=='\\') ) { - alt3=1; + if ( (LA4_0=='\\') ) { + alt4=1; } - else if ( ((LA3_0>='\u0000' && LA3_0<='&')||(LA3_0>='(' && LA3_0<='[')||(LA3_0>=']' && LA3_0<='\uFFFF')) ) { - alt3=2; + else if ( ((LA4_0>='\u0000' && LA4_0<='&')||(LA4_0>='(' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) { + alt4=2; } - switch (alt3) { + switch (alt4) { case 1 : - // InternalProblem.g:5946:24: '\\\\' . + // InternalProblem.g:5745:24: '\\\\' . { match('\\'); matchAny(); @@ -968,7 +983,7 @@ public class InternalProblemLexer extends Lexer { } break; case 2 : - // InternalProblem.g:5946:31: ~ ( ( '\\\\' | '\\'' ) ) + // InternalProblem.g:5745:31: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -984,7 +999,7 @@ public class InternalProblemLexer extends Lexer { break; default : - break loop3; + break loop4; } } while (true); @@ -1005,35 +1020,35 @@ public class InternalProblemLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:5948:17: ( ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalProblem.g:5948:19: ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalProblem.g:5747:17: ( ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalProblem.g:5747:19: ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { - // InternalProblem.g:5948:19: ( '%' | '//' ) - int alt4=2; - int LA4_0 = input.LA(1); + // InternalProblem.g:5747:19: ( '%' | '//' ) + int alt5=2; + int LA5_0 = input.LA(1); - if ( (LA4_0=='%') ) { - alt4=1; + if ( (LA5_0=='%') ) { + alt5=1; } - else if ( (LA4_0=='/') ) { - alt4=2; + else if ( (LA5_0=='/') ) { + alt5=2; } else { NoViableAltException nvae = - new NoViableAltException("", 4, 0, input); + new NoViableAltException("", 5, 0, input); throw nvae; } - switch (alt4) { + switch (alt5) { case 1 : - // InternalProblem.g:5948:20: '%' + // InternalProblem.g:5747:20: '%' { match('%'); } break; case 2 : - // InternalProblem.g:5948:24: '//' + // InternalProblem.g:5747:24: '//' { match("//"); @@ -1043,20 +1058,20 @@ public class InternalProblemLexer extends Lexer { } - // InternalProblem.g:5948:30: (~ ( ( '\\n' | '\\r' ) ) )* - loop5: + // InternalProblem.g:5747:30: (~ ( ( '\\n' | '\\r' ) ) )* + loop6: do { - int alt5=2; - int LA5_0 = input.LA(1); + int alt6=2; + int LA6_0 = input.LA(1); - if ( ((LA5_0>='\u0000' && LA5_0<='\t')||(LA5_0>='\u000B' && LA5_0<='\f')||(LA5_0>='\u000E' && LA5_0<='\uFFFF')) ) { - alt5=1; + if ( ((LA6_0>='\u0000' && LA6_0<='\t')||(LA6_0>='\u000B' && LA6_0<='\f')||(LA6_0>='\u000E' && LA6_0<='\uFFFF')) ) { + alt6=1; } - switch (alt5) { + switch (alt6) { case 1 : - // InternalProblem.g:5948:30: ~ ( ( '\\n' | '\\r' ) ) + // InternalProblem.g:5747:30: ~ ( ( '\\n' | '\\r' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1072,31 +1087,31 @@ public class InternalProblemLexer extends Lexer { break; default : - break loop5; + break loop6; } } while (true); - // InternalProblem.g:5948:46: ( ( '\\r' )? '\\n' )? - int alt7=2; - int LA7_0 = input.LA(1); + // InternalProblem.g:5747:46: ( ( '\\r' )? '\\n' )? + int alt8=2; + int LA8_0 = input.LA(1); - if ( (LA7_0=='\n'||LA7_0=='\r') ) { - alt7=1; + if ( (LA8_0=='\n'||LA8_0=='\r') ) { + alt8=1; } - switch (alt7) { + switch (alt8) { case 1 : - // InternalProblem.g:5948:47: ( '\\r' )? '\\n' + // InternalProblem.g:5747:47: ( '\\r' )? '\\n' { - // InternalProblem.g:5948:47: ( '\\r' )? - int alt6=2; - int LA6_0 = input.LA(1); + // InternalProblem.g:5747:47: ( '\\r' )? + int alt7=2; + int LA7_0 = input.LA(1); - if ( (LA6_0=='\r') ) { - alt6=1; + if ( (LA7_0=='\r') ) { + alt7=1; } - switch (alt6) { + switch (alt7) { case 1 : - // InternalProblem.g:5948:47: '\\r' + // InternalProblem.g:5747:47: '\\r' { match('\r'); @@ -1128,24 +1143,24 @@ public class InternalProblemLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:5950:10: ( ( '0' .. '9' )+ ) - // InternalProblem.g:5950:12: ( '0' .. '9' )+ + // InternalProblem.g:5749:10: ( ( '0' .. '9' )+ ) + // InternalProblem.g:5749:12: ( '0' .. '9' )+ { - // InternalProblem.g:5950:12: ( '0' .. '9' )+ - int cnt8=0; - loop8: + // InternalProblem.g:5749:12: ( '0' .. '9' )+ + int cnt9=0; + loop9: do { - int alt8=2; - int LA8_0 = input.LA(1); + int alt9=2; + int LA9_0 = input.LA(1); - if ( ((LA8_0>='0' && LA8_0<='9')) ) { - alt8=1; + if ( ((LA9_0>='0' && LA9_0<='9')) ) { + alt9=1; } - switch (alt8) { + switch (alt9) { case 1 : - // InternalProblem.g:5950:13: '0' .. '9' + // InternalProblem.g:5749:13: '0' .. '9' { matchRange('0','9'); @@ -1153,12 +1168,12 @@ public class InternalProblemLexer extends Lexer { break; default : - if ( cnt8 >= 1 ) break loop8; + if ( cnt9 >= 1 ) break loop9; EarlyExitException eee = - new EarlyExitException(8, input); + new EarlyExitException(9, input); throw eee; } - cnt8++; + cnt9++; } while (true); @@ -1177,37 +1192,37 @@ public class InternalProblemLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:5952:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalProblem.g:5952:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalProblem.g:5751:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalProblem.g:5751:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalProblem.g:5952:24: ( options {greedy=false; } : . )* - loop9: + // InternalProblem.g:5751:24: ( options {greedy=false; } : . )* + loop10: do { - int alt9=2; - int LA9_0 = input.LA(1); + int alt10=2; + int LA10_0 = input.LA(1); - if ( (LA9_0=='*') ) { - int LA9_1 = input.LA(2); + if ( (LA10_0=='*') ) { + int LA10_1 = input.LA(2); - if ( (LA9_1=='/') ) { - alt9=2; + if ( (LA10_1=='/') ) { + alt10=2; } - else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFF')) ) { - alt9=1; + else if ( ((LA10_1>='\u0000' && LA10_1<='.')||(LA10_1>='0' && LA10_1<='\uFFFF')) ) { + alt10=1; } } - else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFF')) ) { - alt9=1; + else if ( ((LA10_0>='\u0000' && LA10_0<=')')||(LA10_0>='+' && LA10_0<='\uFFFF')) ) { + alt10=1; } - switch (alt9) { + switch (alt10) { case 1 : - // InternalProblem.g:5952:52: . + // InternalProblem.g:5751:52: . { matchAny(); @@ -1215,7 +1230,7 @@ public class InternalProblemLexer extends Lexer { break; default : - break loop9; + break loop10; } } while (true); @@ -1237,22 +1252,22 @@ public class InternalProblemLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:5954:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalProblem.g:5954:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalProblem.g:5753:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalProblem.g:5753:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalProblem.g:5954:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt10=0; - loop10: + // InternalProblem.g:5753:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt11=0; + loop11: do { - int alt10=2; - int LA10_0 = input.LA(1); + int alt11=2; + int LA11_0 = input.LA(1); - if ( ((LA10_0>='\t' && LA10_0<='\n')||LA10_0=='\r'||LA10_0==' ') ) { - alt10=1; + if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { + alt11=1; } - switch (alt10) { + switch (alt11) { case 1 : // InternalProblem.g: { @@ -1270,12 +1285,12 @@ public class InternalProblemLexer extends Lexer { break; default : - if ( cnt10 >= 1 ) break loop10; + if ( cnt11 >= 1 ) break loop11; EarlyExitException eee = - new EarlyExitException(10, input); + new EarlyExitException(11, input); throw eee; } - cnt10++; + cnt11++; } while (true); @@ -1294,8 +1309,8 @@ public class InternalProblemLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:5956:16: ( . ) - // InternalProblem.g:5956:18: . + // InternalProblem.g:5755:16: ( . ) + // InternalProblem.g:5755:18: . { matchAny(); @@ -1310,313 +1325,306 @@ public class InternalProblemLexer extends Lexer { // $ANTLR end "RULE_ANY_OTHER" public void mTokens() throws RecognitionException { - // 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 | T__43 | T__44 | T__45 | T__46 | T__47 | RULE_ID | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt11=44; - alt11 = dfa11.predict(input); - switch (alt11) { + // InternalProblem.g:1:8: ( 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 | T__43 | T__44 | T__45 | T__46 | RULE_ID | RULE_EXPONENTIAL | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt12=43; + alt12 = dfa12.predict(input); + switch (alt12) { case 1 : - // InternalProblem.g:1:10: T__12 + // InternalProblem.g:1:10: T__13 { - mT__12(); + mT__13(); } break; case 2 : - // InternalProblem.g:1:16: T__13 + // InternalProblem.g:1:16: T__14 { - mT__13(); + mT__14(); } break; case 3 : - // InternalProblem.g:1:22: T__14 + // InternalProblem.g:1:22: T__15 { - mT__14(); + mT__15(); } break; case 4 : - // InternalProblem.g:1:28: T__15 + // InternalProblem.g:1:28: T__16 { - mT__15(); + mT__16(); } break; case 5 : - // InternalProblem.g:1:34: T__16 + // InternalProblem.g:1:34: T__17 { - mT__16(); + mT__17(); } break; case 6 : - // InternalProblem.g:1:40: T__17 + // InternalProblem.g:1:40: T__18 { - mT__17(); + mT__18(); } break; case 7 : - // InternalProblem.g:1:46: T__18 + // InternalProblem.g:1:46: T__19 { - mT__18(); + mT__19(); } break; case 8 : - // InternalProblem.g:1:52: T__19 + // InternalProblem.g:1:52: T__20 { - mT__19(); + mT__20(); } break; case 9 : - // InternalProblem.g:1:58: T__20 + // InternalProblem.g:1:58: T__21 { - mT__20(); + mT__21(); } break; case 10 : - // InternalProblem.g:1:64: T__21 + // InternalProblem.g:1:64: T__22 { - mT__21(); + mT__22(); } break; case 11 : - // InternalProblem.g:1:70: T__22 + // InternalProblem.g:1:70: T__23 { - mT__22(); + mT__23(); } break; case 12 : - // InternalProblem.g:1:76: T__23 + // InternalProblem.g:1:76: T__24 { - mT__23(); + mT__24(); } break; case 13 : - // InternalProblem.g:1:82: T__24 + // InternalProblem.g:1:82: T__25 { - mT__24(); + mT__25(); } break; case 14 : - // InternalProblem.g:1:88: T__25 + // InternalProblem.g:1:88: T__26 { - mT__25(); + mT__26(); } break; case 15 : - // InternalProblem.g:1:94: T__26 + // InternalProblem.g:1:94: T__27 { - mT__26(); + mT__27(); } break; case 16 : - // InternalProblem.g:1:100: T__27 + // InternalProblem.g:1:100: T__28 { - mT__27(); + mT__28(); } break; case 17 : - // InternalProblem.g:1:106: T__28 + // InternalProblem.g:1:106: T__29 { - mT__28(); + mT__29(); } break; case 18 : - // InternalProblem.g:1:112: T__29 + // InternalProblem.g:1:112: T__30 { - mT__29(); + mT__30(); } break; case 19 : - // InternalProblem.g:1:118: T__30 + // InternalProblem.g:1:118: T__31 { - mT__30(); + mT__31(); } break; case 20 : - // InternalProblem.g:1:124: T__31 + // InternalProblem.g:1:124: T__32 { - mT__31(); + mT__32(); } break; case 21 : - // InternalProblem.g:1:130: T__32 + // InternalProblem.g:1:130: T__33 { - mT__32(); + mT__33(); } break; case 22 : - // InternalProblem.g:1:136: T__33 + // InternalProblem.g:1:136: T__34 { - mT__33(); + mT__34(); } break; case 23 : - // InternalProblem.g:1:142: T__34 + // InternalProblem.g:1:142: T__35 { - mT__34(); + mT__35(); } break; case 24 : - // InternalProblem.g:1:148: T__35 + // InternalProblem.g:1:148: T__36 { - mT__35(); + mT__36(); } break; case 25 : - // InternalProblem.g:1:154: T__36 + // InternalProblem.g:1:154: T__37 { - mT__36(); + mT__37(); } break; case 26 : - // InternalProblem.g:1:160: T__37 + // InternalProblem.g:1:160: T__38 { - mT__37(); + mT__38(); } break; case 27 : - // InternalProblem.g:1:166: T__38 + // InternalProblem.g:1:166: T__39 { - mT__38(); + mT__39(); } break; case 28 : - // InternalProblem.g:1:172: T__39 + // InternalProblem.g:1:172: T__40 { - mT__39(); + mT__40(); } break; case 29 : - // InternalProblem.g:1:178: T__40 + // InternalProblem.g:1:178: T__41 { - mT__40(); + mT__41(); } break; case 30 : - // InternalProblem.g:1:184: T__41 + // InternalProblem.g:1:184: T__42 { - mT__41(); + mT__42(); } break; case 31 : - // InternalProblem.g:1:190: T__42 + // InternalProblem.g:1:190: T__43 { - mT__42(); + mT__43(); } break; case 32 : - // InternalProblem.g:1:196: T__43 + // InternalProblem.g:1:196: T__44 { - mT__43(); + mT__44(); } break; case 33 : - // InternalProblem.g:1:202: T__44 + // InternalProblem.g:1:202: T__45 { - mT__44(); + mT__45(); } break; case 34 : - // InternalProblem.g:1:208: T__45 + // InternalProblem.g:1:208: T__46 { - mT__45(); + mT__46(); } break; case 35 : - // InternalProblem.g:1:214: T__46 + // InternalProblem.g:1:214: RULE_ID { - mT__46(); + mRULE_ID(); } break; case 36 : - // InternalProblem.g:1:220: T__47 + // InternalProblem.g:1:222: RULE_EXPONENTIAL { - mT__47(); + mRULE_EXPONENTIAL(); } break; case 37 : - // InternalProblem.g:1:226: RULE_ID - { - mRULE_ID(); - - } - break; - case 38 : - // InternalProblem.g:1:234: RULE_STRING + // InternalProblem.g:1:239: RULE_STRING { mRULE_STRING(); } break; - case 39 : - // InternalProblem.g:1:246: RULE_QUOTED_ID + case 38 : + // InternalProblem.g:1:251: RULE_QUOTED_ID { mRULE_QUOTED_ID(); } break; - case 40 : - // InternalProblem.g:1:261: RULE_SL_COMMENT + case 39 : + // InternalProblem.g:1:266: RULE_SL_COMMENT { mRULE_SL_COMMENT(); } break; - case 41 : - // InternalProblem.g:1:277: RULE_INT + case 40 : + // InternalProblem.g:1:282: RULE_INT { mRULE_INT(); } break; - case 42 : - // InternalProblem.g:1:286: RULE_ML_COMMENT + case 41 : + // InternalProblem.g:1:291: RULE_ML_COMMENT { mRULE_ML_COMMENT(); } break; - case 43 : - // InternalProblem.g:1:302: RULE_WS + case 42 : + // InternalProblem.g:1:307: RULE_WS { mRULE_WS(); } break; - case 44 : - // InternalProblem.g:1:310: RULE_ANY_OTHER + case 43 : + // InternalProblem.g:1:315: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -1628,49 +1636,49 @@ public class InternalProblemLexer extends Lexer { } - protected DFA11 dfa11 = new DFA11(this); - static final String DFA11_eotS = - "\1\uffff\1\45\2\uffff\2\51\2\uffff\2\51\1\62\1\63\1\uffff\1\66\1\51\2\uffff\1\51\4\uffff\1\51\2\uffff\1\105\2\51\1\uffff\2\43\1\uffff\1\43\7\uffff\1\51\1\uffff\1\51\2\uffff\5\51\5\uffff\1\51\2\uffff\2\51\4\uffff\1\51\5\uffff\2\51\6\uffff\17\51\1\153\1\51\1\155\2\51\1\160\10\51\1\uffff\1\51\1\uffff\1\172\1\51\1\uffff\1\174\1\51\1\176\2\51\1\u0081\1\51\1\u0083\1\51\1\uffff\1\51\1\uffff\1\51\1\uffff\2\51\1\uffff\1\51\1\uffff\1\u008a\1\u008b\1\u008c\3\51\3\uffff\1\u0090\1\u0091\1\u0092\3\uffff"; - static final String DFA11_eofS = - "\u0093\uffff"; - static final String DFA11_minS = - "\1\0\1\56\2\uffff\1\145\1\162\2\uffff\1\162\1\141\2\60\1\uffff\1\75\1\156\2\uffff\1\154\4\uffff\1\160\2\uffff\1\55\1\143\1\142\1\uffff\2\0\1\uffff\1\52\7\uffff\1\146\1\uffff\1\145\2\uffff\1\165\1\154\1\164\1\165\1\162\5\uffff\1\153\2\uffff\1\141\1\156\4\uffff\1\160\5\uffff\1\157\1\163\6\uffff\1\145\1\144\1\142\1\145\1\163\1\145\1\155\1\157\1\156\1\163\1\164\1\157\1\160\1\164\1\162\1\60\1\154\1\60\1\145\1\156\1\60\1\162\1\157\1\163\1\141\1\163\1\145\1\162\1\163\1\uffff\1\145\1\uffff\1\60\1\144\1\uffff\1\60\1\167\1\60\2\151\1\60\1\141\1\60\1\155\1\uffff\1\163\1\uffff\1\156\1\uffff\1\156\1\164\1\uffff\1\143\1\uffff\3\60\1\163\1\145\1\164\3\uffff\3\60\3\uffff"; - static final String DFA11_maxS = - "\1\uffff\1\56\2\uffff\1\145\1\162\2\uffff\1\162\1\141\2\172\1\uffff\1\75\1\156\2\uffff\1\157\4\uffff\1\160\2\uffff\1\72\1\143\1\142\1\uffff\2\uffff\1\uffff\1\57\7\uffff\1\146\1\uffff\1\157\2\uffff\1\165\1\154\1\164\1\165\1\162\5\uffff\1\153\2\uffff\1\141\1\156\4\uffff\1\160\5\uffff\1\157\1\163\6\uffff\1\145\1\144\1\142\1\145\1\163\1\145\1\155\1\157\1\156\1\163\1\164\1\157\1\160\1\164\1\162\1\172\1\154\1\172\1\145\1\156\1\172\1\162\1\157\1\163\1\141\1\163\1\145\1\162\1\163\1\uffff\1\145\1\uffff\1\172\1\144\1\uffff\1\172\1\167\1\172\2\151\1\172\1\141\1\172\1\155\1\uffff\1\163\1\uffff\1\156\1\uffff\1\156\1\164\1\uffff\1\143\1\uffff\3\172\1\163\1\145\1\164\3\uffff\3\172\3\uffff"; - static final String DFA11_acceptS = - "\2\uffff\1\2\1\3\2\uffff\1\6\1\7\4\uffff\1\14\2\uffff\1\17\1\20\1\uffff\1\24\1\25\1\27\1\30\1\uffff\1\32\1\33\3\uffff\1\45\2\uffff\1\50\1\uffff\1\51\1\53\1\54\1\37\1\1\1\2\1\3\1\uffff\1\45\1\uffff\1\6\1\7\5\uffff\1\12\1\13\1\14\1\44\1\15\1\uffff\1\17\1\20\2\uffff\1\24\1\25\1\27\1\30\1\uffff\1\32\1\33\1\34\1\40\1\35\2\uffff\1\46\1\47\1\50\1\52\1\51\1\53\35\uffff\1\5\1\uffff\1\10\2\uffff\1\26\11\uffff\1\11\1\uffff\1\43\1\uffff\1\22\2\uffff\1\36\1\uffff\1\4\6\uffff\1\21\1\23\1\16\3\uffff\1\42\1\31\1\41"; - static final String DFA11_specialS = - "\1\1\34\uffff\1\2\1\0\164\uffff}>"; - static final String[] DFA11_transitionS = { - "\11\43\2\42\2\43\1\42\22\43\1\42\1\17\1\35\2\43\1\37\1\43\1\36\1\27\1\30\1\7\1\15\1\2\1\14\1\1\1\40\12\41\1\31\1\3\1\43\1\6\1\43\1\20\1\43\4\34\1\13\25\34\1\24\1\43\1\25\1\43\1\34\1\43\1\33\1\34\1\21\1\34\1\12\1\11\10\34\1\26\1\5\1\34\1\4\1\32\1\10\1\16\5\34\1\22\1\43\1\23\uff82\43", - "\1\44", + protected DFA12 dfa12 = new DFA12(this); + static final String DFA12_eotS = + "\1\uffff\1\44\2\uffff\2\50\2\uffff\3\50\2\uffff\2\50\4\uffff\1\50\2\uffff\1\77\1\50\1\uffff\1\50\1\104\1\uffff\1\105\2\42\1\uffff\1\42\6\uffff\1\50\1\uffff\1\50\2\uffff\3\50\2\uffff\5\50\4\uffff\1\50\5\uffff\1\50\1\uffff\1\50\3\uffff\1\105\6\uffff\17\50\1\152\1\50\1\154\5\50\1\162\5\50\1\uffff\1\50\1\uffff\1\171\1\50\1\173\2\50\1\uffff\1\176\1\50\1\u0080\1\50\1\u0082\1\50\1\uffff\1\50\1\uffff\2\50\1\uffff\1\50\1\uffff\1\50\1\uffff\1\u0089\1\u008a\1\50\1\u008c\2\50\2\uffff\1\u008f\1\uffff\1\u0090\1\u0091\3\uffff"; + static final String DFA12_eofS = + "\u0092\uffff"; + static final String DFA12_minS = + "\1\0\1\56\2\uffff\1\145\1\162\2\uffff\1\162\1\141\1\156\2\uffff\1\154\1\156\4\uffff\1\160\2\uffff\1\55\1\143\1\uffff\1\142\1\75\1\uffff\1\60\2\0\1\uffff\1\52\6\uffff\1\146\1\uffff\1\145\2\uffff\1\165\1\154\1\153\2\uffff\1\141\1\156\1\164\1\165\1\162\4\uffff\1\160\5\uffff\1\157\1\uffff\1\163\3\uffff\1\60\6\uffff\1\145\1\144\1\142\1\145\1\163\1\156\1\163\1\164\1\145\1\155\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\60\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\uffff\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 DFA12_maxS = + "\1\uffff\1\56\2\uffff\1\145\1\162\2\uffff\1\162\1\141\1\156\2\uffff\1\157\1\170\4\uffff\1\160\2\uffff\1\72\1\143\1\uffff\1\142\1\75\1\uffff\1\145\2\uffff\1\uffff\1\57\6\uffff\1\146\1\uffff\1\157\2\uffff\1\165\1\154\1\153\2\uffff\1\141\1\156\1\164\1\165\1\162\4\uffff\1\160\5\uffff\1\157\1\uffff\1\163\3\uffff\1\145\6\uffff\1\145\1\144\1\142\1\145\1\163\1\156\1\163\1\164\1\145\1\155\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\172\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\uffff\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 DFA12_acceptS = + "\2\uffff\1\2\1\3\2\uffff\1\6\1\7\3\uffff\1\13\1\14\2\uffff\1\20\1\21\1\23\1\24\1\uffff\1\26\1\27\2\uffff\1\35\2\uffff\1\43\3\uffff\1\47\1\uffff\1\52\1\53\1\33\1\1\1\2\1\3\1\uffff\1\43\1\uffff\1\6\1\7\3\uffff\1\13\1\14\5\uffff\1\20\1\21\1\23\1\24\1\uffff\1\26\1\27\1\30\1\34\1\31\1\uffff\1\35\1\uffff\1\42\1\41\1\50\1\uffff\1\44\1\45\1\46\1\47\1\51\1\52\35\uffff\1\5\1\uffff\1\10\5\uffff\1\22\6\uffff\1\11\1\uffff\1\16\2\uffff\1\40\1\uffff\1\32\1\uffff\1\4\6\uffff\1\15\1\12\1\uffff\1\17\2\uffff\1\37\1\25\1\36"; + static final String DFA12_specialS = + "\1\1\34\uffff\1\0\1\2\163\uffff}>"; + static final String[] DFA12_transitionS = { + "\11\42\2\41\2\42\1\41\22\42\1\41\1\13\1\35\2\42\1\37\1\42\1\36\1\24\1\25\1\7\1\32\1\2\1\30\1\1\1\40\12\34\1\26\1\3\1\42\1\6\1\42\1\14\1\42\32\33\1\21\1\42\1\22\1\42\1\33\1\42\1\31\1\33\1\15\1\33\1\16\1\11\10\33\1\23\1\5\1\33\1\4\1\27\1\10\1\12\5\33\1\17\1\42\1\20\uff82\42", + "\1\43", "", "", - "\1\50", - "\1\52", + "\1\47", + "\1\51", "", "", + "\1\54", "\1\55", "\1\56", - "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\15\51\1\60\3\51\1\61\5\51\1\57\2\51", - "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", "", - "\1\65", - "\1\67", "", + "\1\61\2\uffff\1\62", + "\1\64\3\uffff\1\65\5\uffff\1\63", "", - "\1\72\2\uffff\1\73", "", "", "", + "\1\72", "", - "\1\100", "", + "\1\75\14\uffff\1\76", + "\1\100", "", - "\1\103\14\uffff\1\104", - "\1\106", - "\1\107", + "\1\102", + "\1\103", "", + "\12\106\13\uffff\1\107\37\uffff\1\107", "\0\110", "\0\111", "", @@ -1681,45 +1689,45 @@ public class InternalProblemLexer extends Lexer { "", "", "", + "\1\115", "", - "\1\116", - "", - "\1\117\11\uffff\1\120", + "\1\116\11\uffff\1\117", "", "", + "\1\120", "\1\121", "\1\122", + "", + "", "\1\123", "\1\124", "\1\125", + "\1\126", + "\1\127", "", "", "", "", - "", - "\1\126", - "", - "", - "\1\127", "\1\130", "", "", "", "", - "\1\131", "", + "\1\131", "", + "\1\132", "", "", "", - "\1\132", - "\1\133", + "\12\106\13\uffff\1\107\37\uffff\1\107", "", "", "", "", "", "", + "\1\133", "\1\134", "\1\135", "\1\136", @@ -1734,198 +1742,195 @@ public class InternalProblemLexer extends Lexer { "\1\147", "\1\150", "\1\151", - "\1\152", - "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", - "\1\154", - "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\153", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\155", "\1\156", "\1\157", - "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\160", "\1\161", - "\1\162", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\163", "\1\164", "\1\165", "\1\166", "\1\167", - "\1\170", - "", - "\1\171", "", - "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", - "\1\173", + "\1\170", "", - "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\172", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\174", "\1\175", - "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\177", - "\1\u0080", - "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", - "\1\u0082", - "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u0081", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u0083", + "", "\1\u0084", "", "\1\u0085", - "", "\1\u0086", "", "\1\u0087", - "\1\u0088", "", - "\1\u0089", + "\1\u0088", "", - "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", - "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", - "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u008b", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\u008d", "\1\u008e", - "\1\u008f", "", "", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "", - "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", - "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", - "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "", "", "" }; - 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 final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); + static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); + static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); + static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); + static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); + static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); + static final short[][] DFA12_transition; static { - int numStates = DFA11_transitionS.length; - DFA11_transition = new short[numStates][]; + int numStates = DFA12_transitionS.length; + DFA12_transition = new short[numStates][]; for (int i=0; i='\u0000' && LA11_30<='\uFFFF')) ) {s = 73;} + if ( ((LA12_29>='\u0000' && LA12_29<='\uFFFF')) ) {s = 72;} - else s = 35; + else s = 34; if ( s>=0 ) return s; break; case 1 : - int LA11_0 = input.LA(1); + int LA12_0 = input.LA(1); s = -1; - if ( (LA11_0=='.') ) {s = 1;} - - else if ( (LA11_0==',') ) {s = 2;} + if ( (LA12_0=='.') ) {s = 1;} - else if ( (LA11_0==';') ) {s = 3;} + else if ( (LA12_0==',') ) {s = 2;} - else if ( (LA11_0=='r') ) {s = 4;} + else if ( (LA12_0==';') ) {s = 3;} - else if ( (LA11_0=='p') ) {s = 5;} + else if ( (LA12_0=='r') ) {s = 4;} - else if ( (LA11_0=='=') ) {s = 6;} + else if ( (LA12_0=='p') ) {s = 5;} - else if ( (LA11_0=='*') ) {s = 7;} + else if ( (LA12_0=='=') ) {s = 6;} - else if ( (LA11_0=='t') ) {s = 8;} + else if ( (LA12_0=='*') ) {s = 7;} - else if ( (LA11_0=='f') ) {s = 9;} + else if ( (LA12_0=='t') ) {s = 8;} - else if ( (LA11_0=='e') ) {s = 10;} + else if ( (LA12_0=='f') ) {s = 9;} - else if ( (LA11_0=='E') ) {s = 11;} + else if ( (LA12_0=='u') ) {s = 10;} - else if ( (LA11_0=='-') ) {s = 12;} + else if ( (LA12_0=='!') ) {s = 11;} - else if ( (LA11_0=='+') ) {s = 13;} + else if ( (LA12_0=='?') ) {s = 12;} - else if ( (LA11_0=='u') ) {s = 14;} + else if ( (LA12_0=='c') ) {s = 13;} - else if ( (LA11_0=='!') ) {s = 15;} + else if ( (LA12_0=='e') ) {s = 14;} - else if ( (LA11_0=='?') ) {s = 16;} + else if ( (LA12_0=='{') ) {s = 15;} - else if ( (LA11_0=='c') ) {s = 17;} + else if ( (LA12_0=='}') ) {s = 16;} - else if ( (LA11_0=='{') ) {s = 18;} + else if ( (LA12_0=='[') ) {s = 17;} - else if ( (LA11_0=='}') ) {s = 19;} + else if ( (LA12_0==']') ) {s = 18;} - else if ( (LA11_0=='[') ) {s = 20;} + else if ( (LA12_0=='o') ) {s = 19;} - else if ( (LA11_0==']') ) {s = 21;} + else if ( (LA12_0=='(') ) {s = 20;} - else if ( (LA11_0=='o') ) {s = 22;} + else if ( (LA12_0==')') ) {s = 21;} - else if ( (LA11_0=='(') ) {s = 23;} + else if ( (LA12_0==':') ) {s = 22;} - else if ( (LA11_0==')') ) {s = 24;} + else if ( (LA12_0=='s') ) {s = 23;} - else if ( (LA11_0==':') ) {s = 25;} + else if ( (LA12_0=='-') ) {s = 24;} - else if ( (LA11_0=='s') ) {s = 26;} + else if ( (LA12_0=='a') ) {s = 25;} - else if ( (LA11_0=='a') ) {s = 27;} + else if ( (LA12_0=='+') ) {s = 26;} - else if ( ((LA11_0>='A' && LA11_0<='D')||(LA11_0>='F' && 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 = 28;} + 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 = 27;} - else if ( (LA11_0=='\"') ) {s = 29;} + else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 28;} - else if ( (LA11_0=='\'') ) {s = 30;} + else if ( (LA12_0=='\"') ) {s = 29;} - else if ( (LA11_0=='%') ) {s = 31;} + else if ( (LA12_0=='\'') ) {s = 30;} - else if ( (LA11_0=='/') ) {s = 32;} + else if ( (LA12_0=='%') ) {s = 31;} - else if ( ((LA11_0>='0' && LA11_0<='9')) ) {s = 33;} + else if ( (LA12_0=='/') ) {s = 32;} - else if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) {s = 34;} + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 33;} - 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>='~' && LA11_0<='\uFFFF')) ) {s = 35;} + 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=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 34;} if ( s>=0 ) return s; break; case 2 : - int LA11_29 = input.LA(1); + int LA12_30 = input.LA(1); s = -1; - if ( ((LA11_29>='\u0000' && LA11_29<='\uFFFF')) ) {s = 72;} + if ( ((LA12_30>='\u0000' && LA12_30<='\uFFFF')) ) {s = 73;} - else s = 35; + else s = 34; if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 11, _s, input); + new NoViableAltException(getDescription(), 12, _s, input); error(nvae); throw nvae; } diff --git a/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblemParser.java b/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblemParser.java index f2928f3e..20a2d8f7 100644 --- a/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblemParser.java +++ b/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblemParser.java @@ -22,16 +22,16 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalProblemParser extends AbstractInternalContentAssistParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "RULE_INT", "RULE_QUOTED_ID", "RULE_ID", "RULE_STRING", "RULE_SL_COMMENT", "RULE_ML_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "','", "';'", "'refers'", "'pred'", "'='", "'*'", "'true'", "'false'", "'e'", "'E'", "'-'", "'+'", "'unknown'", "'!'", "'?'", "'problem'", "'class'", "'extends'", "'{'", "'}'", "'enum'", "'['", "']'", "'opposite'", "'('", "')'", "':-'", "':'", "'scope'", "'..'", "'::'", "'abstract'", "'contains'", "'error'", "'+='" + "", "", "", "", "RULE_INT", "RULE_QUOTED_ID", "RULE_ID", "RULE_EXPONENTIAL", "RULE_STRING", "RULE_SL_COMMENT", "RULE_ML_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "','", "';'", "'refers'", "'pred'", "'='", "'*'", "'true'", "'false'", "'unknown'", "'!'", "'?'", "'problem'", "'class'", "'extends'", "'{'", "'}'", "'enum'", "'['", "']'", "'opposite'", "'('", "')'", "':-'", "':'", "'scope'", "'..'", "'::'", "'-'", "'abstract'", "'contains'", "'error'", "'+'", "'+='" }; public static final int T__19=19; public static final int T__15=15; public static final int T__16=16; public static final int T__17=17; public static final int T__18=18; - public static final int T__12=12; public static final int T__13=13; public static final int T__14=14; + public static final int RULE_EXPONENTIAL=7; public static final int RULE_ID=6; public static final int RULE_QUOTED_ID=5; public static final int T__26=26; @@ -40,14 +40,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { 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=9; + public static final int RULE_ML_COMMENT=10; 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__20=20; public static final int T__21=21; - public static final int RULE_STRING=7; - public static final int RULE_SL_COMMENT=8; + public static final int RULE_STRING=8; + public static final int RULE_SL_COMMENT=9; public static final int T__37=37; public static final int T__38=38; public static final int T__39=39; @@ -59,12 +59,11 @@ 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_WS=10; - public static final int RULE_ANY_OTHER=11; + public static final int RULE_WS=11; + public static final int RULE_ANY_OTHER=12; public static final int T__44=44; public static final int T__45=45; public static final int T__46=46; - public static final int T__47=47; public static final int T__40=40; public static final int T__41=41; public static final int T__42=42; @@ -2809,12 +2808,9 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "entryRuleReal" // InternalProblem.g:944:1: entryRuleReal : ruleReal EOF ; public final void entryRuleReal() throws RecognitionException { - - HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); - try { - // InternalProblem.g:948:1: ( ruleReal EOF ) - // InternalProblem.g:949:1: ruleReal EOF + // InternalProblem.g:945:1: ( ruleReal EOF ) + // InternalProblem.g:946:1: ruleReal EOF { before(grammarAccess.getRealRule()); pushFollow(FOLLOW_1); @@ -2833,9 +2829,6 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { recover(input,re); } finally { - - myHiddenTokenState.restore(); - } return ; } @@ -2843,22 +2836,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "ruleReal" - // InternalProblem.g:959:1: ruleReal : ( ( rule__Real__Group__0 ) ) ; + // InternalProblem.g:953:1: ruleReal : ( ( rule__Real__Group__0 ) ) ; public final void ruleReal() throws RecognitionException { - HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); int stackSize = keepStackSize(); try { - // InternalProblem.g:964:2: ( ( ( rule__Real__Group__0 ) ) ) - // InternalProblem.g:965:2: ( ( rule__Real__Group__0 ) ) + // InternalProblem.g:957:2: ( ( ( rule__Real__Group__0 ) ) ) + // InternalProblem.g:958:2: ( ( rule__Real__Group__0 ) ) { - // InternalProblem.g:965:2: ( ( rule__Real__Group__0 ) ) - // InternalProblem.g:966:3: ( rule__Real__Group__0 ) + // InternalProblem.g:958:2: ( ( rule__Real__Group__0 ) ) + // InternalProblem.g:959:3: ( rule__Real__Group__0 ) { before(grammarAccess.getRealAccess().getGroup()); - // InternalProblem.g:967:3: ( rule__Real__Group__0 ) - // InternalProblem.g:967:4: rule__Real__Group__0 + // InternalProblem.g:960:3: ( rule__Real__Group__0 ) + // InternalProblem.g:960:4: rule__Real__Group__0 { pushFollow(FOLLOW_2); rule__Real__Group__0(); @@ -2883,7 +2875,6 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { finally { restoreStackSize(stackSize); - myHiddenTokenState.restore(); } return ; @@ -2892,21 +2883,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "ruleLogicValue" - // InternalProblem.g:977:1: ruleLogicValue : ( ( rule__LogicValue__Alternatives ) ) ; + // InternalProblem.g:969:1: ruleLogicValue : ( ( rule__LogicValue__Alternatives ) ) ; public final void ruleLogicValue() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:981:1: ( ( ( rule__LogicValue__Alternatives ) ) ) - // InternalProblem.g:982:2: ( ( rule__LogicValue__Alternatives ) ) + // InternalProblem.g:973:1: ( ( ( rule__LogicValue__Alternatives ) ) ) + // InternalProblem.g:974:2: ( ( rule__LogicValue__Alternatives ) ) { - // InternalProblem.g:982:2: ( ( rule__LogicValue__Alternatives ) ) - // InternalProblem.g:983:3: ( rule__LogicValue__Alternatives ) + // InternalProblem.g:974:2: ( ( rule__LogicValue__Alternatives ) ) + // InternalProblem.g:975:3: ( rule__LogicValue__Alternatives ) { before(grammarAccess.getLogicValueAccess().getAlternatives()); - // InternalProblem.g:984:3: ( rule__LogicValue__Alternatives ) - // InternalProblem.g:984:4: rule__LogicValue__Alternatives + // InternalProblem.g:976:3: ( rule__LogicValue__Alternatives ) + // InternalProblem.g:976:4: rule__LogicValue__Alternatives { pushFollow(FOLLOW_2); rule__LogicValue__Alternatives(); @@ -2939,21 +2930,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "ruleShortLogicValue" - // InternalProblem.g:993:1: ruleShortLogicValue : ( ( rule__ShortLogicValue__Alternatives ) ) ; + // InternalProblem.g:985:1: ruleShortLogicValue : ( ( rule__ShortLogicValue__Alternatives ) ) ; public final void ruleShortLogicValue() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:997:1: ( ( ( rule__ShortLogicValue__Alternatives ) ) ) - // InternalProblem.g:998:2: ( ( rule__ShortLogicValue__Alternatives ) ) + // InternalProblem.g:989:1: ( ( ( rule__ShortLogicValue__Alternatives ) ) ) + // InternalProblem.g:990:2: ( ( rule__ShortLogicValue__Alternatives ) ) { - // InternalProblem.g:998:2: ( ( rule__ShortLogicValue__Alternatives ) ) - // InternalProblem.g:999:3: ( rule__ShortLogicValue__Alternatives ) + // InternalProblem.g:990:2: ( ( rule__ShortLogicValue__Alternatives ) ) + // InternalProblem.g:991:3: ( rule__ShortLogicValue__Alternatives ) { before(grammarAccess.getShortLogicValueAccess().getAlternatives()); - // InternalProblem.g:1000:3: ( rule__ShortLogicValue__Alternatives ) - // InternalProblem.g:1000:4: rule__ShortLogicValue__Alternatives + // InternalProblem.g:992:3: ( rule__ShortLogicValue__Alternatives ) + // InternalProblem.g:992:4: rule__ShortLogicValue__Alternatives { pushFollow(FOLLOW_2); rule__ShortLogicValue__Alternatives(); @@ -2986,21 +2977,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Statement__Alternatives" - // InternalProblem.g:1008:1: rule__Statement__Alternatives : ( ( ruleClassDeclaration ) | ( ruleEnumDeclaration ) | ( rulePredicateDefinition ) | ( ruleAssertion ) | ( ruleNodeValueAssertion ) | ( ruleScopeDeclaration ) ); + // InternalProblem.g:1000:1: rule__Statement__Alternatives : ( ( ruleClassDeclaration ) | ( ruleEnumDeclaration ) | ( rulePredicateDefinition ) | ( ruleAssertion ) | ( ruleNodeValueAssertion ) | ( ruleScopeDeclaration ) ); public final void rule__Statement__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1012:1: ( ( ruleClassDeclaration ) | ( ruleEnumDeclaration ) | ( rulePredicateDefinition ) | ( ruleAssertion ) | ( ruleNodeValueAssertion ) | ( ruleScopeDeclaration ) ) + // InternalProblem.g:1004:1: ( ( ruleClassDeclaration ) | ( ruleEnumDeclaration ) | ( rulePredicateDefinition ) | ( ruleAssertion ) | ( ruleNodeValueAssertion ) | ( ruleScopeDeclaration ) ) int alt1=6; alt1 = dfa1.predict(input); switch (alt1) { case 1 : - // InternalProblem.g:1013:2: ( ruleClassDeclaration ) + // InternalProblem.g:1005:2: ( ruleClassDeclaration ) { - // InternalProblem.g:1013:2: ( ruleClassDeclaration ) - // InternalProblem.g:1014:3: ruleClassDeclaration + // InternalProblem.g:1005:2: ( ruleClassDeclaration ) + // InternalProblem.g:1006:3: ruleClassDeclaration { before(grammarAccess.getStatementAccess().getClassDeclarationParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -3016,10 +3007,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1019:2: ( ruleEnumDeclaration ) + // InternalProblem.g:1011:2: ( ruleEnumDeclaration ) { - // InternalProblem.g:1019:2: ( ruleEnumDeclaration ) - // InternalProblem.g:1020:3: ruleEnumDeclaration + // InternalProblem.g:1011:2: ( ruleEnumDeclaration ) + // InternalProblem.g:1012:3: ruleEnumDeclaration { before(grammarAccess.getStatementAccess().getEnumDeclarationParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -3035,10 +3026,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 3 : - // InternalProblem.g:1025:2: ( rulePredicateDefinition ) + // InternalProblem.g:1017:2: ( rulePredicateDefinition ) { - // InternalProblem.g:1025:2: ( rulePredicateDefinition ) - // InternalProblem.g:1026:3: rulePredicateDefinition + // InternalProblem.g:1017:2: ( rulePredicateDefinition ) + // InternalProblem.g:1018:3: rulePredicateDefinition { before(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_2()); pushFollow(FOLLOW_2); @@ -3054,10 +3045,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 4 : - // InternalProblem.g:1031:2: ( ruleAssertion ) + // InternalProblem.g:1023:2: ( ruleAssertion ) { - // InternalProblem.g:1031:2: ( ruleAssertion ) - // InternalProblem.g:1032:3: ruleAssertion + // InternalProblem.g:1023:2: ( ruleAssertion ) + // InternalProblem.g:1024:3: ruleAssertion { before(grammarAccess.getStatementAccess().getAssertionParserRuleCall_3()); pushFollow(FOLLOW_2); @@ -3073,10 +3064,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 5 : - // InternalProblem.g:1037:2: ( ruleNodeValueAssertion ) + // InternalProblem.g:1029:2: ( ruleNodeValueAssertion ) { - // InternalProblem.g:1037:2: ( ruleNodeValueAssertion ) - // InternalProblem.g:1038:3: ruleNodeValueAssertion + // InternalProblem.g:1029:2: ( ruleNodeValueAssertion ) + // InternalProblem.g:1030:3: ruleNodeValueAssertion { before(grammarAccess.getStatementAccess().getNodeValueAssertionParserRuleCall_4()); pushFollow(FOLLOW_2); @@ -3092,10 +3083,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 6 : - // InternalProblem.g:1043:2: ( ruleScopeDeclaration ) + // InternalProblem.g:1035:2: ( ruleScopeDeclaration ) { - // InternalProblem.g:1043:2: ( ruleScopeDeclaration ) - // InternalProblem.g:1044:3: ruleScopeDeclaration + // InternalProblem.g:1035:2: ( ruleScopeDeclaration ) + // InternalProblem.g:1036:3: ruleScopeDeclaration { before(grammarAccess.getStatementAccess().getScopeDeclarationParserRuleCall_5()); pushFollow(FOLLOW_2); @@ -3128,20 +3119,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Alternatives_4" - // InternalProblem.g:1053:1: rule__ClassDeclaration__Alternatives_4 : ( ( ( rule__ClassDeclaration__Group_4_0__0 ) ) | ( '.' ) ); + // InternalProblem.g:1045: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:1057:1: ( ( ( rule__ClassDeclaration__Group_4_0__0 ) ) | ( '.' ) ) + // InternalProblem.g:1049:1: ( ( ( rule__ClassDeclaration__Group_4_0__0 ) ) | ( '.' ) ) int alt2=2; int LA2_0 = input.LA(1); - if ( (LA2_0==31) ) { + if ( (LA2_0==28) ) { alt2=1; } - else if ( (LA2_0==12) ) { + else if ( (LA2_0==13) ) { alt2=2; } else { @@ -3152,14 +3143,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt2) { case 1 : - // InternalProblem.g:1058:2: ( ( rule__ClassDeclaration__Group_4_0__0 ) ) + // InternalProblem.g:1050:2: ( ( rule__ClassDeclaration__Group_4_0__0 ) ) { - // InternalProblem.g:1058:2: ( ( rule__ClassDeclaration__Group_4_0__0 ) ) - // InternalProblem.g:1059:3: ( rule__ClassDeclaration__Group_4_0__0 ) + // InternalProblem.g:1050:2: ( ( rule__ClassDeclaration__Group_4_0__0 ) ) + // InternalProblem.g:1051:3: ( rule__ClassDeclaration__Group_4_0__0 ) { before(grammarAccess.getClassDeclarationAccess().getGroup_4_0()); - // InternalProblem.g:1060:3: ( rule__ClassDeclaration__Group_4_0__0 ) - // InternalProblem.g:1060:4: rule__ClassDeclaration__Group_4_0__0 + // InternalProblem.g:1052:3: ( rule__ClassDeclaration__Group_4_0__0 ) + // InternalProblem.g:1052:4: rule__ClassDeclaration__Group_4_0__0 { pushFollow(FOLLOW_2); rule__ClassDeclaration__Group_4_0__0(); @@ -3177,13 +3168,13 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1064:2: ( '.' ) + // InternalProblem.g:1056:2: ( '.' ) { - // InternalProblem.g:1064:2: ( '.' ) - // InternalProblem.g:1065:3: '.' + // InternalProblem.g:1056:2: ( '.' ) + // InternalProblem.g:1057:3: '.' { before(grammarAccess.getClassDeclarationAccess().getFullStopKeyword_4_1()); - match(input,12,FOLLOW_2); + match(input,13,FOLLOW_2); after(grammarAccess.getClassDeclarationAccess().getFullStopKeyword_4_1()); } @@ -3209,20 +3200,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Alternatives_2" - // InternalProblem.g:1074:1: rule__EnumDeclaration__Alternatives_2 : ( ( ( rule__EnumDeclaration__Group_2_0__0 ) ) | ( '.' ) ); + // InternalProblem.g:1066:1: rule__EnumDeclaration__Alternatives_2 : ( ( ( rule__EnumDeclaration__Group_2_0__0 ) ) | ( '.' ) ); public final void rule__EnumDeclaration__Alternatives_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1078:1: ( ( ( rule__EnumDeclaration__Group_2_0__0 ) ) | ( '.' ) ) + // InternalProblem.g:1070:1: ( ( ( rule__EnumDeclaration__Group_2_0__0 ) ) | ( '.' ) ) int alt3=2; int LA3_0 = input.LA(1); - if ( (LA3_0==31) ) { + if ( (LA3_0==28) ) { alt3=1; } - else if ( (LA3_0==12) ) { + else if ( (LA3_0==13) ) { alt3=2; } else { @@ -3233,14 +3224,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt3) { case 1 : - // InternalProblem.g:1079:2: ( ( rule__EnumDeclaration__Group_2_0__0 ) ) + // InternalProblem.g:1071:2: ( ( rule__EnumDeclaration__Group_2_0__0 ) ) { - // InternalProblem.g:1079:2: ( ( rule__EnumDeclaration__Group_2_0__0 ) ) - // InternalProblem.g:1080:3: ( rule__EnumDeclaration__Group_2_0__0 ) + // InternalProblem.g:1071:2: ( ( rule__EnumDeclaration__Group_2_0__0 ) ) + // InternalProblem.g:1072:3: ( rule__EnumDeclaration__Group_2_0__0 ) { before(grammarAccess.getEnumDeclarationAccess().getGroup_2_0()); - // InternalProblem.g:1081:3: ( rule__EnumDeclaration__Group_2_0__0 ) - // InternalProblem.g:1081:4: rule__EnumDeclaration__Group_2_0__0 + // InternalProblem.g:1073:3: ( rule__EnumDeclaration__Group_2_0__0 ) + // InternalProblem.g:1073:4: rule__EnumDeclaration__Group_2_0__0 { pushFollow(FOLLOW_2); rule__EnumDeclaration__Group_2_0__0(); @@ -3258,13 +3249,13 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1085:2: ( '.' ) + // InternalProblem.g:1077:2: ( '.' ) { - // InternalProblem.g:1085:2: ( '.' ) - // InternalProblem.g:1086:3: '.' + // InternalProblem.g:1077:2: ( '.' ) + // InternalProblem.g:1078:3: '.' { before(grammarAccess.getEnumDeclarationAccess().getFullStopKeyword_2_1()); - match(input,12,FOLLOW_2); + match(input,13,FOLLOW_2); after(grammarAccess.getEnumDeclarationAccess().getFullStopKeyword_2_1()); } @@ -3290,20 +3281,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Alternatives_2_0_1_2" - // InternalProblem.g:1095:1: rule__EnumDeclaration__Alternatives_2_0_1_2 : ( ( ',' ) | ( ';' ) ); + // InternalProblem.g:1087:1: rule__EnumDeclaration__Alternatives_2_0_1_2 : ( ( ',' ) | ( ';' ) ); public final void rule__EnumDeclaration__Alternatives_2_0_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1099:1: ( ( ',' ) | ( ';' ) ) + // InternalProblem.g:1091:1: ( ( ',' ) | ( ';' ) ) int alt4=2; int LA4_0 = input.LA(1); - if ( (LA4_0==13) ) { + if ( (LA4_0==14) ) { alt4=1; } - else if ( (LA4_0==14) ) { + else if ( (LA4_0==15) ) { alt4=2; } else { @@ -3314,13 +3305,13 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt4) { case 1 : - // InternalProblem.g:1100:2: ( ',' ) + // InternalProblem.g:1092:2: ( ',' ) { - // InternalProblem.g:1100:2: ( ',' ) - // InternalProblem.g:1101:3: ',' + // InternalProblem.g:1092:2: ( ',' ) + // InternalProblem.g:1093:3: ',' { before(grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_2_0()); - match(input,13,FOLLOW_2); + match(input,14,FOLLOW_2); after(grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_2_0()); } @@ -3329,13 +3320,13 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1106:2: ( ';' ) + // InternalProblem.g:1098:2: ( ';' ) { - // InternalProblem.g:1106:2: ( ';' ) - // InternalProblem.g:1107:3: ';' + // InternalProblem.g:1098:2: ( ';' ) + // InternalProblem.g:1099:3: ';' { before(grammarAccess.getEnumDeclarationAccess().getSemicolonKeyword_2_0_1_2_1()); - match(input,14,FOLLOW_2); + match(input,15,FOLLOW_2); after(grammarAccess.getEnumDeclarationAccess().getSemicolonKeyword_2_0_1_2_1()); } @@ -3361,20 +3352,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Alternatives_0" - // InternalProblem.g:1116:1: rule__ReferenceDeclaration__Alternatives_0 : ( ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) ) | ( 'refers' ) ); + // InternalProblem.g:1108: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:1120:1: ( ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) ) | ( 'refers' ) ) + // InternalProblem.g:1112:1: ( ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) ) | ( 'refers' ) ) int alt5=2; int LA5_0 = input.LA(1); - if ( (LA5_0==45) ) { + if ( (LA5_0==43) ) { alt5=1; } - else if ( (LA5_0==15) ) { + else if ( (LA5_0==16) ) { alt5=2; } else { @@ -3385,14 +3376,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt5) { case 1 : - // InternalProblem.g:1121:2: ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) ) + // InternalProblem.g:1113:2: ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) ) { - // InternalProblem.g:1121:2: ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) ) - // InternalProblem.g:1122:3: ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) + // InternalProblem.g:1113:2: ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) ) + // InternalProblem.g:1114:3: ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) { before(grammarAccess.getReferenceDeclarationAccess().getContainmentAssignment_0_0()); - // InternalProblem.g:1123:3: ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) - // InternalProblem.g:1123:4: rule__ReferenceDeclaration__ContainmentAssignment_0_0 + // InternalProblem.g:1115:3: ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) + // InternalProblem.g:1115:4: rule__ReferenceDeclaration__ContainmentAssignment_0_0 { pushFollow(FOLLOW_2); rule__ReferenceDeclaration__ContainmentAssignment_0_0(); @@ -3410,13 +3401,13 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1127:2: ( 'refers' ) + // InternalProblem.g:1119:2: ( 'refers' ) { - // InternalProblem.g:1127:2: ( 'refers' ) - // InternalProblem.g:1128:3: 'refers' + // InternalProblem.g:1119:2: ( 'refers' ) + // InternalProblem.g:1120:3: 'refers' { before(grammarAccess.getReferenceDeclarationAccess().getRefersKeyword_0_1()); - match(input,15,FOLLOW_2); + match(input,16,FOLLOW_2); after(grammarAccess.getReferenceDeclarationAccess().getRefersKeyword_0_1()); } @@ -3442,20 +3433,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Alternatives_0" - // InternalProblem.g:1137:1: rule__PredicateDefinition__Alternatives_0 : ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( 'pred' ) ); + // InternalProblem.g:1129: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:1141:1: ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( 'pred' ) ) + // InternalProblem.g:1133:1: ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( 'pred' ) ) int alt6=2; int LA6_0 = input.LA(1); - if ( (LA6_0==46) ) { + if ( (LA6_0==44) ) { alt6=1; } - else if ( (LA6_0==16) ) { + else if ( (LA6_0==17) ) { alt6=2; } else { @@ -3466,14 +3457,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt6) { case 1 : - // InternalProblem.g:1142:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) + // InternalProblem.g:1134:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) { - // InternalProblem.g:1142:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) - // InternalProblem.g:1143:3: ( rule__PredicateDefinition__Group_0_0__0 ) + // InternalProblem.g:1134:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) + // InternalProblem.g:1135:3: ( rule__PredicateDefinition__Group_0_0__0 ) { before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); - // InternalProblem.g:1144:3: ( rule__PredicateDefinition__Group_0_0__0 ) - // InternalProblem.g:1144:4: rule__PredicateDefinition__Group_0_0__0 + // InternalProblem.g:1136:3: ( rule__PredicateDefinition__Group_0_0__0 ) + // InternalProblem.g:1136:4: rule__PredicateDefinition__Group_0_0__0 { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group_0_0__0(); @@ -3491,13 +3482,13 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1148:2: ( 'pred' ) + // InternalProblem.g:1140:2: ( 'pred' ) { - // InternalProblem.g:1148:2: ( 'pred' ) - // InternalProblem.g:1149:3: 'pred' + // InternalProblem.g:1140:2: ( 'pred' ) + // InternalProblem.g:1141:3: 'pred' { before(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_1()); - match(input,16,FOLLOW_2); + match(input,17,FOLLOW_2); after(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_1()); } @@ -3523,20 +3514,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Literal__Alternatives" - // InternalProblem.g:1158:1: rule__Literal__Alternatives : ( ( ruleAtom ) | ( ruleNegativeLiteral ) ); + // InternalProblem.g:1150:1: rule__Literal__Alternatives : ( ( ruleAtom ) | ( ruleNegativeLiteral ) ); public final void rule__Literal__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1162:1: ( ( ruleAtom ) | ( ruleNegativeLiteral ) ) + // InternalProblem.g:1154:1: ( ( ruleAtom ) | ( ruleNegativeLiteral ) ) int alt7=2; int LA7_0 = input.LA(1); - if ( ((LA7_0>=RULE_QUOTED_ID && LA7_0<=RULE_ID)||(LA7_0>=19 && LA7_0<=22)) ) { + if ( ((LA7_0>=RULE_QUOTED_ID && LA7_0<=RULE_ID)||(LA7_0>=20 && LA7_0<=21)) ) { alt7=1; } - else if ( (LA7_0==26) ) { + else if ( (LA7_0==23) ) { alt7=2; } else { @@ -3547,10 +3538,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt7) { case 1 : - // InternalProblem.g:1163:2: ( ruleAtom ) + // InternalProblem.g:1155:2: ( ruleAtom ) { - // InternalProblem.g:1163:2: ( ruleAtom ) - // InternalProblem.g:1164:3: ruleAtom + // InternalProblem.g:1155:2: ( ruleAtom ) + // InternalProblem.g:1156:3: ruleAtom { before(grammarAccess.getLiteralAccess().getAtomParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -3566,10 +3557,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1169:2: ( ruleNegativeLiteral ) + // InternalProblem.g:1161:2: ( ruleNegativeLiteral ) { - // InternalProblem.g:1169:2: ( ruleNegativeLiteral ) - // InternalProblem.g:1170:3: ruleNegativeLiteral + // InternalProblem.g:1161:2: ( ruleNegativeLiteral ) + // InternalProblem.g:1162:3: ruleNegativeLiteral { before(grammarAccess.getLiteralAccess().getNegativeLiteralParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -3602,20 +3593,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Argument__Alternatives" - // InternalProblem.g:1179:1: rule__Argument__Alternatives : ( ( ruleVariableOrNodeArgument ) | ( ruleConstantArgument ) ); + // InternalProblem.g:1171:1: rule__Argument__Alternatives : ( ( ruleVariableOrNodeArgument ) | ( ruleConstantArgument ) ); public final void rule__Argument__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1183:1: ( ( ruleVariableOrNodeArgument ) | ( ruleConstantArgument ) ) + // InternalProblem.g:1175:1: ( ( ruleVariableOrNodeArgument ) | ( ruleConstantArgument ) ) int alt8=2; int LA8_0 = input.LA(1); - if ( ((LA8_0>=RULE_QUOTED_ID && LA8_0<=RULE_ID)||(LA8_0>=19 && LA8_0<=22)) ) { + if ( ((LA8_0>=RULE_QUOTED_ID && LA8_0<=RULE_ID)||(LA8_0>=20 && LA8_0<=21)) ) { alt8=1; } - else if ( (LA8_0==RULE_INT||LA8_0==RULE_STRING||LA8_0==23) ) { + else if ( (LA8_0==RULE_INT||(LA8_0>=RULE_EXPONENTIAL && LA8_0<=RULE_STRING)||LA8_0==41) ) { alt8=2; } else { @@ -3626,10 +3617,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt8) { case 1 : - // InternalProblem.g:1184:2: ( ruleVariableOrNodeArgument ) + // InternalProblem.g:1176:2: ( ruleVariableOrNodeArgument ) { - // InternalProblem.g:1184:2: ( ruleVariableOrNodeArgument ) - // InternalProblem.g:1185:3: ruleVariableOrNodeArgument + // InternalProblem.g:1176:2: ( ruleVariableOrNodeArgument ) + // InternalProblem.g:1177:3: ruleVariableOrNodeArgument { before(grammarAccess.getArgumentAccess().getVariableOrNodeArgumentParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -3645,10 +3636,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1190:2: ( ruleConstantArgument ) + // InternalProblem.g:1182:2: ( ruleConstantArgument ) { - // InternalProblem.g:1190:2: ( ruleConstantArgument ) - // InternalProblem.g:1191:3: ruleConstantArgument + // InternalProblem.g:1182:2: ( ruleConstantArgument ) + // InternalProblem.g:1183:3: ruleConstantArgument { before(grammarAccess.getArgumentAccess().getConstantArgumentParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -3681,25 +3672,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Alternatives_0" - // InternalProblem.g:1200:1: rule__Assertion__Alternatives_0 : ( ( ( rule__Assertion__Group_0_0__0 ) ) | ( ( rule__Assertion__Group_0_1__0 ) ) ); + // InternalProblem.g:1192: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:1204:1: ( ( ( rule__Assertion__Group_0_0__0 ) ) | ( ( rule__Assertion__Group_0_1__0 ) ) ) + // InternalProblem.g:1196:1: ( ( ( rule__Assertion__Group_0_0__0 ) ) | ( ( rule__Assertion__Group_0_1__0 ) ) ) int alt9=2; alt9 = dfa9.predict(input); switch (alt9) { case 1 : - // InternalProblem.g:1205:2: ( ( rule__Assertion__Group_0_0__0 ) ) + // InternalProblem.g:1197:2: ( ( rule__Assertion__Group_0_0__0 ) ) { - // InternalProblem.g:1205:2: ( ( rule__Assertion__Group_0_0__0 ) ) - // InternalProblem.g:1206:3: ( rule__Assertion__Group_0_0__0 ) + // InternalProblem.g:1197:2: ( ( rule__Assertion__Group_0_0__0 ) ) + // InternalProblem.g:1198:3: ( rule__Assertion__Group_0_0__0 ) { before(grammarAccess.getAssertionAccess().getGroup_0_0()); - // InternalProblem.g:1207:3: ( rule__Assertion__Group_0_0__0 ) - // InternalProblem.g:1207:4: rule__Assertion__Group_0_0__0 + // InternalProblem.g:1199:3: ( rule__Assertion__Group_0_0__0 ) + // InternalProblem.g:1199:4: rule__Assertion__Group_0_0__0 { pushFollow(FOLLOW_2); rule__Assertion__Group_0_0__0(); @@ -3717,14 +3708,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1211:2: ( ( rule__Assertion__Group_0_1__0 ) ) + // InternalProblem.g:1203:2: ( ( rule__Assertion__Group_0_1__0 ) ) { - // InternalProblem.g:1211:2: ( ( rule__Assertion__Group_0_1__0 ) ) - // InternalProblem.g:1212:3: ( rule__Assertion__Group_0_1__0 ) + // InternalProblem.g:1203:2: ( ( rule__Assertion__Group_0_1__0 ) ) + // InternalProblem.g:1204:3: ( rule__Assertion__Group_0_1__0 ) { before(grammarAccess.getAssertionAccess().getGroup_0_1()); - // InternalProblem.g:1213:3: ( rule__Assertion__Group_0_1__0 ) - // InternalProblem.g:1213:4: rule__Assertion__Group_0_1__0 + // InternalProblem.g:1205:3: ( rule__Assertion__Group_0_1__0 ) + // InternalProblem.g:1205:4: rule__Assertion__Group_0_1__0 { pushFollow(FOLLOW_2); rule__Assertion__Group_0_1__0(); @@ -3759,20 +3750,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__AssertionArgument__Alternatives" - // InternalProblem.g:1221:1: rule__AssertionArgument__Alternatives : ( ( ruleNodeAssertionArgument ) | ( ruleConstantAssertionArgument ) ); + // InternalProblem.g:1213:1: rule__AssertionArgument__Alternatives : ( ( ruleNodeAssertionArgument ) | ( ruleConstantAssertionArgument ) ); public final void rule__AssertionArgument__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1225:1: ( ( ruleNodeAssertionArgument ) | ( ruleConstantAssertionArgument ) ) + // InternalProblem.g:1217:1: ( ( ruleNodeAssertionArgument ) | ( ruleConstantAssertionArgument ) ) int alt10=2; int LA10_0 = input.LA(1); - if ( ((LA10_0>=RULE_QUOTED_ID && LA10_0<=RULE_ID)||(LA10_0>=19 && LA10_0<=22)) ) { + if ( ((LA10_0>=RULE_QUOTED_ID && LA10_0<=RULE_ID)||(LA10_0>=20 && LA10_0<=21)) ) { alt10=1; } - else if ( (LA10_0==RULE_INT||LA10_0==RULE_STRING||LA10_0==23) ) { + else if ( (LA10_0==RULE_INT||(LA10_0>=RULE_EXPONENTIAL && LA10_0<=RULE_STRING)||LA10_0==41) ) { alt10=2; } else { @@ -3783,10 +3774,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt10) { case 1 : - // InternalProblem.g:1226:2: ( ruleNodeAssertionArgument ) + // InternalProblem.g:1218:2: ( ruleNodeAssertionArgument ) { - // InternalProblem.g:1226:2: ( ruleNodeAssertionArgument ) - // InternalProblem.g:1227:3: ruleNodeAssertionArgument + // InternalProblem.g:1218:2: ( ruleNodeAssertionArgument ) + // InternalProblem.g:1219:3: ruleNodeAssertionArgument { before(grammarAccess.getAssertionArgumentAccess().getNodeAssertionArgumentParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -3802,10 +3793,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1232:2: ( ruleConstantAssertionArgument ) + // InternalProblem.g:1224:2: ( ruleConstantAssertionArgument ) { - // InternalProblem.g:1232:2: ( ruleConstantAssertionArgument ) - // InternalProblem.g:1233:3: ruleConstantAssertionArgument + // InternalProblem.g:1224:2: ( ruleConstantAssertionArgument ) + // InternalProblem.g:1225:3: ruleConstantAssertionArgument { before(grammarAccess.getAssertionArgumentAccess().getConstantAssertionArgumentParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -3838,59 +3829,50 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Constant__Alternatives" - // InternalProblem.g:1242:1: rule__Constant__Alternatives : ( ( ruleIntConstant ) | ( ruleRealConstant ) | ( ruleStringConstant ) ); + // InternalProblem.g:1234:1: rule__Constant__Alternatives : ( ( ruleRealConstant ) | ( ruleIntConstant ) | ( ruleStringConstant ) ); public final void rule__Constant__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1246:1: ( ( ruleIntConstant ) | ( ruleRealConstant ) | ( ruleStringConstant ) ) + // InternalProblem.g:1238:1: ( ( ruleRealConstant ) | ( ruleIntConstant ) | ( ruleStringConstant ) ) int alt11=3; switch ( input.LA(1) ) { - case 23: + case 41: { int LA11_1 = input.LA(2); - if ( (LA11_1==RULE_INT) ) { - switch ( input.LA(3) ) { - case 12: - { - int LA11_4 = input.LA(4); + if ( (LA11_1==RULE_EXPONENTIAL) ) { + alt11=1; + } + else if ( (LA11_1==RULE_INT) ) { + int LA11_3 = input.LA(3); + + if ( (LA11_3==EOF||LA11_3==14||LA11_3==35) ) { + alt11=2; + } + else if ( (LA11_3==13) ) { + int LA11_6 = input.LA(4); - if ( (LA11_4==RULE_INT) ) { + if ( (LA11_6==EOF||(LA11_6>=RULE_QUOTED_ID && LA11_6<=RULE_ID)||LA11_6==17||(LA11_6>=20 && LA11_6<=21)||(LA11_6>=23 && LA11_6<=24)||LA11_6==26||LA11_6==30||LA11_6==38||LA11_6==42||LA11_6==44) ) { alt11=2; } - else if ( (LA11_4==EOF||(LA11_4>=RULE_QUOTED_ID && LA11_4<=RULE_ID)||LA11_4==16||(LA11_4>=19 && LA11_4<=22)||(LA11_4>=26 && LA11_4<=27)||LA11_4==29||LA11_4==33||LA11_4==41||LA11_4==44||LA11_4==46) ) { + else if ( (LA11_6==RULE_INT||LA11_6==RULE_EXPONENTIAL) ) { alt11=1; } else { NoViableAltException nvae = - new NoViableAltException("", 11, 4, input); + new NoViableAltException("", 11, 6, input); throw nvae; } - } - break; - case 21: - case 22: - { - alt11=2; - } - break; - case EOF: - case 13: - case 38: - { - alt11=1; - } - break; - default: + } + else { NoViableAltException nvae = - new NoViableAltException("", 11, 2, input); + new NoViableAltException("", 11, 3, input); throw nvae; } - } else { NoViableAltException nvae = @@ -3900,47 +3882,40 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } } break; + case RULE_EXPONENTIAL: + { + alt11=1; + } + break; case RULE_INT: { - switch ( input.LA(2) ) { - case 12: - { - int LA11_4 = input.LA(3); + int LA11_3 = input.LA(2); + + if ( (LA11_3==EOF||LA11_3==14||LA11_3==35) ) { + alt11=2; + } + else if ( (LA11_3==13) ) { + int LA11_6 = input.LA(3); - if ( (LA11_4==RULE_INT) ) { + if ( (LA11_6==EOF||(LA11_6>=RULE_QUOTED_ID && LA11_6<=RULE_ID)||LA11_6==17||(LA11_6>=20 && LA11_6<=21)||(LA11_6>=23 && LA11_6<=24)||LA11_6==26||LA11_6==30||LA11_6==38||LA11_6==42||LA11_6==44) ) { alt11=2; } - else if ( (LA11_4==EOF||(LA11_4>=RULE_QUOTED_ID && LA11_4<=RULE_ID)||LA11_4==16||(LA11_4>=19 && LA11_4<=22)||(LA11_4>=26 && LA11_4<=27)||LA11_4==29||LA11_4==33||LA11_4==41||LA11_4==44||LA11_4==46) ) { + else if ( (LA11_6==RULE_INT||LA11_6==RULE_EXPONENTIAL) ) { alt11=1; } else { NoViableAltException nvae = - new NoViableAltException("", 11, 4, input); + new NoViableAltException("", 11, 6, input); throw nvae; } - } - break; - case 21: - case 22: - { - alt11=2; - } - break; - case EOF: - case 13: - case 38: - { - alt11=1; - } - break; - default: + } + else { NoViableAltException nvae = - new NoViableAltException("", 11, 2, input); + new NoViableAltException("", 11, 3, input); throw nvae; } - } break; case RULE_STRING: @@ -3957,18 +3932,18 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { switch (alt11) { case 1 : - // InternalProblem.g:1247:2: ( ruleIntConstant ) + // InternalProblem.g:1239:2: ( ruleRealConstant ) { - // InternalProblem.g:1247:2: ( ruleIntConstant ) - // InternalProblem.g:1248:3: ruleIntConstant + // InternalProblem.g:1239:2: ( ruleRealConstant ) + // InternalProblem.g:1240:3: ruleRealConstant { - before(grammarAccess.getConstantAccess().getIntConstantParserRuleCall_0()); + before(grammarAccess.getConstantAccess().getRealConstantParserRuleCall_0()); pushFollow(FOLLOW_2); - ruleIntConstant(); + ruleRealConstant(); state._fsp--; - after(grammarAccess.getConstantAccess().getIntConstantParserRuleCall_0()); + after(grammarAccess.getConstantAccess().getRealConstantParserRuleCall_0()); } @@ -3976,18 +3951,18 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1253:2: ( ruleRealConstant ) + // InternalProblem.g:1245:2: ( ruleIntConstant ) { - // InternalProblem.g:1253:2: ( ruleRealConstant ) - // InternalProblem.g:1254:3: ruleRealConstant + // InternalProblem.g:1245:2: ( ruleIntConstant ) + // InternalProblem.g:1246:3: ruleIntConstant { - before(grammarAccess.getConstantAccess().getRealConstantParserRuleCall_1()); + before(grammarAccess.getConstantAccess().getIntConstantParserRuleCall_1()); pushFollow(FOLLOW_2); - ruleRealConstant(); + ruleIntConstant(); state._fsp--; - after(grammarAccess.getConstantAccess().getRealConstantParserRuleCall_1()); + after(grammarAccess.getConstantAccess().getIntConstantParserRuleCall_1()); } @@ -3995,10 +3970,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 3 : - // InternalProblem.g:1259:2: ( ruleStringConstant ) + // InternalProblem.g:1251:2: ( ruleStringConstant ) { - // InternalProblem.g:1259:2: ( ruleStringConstant ) - // InternalProblem.g:1260:3: ruleStringConstant + // InternalProblem.g:1251:2: ( ruleStringConstant ) + // InternalProblem.g:1252:3: ruleStringConstant { before(grammarAccess.getConstantAccess().getStringConstantParserRuleCall_2()); pushFollow(FOLLOW_2); @@ -4031,20 +4006,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__Alternatives_1" - // InternalProblem.g:1269:1: rule__TypeScope__Alternatives_1 : ( ( ( rule__TypeScope__IncrementAssignment_1_0 ) ) | ( '=' ) ); + // InternalProblem.g:1261: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:1273:1: ( ( ( rule__TypeScope__IncrementAssignment_1_0 ) ) | ( '=' ) ) + // InternalProblem.g:1265:1: ( ( ( rule__TypeScope__IncrementAssignment_1_0 ) ) | ( '=' ) ) int alt12=2; int LA12_0 = input.LA(1); - if ( (LA12_0==47) ) { + if ( (LA12_0==46) ) { alt12=1; } - else if ( (LA12_0==17) ) { + else if ( (LA12_0==18) ) { alt12=2; } else { @@ -4055,14 +4030,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt12) { case 1 : - // InternalProblem.g:1274:2: ( ( rule__TypeScope__IncrementAssignment_1_0 ) ) + // InternalProblem.g:1266:2: ( ( rule__TypeScope__IncrementAssignment_1_0 ) ) { - // InternalProblem.g:1274:2: ( ( rule__TypeScope__IncrementAssignment_1_0 ) ) - // InternalProblem.g:1275:3: ( rule__TypeScope__IncrementAssignment_1_0 ) + // InternalProblem.g:1266:2: ( ( rule__TypeScope__IncrementAssignment_1_0 ) ) + // InternalProblem.g:1267:3: ( rule__TypeScope__IncrementAssignment_1_0 ) { before(grammarAccess.getTypeScopeAccess().getIncrementAssignment_1_0()); - // InternalProblem.g:1276:3: ( rule__TypeScope__IncrementAssignment_1_0 ) - // InternalProblem.g:1276:4: rule__TypeScope__IncrementAssignment_1_0 + // InternalProblem.g:1268:3: ( rule__TypeScope__IncrementAssignment_1_0 ) + // InternalProblem.g:1268:4: rule__TypeScope__IncrementAssignment_1_0 { pushFollow(FOLLOW_2); rule__TypeScope__IncrementAssignment_1_0(); @@ -4080,13 +4055,13 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1280:2: ( '=' ) + // InternalProblem.g:1272:2: ( '=' ) { - // InternalProblem.g:1280:2: ( '=' ) - // InternalProblem.g:1281:3: '=' + // InternalProblem.g:1272:2: ( '=' ) + // InternalProblem.g:1273:3: '=' { before(grammarAccess.getTypeScopeAccess().getEqualsSignKeyword_1_1()); - match(input,17,FOLLOW_2); + match(input,18,FOLLOW_2); after(grammarAccess.getTypeScopeAccess().getEqualsSignKeyword_1_1()); } @@ -4112,17 +4087,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Multiplicity__Alternatives" - // InternalProblem.g:1290:1: rule__Multiplicity__Alternatives : ( ( ruleUnboundedMultiplicity ) | ( ruleDefiniteMultiplicity ) ); + // InternalProblem.g:1282:1: rule__Multiplicity__Alternatives : ( ( ruleUnboundedMultiplicity ) | ( ruleDefiniteMultiplicity ) ); public final void rule__Multiplicity__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1294:1: ( ( ruleUnboundedMultiplicity ) | ( ruleDefiniteMultiplicity ) ) + // InternalProblem.g:1286:1: ( ( ruleUnboundedMultiplicity ) | ( ruleDefiniteMultiplicity ) ) int alt13=2; int LA13_0 = input.LA(1); - if ( (LA13_0==EOF||LA13_0==35) ) { + if ( (LA13_0==EOF||LA13_0==32) ) { alt13=1; } else if ( (LA13_0==RULE_INT) ) { @@ -4136,10 +4111,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt13) { case 1 : - // InternalProblem.g:1295:2: ( ruleUnboundedMultiplicity ) + // InternalProblem.g:1287:2: ( ruleUnboundedMultiplicity ) { - // InternalProblem.g:1295:2: ( ruleUnboundedMultiplicity ) - // InternalProblem.g:1296:3: ruleUnboundedMultiplicity + // InternalProblem.g:1287:2: ( ruleUnboundedMultiplicity ) + // InternalProblem.g:1288:3: ruleUnboundedMultiplicity { before(grammarAccess.getMultiplicityAccess().getUnboundedMultiplicityParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -4155,10 +4130,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1301:2: ( ruleDefiniteMultiplicity ) + // InternalProblem.g:1293:2: ( ruleDefiniteMultiplicity ) { - // InternalProblem.g:1301:2: ( ruleDefiniteMultiplicity ) - // InternalProblem.g:1302:3: ruleDefiniteMultiplicity + // InternalProblem.g:1293:2: ( ruleDefiniteMultiplicity ) + // InternalProblem.g:1294:3: ruleDefiniteMultiplicity { before(grammarAccess.getMultiplicityAccess().getDefiniteMultiplicityParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -4191,25 +4166,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__DefiniteMultiplicity__Alternatives" - // InternalProblem.g:1311:1: rule__DefiniteMultiplicity__Alternatives : ( ( ruleRangeMultiplicity ) | ( ruleExactMultiplicity ) ); + // InternalProblem.g:1303:1: rule__DefiniteMultiplicity__Alternatives : ( ( ruleRangeMultiplicity ) | ( ruleExactMultiplicity ) ); public final void rule__DefiniteMultiplicity__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1315:1: ( ( ruleRangeMultiplicity ) | ( ruleExactMultiplicity ) ) + // InternalProblem.g:1307:1: ( ( ruleRangeMultiplicity ) | ( ruleExactMultiplicity ) ) int alt14=2; int LA14_0 = input.LA(1); if ( (LA14_0==RULE_INT) ) { int LA14_1 = input.LA(2); - if ( (LA14_1==42) ) { - alt14=1; - } - else if ( (LA14_1==EOF||(LA14_1>=12 && LA14_1<=13)||LA14_1==35) ) { + if ( (LA14_1==EOF||(LA14_1>=13 && LA14_1<=14)||LA14_1==32) ) { alt14=2; } + else if ( (LA14_1==39) ) { + alt14=1; + } else { NoViableAltException nvae = new NoViableAltException("", 14, 1, input); @@ -4225,10 +4200,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt14) { case 1 : - // InternalProblem.g:1316:2: ( ruleRangeMultiplicity ) + // InternalProblem.g:1308:2: ( ruleRangeMultiplicity ) { - // InternalProblem.g:1316:2: ( ruleRangeMultiplicity ) - // InternalProblem.g:1317:3: ruleRangeMultiplicity + // InternalProblem.g:1308:2: ( ruleRangeMultiplicity ) + // InternalProblem.g:1309:3: ruleRangeMultiplicity { before(grammarAccess.getDefiniteMultiplicityAccess().getRangeMultiplicityParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -4244,10 +4219,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1322:2: ( ruleExactMultiplicity ) + // InternalProblem.g:1314:2: ( ruleExactMultiplicity ) { - // InternalProblem.g:1322:2: ( ruleExactMultiplicity ) - // InternalProblem.g:1323:3: ruleExactMultiplicity + // InternalProblem.g:1314:2: ( ruleExactMultiplicity ) + // InternalProblem.g:1315:3: ruleExactMultiplicity { before(grammarAccess.getDefiniteMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -4280,20 +4255,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__UpperBound__Alternatives" - // InternalProblem.g:1332:1: rule__UpperBound__Alternatives : ( ( RULE_INT ) | ( '*' ) ); + // InternalProblem.g:1324:1: rule__UpperBound__Alternatives : ( ( RULE_INT ) | ( '*' ) ); public final void rule__UpperBound__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1336:1: ( ( RULE_INT ) | ( '*' ) ) + // InternalProblem.g:1328:1: ( ( RULE_INT ) | ( '*' ) ) int alt15=2; int LA15_0 = input.LA(1); if ( (LA15_0==RULE_INT) ) { alt15=1; } - else if ( (LA15_0==18) ) { + else if ( (LA15_0==19) ) { alt15=2; } else { @@ -4304,10 +4279,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt15) { case 1 : - // InternalProblem.g:1337:2: ( RULE_INT ) + // InternalProblem.g:1329:2: ( RULE_INT ) { - // InternalProblem.g:1337:2: ( RULE_INT ) - // InternalProblem.g:1338:3: RULE_INT + // InternalProblem.g:1329:2: ( RULE_INT ) + // InternalProblem.g:1330:3: RULE_INT { before(grammarAccess.getUpperBoundAccess().getINTTerminalRuleCall_0()); match(input,RULE_INT,FOLLOW_2); @@ -4319,13 +4294,13 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1343:2: ( '*' ) + // InternalProblem.g:1335:2: ( '*' ) { - // InternalProblem.g:1343:2: ( '*' ) - // InternalProblem.g:1344:3: '*' + // InternalProblem.g:1335:2: ( '*' ) + // InternalProblem.g:1336:3: '*' { before(grammarAccess.getUpperBoundAccess().getAsteriskKeyword_1()); - match(input,18,FOLLOW_2); + match(input,19,FOLLOW_2); after(grammarAccess.getUpperBoundAccess().getAsteriskKeyword_1()); } @@ -4351,20 +4326,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__QualifiedName__Alternatives" - // InternalProblem.g:1353:1: rule__QualifiedName__Alternatives : ( ( RULE_QUOTED_ID ) | ( ( rule__QualifiedName__Group_1__0 ) ) ); + // InternalProblem.g:1345: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:1357:1: ( ( RULE_QUOTED_ID ) | ( ( rule__QualifiedName__Group_1__0 ) ) ) + // InternalProblem.g:1349:1: ( ( RULE_QUOTED_ID ) | ( ( rule__QualifiedName__Group_1__0 ) ) ) int alt16=2; int LA16_0 = input.LA(1); if ( (LA16_0==RULE_QUOTED_ID) ) { alt16=1; } - else if ( (LA16_0==RULE_ID||(LA16_0>=19 && LA16_0<=22)) ) { + else if ( (LA16_0==RULE_ID||(LA16_0>=20 && LA16_0<=21)) ) { alt16=2; } else { @@ -4375,10 +4350,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt16) { case 1 : - // InternalProblem.g:1358:2: ( RULE_QUOTED_ID ) + // InternalProblem.g:1350:2: ( RULE_QUOTED_ID ) { - // InternalProblem.g:1358:2: ( RULE_QUOTED_ID ) - // InternalProblem.g:1359:3: RULE_QUOTED_ID + // InternalProblem.g:1350:2: ( RULE_QUOTED_ID ) + // InternalProblem.g:1351:3: RULE_QUOTED_ID { before(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_0()); match(input,RULE_QUOTED_ID,FOLLOW_2); @@ -4390,14 +4365,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1364:2: ( ( rule__QualifiedName__Group_1__0 ) ) + // InternalProblem.g:1356:2: ( ( rule__QualifiedName__Group_1__0 ) ) { - // InternalProblem.g:1364:2: ( ( rule__QualifiedName__Group_1__0 ) ) - // InternalProblem.g:1365:3: ( rule__QualifiedName__Group_1__0 ) + // InternalProblem.g:1356:2: ( ( rule__QualifiedName__Group_1__0 ) ) + // InternalProblem.g:1357:3: ( rule__QualifiedName__Group_1__0 ) { before(grammarAccess.getQualifiedNameAccess().getGroup_1()); - // InternalProblem.g:1366:3: ( rule__QualifiedName__Group_1__0 ) - // InternalProblem.g:1366:4: rule__QualifiedName__Group_1__0 + // InternalProblem.g:1358:3: ( rule__QualifiedName__Group_1__0 ) + // InternalProblem.g:1358:4: rule__QualifiedName__Group_1__0 { pushFollow(FOLLOW_2); rule__QualifiedName__Group_1__0(); @@ -4432,38 +4407,28 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Identifier__Alternatives" - // InternalProblem.g:1374:1: rule__Identifier__Alternatives : ( ( RULE_ID ) | ( 'true' ) | ( 'false' ) | ( 'e' ) | ( 'E' ) ); + // InternalProblem.g:1366:1: rule__Identifier__Alternatives : ( ( RULE_ID ) | ( 'true' ) | ( 'false' ) ); public final void rule__Identifier__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1378:1: ( ( RULE_ID ) | ( 'true' ) | ( 'false' ) | ( 'e' ) | ( 'E' ) ) - int alt17=5; + // InternalProblem.g:1370:1: ( ( RULE_ID ) | ( 'true' ) | ( 'false' ) ) + int alt17=3; switch ( input.LA(1) ) { case RULE_ID: { alt17=1; } break; - case 19: - { - alt17=2; - } - break; case 20: { - alt17=3; + alt17=2; } break; case 21: { - alt17=4; - } - break; - case 22: - { - alt17=5; + alt17=3; } break; default: @@ -4475,10 +4440,10 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { switch (alt17) { case 1 : - // InternalProblem.g:1379:2: ( RULE_ID ) + // InternalProblem.g:1371:2: ( RULE_ID ) { - // InternalProblem.g:1379:2: ( RULE_ID ) - // InternalProblem.g:1380:3: RULE_ID + // InternalProblem.g:1371:2: ( RULE_ID ) + // InternalProblem.g:1372:3: RULE_ID { before(grammarAccess.getIdentifierAccess().getIDTerminalRuleCall_0()); match(input,RULE_ID,FOLLOW_2); @@ -4490,13 +4455,13 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1385:2: ( 'true' ) + // InternalProblem.g:1377:2: ( 'true' ) { - // InternalProblem.g:1385:2: ( 'true' ) - // InternalProblem.g:1386:3: 'true' + // InternalProblem.g:1377:2: ( 'true' ) + // InternalProblem.g:1378:3: 'true' { before(grammarAccess.getIdentifierAccess().getTrueKeyword_1()); - match(input,19,FOLLOW_2); + match(input,20,FOLLOW_2); after(grammarAccess.getIdentifierAccess().getTrueKeyword_1()); } @@ -4505,44 +4470,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 3 : - // InternalProblem.g:1391:2: ( 'false' ) + // InternalProblem.g:1383:2: ( 'false' ) { - // InternalProblem.g:1391:2: ( 'false' ) - // InternalProblem.g:1392:3: 'false' + // InternalProblem.g:1383:2: ( 'false' ) + // InternalProblem.g:1384:3: 'false' { before(grammarAccess.getIdentifierAccess().getFalseKeyword_2()); - match(input,20,FOLLOW_2); - after(grammarAccess.getIdentifierAccess().getFalseKeyword_2()); - - } - - - } - break; - case 4 : - // InternalProblem.g:1397:2: ( 'e' ) - { - // InternalProblem.g:1397:2: ( 'e' ) - // InternalProblem.g:1398:3: 'e' - { - before(grammarAccess.getIdentifierAccess().getEKeyword_3()); match(input,21,FOLLOW_2); - after(grammarAccess.getIdentifierAccess().getEKeyword_3()); - - } - - - } - break; - case 5 : - // InternalProblem.g:1403:2: ( 'E' ) - { - // InternalProblem.g:1403:2: ( 'E' ) - // InternalProblem.g:1404:3: 'E' - { - before(grammarAccess.getIdentifierAccess().getEKeyword_4()); - match(input,22,FOLLOW_2); - after(grammarAccess.getIdentifierAccess().getEKeyword_4()); + after(grammarAccess.getIdentifierAccess().getFalseKeyword_2()); } @@ -4566,44 +4501,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR end "rule__Identifier__Alternatives" - // $ANTLR start "rule__Real__Alternatives_2" - // InternalProblem.g:1413:1: rule__Real__Alternatives_2 : ( ( ( rule__Real__Group_2_0__0 ) ) | ( ( rule__Real__Group_2_1__0 ) ) ); - public final void rule__Real__Alternatives_2() throws RecognitionException { + // $ANTLR start "rule__Real__Alternatives_1" + // InternalProblem.g:1393:1: rule__Real__Alternatives_1 : ( ( RULE_EXPONENTIAL ) | ( ( rule__Real__Group_1_1__0 ) ) ); + public final void rule__Real__Alternatives_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1417:1: ( ( ( rule__Real__Group_2_0__0 ) ) | ( ( rule__Real__Group_2_1__0 ) ) ) + // InternalProblem.g:1397:1: ( ( RULE_EXPONENTIAL ) | ( ( rule__Real__Group_1_1__0 ) ) ) int alt18=2; int LA18_0 = input.LA(1); - if ( (LA18_0==12) ) { - int LA18_1 = input.LA(2); - - if ( (LA18_1==RULE_INT) ) { - int LA18_3 = input.LA(3); - - if ( ((LA18_3>=21 && LA18_3<=22)) ) { - alt18=2; - } - else if ( (LA18_3==EOF||(LA18_3>=12 && LA18_3<=13)||LA18_3==38) ) { - alt18=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 18, 3, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("", 18, 1, input); - - throw nvae; - } + if ( (LA18_0==RULE_EXPONENTIAL) ) { + alt18=1; } - else if ( ((LA18_0>=21 && LA18_0<=22)) ) { + else if ( (LA18_0==RULE_INT) ) { alt18=2; } else { @@ -4614,24 +4526,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt18) { case 1 : - // InternalProblem.g:1418:2: ( ( rule__Real__Group_2_0__0 ) ) + // InternalProblem.g:1398:2: ( RULE_EXPONENTIAL ) { - // InternalProblem.g:1418:2: ( ( rule__Real__Group_2_0__0 ) ) - // InternalProblem.g:1419:3: ( rule__Real__Group_2_0__0 ) + // InternalProblem.g:1398:2: ( RULE_EXPONENTIAL ) + // InternalProblem.g:1399:3: RULE_EXPONENTIAL { - before(grammarAccess.getRealAccess().getGroup_2_0()); - // InternalProblem.g:1420:3: ( rule__Real__Group_2_0__0 ) - // InternalProblem.g:1420:4: rule__Real__Group_2_0__0 - { - pushFollow(FOLLOW_2); - rule__Real__Group_2_0__0(); - - state._fsp--; - - - } - - after(grammarAccess.getRealAccess().getGroup_2_0()); + before(grammarAccess.getRealAccess().getEXPONENTIALTerminalRuleCall_1_0()); + match(input,RULE_EXPONENTIAL,FOLLOW_2); + after(grammarAccess.getRealAccess().getEXPONENTIALTerminalRuleCall_1_0()); } @@ -4639,24 +4541,24 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1424:2: ( ( rule__Real__Group_2_1__0 ) ) + // InternalProblem.g:1404:2: ( ( rule__Real__Group_1_1__0 ) ) { - // InternalProblem.g:1424:2: ( ( rule__Real__Group_2_1__0 ) ) - // InternalProblem.g:1425:3: ( rule__Real__Group_2_1__0 ) + // InternalProblem.g:1404:2: ( ( rule__Real__Group_1_1__0 ) ) + // InternalProblem.g:1405:3: ( rule__Real__Group_1_1__0 ) { - before(grammarAccess.getRealAccess().getGroup_2_1()); - // InternalProblem.g:1426:3: ( rule__Real__Group_2_1__0 ) - // InternalProblem.g:1426:4: rule__Real__Group_2_1__0 + before(grammarAccess.getRealAccess().getGroup_1_1()); + // InternalProblem.g:1406:3: ( rule__Real__Group_1_1__0 ) + // InternalProblem.g:1406:4: rule__Real__Group_1_1__0 { pushFollow(FOLLOW_2); - rule__Real__Group_2_1__0(); + rule__Real__Group_1_1__0(); state._fsp--; } - after(grammarAccess.getRealAccess().getGroup_2_1()); + after(grammarAccess.getRealAccess().getGroup_1_1()); } @@ -4677,24 +4579,24 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__Real__Alternatives_2" + // $ANTLR end "rule__Real__Alternatives_1" - // $ANTLR start "rule__Real__Alternatives_2_1_1" - // InternalProblem.g:1434:1: rule__Real__Alternatives_2_1_1 : ( ( 'e' ) | ( 'E' ) ); - public final void rule__Real__Alternatives_2_1_1() throws RecognitionException { + // $ANTLR start "rule__Real__Alternatives_1_1_2" + // InternalProblem.g:1414:1: rule__Real__Alternatives_1_1_2 : ( ( RULE_INT ) | ( RULE_EXPONENTIAL ) ); + public final void rule__Real__Alternatives_1_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1438:1: ( ( 'e' ) | ( 'E' ) ) + // InternalProblem.g:1418:1: ( ( RULE_INT ) | ( RULE_EXPONENTIAL ) ) int alt19=2; int LA19_0 = input.LA(1); - if ( (LA19_0==21) ) { + if ( (LA19_0==RULE_INT) ) { alt19=1; } - else if ( (LA19_0==22) ) { + else if ( (LA19_0==RULE_EXPONENTIAL) ) { alt19=2; } else { @@ -4705,85 +4607,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } switch (alt19) { case 1 : - // InternalProblem.g:1439:2: ( 'e' ) - { - // InternalProblem.g:1439:2: ( 'e' ) - // InternalProblem.g:1440:3: 'e' - { - before(grammarAccess.getRealAccess().getEKeyword_2_1_1_0()); - match(input,21,FOLLOW_2); - after(grammarAccess.getRealAccess().getEKeyword_2_1_1_0()); - - } - - - } - break; - case 2 : - // InternalProblem.g:1445:2: ( 'E' ) - { - // InternalProblem.g:1445:2: ( 'E' ) - // InternalProblem.g:1446:3: 'E' - { - before(grammarAccess.getRealAccess().getEKeyword_2_1_1_1()); - match(input,22,FOLLOW_2); - after(grammarAccess.getRealAccess().getEKeyword_2_1_1_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Real__Alternatives_2_1_1" - - - // $ANTLR start "rule__Real__Alternatives_2_1_2" - // InternalProblem.g:1455:1: rule__Real__Alternatives_2_1_2 : ( ( '-' ) | ( '+' ) ); - public final void rule__Real__Alternatives_2_1_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:1459:1: ( ( '-' ) | ( '+' ) ) - int alt20=2; - int LA20_0 = input.LA(1); - - if ( (LA20_0==23) ) { - alt20=1; - } - else if ( (LA20_0==24) ) { - alt20=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 20, 0, input); - - throw nvae; - } - switch (alt20) { - case 1 : - // InternalProblem.g:1460:2: ( '-' ) + // InternalProblem.g:1419:2: ( RULE_INT ) { - // InternalProblem.g:1460:2: ( '-' ) - // InternalProblem.g:1461:3: '-' + // InternalProblem.g:1419:2: ( RULE_INT ) + // InternalProblem.g:1420:3: RULE_INT { - before(grammarAccess.getRealAccess().getHyphenMinusKeyword_2_1_2_0()); - match(input,23,FOLLOW_2); - after(grammarAccess.getRealAccess().getHyphenMinusKeyword_2_1_2_0()); + before(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1_2_0()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1_2_0()); } @@ -4791,14 +4622,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1466:2: ( '+' ) + // InternalProblem.g:1425:2: ( RULE_EXPONENTIAL ) { - // InternalProblem.g:1466:2: ( '+' ) - // InternalProblem.g:1467:3: '+' + // InternalProblem.g:1425:2: ( RULE_EXPONENTIAL ) + // InternalProblem.g:1426:3: RULE_EXPONENTIAL { - before(grammarAccess.getRealAccess().getPlusSignKeyword_2_1_2_1()); - match(input,24,FOLLOW_2); - after(grammarAccess.getRealAccess().getPlusSignKeyword_2_1_2_1()); + before(grammarAccess.getRealAccess().getEXPONENTIALTerminalRuleCall_1_1_2_1()); + match(input,RULE_EXPONENTIAL,FOLLOW_2); + after(grammarAccess.getRealAccess().getEXPONENTIALTerminalRuleCall_1_1_2_1()); } @@ -4819,53 +4650,53 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__Real__Alternatives_2_1_2" + // $ANTLR end "rule__Real__Alternatives_1_1_2" // $ANTLR start "rule__LogicValue__Alternatives" - // InternalProblem.g:1476:1: rule__LogicValue__Alternatives : ( ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'unknown' ) ) ); + // InternalProblem.g:1435:1: rule__LogicValue__Alternatives : ( ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'unknown' ) ) ); public final void rule__LogicValue__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1480:1: ( ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'unknown' ) ) ) - int alt21=3; + // InternalProblem.g:1439:1: ( ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'unknown' ) ) ) + int alt20=3; switch ( input.LA(1) ) { - case 19: + case 20: { - alt21=1; + alt20=1; } break; - case 20: + case 21: { - alt21=2; + alt20=2; } break; - case 25: + case 22: { - alt21=3; + alt20=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 21, 0, input); + new NoViableAltException("", 20, 0, input); throw nvae; } - switch (alt21) { + switch (alt20) { case 1 : - // InternalProblem.g:1481:2: ( ( 'true' ) ) + // InternalProblem.g:1440:2: ( ( 'true' ) ) { - // InternalProblem.g:1481:2: ( ( 'true' ) ) - // InternalProblem.g:1482:3: ( 'true' ) + // InternalProblem.g:1440:2: ( ( 'true' ) ) + // InternalProblem.g:1441:3: ( 'true' ) { before(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); - // InternalProblem.g:1483:3: ( 'true' ) - // InternalProblem.g:1483:4: 'true' + // InternalProblem.g:1442:3: ( 'true' ) + // InternalProblem.g:1442:4: 'true' { - match(input,19,FOLLOW_2); + match(input,20,FOLLOW_2); } @@ -4877,16 +4708,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1487:2: ( ( 'false' ) ) + // InternalProblem.g:1446:2: ( ( 'false' ) ) { - // InternalProblem.g:1487:2: ( ( 'false' ) ) - // InternalProblem.g:1488:3: ( 'false' ) + // InternalProblem.g:1446:2: ( ( 'false' ) ) + // InternalProblem.g:1447:3: ( 'false' ) { before(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); - // InternalProblem.g:1489:3: ( 'false' ) - // InternalProblem.g:1489:4: 'false' + // InternalProblem.g:1448:3: ( 'false' ) + // InternalProblem.g:1448:4: 'false' { - match(input,20,FOLLOW_2); + match(input,21,FOLLOW_2); } @@ -4898,16 +4729,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 3 : - // InternalProblem.g:1493:2: ( ( 'unknown' ) ) + // InternalProblem.g:1452:2: ( ( 'unknown' ) ) { - // InternalProblem.g:1493:2: ( ( 'unknown' ) ) - // InternalProblem.g:1494:3: ( 'unknown' ) + // InternalProblem.g:1452:2: ( ( 'unknown' ) ) + // InternalProblem.g:1453:3: ( 'unknown' ) { before(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); - // InternalProblem.g:1495:3: ( 'unknown' ) - // InternalProblem.g:1495:4: 'unknown' + // InternalProblem.g:1454:3: ( 'unknown' ) + // InternalProblem.g:1454:4: 'unknown' { - match(input,25,FOLLOW_2); + match(input,22,FOLLOW_2); } @@ -4936,40 +4767,40 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ShortLogicValue__Alternatives" - // InternalProblem.g:1503:1: rule__ShortLogicValue__Alternatives : ( ( ( '!' ) ) | ( ( '?' ) ) ); + // InternalProblem.g:1462:1: rule__ShortLogicValue__Alternatives : ( ( ( '!' ) ) | ( ( '?' ) ) ); public final void rule__ShortLogicValue__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1507:1: ( ( ( '!' ) ) | ( ( '?' ) ) ) - int alt22=2; - int LA22_0 = input.LA(1); + // InternalProblem.g:1466:1: ( ( ( '!' ) ) | ( ( '?' ) ) ) + int alt21=2; + int LA21_0 = input.LA(1); - if ( (LA22_0==26) ) { - alt22=1; + if ( (LA21_0==23) ) { + alt21=1; } - else if ( (LA22_0==27) ) { - alt22=2; + else if ( (LA21_0==24) ) { + alt21=2; } else { NoViableAltException nvae = - new NoViableAltException("", 22, 0, input); + new NoViableAltException("", 21, 0, input); throw nvae; } - switch (alt22) { + switch (alt21) { case 1 : - // InternalProblem.g:1508:2: ( ( '!' ) ) + // InternalProblem.g:1467:2: ( ( '!' ) ) { - // InternalProblem.g:1508:2: ( ( '!' ) ) - // InternalProblem.g:1509:3: ( '!' ) + // InternalProblem.g:1467:2: ( ( '!' ) ) + // InternalProblem.g:1468:3: ( '!' ) { before(grammarAccess.getShortLogicValueAccess().getFALSEEnumLiteralDeclaration_0()); - // InternalProblem.g:1510:3: ( '!' ) - // InternalProblem.g:1510:4: '!' + // InternalProblem.g:1469:3: ( '!' ) + // InternalProblem.g:1469:4: '!' { - match(input,26,FOLLOW_2); + match(input,23,FOLLOW_2); } @@ -4981,16 +4812,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } break; case 2 : - // InternalProblem.g:1514:2: ( ( '?' ) ) + // InternalProblem.g:1473:2: ( ( '?' ) ) { - // InternalProblem.g:1514:2: ( ( '?' ) ) - // InternalProblem.g:1515:3: ( '?' ) + // InternalProblem.g:1473:2: ( ( '?' ) ) + // InternalProblem.g:1474:3: ( '?' ) { before(grammarAccess.getShortLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_1()); - // InternalProblem.g:1516:3: ( '?' ) - // InternalProblem.g:1516:4: '?' + // InternalProblem.g:1475:3: ( '?' ) + // InternalProblem.g:1475:4: '?' { - match(input,27,FOLLOW_2); + match(input,24,FOLLOW_2); } @@ -5019,14 +4850,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Problem__Group__0" - // InternalProblem.g:1524:1: rule__Problem__Group__0 : rule__Problem__Group__0__Impl rule__Problem__Group__1 ; + // InternalProblem.g:1483: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:1528:1: ( rule__Problem__Group__0__Impl rule__Problem__Group__1 ) - // InternalProblem.g:1529:2: rule__Problem__Group__0__Impl rule__Problem__Group__1 + // InternalProblem.g:1487:1: ( rule__Problem__Group__0__Impl rule__Problem__Group__1 ) + // InternalProblem.g:1488:2: rule__Problem__Group__0__Impl rule__Problem__Group__1 { pushFollow(FOLLOW_3); rule__Problem__Group__0__Impl(); @@ -5057,29 +4888,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Problem__Group__0__Impl" - // InternalProblem.g:1536:1: rule__Problem__Group__0__Impl : ( ( rule__Problem__Group_0__0 )? ) ; + // InternalProblem.g:1495: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:1540:1: ( ( ( rule__Problem__Group_0__0 )? ) ) - // InternalProblem.g:1541:1: ( ( rule__Problem__Group_0__0 )? ) + // InternalProblem.g:1499:1: ( ( ( rule__Problem__Group_0__0 )? ) ) + // InternalProblem.g:1500:1: ( ( rule__Problem__Group_0__0 )? ) { - // InternalProblem.g:1541:1: ( ( rule__Problem__Group_0__0 )? ) - // InternalProblem.g:1542:2: ( rule__Problem__Group_0__0 )? + // InternalProblem.g:1500:1: ( ( rule__Problem__Group_0__0 )? ) + // InternalProblem.g:1501:2: ( rule__Problem__Group_0__0 )? { before(grammarAccess.getProblemAccess().getGroup_0()); - // InternalProblem.g:1543:2: ( rule__Problem__Group_0__0 )? - int alt23=2; - int LA23_0 = input.LA(1); + // InternalProblem.g:1502:2: ( rule__Problem__Group_0__0 )? + int alt22=2; + int LA22_0 = input.LA(1); - if ( (LA23_0==28) ) { - alt23=1; + if ( (LA22_0==25) ) { + alt22=1; } - switch (alt23) { + switch (alt22) { case 1 : - // InternalProblem.g:1543:3: rule__Problem__Group_0__0 + // InternalProblem.g:1502:3: rule__Problem__Group_0__0 { pushFollow(FOLLOW_2); rule__Problem__Group_0__0(); @@ -5115,14 +4946,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Problem__Group__1" - // InternalProblem.g:1551:1: rule__Problem__Group__1 : rule__Problem__Group__1__Impl ; + // InternalProblem.g:1510: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:1555:1: ( rule__Problem__Group__1__Impl ) - // InternalProblem.g:1556:2: rule__Problem__Group__1__Impl + // InternalProblem.g:1514:1: ( rule__Problem__Group__1__Impl ) + // InternalProblem.g:1515:2: rule__Problem__Group__1__Impl { pushFollow(FOLLOW_2); rule__Problem__Group__1__Impl(); @@ -5148,33 +4979,33 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Problem__Group__1__Impl" - // InternalProblem.g:1562:1: rule__Problem__Group__1__Impl : ( ( rule__Problem__StatementsAssignment_1 )* ) ; + // InternalProblem.g:1521: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:1566:1: ( ( ( rule__Problem__StatementsAssignment_1 )* ) ) - // InternalProblem.g:1567:1: ( ( rule__Problem__StatementsAssignment_1 )* ) + // InternalProblem.g:1525:1: ( ( ( rule__Problem__StatementsAssignment_1 )* ) ) + // InternalProblem.g:1526:1: ( ( rule__Problem__StatementsAssignment_1 )* ) { - // InternalProblem.g:1567:1: ( ( rule__Problem__StatementsAssignment_1 )* ) - // InternalProblem.g:1568:2: ( rule__Problem__StatementsAssignment_1 )* + // InternalProblem.g:1526:1: ( ( rule__Problem__StatementsAssignment_1 )* ) + // InternalProblem.g:1527:2: ( rule__Problem__StatementsAssignment_1 )* { before(grammarAccess.getProblemAccess().getStatementsAssignment_1()); - // InternalProblem.g:1569:2: ( rule__Problem__StatementsAssignment_1 )* - loop24: + // InternalProblem.g:1528:2: ( rule__Problem__StatementsAssignment_1 )* + loop23: do { - int alt24=2; - int LA24_0 = input.LA(1); + int alt23=2; + int LA23_0 = input.LA(1); - if ( ((LA24_0>=RULE_QUOTED_ID && LA24_0<=RULE_ID)||LA24_0==16||(LA24_0>=19 && LA24_0<=22)||(LA24_0>=26 && LA24_0<=27)||LA24_0==29||LA24_0==33||LA24_0==41||LA24_0==44||LA24_0==46) ) { - alt24=1; + if ( ((LA23_0>=RULE_QUOTED_ID && LA23_0<=RULE_ID)||LA23_0==17||(LA23_0>=20 && LA23_0<=21)||(LA23_0>=23 && LA23_0<=24)||LA23_0==26||LA23_0==30||LA23_0==38||LA23_0==42||LA23_0==44) ) { + alt23=1; } - switch (alt24) { + switch (alt23) { case 1 : - // InternalProblem.g:1569:3: rule__Problem__StatementsAssignment_1 + // InternalProblem.g:1528:3: rule__Problem__StatementsAssignment_1 { pushFollow(FOLLOW_4); rule__Problem__StatementsAssignment_1(); @@ -5186,7 +5017,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop24; + break loop23; } } while (true); @@ -5213,14 +5044,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Problem__Group_0__0" - // InternalProblem.g:1578:1: rule__Problem__Group_0__0 : rule__Problem__Group_0__0__Impl rule__Problem__Group_0__1 ; + // InternalProblem.g:1537: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:1582:1: ( rule__Problem__Group_0__0__Impl rule__Problem__Group_0__1 ) - // InternalProblem.g:1583:2: rule__Problem__Group_0__0__Impl rule__Problem__Group_0__1 + // InternalProblem.g:1541:1: ( rule__Problem__Group_0__0__Impl rule__Problem__Group_0__1 ) + // InternalProblem.g:1542:2: rule__Problem__Group_0__0__Impl rule__Problem__Group_0__1 { pushFollow(FOLLOW_5); rule__Problem__Group_0__0__Impl(); @@ -5251,20 +5082,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Problem__Group_0__0__Impl" - // InternalProblem.g:1590:1: rule__Problem__Group_0__0__Impl : ( 'problem' ) ; + // InternalProblem.g:1549: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:1594:1: ( ( 'problem' ) ) - // InternalProblem.g:1595:1: ( 'problem' ) + // InternalProblem.g:1553:1: ( ( 'problem' ) ) + // InternalProblem.g:1554:1: ( 'problem' ) { - // InternalProblem.g:1595:1: ( 'problem' ) - // InternalProblem.g:1596:2: 'problem' + // InternalProblem.g:1554:1: ( 'problem' ) + // InternalProblem.g:1555:2: 'problem' { before(grammarAccess.getProblemAccess().getProblemKeyword_0_0()); - match(input,28,FOLLOW_2); + match(input,25,FOLLOW_2); after(grammarAccess.getProblemAccess().getProblemKeyword_0_0()); } @@ -5288,14 +5119,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Problem__Group_0__1" - // InternalProblem.g:1605:1: rule__Problem__Group_0__1 : rule__Problem__Group_0__1__Impl rule__Problem__Group_0__2 ; + // InternalProblem.g:1564: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:1609:1: ( rule__Problem__Group_0__1__Impl rule__Problem__Group_0__2 ) - // InternalProblem.g:1610:2: rule__Problem__Group_0__1__Impl rule__Problem__Group_0__2 + // InternalProblem.g:1568:1: ( rule__Problem__Group_0__1__Impl rule__Problem__Group_0__2 ) + // InternalProblem.g:1569:2: rule__Problem__Group_0__1__Impl rule__Problem__Group_0__2 { pushFollow(FOLLOW_6); rule__Problem__Group_0__1__Impl(); @@ -5326,21 +5157,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Problem__Group_0__1__Impl" - // InternalProblem.g:1617:1: rule__Problem__Group_0__1__Impl : ( ( rule__Problem__NameAssignment_0_1 ) ) ; + // InternalProblem.g:1576: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:1621:1: ( ( ( rule__Problem__NameAssignment_0_1 ) ) ) - // InternalProblem.g:1622:1: ( ( rule__Problem__NameAssignment_0_1 ) ) + // InternalProblem.g:1580:1: ( ( ( rule__Problem__NameAssignment_0_1 ) ) ) + // InternalProblem.g:1581:1: ( ( rule__Problem__NameAssignment_0_1 ) ) { - // InternalProblem.g:1622:1: ( ( rule__Problem__NameAssignment_0_1 ) ) - // InternalProblem.g:1623:2: ( rule__Problem__NameAssignment_0_1 ) + // InternalProblem.g:1581:1: ( ( rule__Problem__NameAssignment_0_1 ) ) + // InternalProblem.g:1582:2: ( rule__Problem__NameAssignment_0_1 ) { before(grammarAccess.getProblemAccess().getNameAssignment_0_1()); - // InternalProblem.g:1624:2: ( rule__Problem__NameAssignment_0_1 ) - // InternalProblem.g:1624:3: rule__Problem__NameAssignment_0_1 + // InternalProblem.g:1583:2: ( rule__Problem__NameAssignment_0_1 ) + // InternalProblem.g:1583:3: rule__Problem__NameAssignment_0_1 { pushFollow(FOLLOW_2); rule__Problem__NameAssignment_0_1(); @@ -5373,14 +5204,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Problem__Group_0__2" - // InternalProblem.g:1632:1: rule__Problem__Group_0__2 : rule__Problem__Group_0__2__Impl ; + // InternalProblem.g:1591: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:1636:1: ( rule__Problem__Group_0__2__Impl ) - // InternalProblem.g:1637:2: rule__Problem__Group_0__2__Impl + // InternalProblem.g:1595:1: ( rule__Problem__Group_0__2__Impl ) + // InternalProblem.g:1596:2: rule__Problem__Group_0__2__Impl { pushFollow(FOLLOW_2); rule__Problem__Group_0__2__Impl(); @@ -5406,20 +5237,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Problem__Group_0__2__Impl" - // InternalProblem.g:1643:1: rule__Problem__Group_0__2__Impl : ( '.' ) ; + // InternalProblem.g:1602:1: rule__Problem__Group_0__2__Impl : ( '.' ) ; public final void rule__Problem__Group_0__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1647:1: ( ( '.' ) ) - // InternalProblem.g:1648:1: ( '.' ) + // InternalProblem.g:1606:1: ( ( '.' ) ) + // InternalProblem.g:1607:1: ( '.' ) { - // InternalProblem.g:1648:1: ( '.' ) - // InternalProblem.g:1649:2: '.' + // InternalProblem.g:1607:1: ( '.' ) + // InternalProblem.g:1608:2: '.' { before(grammarAccess.getProblemAccess().getFullStopKeyword_0_2()); - match(input,12,FOLLOW_2); + match(input,13,FOLLOW_2); after(grammarAccess.getProblemAccess().getFullStopKeyword_0_2()); } @@ -5443,14 +5274,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__0" - // InternalProblem.g:1659:1: rule__ClassDeclaration__Group__0 : rule__ClassDeclaration__Group__0__Impl rule__ClassDeclaration__Group__1 ; + // InternalProblem.g:1618: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:1663:1: ( rule__ClassDeclaration__Group__0__Impl rule__ClassDeclaration__Group__1 ) - // InternalProblem.g:1664:2: rule__ClassDeclaration__Group__0__Impl rule__ClassDeclaration__Group__1 + // InternalProblem.g:1622:1: ( rule__ClassDeclaration__Group__0__Impl rule__ClassDeclaration__Group__1 ) + // InternalProblem.g:1623:2: rule__ClassDeclaration__Group__0__Impl rule__ClassDeclaration__Group__1 { pushFollow(FOLLOW_7); rule__ClassDeclaration__Group__0__Impl(); @@ -5481,29 +5312,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__0__Impl" - // InternalProblem.g:1671:1: rule__ClassDeclaration__Group__0__Impl : ( ( rule__ClassDeclaration__AbstractAssignment_0 )? ) ; + // InternalProblem.g:1630: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:1675:1: ( ( ( rule__ClassDeclaration__AbstractAssignment_0 )? ) ) - // InternalProblem.g:1676:1: ( ( rule__ClassDeclaration__AbstractAssignment_0 )? ) + // InternalProblem.g:1634:1: ( ( ( rule__ClassDeclaration__AbstractAssignment_0 )? ) ) + // InternalProblem.g:1635:1: ( ( rule__ClassDeclaration__AbstractAssignment_0 )? ) { - // InternalProblem.g:1676:1: ( ( rule__ClassDeclaration__AbstractAssignment_0 )? ) - // InternalProblem.g:1677:2: ( rule__ClassDeclaration__AbstractAssignment_0 )? + // InternalProblem.g:1635:1: ( ( rule__ClassDeclaration__AbstractAssignment_0 )? ) + // InternalProblem.g:1636:2: ( rule__ClassDeclaration__AbstractAssignment_0 )? { before(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0()); - // InternalProblem.g:1678:2: ( rule__ClassDeclaration__AbstractAssignment_0 )? - int alt25=2; - int LA25_0 = input.LA(1); + // InternalProblem.g:1637:2: ( rule__ClassDeclaration__AbstractAssignment_0 )? + int alt24=2; + int LA24_0 = input.LA(1); - if ( (LA25_0==44) ) { - alt25=1; + if ( (LA24_0==42) ) { + alt24=1; } - switch (alt25) { + switch (alt24) { case 1 : - // InternalProblem.g:1678:3: rule__ClassDeclaration__AbstractAssignment_0 + // InternalProblem.g:1637:3: rule__ClassDeclaration__AbstractAssignment_0 { pushFollow(FOLLOW_2); rule__ClassDeclaration__AbstractAssignment_0(); @@ -5539,14 +5370,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__1" - // InternalProblem.g:1686:1: rule__ClassDeclaration__Group__1 : rule__ClassDeclaration__Group__1__Impl rule__ClassDeclaration__Group__2 ; + // InternalProblem.g:1645: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:1690:1: ( rule__ClassDeclaration__Group__1__Impl rule__ClassDeclaration__Group__2 ) - // InternalProblem.g:1691:2: rule__ClassDeclaration__Group__1__Impl rule__ClassDeclaration__Group__2 + // InternalProblem.g:1649:1: ( rule__ClassDeclaration__Group__1__Impl rule__ClassDeclaration__Group__2 ) + // InternalProblem.g:1650:2: rule__ClassDeclaration__Group__1__Impl rule__ClassDeclaration__Group__2 { pushFollow(FOLLOW_5); rule__ClassDeclaration__Group__1__Impl(); @@ -5577,20 +5408,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__1__Impl" - // InternalProblem.g:1698:1: rule__ClassDeclaration__Group__1__Impl : ( 'class' ) ; + // InternalProblem.g:1657:1: rule__ClassDeclaration__Group__1__Impl : ( 'class' ) ; public final void rule__ClassDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1702:1: ( ( 'class' ) ) - // InternalProblem.g:1703:1: ( 'class' ) + // InternalProblem.g:1661:1: ( ( 'class' ) ) + // InternalProblem.g:1662:1: ( 'class' ) { - // InternalProblem.g:1703:1: ( 'class' ) - // InternalProblem.g:1704:2: 'class' + // InternalProblem.g:1662:1: ( 'class' ) + // InternalProblem.g:1663:2: 'class' { before(grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); - match(input,29,FOLLOW_2); + match(input,26,FOLLOW_2); after(grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); } @@ -5614,14 +5445,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__2" - // InternalProblem.g:1713:1: rule__ClassDeclaration__Group__2 : rule__ClassDeclaration__Group__2__Impl rule__ClassDeclaration__Group__3 ; + // InternalProblem.g:1672: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:1717:1: ( rule__ClassDeclaration__Group__2__Impl rule__ClassDeclaration__Group__3 ) - // InternalProblem.g:1718:2: rule__ClassDeclaration__Group__2__Impl rule__ClassDeclaration__Group__3 + // InternalProblem.g:1676:1: ( rule__ClassDeclaration__Group__2__Impl rule__ClassDeclaration__Group__3 ) + // InternalProblem.g:1677:2: rule__ClassDeclaration__Group__2__Impl rule__ClassDeclaration__Group__3 { pushFollow(FOLLOW_8); rule__ClassDeclaration__Group__2__Impl(); @@ -5652,21 +5483,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__2__Impl" - // InternalProblem.g:1725:1: rule__ClassDeclaration__Group__2__Impl : ( ( rule__ClassDeclaration__NameAssignment_2 ) ) ; + // InternalProblem.g:1684: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:1729:1: ( ( ( rule__ClassDeclaration__NameAssignment_2 ) ) ) - // InternalProblem.g:1730:1: ( ( rule__ClassDeclaration__NameAssignment_2 ) ) + // InternalProblem.g:1688:1: ( ( ( rule__ClassDeclaration__NameAssignment_2 ) ) ) + // InternalProblem.g:1689:1: ( ( rule__ClassDeclaration__NameAssignment_2 ) ) { - // InternalProblem.g:1730:1: ( ( rule__ClassDeclaration__NameAssignment_2 ) ) - // InternalProblem.g:1731:2: ( rule__ClassDeclaration__NameAssignment_2 ) + // InternalProblem.g:1689:1: ( ( rule__ClassDeclaration__NameAssignment_2 ) ) + // InternalProblem.g:1690:2: ( rule__ClassDeclaration__NameAssignment_2 ) { before(grammarAccess.getClassDeclarationAccess().getNameAssignment_2()); - // InternalProblem.g:1732:2: ( rule__ClassDeclaration__NameAssignment_2 ) - // InternalProblem.g:1732:3: rule__ClassDeclaration__NameAssignment_2 + // InternalProblem.g:1691:2: ( rule__ClassDeclaration__NameAssignment_2 ) + // InternalProblem.g:1691:3: rule__ClassDeclaration__NameAssignment_2 { pushFollow(FOLLOW_2); rule__ClassDeclaration__NameAssignment_2(); @@ -5699,14 +5530,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__3" - // InternalProblem.g:1740:1: rule__ClassDeclaration__Group__3 : rule__ClassDeclaration__Group__3__Impl rule__ClassDeclaration__Group__4 ; + // InternalProblem.g:1699: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:1744:1: ( rule__ClassDeclaration__Group__3__Impl rule__ClassDeclaration__Group__4 ) - // InternalProblem.g:1745:2: rule__ClassDeclaration__Group__3__Impl rule__ClassDeclaration__Group__4 + // InternalProblem.g:1703:1: ( rule__ClassDeclaration__Group__3__Impl rule__ClassDeclaration__Group__4 ) + // InternalProblem.g:1704:2: rule__ClassDeclaration__Group__3__Impl rule__ClassDeclaration__Group__4 { pushFollow(FOLLOW_8); rule__ClassDeclaration__Group__3__Impl(); @@ -5737,29 +5568,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__3__Impl" - // InternalProblem.g:1752:1: rule__ClassDeclaration__Group__3__Impl : ( ( rule__ClassDeclaration__Group_3__0 )? ) ; + // InternalProblem.g:1711: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:1756:1: ( ( ( rule__ClassDeclaration__Group_3__0 )? ) ) - // InternalProblem.g:1757:1: ( ( rule__ClassDeclaration__Group_3__0 )? ) + // InternalProblem.g:1715:1: ( ( ( rule__ClassDeclaration__Group_3__0 )? ) ) + // InternalProblem.g:1716:1: ( ( rule__ClassDeclaration__Group_3__0 )? ) { - // InternalProblem.g:1757:1: ( ( rule__ClassDeclaration__Group_3__0 )? ) - // InternalProblem.g:1758:2: ( rule__ClassDeclaration__Group_3__0 )? + // InternalProblem.g:1716:1: ( ( rule__ClassDeclaration__Group_3__0 )? ) + // InternalProblem.g:1717:2: ( rule__ClassDeclaration__Group_3__0 )? { before(grammarAccess.getClassDeclarationAccess().getGroup_3()); - // InternalProblem.g:1759:2: ( rule__ClassDeclaration__Group_3__0 )? - int alt26=2; - int LA26_0 = input.LA(1); + // InternalProblem.g:1718:2: ( rule__ClassDeclaration__Group_3__0 )? + int alt25=2; + int LA25_0 = input.LA(1); - if ( (LA26_0==30) ) { - alt26=1; + if ( (LA25_0==27) ) { + alt25=1; } - switch (alt26) { + switch (alt25) { case 1 : - // InternalProblem.g:1759:3: rule__ClassDeclaration__Group_3__0 + // InternalProblem.g:1718:3: rule__ClassDeclaration__Group_3__0 { pushFollow(FOLLOW_2); rule__ClassDeclaration__Group_3__0(); @@ -5795,14 +5626,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__4" - // InternalProblem.g:1767:1: rule__ClassDeclaration__Group__4 : rule__ClassDeclaration__Group__4__Impl ; + // InternalProblem.g:1726: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:1771:1: ( rule__ClassDeclaration__Group__4__Impl ) - // InternalProblem.g:1772:2: rule__ClassDeclaration__Group__4__Impl + // InternalProblem.g:1730:1: ( rule__ClassDeclaration__Group__4__Impl ) + // InternalProblem.g:1731:2: rule__ClassDeclaration__Group__4__Impl { pushFollow(FOLLOW_2); rule__ClassDeclaration__Group__4__Impl(); @@ -5828,21 +5659,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group__4__Impl" - // InternalProblem.g:1778:1: rule__ClassDeclaration__Group__4__Impl : ( ( rule__ClassDeclaration__Alternatives_4 ) ) ; + // InternalProblem.g:1737: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:1782:1: ( ( ( rule__ClassDeclaration__Alternatives_4 ) ) ) - // InternalProblem.g:1783:1: ( ( rule__ClassDeclaration__Alternatives_4 ) ) + // InternalProblem.g:1741:1: ( ( ( rule__ClassDeclaration__Alternatives_4 ) ) ) + // InternalProblem.g:1742:1: ( ( rule__ClassDeclaration__Alternatives_4 ) ) { - // InternalProblem.g:1783:1: ( ( rule__ClassDeclaration__Alternatives_4 ) ) - // InternalProblem.g:1784:2: ( rule__ClassDeclaration__Alternatives_4 ) + // InternalProblem.g:1742:1: ( ( rule__ClassDeclaration__Alternatives_4 ) ) + // InternalProblem.g:1743:2: ( rule__ClassDeclaration__Alternatives_4 ) { before(grammarAccess.getClassDeclarationAccess().getAlternatives_4()); - // InternalProblem.g:1785:2: ( rule__ClassDeclaration__Alternatives_4 ) - // InternalProblem.g:1785:3: rule__ClassDeclaration__Alternatives_4 + // InternalProblem.g:1744:2: ( rule__ClassDeclaration__Alternatives_4 ) + // InternalProblem.g:1744:3: rule__ClassDeclaration__Alternatives_4 { pushFollow(FOLLOW_2); rule__ClassDeclaration__Alternatives_4(); @@ -5875,14 +5706,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_3__0" - // InternalProblem.g:1794:1: rule__ClassDeclaration__Group_3__0 : rule__ClassDeclaration__Group_3__0__Impl rule__ClassDeclaration__Group_3__1 ; + // InternalProblem.g:1753: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:1798:1: ( rule__ClassDeclaration__Group_3__0__Impl rule__ClassDeclaration__Group_3__1 ) - // InternalProblem.g:1799:2: rule__ClassDeclaration__Group_3__0__Impl rule__ClassDeclaration__Group_3__1 + // InternalProblem.g:1757:1: ( rule__ClassDeclaration__Group_3__0__Impl rule__ClassDeclaration__Group_3__1 ) + // InternalProblem.g:1758:2: rule__ClassDeclaration__Group_3__0__Impl rule__ClassDeclaration__Group_3__1 { pushFollow(FOLLOW_5); rule__ClassDeclaration__Group_3__0__Impl(); @@ -5913,20 +5744,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_3__0__Impl" - // InternalProblem.g:1806:1: rule__ClassDeclaration__Group_3__0__Impl : ( 'extends' ) ; + // InternalProblem.g:1765: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:1810:1: ( ( 'extends' ) ) - // InternalProblem.g:1811:1: ( 'extends' ) + // InternalProblem.g:1769:1: ( ( 'extends' ) ) + // InternalProblem.g:1770:1: ( 'extends' ) { - // InternalProblem.g:1811:1: ( 'extends' ) - // InternalProblem.g:1812:2: 'extends' + // InternalProblem.g:1770:1: ( 'extends' ) + // InternalProblem.g:1771:2: 'extends' { before(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0()); - match(input,30,FOLLOW_2); + match(input,27,FOLLOW_2); after(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0()); } @@ -5950,14 +5781,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_3__1" - // InternalProblem.g:1821:1: rule__ClassDeclaration__Group_3__1 : rule__ClassDeclaration__Group_3__1__Impl rule__ClassDeclaration__Group_3__2 ; + // InternalProblem.g:1780: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:1825:1: ( rule__ClassDeclaration__Group_3__1__Impl rule__ClassDeclaration__Group_3__2 ) - // InternalProblem.g:1826:2: rule__ClassDeclaration__Group_3__1__Impl rule__ClassDeclaration__Group_3__2 + // InternalProblem.g:1784:1: ( rule__ClassDeclaration__Group_3__1__Impl rule__ClassDeclaration__Group_3__2 ) + // InternalProblem.g:1785:2: rule__ClassDeclaration__Group_3__1__Impl rule__ClassDeclaration__Group_3__2 { pushFollow(FOLLOW_9); rule__ClassDeclaration__Group_3__1__Impl(); @@ -5988,21 +5819,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_3__1__Impl" - // InternalProblem.g:1833:1: rule__ClassDeclaration__Group_3__1__Impl : ( ( rule__ClassDeclaration__SuperTypesAssignment_3_1 ) ) ; + // InternalProblem.g:1792: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:1837:1: ( ( ( rule__ClassDeclaration__SuperTypesAssignment_3_1 ) ) ) - // InternalProblem.g:1838:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_1 ) ) + // InternalProblem.g:1796:1: ( ( ( rule__ClassDeclaration__SuperTypesAssignment_3_1 ) ) ) + // InternalProblem.g:1797:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_1 ) ) { - // InternalProblem.g:1838:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_1 ) ) - // InternalProblem.g:1839:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_1 ) + // InternalProblem.g:1797:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_1 ) ) + // InternalProblem.g:1798:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_1 ) { before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_1()); - // InternalProblem.g:1840:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_1 ) - // InternalProblem.g:1840:3: rule__ClassDeclaration__SuperTypesAssignment_3_1 + // InternalProblem.g:1799:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_1 ) + // InternalProblem.g:1799:3: rule__ClassDeclaration__SuperTypesAssignment_3_1 { pushFollow(FOLLOW_2); rule__ClassDeclaration__SuperTypesAssignment_3_1(); @@ -6035,14 +5866,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_3__2" - // InternalProblem.g:1848:1: rule__ClassDeclaration__Group_3__2 : rule__ClassDeclaration__Group_3__2__Impl ; + // InternalProblem.g:1807: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:1852:1: ( rule__ClassDeclaration__Group_3__2__Impl ) - // InternalProblem.g:1853:2: rule__ClassDeclaration__Group_3__2__Impl + // InternalProblem.g:1811:1: ( rule__ClassDeclaration__Group_3__2__Impl ) + // InternalProblem.g:1812:2: rule__ClassDeclaration__Group_3__2__Impl { pushFollow(FOLLOW_2); rule__ClassDeclaration__Group_3__2__Impl(); @@ -6068,33 +5899,33 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_3__2__Impl" - // InternalProblem.g:1859:1: rule__ClassDeclaration__Group_3__2__Impl : ( ( rule__ClassDeclaration__Group_3_2__0 )* ) ; + // InternalProblem.g:1818: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:1863:1: ( ( ( rule__ClassDeclaration__Group_3_2__0 )* ) ) - // InternalProblem.g:1864:1: ( ( rule__ClassDeclaration__Group_3_2__0 )* ) + // InternalProblem.g:1822:1: ( ( ( rule__ClassDeclaration__Group_3_2__0 )* ) ) + // InternalProblem.g:1823:1: ( ( rule__ClassDeclaration__Group_3_2__0 )* ) { - // InternalProblem.g:1864:1: ( ( rule__ClassDeclaration__Group_3_2__0 )* ) - // InternalProblem.g:1865:2: ( rule__ClassDeclaration__Group_3_2__0 )* + // InternalProblem.g:1823:1: ( ( rule__ClassDeclaration__Group_3_2__0 )* ) + // InternalProblem.g:1824:2: ( rule__ClassDeclaration__Group_3_2__0 )* { before(grammarAccess.getClassDeclarationAccess().getGroup_3_2()); - // InternalProblem.g:1866:2: ( rule__ClassDeclaration__Group_3_2__0 )* - loop27: + // InternalProblem.g:1825:2: ( rule__ClassDeclaration__Group_3_2__0 )* + loop26: do { - int alt27=2; - int LA27_0 = input.LA(1); + int alt26=2; + int LA26_0 = input.LA(1); - if ( (LA27_0==13) ) { - alt27=1; + if ( (LA26_0==14) ) { + alt26=1; } - switch (alt27) { + switch (alt26) { case 1 : - // InternalProblem.g:1866:3: rule__ClassDeclaration__Group_3_2__0 + // InternalProblem.g:1825:3: rule__ClassDeclaration__Group_3_2__0 { pushFollow(FOLLOW_10); rule__ClassDeclaration__Group_3_2__0(); @@ -6106,7 +5937,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop27; + break loop26; } } while (true); @@ -6133,14 +5964,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_3_2__0" - // InternalProblem.g:1875:1: rule__ClassDeclaration__Group_3_2__0 : rule__ClassDeclaration__Group_3_2__0__Impl rule__ClassDeclaration__Group_3_2__1 ; + // InternalProblem.g:1834: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:1879:1: ( rule__ClassDeclaration__Group_3_2__0__Impl rule__ClassDeclaration__Group_3_2__1 ) - // InternalProblem.g:1880:2: rule__ClassDeclaration__Group_3_2__0__Impl rule__ClassDeclaration__Group_3_2__1 + // InternalProblem.g:1838:1: ( rule__ClassDeclaration__Group_3_2__0__Impl rule__ClassDeclaration__Group_3_2__1 ) + // InternalProblem.g:1839:2: rule__ClassDeclaration__Group_3_2__0__Impl rule__ClassDeclaration__Group_3_2__1 { pushFollow(FOLLOW_5); rule__ClassDeclaration__Group_3_2__0__Impl(); @@ -6171,20 +6002,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_3_2__0__Impl" - // InternalProblem.g:1887:1: rule__ClassDeclaration__Group_3_2__0__Impl : ( ',' ) ; + // InternalProblem.g:1846: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:1891:1: ( ( ',' ) ) - // InternalProblem.g:1892:1: ( ',' ) + // InternalProblem.g:1850:1: ( ( ',' ) ) + // InternalProblem.g:1851:1: ( ',' ) { - // InternalProblem.g:1892:1: ( ',' ) - // InternalProblem.g:1893:2: ',' + // InternalProblem.g:1851:1: ( ',' ) + // InternalProblem.g:1852:2: ',' { before(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_2_0()); - match(input,13,FOLLOW_2); + match(input,14,FOLLOW_2); after(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_2_0()); } @@ -6208,14 +6039,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_3_2__1" - // InternalProblem.g:1902:1: rule__ClassDeclaration__Group_3_2__1 : rule__ClassDeclaration__Group_3_2__1__Impl ; + // InternalProblem.g:1861: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:1906:1: ( rule__ClassDeclaration__Group_3_2__1__Impl ) - // InternalProblem.g:1907:2: rule__ClassDeclaration__Group_3_2__1__Impl + // InternalProblem.g:1865:1: ( rule__ClassDeclaration__Group_3_2__1__Impl ) + // InternalProblem.g:1866:2: rule__ClassDeclaration__Group_3_2__1__Impl { pushFollow(FOLLOW_2); rule__ClassDeclaration__Group_3_2__1__Impl(); @@ -6241,21 +6072,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_3_2__1__Impl" - // InternalProblem.g:1913:1: rule__ClassDeclaration__Group_3_2__1__Impl : ( ( rule__ClassDeclaration__SuperTypesAssignment_3_2_1 ) ) ; + // InternalProblem.g:1872: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:1917:1: ( ( ( rule__ClassDeclaration__SuperTypesAssignment_3_2_1 ) ) ) - // InternalProblem.g:1918:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_2_1 ) ) + // InternalProblem.g:1876:1: ( ( ( rule__ClassDeclaration__SuperTypesAssignment_3_2_1 ) ) ) + // InternalProblem.g:1877:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_2_1 ) ) { - // InternalProblem.g:1918:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_2_1 ) ) - // InternalProblem.g:1919:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_2_1 ) + // InternalProblem.g:1877:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_2_1 ) ) + // InternalProblem.g:1878:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_2_1 ) { before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_2_1()); - // InternalProblem.g:1920:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_2_1 ) - // InternalProblem.g:1920:3: rule__ClassDeclaration__SuperTypesAssignment_3_2_1 + // InternalProblem.g:1879:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_2_1 ) + // InternalProblem.g:1879:3: rule__ClassDeclaration__SuperTypesAssignment_3_2_1 { pushFollow(FOLLOW_2); rule__ClassDeclaration__SuperTypesAssignment_3_2_1(); @@ -6288,14 +6119,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_4_0__0" - // InternalProblem.g:1929:1: rule__ClassDeclaration__Group_4_0__0 : rule__ClassDeclaration__Group_4_0__0__Impl rule__ClassDeclaration__Group_4_0__1 ; + // InternalProblem.g:1888: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:1933:1: ( rule__ClassDeclaration__Group_4_0__0__Impl rule__ClassDeclaration__Group_4_0__1 ) - // InternalProblem.g:1934:2: rule__ClassDeclaration__Group_4_0__0__Impl rule__ClassDeclaration__Group_4_0__1 + // InternalProblem.g:1892:1: ( rule__ClassDeclaration__Group_4_0__0__Impl rule__ClassDeclaration__Group_4_0__1 ) + // InternalProblem.g:1893:2: rule__ClassDeclaration__Group_4_0__0__Impl rule__ClassDeclaration__Group_4_0__1 { pushFollow(FOLLOW_11); rule__ClassDeclaration__Group_4_0__0__Impl(); @@ -6326,20 +6157,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_4_0__0__Impl" - // InternalProblem.g:1941:1: rule__ClassDeclaration__Group_4_0__0__Impl : ( '{' ) ; + // InternalProblem.g:1900: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:1945:1: ( ( '{' ) ) - // InternalProblem.g:1946:1: ( '{' ) + // InternalProblem.g:1904:1: ( ( '{' ) ) + // InternalProblem.g:1905:1: ( '{' ) { - // InternalProblem.g:1946:1: ( '{' ) - // InternalProblem.g:1947:2: '{' + // InternalProblem.g:1905:1: ( '{' ) + // InternalProblem.g:1906:2: '{' { before(grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()); - match(input,31,FOLLOW_2); + match(input,28,FOLLOW_2); after(grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()); } @@ -6363,14 +6194,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_4_0__1" - // InternalProblem.g:1956:1: rule__ClassDeclaration__Group_4_0__1 : rule__ClassDeclaration__Group_4_0__1__Impl rule__ClassDeclaration__Group_4_0__2 ; + // InternalProblem.g:1915: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:1960:1: ( rule__ClassDeclaration__Group_4_0__1__Impl rule__ClassDeclaration__Group_4_0__2 ) - // InternalProblem.g:1961:2: rule__ClassDeclaration__Group_4_0__1__Impl rule__ClassDeclaration__Group_4_0__2 + // InternalProblem.g:1919:1: ( rule__ClassDeclaration__Group_4_0__1__Impl rule__ClassDeclaration__Group_4_0__2 ) + // InternalProblem.g:1920:2: rule__ClassDeclaration__Group_4_0__1__Impl rule__ClassDeclaration__Group_4_0__2 { pushFollow(FOLLOW_11); rule__ClassDeclaration__Group_4_0__1__Impl(); @@ -6401,33 +6232,33 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_4_0__1__Impl" - // InternalProblem.g:1968:1: rule__ClassDeclaration__Group_4_0__1__Impl : ( ( rule__ClassDeclaration__Group_4_0_1__0 )* ) ; + // InternalProblem.g:1927: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:1972:1: ( ( ( rule__ClassDeclaration__Group_4_0_1__0 )* ) ) - // InternalProblem.g:1973:1: ( ( rule__ClassDeclaration__Group_4_0_1__0 )* ) + // InternalProblem.g:1931:1: ( ( ( rule__ClassDeclaration__Group_4_0_1__0 )* ) ) + // InternalProblem.g:1932:1: ( ( rule__ClassDeclaration__Group_4_0_1__0 )* ) { - // InternalProblem.g:1973:1: ( ( rule__ClassDeclaration__Group_4_0_1__0 )* ) - // InternalProblem.g:1974:2: ( rule__ClassDeclaration__Group_4_0_1__0 )* + // InternalProblem.g:1932:1: ( ( rule__ClassDeclaration__Group_4_0_1__0 )* ) + // InternalProblem.g:1933:2: ( rule__ClassDeclaration__Group_4_0_1__0 )* { before(grammarAccess.getClassDeclarationAccess().getGroup_4_0_1()); - // InternalProblem.g:1975:2: ( rule__ClassDeclaration__Group_4_0_1__0 )* - loop28: + // InternalProblem.g:1934:2: ( rule__ClassDeclaration__Group_4_0_1__0 )* + loop27: do { - int alt28=2; - int LA28_0 = input.LA(1); + int alt27=2; + int LA27_0 = input.LA(1); - if ( ((LA28_0>=RULE_QUOTED_ID && LA28_0<=RULE_ID)||LA28_0==15||(LA28_0>=19 && LA28_0<=22)||LA28_0==45) ) { - alt28=1; + if ( ((LA27_0>=RULE_QUOTED_ID && LA27_0<=RULE_ID)||LA27_0==16||(LA27_0>=20 && LA27_0<=21)||LA27_0==43) ) { + alt27=1; } - switch (alt28) { + switch (alt27) { case 1 : - // InternalProblem.g:1975:3: rule__ClassDeclaration__Group_4_0_1__0 + // InternalProblem.g:1934:3: rule__ClassDeclaration__Group_4_0_1__0 { pushFollow(FOLLOW_12); rule__ClassDeclaration__Group_4_0_1__0(); @@ -6439,7 +6270,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop28; + break loop27; } } while (true); @@ -6466,14 +6297,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_4_0__2" - // InternalProblem.g:1983:1: rule__ClassDeclaration__Group_4_0__2 : rule__ClassDeclaration__Group_4_0__2__Impl ; + // InternalProblem.g:1942: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:1987:1: ( rule__ClassDeclaration__Group_4_0__2__Impl ) - // InternalProblem.g:1988:2: rule__ClassDeclaration__Group_4_0__2__Impl + // InternalProblem.g:1946:1: ( rule__ClassDeclaration__Group_4_0__2__Impl ) + // InternalProblem.g:1947:2: rule__ClassDeclaration__Group_4_0__2__Impl { pushFollow(FOLLOW_2); rule__ClassDeclaration__Group_4_0__2__Impl(); @@ -6499,20 +6330,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_4_0__2__Impl" - // InternalProblem.g:1994:1: rule__ClassDeclaration__Group_4_0__2__Impl : ( '}' ) ; + // InternalProblem.g:1953:1: rule__ClassDeclaration__Group_4_0__2__Impl : ( '}' ) ; public final void rule__ClassDeclaration__Group_4_0__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:1998:1: ( ( '}' ) ) - // InternalProblem.g:1999:1: ( '}' ) + // InternalProblem.g:1957:1: ( ( '}' ) ) + // InternalProblem.g:1958:1: ( '}' ) { - // InternalProblem.g:1999:1: ( '}' ) - // InternalProblem.g:2000:2: '}' + // InternalProblem.g:1958:1: ( '}' ) + // InternalProblem.g:1959:2: '}' { before(grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2()); - match(input,32,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2()); } @@ -6536,14 +6367,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_4_0_1__0" - // InternalProblem.g:2010:1: rule__ClassDeclaration__Group_4_0_1__0 : rule__ClassDeclaration__Group_4_0_1__0__Impl rule__ClassDeclaration__Group_4_0_1__1 ; + // InternalProblem.g:1969: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:2014:1: ( rule__ClassDeclaration__Group_4_0_1__0__Impl rule__ClassDeclaration__Group_4_0_1__1 ) - // InternalProblem.g:2015:2: rule__ClassDeclaration__Group_4_0_1__0__Impl rule__ClassDeclaration__Group_4_0_1__1 + // InternalProblem.g:1973:1: ( rule__ClassDeclaration__Group_4_0_1__0__Impl rule__ClassDeclaration__Group_4_0_1__1 ) + // InternalProblem.g:1974:2: rule__ClassDeclaration__Group_4_0_1__0__Impl rule__ClassDeclaration__Group_4_0_1__1 { pushFollow(FOLLOW_13); rule__ClassDeclaration__Group_4_0_1__0__Impl(); @@ -6574,21 +6405,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_4_0_1__0__Impl" - // InternalProblem.g:2022:1: rule__ClassDeclaration__Group_4_0_1__0__Impl : ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 ) ) ; + // InternalProblem.g:1981: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:2026:1: ( ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 ) ) ) - // InternalProblem.g:2027:1: ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 ) ) + // InternalProblem.g:1985:1: ( ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 ) ) ) + // InternalProblem.g:1986:1: ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 ) ) { - // InternalProblem.g:2027:1: ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 ) ) - // InternalProblem.g:2028:2: ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 ) + // InternalProblem.g:1986:1: ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 ) ) + // InternalProblem.g:1987:2: ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 ) { before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_0_1_0()); - // InternalProblem.g:2029:2: ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 ) - // InternalProblem.g:2029:3: rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 + // InternalProblem.g:1988:2: ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 ) + // InternalProblem.g:1988:3: rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 { pushFollow(FOLLOW_2); rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0(); @@ -6621,14 +6452,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_4_0_1__1" - // InternalProblem.g:2037:1: rule__ClassDeclaration__Group_4_0_1__1 : rule__ClassDeclaration__Group_4_0_1__1__Impl ; + // InternalProblem.g:1996: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:2041:1: ( rule__ClassDeclaration__Group_4_0_1__1__Impl ) - // InternalProblem.g:2042:2: rule__ClassDeclaration__Group_4_0_1__1__Impl + // InternalProblem.g:2000:1: ( rule__ClassDeclaration__Group_4_0_1__1__Impl ) + // InternalProblem.g:2001:2: rule__ClassDeclaration__Group_4_0_1__1__Impl { pushFollow(FOLLOW_2); rule__ClassDeclaration__Group_4_0_1__1__Impl(); @@ -6654,31 +6485,31 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__Group_4_0_1__1__Impl" - // InternalProblem.g:2048:1: rule__ClassDeclaration__Group_4_0_1__1__Impl : ( ( ';' )? ) ; + // InternalProblem.g:2007: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:2052:1: ( ( ( ';' )? ) ) - // InternalProblem.g:2053:1: ( ( ';' )? ) + // InternalProblem.g:2011:1: ( ( ( ';' )? ) ) + // InternalProblem.g:2012:1: ( ( ';' )? ) { - // InternalProblem.g:2053:1: ( ( ';' )? ) - // InternalProblem.g:2054:2: ( ';' )? + // InternalProblem.g:2012:1: ( ( ';' )? ) + // InternalProblem.g:2013:2: ( ';' )? { before(grammarAccess.getClassDeclarationAccess().getSemicolonKeyword_4_0_1_1()); - // InternalProblem.g:2055:2: ( ';' )? - int alt29=2; - int LA29_0 = input.LA(1); + // InternalProblem.g:2014:2: ( ';' )? + int alt28=2; + int LA28_0 = input.LA(1); - if ( (LA29_0==14) ) { - alt29=1; + if ( (LA28_0==15) ) { + alt28=1; } - switch (alt29) { + switch (alt28) { case 1 : - // InternalProblem.g:2055:3: ';' + // InternalProblem.g:2014:3: ';' { - match(input,14,FOLLOW_2); + match(input,15,FOLLOW_2); } break; @@ -6708,14 +6539,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group__0" - // InternalProblem.g:2064:1: rule__EnumDeclaration__Group__0 : rule__EnumDeclaration__Group__0__Impl rule__EnumDeclaration__Group__1 ; + // InternalProblem.g:2023:1: rule__EnumDeclaration__Group__0 : rule__EnumDeclaration__Group__0__Impl rule__EnumDeclaration__Group__1 ; public final void rule__EnumDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2068:1: ( rule__EnumDeclaration__Group__0__Impl rule__EnumDeclaration__Group__1 ) - // InternalProblem.g:2069:2: rule__EnumDeclaration__Group__0__Impl rule__EnumDeclaration__Group__1 + // InternalProblem.g:2027:1: ( rule__EnumDeclaration__Group__0__Impl rule__EnumDeclaration__Group__1 ) + // InternalProblem.g:2028:2: rule__EnumDeclaration__Group__0__Impl rule__EnumDeclaration__Group__1 { pushFollow(FOLLOW_5); rule__EnumDeclaration__Group__0__Impl(); @@ -6746,20 +6577,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group__0__Impl" - // InternalProblem.g:2076:1: rule__EnumDeclaration__Group__0__Impl : ( 'enum' ) ; + // InternalProblem.g:2035:1: rule__EnumDeclaration__Group__0__Impl : ( 'enum' ) ; public final void rule__EnumDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2080:1: ( ( 'enum' ) ) - // InternalProblem.g:2081:1: ( 'enum' ) + // InternalProblem.g:2039:1: ( ( 'enum' ) ) + // InternalProblem.g:2040:1: ( 'enum' ) { - // InternalProblem.g:2081:1: ( 'enum' ) - // InternalProblem.g:2082:2: 'enum' + // InternalProblem.g:2040:1: ( 'enum' ) + // InternalProblem.g:2041:2: 'enum' { before(grammarAccess.getEnumDeclarationAccess().getEnumKeyword_0()); - match(input,33,FOLLOW_2); + match(input,30,FOLLOW_2); after(grammarAccess.getEnumDeclarationAccess().getEnumKeyword_0()); } @@ -6783,14 +6614,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group__1" - // InternalProblem.g:2091:1: rule__EnumDeclaration__Group__1 : rule__EnumDeclaration__Group__1__Impl rule__EnumDeclaration__Group__2 ; + // InternalProblem.g:2050:1: rule__EnumDeclaration__Group__1 : rule__EnumDeclaration__Group__1__Impl rule__EnumDeclaration__Group__2 ; public final void rule__EnumDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2095:1: ( rule__EnumDeclaration__Group__1__Impl rule__EnumDeclaration__Group__2 ) - // InternalProblem.g:2096:2: rule__EnumDeclaration__Group__1__Impl rule__EnumDeclaration__Group__2 + // InternalProblem.g:2054:1: ( rule__EnumDeclaration__Group__1__Impl rule__EnumDeclaration__Group__2 ) + // InternalProblem.g:2055:2: rule__EnumDeclaration__Group__1__Impl rule__EnumDeclaration__Group__2 { pushFollow(FOLLOW_14); rule__EnumDeclaration__Group__1__Impl(); @@ -6821,21 +6652,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group__1__Impl" - // InternalProblem.g:2103:1: rule__EnumDeclaration__Group__1__Impl : ( ( rule__EnumDeclaration__NameAssignment_1 ) ) ; + // InternalProblem.g:2062:1: rule__EnumDeclaration__Group__1__Impl : ( ( rule__EnumDeclaration__NameAssignment_1 ) ) ; public final void rule__EnumDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2107:1: ( ( ( rule__EnumDeclaration__NameAssignment_1 ) ) ) - // InternalProblem.g:2108:1: ( ( rule__EnumDeclaration__NameAssignment_1 ) ) + // InternalProblem.g:2066:1: ( ( ( rule__EnumDeclaration__NameAssignment_1 ) ) ) + // InternalProblem.g:2067:1: ( ( rule__EnumDeclaration__NameAssignment_1 ) ) { - // InternalProblem.g:2108:1: ( ( rule__EnumDeclaration__NameAssignment_1 ) ) - // InternalProblem.g:2109:2: ( rule__EnumDeclaration__NameAssignment_1 ) + // InternalProblem.g:2067:1: ( ( rule__EnumDeclaration__NameAssignment_1 ) ) + // InternalProblem.g:2068:2: ( rule__EnumDeclaration__NameAssignment_1 ) { before(grammarAccess.getEnumDeclarationAccess().getNameAssignment_1()); - // InternalProblem.g:2110:2: ( rule__EnumDeclaration__NameAssignment_1 ) - // InternalProblem.g:2110:3: rule__EnumDeclaration__NameAssignment_1 + // InternalProblem.g:2069:2: ( rule__EnumDeclaration__NameAssignment_1 ) + // InternalProblem.g:2069:3: rule__EnumDeclaration__NameAssignment_1 { pushFollow(FOLLOW_2); rule__EnumDeclaration__NameAssignment_1(); @@ -6868,14 +6699,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group__2" - // InternalProblem.g:2118:1: rule__EnumDeclaration__Group__2 : rule__EnumDeclaration__Group__2__Impl ; + // InternalProblem.g:2077:1: rule__EnumDeclaration__Group__2 : rule__EnumDeclaration__Group__2__Impl ; public final void rule__EnumDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2122:1: ( rule__EnumDeclaration__Group__2__Impl ) - // InternalProblem.g:2123:2: rule__EnumDeclaration__Group__2__Impl + // InternalProblem.g:2081:1: ( rule__EnumDeclaration__Group__2__Impl ) + // InternalProblem.g:2082:2: rule__EnumDeclaration__Group__2__Impl { pushFollow(FOLLOW_2); rule__EnumDeclaration__Group__2__Impl(); @@ -6901,21 +6732,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group__2__Impl" - // InternalProblem.g:2129:1: rule__EnumDeclaration__Group__2__Impl : ( ( rule__EnumDeclaration__Alternatives_2 ) ) ; + // InternalProblem.g:2088:1: rule__EnumDeclaration__Group__2__Impl : ( ( rule__EnumDeclaration__Alternatives_2 ) ) ; public final void rule__EnumDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2133:1: ( ( ( rule__EnumDeclaration__Alternatives_2 ) ) ) - // InternalProblem.g:2134:1: ( ( rule__EnumDeclaration__Alternatives_2 ) ) + // InternalProblem.g:2092:1: ( ( ( rule__EnumDeclaration__Alternatives_2 ) ) ) + // InternalProblem.g:2093:1: ( ( rule__EnumDeclaration__Alternatives_2 ) ) { - // InternalProblem.g:2134:1: ( ( rule__EnumDeclaration__Alternatives_2 ) ) - // InternalProblem.g:2135:2: ( rule__EnumDeclaration__Alternatives_2 ) + // InternalProblem.g:2093:1: ( ( rule__EnumDeclaration__Alternatives_2 ) ) + // InternalProblem.g:2094:2: ( rule__EnumDeclaration__Alternatives_2 ) { before(grammarAccess.getEnumDeclarationAccess().getAlternatives_2()); - // InternalProblem.g:2136:2: ( rule__EnumDeclaration__Alternatives_2 ) - // InternalProblem.g:2136:3: rule__EnumDeclaration__Alternatives_2 + // InternalProblem.g:2095:2: ( rule__EnumDeclaration__Alternatives_2 ) + // InternalProblem.g:2095:3: rule__EnumDeclaration__Alternatives_2 { pushFollow(FOLLOW_2); rule__EnumDeclaration__Alternatives_2(); @@ -6948,14 +6779,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group_2_0__0" - // InternalProblem.g:2145:1: rule__EnumDeclaration__Group_2_0__0 : rule__EnumDeclaration__Group_2_0__0__Impl rule__EnumDeclaration__Group_2_0__1 ; + // InternalProblem.g:2104:1: rule__EnumDeclaration__Group_2_0__0 : rule__EnumDeclaration__Group_2_0__0__Impl rule__EnumDeclaration__Group_2_0__1 ; public final void rule__EnumDeclaration__Group_2_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2149:1: ( rule__EnumDeclaration__Group_2_0__0__Impl rule__EnumDeclaration__Group_2_0__1 ) - // InternalProblem.g:2150:2: rule__EnumDeclaration__Group_2_0__0__Impl rule__EnumDeclaration__Group_2_0__1 + // InternalProblem.g:2108:1: ( rule__EnumDeclaration__Group_2_0__0__Impl rule__EnumDeclaration__Group_2_0__1 ) + // InternalProblem.g:2109:2: rule__EnumDeclaration__Group_2_0__0__Impl rule__EnumDeclaration__Group_2_0__1 { pushFollow(FOLLOW_15); rule__EnumDeclaration__Group_2_0__0__Impl(); @@ -6986,20 +6817,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group_2_0__0__Impl" - // InternalProblem.g:2157:1: rule__EnumDeclaration__Group_2_0__0__Impl : ( '{' ) ; + // InternalProblem.g:2116:1: rule__EnumDeclaration__Group_2_0__0__Impl : ( '{' ) ; public final void rule__EnumDeclaration__Group_2_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2161:1: ( ( '{' ) ) - // InternalProblem.g:2162:1: ( '{' ) + // InternalProblem.g:2120:1: ( ( '{' ) ) + // InternalProblem.g:2121:1: ( '{' ) { - // InternalProblem.g:2162:1: ( '{' ) - // InternalProblem.g:2163:2: '{' + // InternalProblem.g:2121:1: ( '{' ) + // InternalProblem.g:2122:2: '{' { before(grammarAccess.getEnumDeclarationAccess().getLeftCurlyBracketKeyword_2_0_0()); - match(input,31,FOLLOW_2); + match(input,28,FOLLOW_2); after(grammarAccess.getEnumDeclarationAccess().getLeftCurlyBracketKeyword_2_0_0()); } @@ -7023,14 +6854,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group_2_0__1" - // InternalProblem.g:2172:1: rule__EnumDeclaration__Group_2_0__1 : rule__EnumDeclaration__Group_2_0__1__Impl rule__EnumDeclaration__Group_2_0__2 ; + // InternalProblem.g:2131:1: rule__EnumDeclaration__Group_2_0__1 : rule__EnumDeclaration__Group_2_0__1__Impl rule__EnumDeclaration__Group_2_0__2 ; public final void rule__EnumDeclaration__Group_2_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2176:1: ( rule__EnumDeclaration__Group_2_0__1__Impl rule__EnumDeclaration__Group_2_0__2 ) - // InternalProblem.g:2177:2: rule__EnumDeclaration__Group_2_0__1__Impl rule__EnumDeclaration__Group_2_0__2 + // InternalProblem.g:2135:1: ( rule__EnumDeclaration__Group_2_0__1__Impl rule__EnumDeclaration__Group_2_0__2 ) + // InternalProblem.g:2136:2: rule__EnumDeclaration__Group_2_0__1__Impl rule__EnumDeclaration__Group_2_0__2 { pushFollow(FOLLOW_15); rule__EnumDeclaration__Group_2_0__1__Impl(); @@ -7061,29 +6892,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group_2_0__1__Impl" - // InternalProblem.g:2184:1: rule__EnumDeclaration__Group_2_0__1__Impl : ( ( rule__EnumDeclaration__Group_2_0_1__0 )? ) ; + // InternalProblem.g:2143:1: rule__EnumDeclaration__Group_2_0__1__Impl : ( ( rule__EnumDeclaration__Group_2_0_1__0 )? ) ; public final void rule__EnumDeclaration__Group_2_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2188:1: ( ( ( rule__EnumDeclaration__Group_2_0_1__0 )? ) ) - // InternalProblem.g:2189:1: ( ( rule__EnumDeclaration__Group_2_0_1__0 )? ) + // InternalProblem.g:2147:1: ( ( ( rule__EnumDeclaration__Group_2_0_1__0 )? ) ) + // InternalProblem.g:2148:1: ( ( rule__EnumDeclaration__Group_2_0_1__0 )? ) { - // InternalProblem.g:2189:1: ( ( rule__EnumDeclaration__Group_2_0_1__0 )? ) - // InternalProblem.g:2190:2: ( rule__EnumDeclaration__Group_2_0_1__0 )? + // InternalProblem.g:2148:1: ( ( rule__EnumDeclaration__Group_2_0_1__0 )? ) + // InternalProblem.g:2149:2: ( rule__EnumDeclaration__Group_2_0_1__0 )? { before(grammarAccess.getEnumDeclarationAccess().getGroup_2_0_1()); - // InternalProblem.g:2191:2: ( rule__EnumDeclaration__Group_2_0_1__0 )? - int alt30=2; - int LA30_0 = input.LA(1); + // InternalProblem.g:2150:2: ( rule__EnumDeclaration__Group_2_0_1__0 )? + int alt29=2; + int LA29_0 = input.LA(1); - if ( (LA30_0==RULE_ID||(LA30_0>=19 && LA30_0<=22)) ) { - alt30=1; + if ( (LA29_0==RULE_ID||(LA29_0>=20 && LA29_0<=21)) ) { + alt29=1; } - switch (alt30) { + switch (alt29) { case 1 : - // InternalProblem.g:2191:3: rule__EnumDeclaration__Group_2_0_1__0 + // InternalProblem.g:2150:3: rule__EnumDeclaration__Group_2_0_1__0 { pushFollow(FOLLOW_2); rule__EnumDeclaration__Group_2_0_1__0(); @@ -7119,14 +6950,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group_2_0__2" - // InternalProblem.g:2199:1: rule__EnumDeclaration__Group_2_0__2 : rule__EnumDeclaration__Group_2_0__2__Impl ; + // InternalProblem.g:2158:1: rule__EnumDeclaration__Group_2_0__2 : rule__EnumDeclaration__Group_2_0__2__Impl ; public final void rule__EnumDeclaration__Group_2_0__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2203:1: ( rule__EnumDeclaration__Group_2_0__2__Impl ) - // InternalProblem.g:2204:2: rule__EnumDeclaration__Group_2_0__2__Impl + // InternalProblem.g:2162:1: ( rule__EnumDeclaration__Group_2_0__2__Impl ) + // InternalProblem.g:2163:2: rule__EnumDeclaration__Group_2_0__2__Impl { pushFollow(FOLLOW_2); rule__EnumDeclaration__Group_2_0__2__Impl(); @@ -7152,20 +6983,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group_2_0__2__Impl" - // InternalProblem.g:2210:1: rule__EnumDeclaration__Group_2_0__2__Impl : ( '}' ) ; + // InternalProblem.g:2169:1: rule__EnumDeclaration__Group_2_0__2__Impl : ( '}' ) ; public final void rule__EnumDeclaration__Group_2_0__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2214:1: ( ( '}' ) ) - // InternalProblem.g:2215:1: ( '}' ) + // InternalProblem.g:2173:1: ( ( '}' ) ) + // InternalProblem.g:2174:1: ( '}' ) { - // InternalProblem.g:2215:1: ( '}' ) - // InternalProblem.g:2216:2: '}' + // InternalProblem.g:2174:1: ( '}' ) + // InternalProblem.g:2175:2: '}' { before(grammarAccess.getEnumDeclarationAccess().getRightCurlyBracketKeyword_2_0_2()); - match(input,32,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getEnumDeclarationAccess().getRightCurlyBracketKeyword_2_0_2()); } @@ -7189,14 +7020,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group_2_0_1__0" - // InternalProblem.g:2226:1: rule__EnumDeclaration__Group_2_0_1__0 : rule__EnumDeclaration__Group_2_0_1__0__Impl rule__EnumDeclaration__Group_2_0_1__1 ; + // InternalProblem.g:2185:1: rule__EnumDeclaration__Group_2_0_1__0 : rule__EnumDeclaration__Group_2_0_1__0__Impl rule__EnumDeclaration__Group_2_0_1__1 ; public final void rule__EnumDeclaration__Group_2_0_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2230:1: ( rule__EnumDeclaration__Group_2_0_1__0__Impl rule__EnumDeclaration__Group_2_0_1__1 ) - // InternalProblem.g:2231:2: rule__EnumDeclaration__Group_2_0_1__0__Impl rule__EnumDeclaration__Group_2_0_1__1 + // InternalProblem.g:2189:1: ( rule__EnumDeclaration__Group_2_0_1__0__Impl rule__EnumDeclaration__Group_2_0_1__1 ) + // InternalProblem.g:2190:2: rule__EnumDeclaration__Group_2_0_1__0__Impl rule__EnumDeclaration__Group_2_0_1__1 { pushFollow(FOLLOW_16); rule__EnumDeclaration__Group_2_0_1__0__Impl(); @@ -7227,21 +7058,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group_2_0_1__0__Impl" - // InternalProblem.g:2238:1: rule__EnumDeclaration__Group_2_0_1__0__Impl : ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) ) ; + // InternalProblem.g:2197:1: rule__EnumDeclaration__Group_2_0_1__0__Impl : ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) ) ; public final void rule__EnumDeclaration__Group_2_0_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2242:1: ( ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) ) ) - // InternalProblem.g:2243:1: ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) ) + // InternalProblem.g:2201:1: ( ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) ) ) + // InternalProblem.g:2202:1: ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) ) { - // InternalProblem.g:2243:1: ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) ) - // InternalProblem.g:2244:2: ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) + // InternalProblem.g:2202:1: ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) ) + // InternalProblem.g:2203:2: ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) { before(grammarAccess.getEnumDeclarationAccess().getLiteralsAssignment_2_0_1_0()); - // InternalProblem.g:2245:2: ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) - // InternalProblem.g:2245:3: rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 + // InternalProblem.g:2204:2: ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) + // InternalProblem.g:2204:3: rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 { pushFollow(FOLLOW_2); rule__EnumDeclaration__LiteralsAssignment_2_0_1_0(); @@ -7274,14 +7105,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group_2_0_1__1" - // InternalProblem.g:2253:1: rule__EnumDeclaration__Group_2_0_1__1 : rule__EnumDeclaration__Group_2_0_1__1__Impl rule__EnumDeclaration__Group_2_0_1__2 ; + // InternalProblem.g:2212:1: rule__EnumDeclaration__Group_2_0_1__1 : rule__EnumDeclaration__Group_2_0_1__1__Impl rule__EnumDeclaration__Group_2_0_1__2 ; public final void rule__EnumDeclaration__Group_2_0_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2257:1: ( rule__EnumDeclaration__Group_2_0_1__1__Impl rule__EnumDeclaration__Group_2_0_1__2 ) - // InternalProblem.g:2258:2: rule__EnumDeclaration__Group_2_0_1__1__Impl rule__EnumDeclaration__Group_2_0_1__2 + // InternalProblem.g:2216:1: ( rule__EnumDeclaration__Group_2_0_1__1__Impl rule__EnumDeclaration__Group_2_0_1__2 ) + // InternalProblem.g:2217:2: rule__EnumDeclaration__Group_2_0_1__1__Impl rule__EnumDeclaration__Group_2_0_1__2 { pushFollow(FOLLOW_16); rule__EnumDeclaration__Group_2_0_1__1__Impl(); @@ -7312,39 +7143,39 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group_2_0_1__1__Impl" - // InternalProblem.g:2265:1: rule__EnumDeclaration__Group_2_0_1__1__Impl : ( ( rule__EnumDeclaration__Group_2_0_1_1__0 )* ) ; + // InternalProblem.g:2224:1: rule__EnumDeclaration__Group_2_0_1__1__Impl : ( ( rule__EnumDeclaration__Group_2_0_1_1__0 )* ) ; public final void rule__EnumDeclaration__Group_2_0_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2269:1: ( ( ( rule__EnumDeclaration__Group_2_0_1_1__0 )* ) ) - // InternalProblem.g:2270:1: ( ( rule__EnumDeclaration__Group_2_0_1_1__0 )* ) + // InternalProblem.g:2228:1: ( ( ( rule__EnumDeclaration__Group_2_0_1_1__0 )* ) ) + // InternalProblem.g:2229:1: ( ( rule__EnumDeclaration__Group_2_0_1_1__0 )* ) { - // InternalProblem.g:2270:1: ( ( rule__EnumDeclaration__Group_2_0_1_1__0 )* ) - // InternalProblem.g:2271:2: ( rule__EnumDeclaration__Group_2_0_1_1__0 )* + // InternalProblem.g:2229:1: ( ( rule__EnumDeclaration__Group_2_0_1_1__0 )* ) + // InternalProblem.g:2230:2: ( rule__EnumDeclaration__Group_2_0_1_1__0 )* { before(grammarAccess.getEnumDeclarationAccess().getGroup_2_0_1_1()); - // InternalProblem.g:2272:2: ( rule__EnumDeclaration__Group_2_0_1_1__0 )* - loop31: + // InternalProblem.g:2231:2: ( rule__EnumDeclaration__Group_2_0_1_1__0 )* + loop30: do { - int alt31=2; - int LA31_0 = input.LA(1); + int alt30=2; + int LA30_0 = input.LA(1); - if ( (LA31_0==13) ) { - int LA31_1 = input.LA(2); + if ( (LA30_0==14) ) { + int LA30_1 = input.LA(2); - if ( (LA31_1==RULE_ID||(LA31_1>=19 && LA31_1<=22)) ) { - alt31=1; + if ( (LA30_1==RULE_ID||(LA30_1>=20 && LA30_1<=21)) ) { + alt30=1; } } - switch (alt31) { + switch (alt30) { case 1 : - // InternalProblem.g:2272:3: rule__EnumDeclaration__Group_2_0_1_1__0 + // InternalProblem.g:2231:3: rule__EnumDeclaration__Group_2_0_1_1__0 { pushFollow(FOLLOW_10); rule__EnumDeclaration__Group_2_0_1_1__0(); @@ -7356,7 +7187,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop31; + break loop30; } } while (true); @@ -7383,14 +7214,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group_2_0_1__2" - // InternalProblem.g:2280:1: rule__EnumDeclaration__Group_2_0_1__2 : rule__EnumDeclaration__Group_2_0_1__2__Impl ; + // InternalProblem.g:2239:1: rule__EnumDeclaration__Group_2_0_1__2 : rule__EnumDeclaration__Group_2_0_1__2__Impl ; public final void rule__EnumDeclaration__Group_2_0_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2284:1: ( rule__EnumDeclaration__Group_2_0_1__2__Impl ) - // InternalProblem.g:2285:2: rule__EnumDeclaration__Group_2_0_1__2__Impl + // InternalProblem.g:2243:1: ( rule__EnumDeclaration__Group_2_0_1__2__Impl ) + // InternalProblem.g:2244:2: rule__EnumDeclaration__Group_2_0_1__2__Impl { pushFollow(FOLLOW_2); rule__EnumDeclaration__Group_2_0_1__2__Impl(); @@ -7416,29 +7247,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group_2_0_1__2__Impl" - // InternalProblem.g:2291:1: rule__EnumDeclaration__Group_2_0_1__2__Impl : ( ( rule__EnumDeclaration__Alternatives_2_0_1_2 )? ) ; + // InternalProblem.g:2250:1: rule__EnumDeclaration__Group_2_0_1__2__Impl : ( ( rule__EnumDeclaration__Alternatives_2_0_1_2 )? ) ; public final void rule__EnumDeclaration__Group_2_0_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2295:1: ( ( ( rule__EnumDeclaration__Alternatives_2_0_1_2 )? ) ) - // InternalProblem.g:2296:1: ( ( rule__EnumDeclaration__Alternatives_2_0_1_2 )? ) + // InternalProblem.g:2254:1: ( ( ( rule__EnumDeclaration__Alternatives_2_0_1_2 )? ) ) + // InternalProblem.g:2255:1: ( ( rule__EnumDeclaration__Alternatives_2_0_1_2 )? ) { - // InternalProblem.g:2296:1: ( ( rule__EnumDeclaration__Alternatives_2_0_1_2 )? ) - // InternalProblem.g:2297:2: ( rule__EnumDeclaration__Alternatives_2_0_1_2 )? + // InternalProblem.g:2255:1: ( ( rule__EnumDeclaration__Alternatives_2_0_1_2 )? ) + // InternalProblem.g:2256:2: ( rule__EnumDeclaration__Alternatives_2_0_1_2 )? { before(grammarAccess.getEnumDeclarationAccess().getAlternatives_2_0_1_2()); - // InternalProblem.g:2298:2: ( rule__EnumDeclaration__Alternatives_2_0_1_2 )? - int alt32=2; - int LA32_0 = input.LA(1); + // InternalProblem.g:2257:2: ( rule__EnumDeclaration__Alternatives_2_0_1_2 )? + int alt31=2; + int LA31_0 = input.LA(1); - if ( ((LA32_0>=13 && LA32_0<=14)) ) { - alt32=1; + if ( ((LA31_0>=14 && LA31_0<=15)) ) { + alt31=1; } - switch (alt32) { + switch (alt31) { case 1 : - // InternalProblem.g:2298:3: rule__EnumDeclaration__Alternatives_2_0_1_2 + // InternalProblem.g:2257:3: rule__EnumDeclaration__Alternatives_2_0_1_2 { pushFollow(FOLLOW_2); rule__EnumDeclaration__Alternatives_2_0_1_2(); @@ -7474,14 +7305,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group_2_0_1_1__0" - // InternalProblem.g:2307:1: rule__EnumDeclaration__Group_2_0_1_1__0 : rule__EnumDeclaration__Group_2_0_1_1__0__Impl rule__EnumDeclaration__Group_2_0_1_1__1 ; + // InternalProblem.g:2266:1: rule__EnumDeclaration__Group_2_0_1_1__0 : rule__EnumDeclaration__Group_2_0_1_1__0__Impl rule__EnumDeclaration__Group_2_0_1_1__1 ; public final void rule__EnumDeclaration__Group_2_0_1_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2311:1: ( rule__EnumDeclaration__Group_2_0_1_1__0__Impl rule__EnumDeclaration__Group_2_0_1_1__1 ) - // InternalProblem.g:2312:2: rule__EnumDeclaration__Group_2_0_1_1__0__Impl rule__EnumDeclaration__Group_2_0_1_1__1 + // InternalProblem.g:2270:1: ( rule__EnumDeclaration__Group_2_0_1_1__0__Impl rule__EnumDeclaration__Group_2_0_1_1__1 ) + // InternalProblem.g:2271:2: rule__EnumDeclaration__Group_2_0_1_1__0__Impl rule__EnumDeclaration__Group_2_0_1_1__1 { pushFollow(FOLLOW_5); rule__EnumDeclaration__Group_2_0_1_1__0__Impl(); @@ -7512,20 +7343,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group_2_0_1_1__0__Impl" - // InternalProblem.g:2319:1: rule__EnumDeclaration__Group_2_0_1_1__0__Impl : ( ',' ) ; + // InternalProblem.g:2278:1: rule__EnumDeclaration__Group_2_0_1_1__0__Impl : ( ',' ) ; public final void rule__EnumDeclaration__Group_2_0_1_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2323:1: ( ( ',' ) ) - // InternalProblem.g:2324:1: ( ',' ) + // InternalProblem.g:2282:1: ( ( ',' ) ) + // InternalProblem.g:2283:1: ( ',' ) { - // InternalProblem.g:2324:1: ( ',' ) - // InternalProblem.g:2325:2: ',' + // InternalProblem.g:2283:1: ( ',' ) + // InternalProblem.g:2284:2: ',' { before(grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_1_0()); - match(input,13,FOLLOW_2); + match(input,14,FOLLOW_2); after(grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_1_0()); } @@ -7549,14 +7380,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group_2_0_1_1__1" - // InternalProblem.g:2334:1: rule__EnumDeclaration__Group_2_0_1_1__1 : rule__EnumDeclaration__Group_2_0_1_1__1__Impl ; + // InternalProblem.g:2293:1: rule__EnumDeclaration__Group_2_0_1_1__1 : rule__EnumDeclaration__Group_2_0_1_1__1__Impl ; public final void rule__EnumDeclaration__Group_2_0_1_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2338:1: ( rule__EnumDeclaration__Group_2_0_1_1__1__Impl ) - // InternalProblem.g:2339:2: rule__EnumDeclaration__Group_2_0_1_1__1__Impl + // InternalProblem.g:2297:1: ( rule__EnumDeclaration__Group_2_0_1_1__1__Impl ) + // InternalProblem.g:2298:2: rule__EnumDeclaration__Group_2_0_1_1__1__Impl { pushFollow(FOLLOW_2); rule__EnumDeclaration__Group_2_0_1_1__1__Impl(); @@ -7582,21 +7413,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__Group_2_0_1_1__1__Impl" - // InternalProblem.g:2345:1: rule__EnumDeclaration__Group_2_0_1_1__1__Impl : ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) ) ; + // InternalProblem.g:2304:1: rule__EnumDeclaration__Group_2_0_1_1__1__Impl : ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) ) ; public final void rule__EnumDeclaration__Group_2_0_1_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2349:1: ( ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) ) ) - // InternalProblem.g:2350:1: ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) ) + // InternalProblem.g:2308:1: ( ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) ) ) + // InternalProblem.g:2309:1: ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) ) { - // InternalProblem.g:2350:1: ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) ) - // InternalProblem.g:2351:2: ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) + // InternalProblem.g:2309:1: ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) ) + // InternalProblem.g:2310:2: ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) { before(grammarAccess.getEnumDeclarationAccess().getLiteralsAssignment_2_0_1_1_1()); - // InternalProblem.g:2352:2: ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) - // InternalProblem.g:2352:3: rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 + // InternalProblem.g:2311:2: ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) + // InternalProblem.g:2311:3: rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 { pushFollow(FOLLOW_2); rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1(); @@ -7629,14 +7460,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__0" - // InternalProblem.g:2361:1: rule__ReferenceDeclaration__Group__0 : rule__ReferenceDeclaration__Group__0__Impl rule__ReferenceDeclaration__Group__1 ; + // InternalProblem.g:2320: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:2365:1: ( rule__ReferenceDeclaration__Group__0__Impl rule__ReferenceDeclaration__Group__1 ) - // InternalProblem.g:2366:2: rule__ReferenceDeclaration__Group__0__Impl rule__ReferenceDeclaration__Group__1 + // InternalProblem.g:2324:1: ( rule__ReferenceDeclaration__Group__0__Impl rule__ReferenceDeclaration__Group__1 ) + // InternalProblem.g:2325:2: rule__ReferenceDeclaration__Group__0__Impl rule__ReferenceDeclaration__Group__1 { pushFollow(FOLLOW_17); rule__ReferenceDeclaration__Group__0__Impl(); @@ -7667,29 +7498,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__0__Impl" - // InternalProblem.g:2373:1: rule__ReferenceDeclaration__Group__0__Impl : ( ( rule__ReferenceDeclaration__Alternatives_0 )? ) ; + // InternalProblem.g:2332: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:2377:1: ( ( ( rule__ReferenceDeclaration__Alternatives_0 )? ) ) - // InternalProblem.g:2378:1: ( ( rule__ReferenceDeclaration__Alternatives_0 )? ) + // InternalProblem.g:2336:1: ( ( ( rule__ReferenceDeclaration__Alternatives_0 )? ) ) + // InternalProblem.g:2337:1: ( ( rule__ReferenceDeclaration__Alternatives_0 )? ) { - // InternalProblem.g:2378:1: ( ( rule__ReferenceDeclaration__Alternatives_0 )? ) - // InternalProblem.g:2379:2: ( rule__ReferenceDeclaration__Alternatives_0 )? + // InternalProblem.g:2337:1: ( ( rule__ReferenceDeclaration__Alternatives_0 )? ) + // InternalProblem.g:2338:2: ( rule__ReferenceDeclaration__Alternatives_0 )? { before(grammarAccess.getReferenceDeclarationAccess().getAlternatives_0()); - // InternalProblem.g:2380:2: ( rule__ReferenceDeclaration__Alternatives_0 )? - int alt33=2; - int LA33_0 = input.LA(1); + // InternalProblem.g:2339:2: ( rule__ReferenceDeclaration__Alternatives_0 )? + int alt32=2; + int LA32_0 = input.LA(1); - if ( (LA33_0==15||LA33_0==45) ) { - alt33=1; + if ( (LA32_0==16||LA32_0==43) ) { + alt32=1; } - switch (alt33) { + switch (alt32) { case 1 : - // InternalProblem.g:2380:3: rule__ReferenceDeclaration__Alternatives_0 + // InternalProblem.g:2339:3: rule__ReferenceDeclaration__Alternatives_0 { pushFollow(FOLLOW_2); rule__ReferenceDeclaration__Alternatives_0(); @@ -7725,14 +7556,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__1" - // InternalProblem.g:2388:1: rule__ReferenceDeclaration__Group__1 : rule__ReferenceDeclaration__Group__1__Impl rule__ReferenceDeclaration__Group__2 ; + // InternalProblem.g:2347: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:2392:1: ( rule__ReferenceDeclaration__Group__1__Impl rule__ReferenceDeclaration__Group__2 ) - // InternalProblem.g:2393:2: rule__ReferenceDeclaration__Group__1__Impl rule__ReferenceDeclaration__Group__2 + // InternalProblem.g:2351:1: ( rule__ReferenceDeclaration__Group__1__Impl rule__ReferenceDeclaration__Group__2 ) + // InternalProblem.g:2352:2: rule__ReferenceDeclaration__Group__1__Impl rule__ReferenceDeclaration__Group__2 { pushFollow(FOLLOW_18); rule__ReferenceDeclaration__Group__1__Impl(); @@ -7763,21 +7594,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__1__Impl" - // InternalProblem.g:2400:1: rule__ReferenceDeclaration__Group__1__Impl : ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) ) ; + // InternalProblem.g:2359: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:2404:1: ( ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) ) ) - // InternalProblem.g:2405:1: ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) ) + // InternalProblem.g:2363:1: ( ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) ) ) + // InternalProblem.g:2364:1: ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) ) { - // InternalProblem.g:2405:1: ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) ) - // InternalProblem.g:2406:2: ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) + // InternalProblem.g:2364:1: ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) ) + // InternalProblem.g:2365:2: ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) { before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeAssignment_1()); - // InternalProblem.g:2407:2: ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) - // InternalProblem.g:2407:3: rule__ReferenceDeclaration__ReferenceTypeAssignment_1 + // InternalProblem.g:2366:2: ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) + // InternalProblem.g:2366:3: rule__ReferenceDeclaration__ReferenceTypeAssignment_1 { pushFollow(FOLLOW_2); rule__ReferenceDeclaration__ReferenceTypeAssignment_1(); @@ -7810,14 +7641,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__2" - // InternalProblem.g:2415:1: rule__ReferenceDeclaration__Group__2 : rule__ReferenceDeclaration__Group__2__Impl rule__ReferenceDeclaration__Group__3 ; + // InternalProblem.g:2374: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:2419:1: ( rule__ReferenceDeclaration__Group__2__Impl rule__ReferenceDeclaration__Group__3 ) - // InternalProblem.g:2420:2: rule__ReferenceDeclaration__Group__2__Impl rule__ReferenceDeclaration__Group__3 + // InternalProblem.g:2378:1: ( rule__ReferenceDeclaration__Group__2__Impl rule__ReferenceDeclaration__Group__3 ) + // InternalProblem.g:2379:2: rule__ReferenceDeclaration__Group__2__Impl rule__ReferenceDeclaration__Group__3 { pushFollow(FOLLOW_18); rule__ReferenceDeclaration__Group__2__Impl(); @@ -7848,29 +7679,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__2__Impl" - // InternalProblem.g:2427:1: rule__ReferenceDeclaration__Group__2__Impl : ( ( rule__ReferenceDeclaration__Group_2__0 )? ) ; + // InternalProblem.g:2386: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:2431:1: ( ( ( rule__ReferenceDeclaration__Group_2__0 )? ) ) - // InternalProblem.g:2432:1: ( ( rule__ReferenceDeclaration__Group_2__0 )? ) + // InternalProblem.g:2390:1: ( ( ( rule__ReferenceDeclaration__Group_2__0 )? ) ) + // InternalProblem.g:2391:1: ( ( rule__ReferenceDeclaration__Group_2__0 )? ) { - // InternalProblem.g:2432:1: ( ( rule__ReferenceDeclaration__Group_2__0 )? ) - // InternalProblem.g:2433:2: ( rule__ReferenceDeclaration__Group_2__0 )? + // InternalProblem.g:2391:1: ( ( rule__ReferenceDeclaration__Group_2__0 )? ) + // InternalProblem.g:2392:2: ( rule__ReferenceDeclaration__Group_2__0 )? { before(grammarAccess.getReferenceDeclarationAccess().getGroup_2()); - // InternalProblem.g:2434:2: ( rule__ReferenceDeclaration__Group_2__0 )? - int alt34=2; - int LA34_0 = input.LA(1); + // InternalProblem.g:2393:2: ( rule__ReferenceDeclaration__Group_2__0 )? + int alt33=2; + int LA33_0 = input.LA(1); - if ( (LA34_0==34) ) { - alt34=1; + if ( (LA33_0==31) ) { + alt33=1; } - switch (alt34) { + switch (alt33) { case 1 : - // InternalProblem.g:2434:3: rule__ReferenceDeclaration__Group_2__0 + // InternalProblem.g:2393:3: rule__ReferenceDeclaration__Group_2__0 { pushFollow(FOLLOW_2); rule__ReferenceDeclaration__Group_2__0(); @@ -7906,14 +7737,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__3" - // InternalProblem.g:2442:1: rule__ReferenceDeclaration__Group__3 : rule__ReferenceDeclaration__Group__3__Impl rule__ReferenceDeclaration__Group__4 ; + // InternalProblem.g:2401: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:2446:1: ( rule__ReferenceDeclaration__Group__3__Impl rule__ReferenceDeclaration__Group__4 ) - // InternalProblem.g:2447:2: rule__ReferenceDeclaration__Group__3__Impl rule__ReferenceDeclaration__Group__4 + // InternalProblem.g:2405:1: ( rule__ReferenceDeclaration__Group__3__Impl rule__ReferenceDeclaration__Group__4 ) + // InternalProblem.g:2406:2: rule__ReferenceDeclaration__Group__3__Impl rule__ReferenceDeclaration__Group__4 { pushFollow(FOLLOW_19); rule__ReferenceDeclaration__Group__3__Impl(); @@ -7944,21 +7775,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__3__Impl" - // InternalProblem.g:2454:1: rule__ReferenceDeclaration__Group__3__Impl : ( ( rule__ReferenceDeclaration__NameAssignment_3 ) ) ; + // InternalProblem.g:2413: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:2458:1: ( ( ( rule__ReferenceDeclaration__NameAssignment_3 ) ) ) - // InternalProblem.g:2459:1: ( ( rule__ReferenceDeclaration__NameAssignment_3 ) ) + // InternalProblem.g:2417:1: ( ( ( rule__ReferenceDeclaration__NameAssignment_3 ) ) ) + // InternalProblem.g:2418:1: ( ( rule__ReferenceDeclaration__NameAssignment_3 ) ) { - // InternalProblem.g:2459:1: ( ( rule__ReferenceDeclaration__NameAssignment_3 ) ) - // InternalProblem.g:2460:2: ( rule__ReferenceDeclaration__NameAssignment_3 ) + // InternalProblem.g:2418:1: ( ( rule__ReferenceDeclaration__NameAssignment_3 ) ) + // InternalProblem.g:2419:2: ( rule__ReferenceDeclaration__NameAssignment_3 ) { before(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_3()); - // InternalProblem.g:2461:2: ( rule__ReferenceDeclaration__NameAssignment_3 ) - // InternalProblem.g:2461:3: rule__ReferenceDeclaration__NameAssignment_3 + // InternalProblem.g:2420:2: ( rule__ReferenceDeclaration__NameAssignment_3 ) + // InternalProblem.g:2420:3: rule__ReferenceDeclaration__NameAssignment_3 { pushFollow(FOLLOW_2); rule__ReferenceDeclaration__NameAssignment_3(); @@ -7991,14 +7822,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__4" - // InternalProblem.g:2469:1: rule__ReferenceDeclaration__Group__4 : rule__ReferenceDeclaration__Group__4__Impl ; + // InternalProblem.g:2428: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:2473:1: ( rule__ReferenceDeclaration__Group__4__Impl ) - // InternalProblem.g:2474:2: rule__ReferenceDeclaration__Group__4__Impl + // InternalProblem.g:2432:1: ( rule__ReferenceDeclaration__Group__4__Impl ) + // InternalProblem.g:2433:2: rule__ReferenceDeclaration__Group__4__Impl { pushFollow(FOLLOW_2); rule__ReferenceDeclaration__Group__4__Impl(); @@ -8024,29 +7855,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group__4__Impl" - // InternalProblem.g:2480:1: rule__ReferenceDeclaration__Group__4__Impl : ( ( rule__ReferenceDeclaration__Group_4__0 )? ) ; + // InternalProblem.g:2439: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:2484:1: ( ( ( rule__ReferenceDeclaration__Group_4__0 )? ) ) - // InternalProblem.g:2485:1: ( ( rule__ReferenceDeclaration__Group_4__0 )? ) + // InternalProblem.g:2443:1: ( ( ( rule__ReferenceDeclaration__Group_4__0 )? ) ) + // InternalProblem.g:2444:1: ( ( rule__ReferenceDeclaration__Group_4__0 )? ) { - // InternalProblem.g:2485:1: ( ( rule__ReferenceDeclaration__Group_4__0 )? ) - // InternalProblem.g:2486:2: ( rule__ReferenceDeclaration__Group_4__0 )? + // InternalProblem.g:2444:1: ( ( rule__ReferenceDeclaration__Group_4__0 )? ) + // InternalProblem.g:2445:2: ( rule__ReferenceDeclaration__Group_4__0 )? { before(grammarAccess.getReferenceDeclarationAccess().getGroup_4()); - // InternalProblem.g:2487:2: ( rule__ReferenceDeclaration__Group_4__0 )? - int alt35=2; - int LA35_0 = input.LA(1); + // InternalProblem.g:2446:2: ( rule__ReferenceDeclaration__Group_4__0 )? + int alt34=2; + int LA34_0 = input.LA(1); - if ( (LA35_0==36) ) { - alt35=1; + if ( (LA34_0==33) ) { + alt34=1; } - switch (alt35) { + switch (alt34) { case 1 : - // InternalProblem.g:2487:3: rule__ReferenceDeclaration__Group_4__0 + // InternalProblem.g:2446:3: rule__ReferenceDeclaration__Group_4__0 { pushFollow(FOLLOW_2); rule__ReferenceDeclaration__Group_4__0(); @@ -8082,14 +7913,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group_2__0" - // InternalProblem.g:2496:1: rule__ReferenceDeclaration__Group_2__0 : rule__ReferenceDeclaration__Group_2__0__Impl rule__ReferenceDeclaration__Group_2__1 ; + // InternalProblem.g:2455: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:2500:1: ( rule__ReferenceDeclaration__Group_2__0__Impl rule__ReferenceDeclaration__Group_2__1 ) - // InternalProblem.g:2501:2: rule__ReferenceDeclaration__Group_2__0__Impl rule__ReferenceDeclaration__Group_2__1 + // InternalProblem.g:2459:1: ( rule__ReferenceDeclaration__Group_2__0__Impl rule__ReferenceDeclaration__Group_2__1 ) + // InternalProblem.g:2460:2: rule__ReferenceDeclaration__Group_2__0__Impl rule__ReferenceDeclaration__Group_2__1 { pushFollow(FOLLOW_20); rule__ReferenceDeclaration__Group_2__0__Impl(); @@ -8120,20 +7951,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group_2__0__Impl" - // InternalProblem.g:2508:1: rule__ReferenceDeclaration__Group_2__0__Impl : ( '[' ) ; + // InternalProblem.g:2467:1: rule__ReferenceDeclaration__Group_2__0__Impl : ( '[' ) ; public final void rule__ReferenceDeclaration__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2512:1: ( ( '[' ) ) - // InternalProblem.g:2513:1: ( '[' ) + // InternalProblem.g:2471:1: ( ( '[' ) ) + // InternalProblem.g:2472:1: ( '[' ) { - // InternalProblem.g:2513:1: ( '[' ) - // InternalProblem.g:2514:2: '[' + // InternalProblem.g:2472:1: ( '[' ) + // InternalProblem.g:2473:2: '[' { before(grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2_0()); - match(input,34,FOLLOW_2); + match(input,31,FOLLOW_2); after(grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2_0()); } @@ -8157,14 +7988,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group_2__1" - // InternalProblem.g:2523:1: rule__ReferenceDeclaration__Group_2__1 : rule__ReferenceDeclaration__Group_2__1__Impl rule__ReferenceDeclaration__Group_2__2 ; + // InternalProblem.g:2482: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:2527:1: ( rule__ReferenceDeclaration__Group_2__1__Impl rule__ReferenceDeclaration__Group_2__2 ) - // InternalProblem.g:2528:2: rule__ReferenceDeclaration__Group_2__1__Impl rule__ReferenceDeclaration__Group_2__2 + // InternalProblem.g:2486:1: ( rule__ReferenceDeclaration__Group_2__1__Impl rule__ReferenceDeclaration__Group_2__2 ) + // InternalProblem.g:2487:2: rule__ReferenceDeclaration__Group_2__1__Impl rule__ReferenceDeclaration__Group_2__2 { pushFollow(FOLLOW_21); rule__ReferenceDeclaration__Group_2__1__Impl(); @@ -8195,21 +8026,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group_2__1__Impl" - // InternalProblem.g:2535:1: rule__ReferenceDeclaration__Group_2__1__Impl : ( ( rule__ReferenceDeclaration__MultiplicityAssignment_2_1 ) ) ; + // InternalProblem.g:2494: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:2539:1: ( ( ( rule__ReferenceDeclaration__MultiplicityAssignment_2_1 ) ) ) - // InternalProblem.g:2540:1: ( ( rule__ReferenceDeclaration__MultiplicityAssignment_2_1 ) ) + // InternalProblem.g:2498:1: ( ( ( rule__ReferenceDeclaration__MultiplicityAssignment_2_1 ) ) ) + // InternalProblem.g:2499:1: ( ( rule__ReferenceDeclaration__MultiplicityAssignment_2_1 ) ) { - // InternalProblem.g:2540:1: ( ( rule__ReferenceDeclaration__MultiplicityAssignment_2_1 ) ) - // InternalProblem.g:2541:2: ( rule__ReferenceDeclaration__MultiplicityAssignment_2_1 ) + // InternalProblem.g:2499:1: ( ( rule__ReferenceDeclaration__MultiplicityAssignment_2_1 ) ) + // InternalProblem.g:2500:2: ( rule__ReferenceDeclaration__MultiplicityAssignment_2_1 ) { before(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_2_1()); - // InternalProblem.g:2542:2: ( rule__ReferenceDeclaration__MultiplicityAssignment_2_1 ) - // InternalProblem.g:2542:3: rule__ReferenceDeclaration__MultiplicityAssignment_2_1 + // InternalProblem.g:2501:2: ( rule__ReferenceDeclaration__MultiplicityAssignment_2_1 ) + // InternalProblem.g:2501:3: rule__ReferenceDeclaration__MultiplicityAssignment_2_1 { pushFollow(FOLLOW_2); rule__ReferenceDeclaration__MultiplicityAssignment_2_1(); @@ -8242,14 +8073,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group_2__2" - // InternalProblem.g:2550:1: rule__ReferenceDeclaration__Group_2__2 : rule__ReferenceDeclaration__Group_2__2__Impl ; + // InternalProblem.g:2509: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:2554:1: ( rule__ReferenceDeclaration__Group_2__2__Impl ) - // InternalProblem.g:2555:2: rule__ReferenceDeclaration__Group_2__2__Impl + // InternalProblem.g:2513:1: ( rule__ReferenceDeclaration__Group_2__2__Impl ) + // InternalProblem.g:2514:2: rule__ReferenceDeclaration__Group_2__2__Impl { pushFollow(FOLLOW_2); rule__ReferenceDeclaration__Group_2__2__Impl(); @@ -8275,20 +8106,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group_2__2__Impl" - // InternalProblem.g:2561:1: rule__ReferenceDeclaration__Group_2__2__Impl : ( ']' ) ; + // InternalProblem.g:2520:1: rule__ReferenceDeclaration__Group_2__2__Impl : ( ']' ) ; public final void rule__ReferenceDeclaration__Group_2__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2565:1: ( ( ']' ) ) - // InternalProblem.g:2566:1: ( ']' ) + // InternalProblem.g:2524:1: ( ( ']' ) ) + // InternalProblem.g:2525:1: ( ']' ) { - // InternalProblem.g:2566:1: ( ']' ) - // InternalProblem.g:2567:2: ']' + // InternalProblem.g:2525:1: ( ']' ) + // InternalProblem.g:2526:2: ']' { before(grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_2_2()); - match(input,35,FOLLOW_2); + match(input,32,FOLLOW_2); after(grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_2_2()); } @@ -8312,14 +8143,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group_4__0" - // InternalProblem.g:2577:1: rule__ReferenceDeclaration__Group_4__0 : rule__ReferenceDeclaration__Group_4__0__Impl rule__ReferenceDeclaration__Group_4__1 ; + // InternalProblem.g:2536: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:2581:1: ( rule__ReferenceDeclaration__Group_4__0__Impl rule__ReferenceDeclaration__Group_4__1 ) - // InternalProblem.g:2582:2: rule__ReferenceDeclaration__Group_4__0__Impl rule__ReferenceDeclaration__Group_4__1 + // InternalProblem.g:2540:1: ( rule__ReferenceDeclaration__Group_4__0__Impl rule__ReferenceDeclaration__Group_4__1 ) + // InternalProblem.g:2541:2: rule__ReferenceDeclaration__Group_4__0__Impl rule__ReferenceDeclaration__Group_4__1 { pushFollow(FOLLOW_5); rule__ReferenceDeclaration__Group_4__0__Impl(); @@ -8350,20 +8181,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group_4__0__Impl" - // InternalProblem.g:2589:1: rule__ReferenceDeclaration__Group_4__0__Impl : ( 'opposite' ) ; + // InternalProblem.g:2548: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:2593:1: ( ( 'opposite' ) ) - // InternalProblem.g:2594:1: ( 'opposite' ) + // InternalProblem.g:2552:1: ( ( 'opposite' ) ) + // InternalProblem.g:2553:1: ( 'opposite' ) { - // InternalProblem.g:2594:1: ( 'opposite' ) - // InternalProblem.g:2595:2: 'opposite' + // InternalProblem.g:2553:1: ( 'opposite' ) + // InternalProblem.g:2554:2: 'opposite' { before(grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_4_0()); - match(input,36,FOLLOW_2); + match(input,33,FOLLOW_2); after(grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_4_0()); } @@ -8387,14 +8218,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group_4__1" - // InternalProblem.g:2604:1: rule__ReferenceDeclaration__Group_4__1 : rule__ReferenceDeclaration__Group_4__1__Impl ; + // InternalProblem.g:2563: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:2608:1: ( rule__ReferenceDeclaration__Group_4__1__Impl ) - // InternalProblem.g:2609:2: rule__ReferenceDeclaration__Group_4__1__Impl + // InternalProblem.g:2567:1: ( rule__ReferenceDeclaration__Group_4__1__Impl ) + // InternalProblem.g:2568:2: rule__ReferenceDeclaration__Group_4__1__Impl { pushFollow(FOLLOW_2); rule__ReferenceDeclaration__Group_4__1__Impl(); @@ -8420,21 +8251,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__Group_4__1__Impl" - // InternalProblem.g:2615:1: rule__ReferenceDeclaration__Group_4__1__Impl : ( ( rule__ReferenceDeclaration__OppositeAssignment_4_1 ) ) ; + // InternalProblem.g:2574: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:2619:1: ( ( ( rule__ReferenceDeclaration__OppositeAssignment_4_1 ) ) ) - // InternalProblem.g:2620:1: ( ( rule__ReferenceDeclaration__OppositeAssignment_4_1 ) ) + // InternalProblem.g:2578:1: ( ( ( rule__ReferenceDeclaration__OppositeAssignment_4_1 ) ) ) + // InternalProblem.g:2579:1: ( ( rule__ReferenceDeclaration__OppositeAssignment_4_1 ) ) { - // InternalProblem.g:2620:1: ( ( rule__ReferenceDeclaration__OppositeAssignment_4_1 ) ) - // InternalProblem.g:2621:2: ( rule__ReferenceDeclaration__OppositeAssignment_4_1 ) + // InternalProblem.g:2579:1: ( ( rule__ReferenceDeclaration__OppositeAssignment_4_1 ) ) + // InternalProblem.g:2580:2: ( rule__ReferenceDeclaration__OppositeAssignment_4_1 ) { before(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_4_1()); - // InternalProblem.g:2622:2: ( rule__ReferenceDeclaration__OppositeAssignment_4_1 ) - // InternalProblem.g:2622:3: rule__ReferenceDeclaration__OppositeAssignment_4_1 + // InternalProblem.g:2581:2: ( rule__ReferenceDeclaration__OppositeAssignment_4_1 ) + // InternalProblem.g:2581:3: rule__ReferenceDeclaration__OppositeAssignment_4_1 { pushFollow(FOLLOW_2); rule__ReferenceDeclaration__OppositeAssignment_4_1(); @@ -8467,14 +8298,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__0" - // InternalProblem.g:2631:1: rule__PredicateDefinition__Group__0 : rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ; + // InternalProblem.g:2590: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:2635:1: ( rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ) - // InternalProblem.g:2636:2: rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 + // InternalProblem.g:2594:1: ( rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ) + // InternalProblem.g:2595:2: rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 { pushFollow(FOLLOW_5); rule__PredicateDefinition__Group__0__Impl(); @@ -8505,21 +8336,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__0__Impl" - // InternalProblem.g:2643:1: rule__PredicateDefinition__Group__0__Impl : ( ( rule__PredicateDefinition__Alternatives_0 ) ) ; + // InternalProblem.g:2602: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:2647:1: ( ( ( rule__PredicateDefinition__Alternatives_0 ) ) ) - // InternalProblem.g:2648:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) + // InternalProblem.g:2606:1: ( ( ( rule__PredicateDefinition__Alternatives_0 ) ) ) + // InternalProblem.g:2607:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) { - // InternalProblem.g:2648:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) - // InternalProblem.g:2649:2: ( rule__PredicateDefinition__Alternatives_0 ) + // InternalProblem.g:2607:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) + // InternalProblem.g:2608:2: ( rule__PredicateDefinition__Alternatives_0 ) { before(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); - // InternalProblem.g:2650:2: ( rule__PredicateDefinition__Alternatives_0 ) - // InternalProblem.g:2650:3: rule__PredicateDefinition__Alternatives_0 + // InternalProblem.g:2609:2: ( rule__PredicateDefinition__Alternatives_0 ) + // InternalProblem.g:2609:3: rule__PredicateDefinition__Alternatives_0 { pushFollow(FOLLOW_2); rule__PredicateDefinition__Alternatives_0(); @@ -8552,14 +8383,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__1" - // InternalProblem.g:2658:1: rule__PredicateDefinition__Group__1 : rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ; + // InternalProblem.g:2617: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:2662:1: ( rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ) - // InternalProblem.g:2663:2: rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 + // InternalProblem.g:2621:1: ( rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ) + // InternalProblem.g:2622:2: rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 { pushFollow(FOLLOW_22); rule__PredicateDefinition__Group__1__Impl(); @@ -8590,21 +8421,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__1__Impl" - // InternalProblem.g:2670:1: rule__PredicateDefinition__Group__1__Impl : ( ( rule__PredicateDefinition__NameAssignment_1 ) ) ; + // InternalProblem.g:2629: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:2674:1: ( ( ( rule__PredicateDefinition__NameAssignment_1 ) ) ) - // InternalProblem.g:2675:1: ( ( rule__PredicateDefinition__NameAssignment_1 ) ) + // InternalProblem.g:2633:1: ( ( ( rule__PredicateDefinition__NameAssignment_1 ) ) ) + // InternalProblem.g:2634:1: ( ( rule__PredicateDefinition__NameAssignment_1 ) ) { - // InternalProblem.g:2675:1: ( ( rule__PredicateDefinition__NameAssignment_1 ) ) - // InternalProblem.g:2676:2: ( rule__PredicateDefinition__NameAssignment_1 ) + // InternalProblem.g:2634:1: ( ( rule__PredicateDefinition__NameAssignment_1 ) ) + // InternalProblem.g:2635:2: ( rule__PredicateDefinition__NameAssignment_1 ) { before(grammarAccess.getPredicateDefinitionAccess().getNameAssignment_1()); - // InternalProblem.g:2677:2: ( rule__PredicateDefinition__NameAssignment_1 ) - // InternalProblem.g:2677:3: rule__PredicateDefinition__NameAssignment_1 + // InternalProblem.g:2636:2: ( rule__PredicateDefinition__NameAssignment_1 ) + // InternalProblem.g:2636:3: rule__PredicateDefinition__NameAssignment_1 { pushFollow(FOLLOW_2); rule__PredicateDefinition__NameAssignment_1(); @@ -8637,14 +8468,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__2" - // InternalProblem.g:2685:1: rule__PredicateDefinition__Group__2 : rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ; + // InternalProblem.g:2644: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:2689:1: ( rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ) - // InternalProblem.g:2690:2: rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 + // InternalProblem.g:2648:1: ( rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ) + // InternalProblem.g:2649:2: rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 { pushFollow(FOLLOW_23); rule__PredicateDefinition__Group__2__Impl(); @@ -8675,20 +8506,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__2__Impl" - // InternalProblem.g:2697:1: rule__PredicateDefinition__Group__2__Impl : ( '(' ) ; + // InternalProblem.g:2656:1: rule__PredicateDefinition__Group__2__Impl : ( '(' ) ; public final void rule__PredicateDefinition__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2701:1: ( ( '(' ) ) - // InternalProblem.g:2702:1: ( '(' ) + // InternalProblem.g:2660:1: ( ( '(' ) ) + // InternalProblem.g:2661:1: ( '(' ) { - // InternalProblem.g:2702:1: ( '(' ) - // InternalProblem.g:2703:2: '(' + // InternalProblem.g:2661:1: ( '(' ) + // InternalProblem.g:2662:2: '(' { before(grammarAccess.getPredicateDefinitionAccess().getLeftParenthesisKeyword_2()); - match(input,37,FOLLOW_2); + match(input,34,FOLLOW_2); after(grammarAccess.getPredicateDefinitionAccess().getLeftParenthesisKeyword_2()); } @@ -8712,14 +8543,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__3" - // InternalProblem.g:2712:1: rule__PredicateDefinition__Group__3 : rule__PredicateDefinition__Group__3__Impl rule__PredicateDefinition__Group__4 ; + // InternalProblem.g:2671: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:2716:1: ( rule__PredicateDefinition__Group__3__Impl rule__PredicateDefinition__Group__4 ) - // InternalProblem.g:2717:2: rule__PredicateDefinition__Group__3__Impl rule__PredicateDefinition__Group__4 + // InternalProblem.g:2675:1: ( rule__PredicateDefinition__Group__3__Impl rule__PredicateDefinition__Group__4 ) + // InternalProblem.g:2676:2: rule__PredicateDefinition__Group__3__Impl rule__PredicateDefinition__Group__4 { pushFollow(FOLLOW_23); rule__PredicateDefinition__Group__3__Impl(); @@ -8750,29 +8581,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__3__Impl" - // InternalProblem.g:2724:1: rule__PredicateDefinition__Group__3__Impl : ( ( rule__PredicateDefinition__Group_3__0 )? ) ; + // InternalProblem.g:2683: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:2728:1: ( ( ( rule__PredicateDefinition__Group_3__0 )? ) ) - // InternalProblem.g:2729:1: ( ( rule__PredicateDefinition__Group_3__0 )? ) + // InternalProblem.g:2687:1: ( ( ( rule__PredicateDefinition__Group_3__0 )? ) ) + // InternalProblem.g:2688:1: ( ( rule__PredicateDefinition__Group_3__0 )? ) { - // InternalProblem.g:2729:1: ( ( rule__PredicateDefinition__Group_3__0 )? ) - // InternalProblem.g:2730:2: ( rule__PredicateDefinition__Group_3__0 )? + // InternalProblem.g:2688:1: ( ( rule__PredicateDefinition__Group_3__0 )? ) + // InternalProblem.g:2689:2: ( rule__PredicateDefinition__Group_3__0 )? { before(grammarAccess.getPredicateDefinitionAccess().getGroup_3()); - // InternalProblem.g:2731:2: ( rule__PredicateDefinition__Group_3__0 )? - int alt36=2; - int LA36_0 = input.LA(1); + // InternalProblem.g:2690:2: ( rule__PredicateDefinition__Group_3__0 )? + int alt35=2; + int LA35_0 = input.LA(1); - if ( ((LA36_0>=RULE_QUOTED_ID && LA36_0<=RULE_ID)||(LA36_0>=19 && LA36_0<=22)) ) { - alt36=1; + if ( ((LA35_0>=RULE_QUOTED_ID && LA35_0<=RULE_ID)||(LA35_0>=20 && LA35_0<=21)) ) { + alt35=1; } - switch (alt36) { + switch (alt35) { case 1 : - // InternalProblem.g:2731:3: rule__PredicateDefinition__Group_3__0 + // InternalProblem.g:2690:3: rule__PredicateDefinition__Group_3__0 { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group_3__0(); @@ -8808,14 +8639,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__4" - // InternalProblem.g:2739:1: rule__PredicateDefinition__Group__4 : rule__PredicateDefinition__Group__4__Impl rule__PredicateDefinition__Group__5 ; + // InternalProblem.g:2698: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:2743:1: ( rule__PredicateDefinition__Group__4__Impl rule__PredicateDefinition__Group__5 ) - // InternalProblem.g:2744:2: rule__PredicateDefinition__Group__4__Impl rule__PredicateDefinition__Group__5 + // InternalProblem.g:2702:1: ( rule__PredicateDefinition__Group__4__Impl rule__PredicateDefinition__Group__5 ) + // InternalProblem.g:2703:2: rule__PredicateDefinition__Group__4__Impl rule__PredicateDefinition__Group__5 { pushFollow(FOLLOW_24); rule__PredicateDefinition__Group__4__Impl(); @@ -8846,20 +8677,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__4__Impl" - // InternalProblem.g:2751:1: rule__PredicateDefinition__Group__4__Impl : ( ')' ) ; + // InternalProblem.g:2710:1: rule__PredicateDefinition__Group__4__Impl : ( ')' ) ; public final void rule__PredicateDefinition__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2755:1: ( ( ')' ) ) - // InternalProblem.g:2756:1: ( ')' ) + // InternalProblem.g:2714:1: ( ( ')' ) ) + // InternalProblem.g:2715:1: ( ')' ) { - // InternalProblem.g:2756:1: ( ')' ) - // InternalProblem.g:2757:2: ')' + // InternalProblem.g:2715:1: ( ')' ) + // InternalProblem.g:2716:2: ')' { before(grammarAccess.getPredicateDefinitionAccess().getRightParenthesisKeyword_4()); - match(input,38,FOLLOW_2); + match(input,35,FOLLOW_2); after(grammarAccess.getPredicateDefinitionAccess().getRightParenthesisKeyword_4()); } @@ -8883,14 +8714,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__5" - // InternalProblem.g:2766:1: rule__PredicateDefinition__Group__5 : rule__PredicateDefinition__Group__5__Impl rule__PredicateDefinition__Group__6 ; + // InternalProblem.g:2725: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:2770:1: ( rule__PredicateDefinition__Group__5__Impl rule__PredicateDefinition__Group__6 ) - // InternalProblem.g:2771:2: rule__PredicateDefinition__Group__5__Impl rule__PredicateDefinition__Group__6 + // InternalProblem.g:2729:1: ( rule__PredicateDefinition__Group__5__Impl rule__PredicateDefinition__Group__6 ) + // InternalProblem.g:2730:2: rule__PredicateDefinition__Group__5__Impl rule__PredicateDefinition__Group__6 { pushFollow(FOLLOW_24); rule__PredicateDefinition__Group__5__Impl(); @@ -8921,29 +8752,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__5__Impl" - // InternalProblem.g:2778:1: rule__PredicateDefinition__Group__5__Impl : ( ( rule__PredicateDefinition__Group_5__0 )? ) ; + // InternalProblem.g:2737: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:2782:1: ( ( ( rule__PredicateDefinition__Group_5__0 )? ) ) - // InternalProblem.g:2783:1: ( ( rule__PredicateDefinition__Group_5__0 )? ) + // InternalProblem.g:2741:1: ( ( ( rule__PredicateDefinition__Group_5__0 )? ) ) + // InternalProblem.g:2742:1: ( ( rule__PredicateDefinition__Group_5__0 )? ) { - // InternalProblem.g:2783:1: ( ( rule__PredicateDefinition__Group_5__0 )? ) - // InternalProblem.g:2784:2: ( rule__PredicateDefinition__Group_5__0 )? + // InternalProblem.g:2742:1: ( ( rule__PredicateDefinition__Group_5__0 )? ) + // InternalProblem.g:2743:2: ( rule__PredicateDefinition__Group_5__0 )? { before(grammarAccess.getPredicateDefinitionAccess().getGroup_5()); - // InternalProblem.g:2785:2: ( rule__PredicateDefinition__Group_5__0 )? - int alt37=2; - int LA37_0 = input.LA(1); + // InternalProblem.g:2744:2: ( rule__PredicateDefinition__Group_5__0 )? + int alt36=2; + int LA36_0 = input.LA(1); - if ( (LA37_0==39) ) { - alt37=1; + if ( (LA36_0==36) ) { + alt36=1; } - switch (alt37) { + switch (alt36) { case 1 : - // InternalProblem.g:2785:3: rule__PredicateDefinition__Group_5__0 + // InternalProblem.g:2744:3: rule__PredicateDefinition__Group_5__0 { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group_5__0(); @@ -8979,14 +8810,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__6" - // InternalProblem.g:2793:1: rule__PredicateDefinition__Group__6 : rule__PredicateDefinition__Group__6__Impl ; + // InternalProblem.g:2752: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:2797:1: ( rule__PredicateDefinition__Group__6__Impl ) - // InternalProblem.g:2798:2: rule__PredicateDefinition__Group__6__Impl + // InternalProblem.g:2756:1: ( rule__PredicateDefinition__Group__6__Impl ) + // InternalProblem.g:2757:2: rule__PredicateDefinition__Group__6__Impl { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group__6__Impl(); @@ -9012,20 +8843,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group__6__Impl" - // InternalProblem.g:2804:1: rule__PredicateDefinition__Group__6__Impl : ( '.' ) ; + // InternalProblem.g:2763:1: rule__PredicateDefinition__Group__6__Impl : ( '.' ) ; public final void rule__PredicateDefinition__Group__6__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2808:1: ( ( '.' ) ) - // InternalProblem.g:2809:1: ( '.' ) + // InternalProblem.g:2767:1: ( ( '.' ) ) + // InternalProblem.g:2768:1: ( '.' ) { - // InternalProblem.g:2809:1: ( '.' ) - // InternalProblem.g:2810:2: '.' + // InternalProblem.g:2768:1: ( '.' ) + // InternalProblem.g:2769:2: '.' { before(grammarAccess.getPredicateDefinitionAccess().getFullStopKeyword_6()); - match(input,12,FOLLOW_2); + match(input,13,FOLLOW_2); after(grammarAccess.getPredicateDefinitionAccess().getFullStopKeyword_6()); } @@ -9049,14 +8880,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_0_0__0" - // InternalProblem.g:2820:1: rule__PredicateDefinition__Group_0_0__0 : rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ; + // InternalProblem.g:2779: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:2824:1: ( rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ) - // InternalProblem.g:2825:2: rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 + // InternalProblem.g:2783:1: ( rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ) + // InternalProblem.g:2784:2: rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 { pushFollow(FOLLOW_25); rule__PredicateDefinition__Group_0_0__0__Impl(); @@ -9087,21 +8918,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_0_0__0__Impl" - // InternalProblem.g:2832:1: rule__PredicateDefinition__Group_0_0__0__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) ) ; + // InternalProblem.g:2791: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:2836:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) ) ) - // InternalProblem.g:2837:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) ) + // InternalProblem.g:2795:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) ) ) + // InternalProblem.g:2796:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) ) { - // InternalProblem.g:2837:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) ) - // InternalProblem.g:2838:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) + // InternalProblem.g:2796:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) ) + // InternalProblem.g:2797:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) { before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_0()); - // InternalProblem.g:2839:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) - // InternalProblem.g:2839:3: rule__PredicateDefinition__ErrorAssignment_0_0_0 + // InternalProblem.g:2798:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) + // InternalProblem.g:2798:3: rule__PredicateDefinition__ErrorAssignment_0_0_0 { pushFollow(FOLLOW_2); rule__PredicateDefinition__ErrorAssignment_0_0_0(); @@ -9134,14 +8965,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_0_0__1" - // InternalProblem.g:2847:1: rule__PredicateDefinition__Group_0_0__1 : rule__PredicateDefinition__Group_0_0__1__Impl ; + // InternalProblem.g:2806: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:2851:1: ( rule__PredicateDefinition__Group_0_0__1__Impl ) - // InternalProblem.g:2852:2: rule__PredicateDefinition__Group_0_0__1__Impl + // InternalProblem.g:2810:1: ( rule__PredicateDefinition__Group_0_0__1__Impl ) + // InternalProblem.g:2811:2: rule__PredicateDefinition__Group_0_0__1__Impl { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group_0_0__1__Impl(); @@ -9167,31 +8998,31 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_0_0__1__Impl" - // InternalProblem.g:2858:1: rule__PredicateDefinition__Group_0_0__1__Impl : ( ( 'pred' )? ) ; + // InternalProblem.g:2817: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:2862:1: ( ( ( 'pred' )? ) ) - // InternalProblem.g:2863:1: ( ( 'pred' )? ) + // InternalProblem.g:2821:1: ( ( ( 'pred' )? ) ) + // InternalProblem.g:2822:1: ( ( 'pred' )? ) { - // InternalProblem.g:2863:1: ( ( 'pred' )? ) - // InternalProblem.g:2864:2: ( 'pred' )? + // InternalProblem.g:2822:1: ( ( 'pred' )? ) + // InternalProblem.g:2823:2: ( 'pred' )? { before(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_0_1()); - // InternalProblem.g:2865:2: ( 'pred' )? - int alt38=2; - int LA38_0 = input.LA(1); + // InternalProblem.g:2824:2: ( 'pred' )? + int alt37=2; + int LA37_0 = input.LA(1); - if ( (LA38_0==16) ) { - alt38=1; + if ( (LA37_0==17) ) { + alt37=1; } - switch (alt38) { + switch (alt37) { case 1 : - // InternalProblem.g:2865:3: 'pred' + // InternalProblem.g:2824:3: 'pred' { - match(input,16,FOLLOW_2); + match(input,17,FOLLOW_2); } break; @@ -9221,14 +9052,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_3__0" - // InternalProblem.g:2874:1: rule__PredicateDefinition__Group_3__0 : rule__PredicateDefinition__Group_3__0__Impl rule__PredicateDefinition__Group_3__1 ; + // InternalProblem.g:2833: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:2878:1: ( rule__PredicateDefinition__Group_3__0__Impl rule__PredicateDefinition__Group_3__1 ) - // InternalProblem.g:2879:2: rule__PredicateDefinition__Group_3__0__Impl rule__PredicateDefinition__Group_3__1 + // InternalProblem.g:2837:1: ( rule__PredicateDefinition__Group_3__0__Impl rule__PredicateDefinition__Group_3__1 ) + // InternalProblem.g:2838:2: rule__PredicateDefinition__Group_3__0__Impl rule__PredicateDefinition__Group_3__1 { pushFollow(FOLLOW_9); rule__PredicateDefinition__Group_3__0__Impl(); @@ -9259,21 +9090,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_3__0__Impl" - // InternalProblem.g:2886:1: rule__PredicateDefinition__Group_3__0__Impl : ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) ) ; + // InternalProblem.g:2845: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:2890:1: ( ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) ) ) - // InternalProblem.g:2891:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) ) + // InternalProblem.g:2849:1: ( ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) ) ) + // InternalProblem.g:2850:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) ) { - // InternalProblem.g:2891:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) ) - // InternalProblem.g:2892:2: ( rule__PredicateDefinition__ParametersAssignment_3_0 ) + // InternalProblem.g:2850:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) ) + // InternalProblem.g:2851:2: ( rule__PredicateDefinition__ParametersAssignment_3_0 ) { before(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_0()); - // InternalProblem.g:2893:2: ( rule__PredicateDefinition__ParametersAssignment_3_0 ) - // InternalProblem.g:2893:3: rule__PredicateDefinition__ParametersAssignment_3_0 + // InternalProblem.g:2852:2: ( rule__PredicateDefinition__ParametersAssignment_3_0 ) + // InternalProblem.g:2852:3: rule__PredicateDefinition__ParametersAssignment_3_0 { pushFollow(FOLLOW_2); rule__PredicateDefinition__ParametersAssignment_3_0(); @@ -9306,14 +9137,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_3__1" - // InternalProblem.g:2901:1: rule__PredicateDefinition__Group_3__1 : rule__PredicateDefinition__Group_3__1__Impl ; + // InternalProblem.g:2860: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:2905:1: ( rule__PredicateDefinition__Group_3__1__Impl ) - // InternalProblem.g:2906:2: rule__PredicateDefinition__Group_3__1__Impl + // InternalProblem.g:2864:1: ( rule__PredicateDefinition__Group_3__1__Impl ) + // InternalProblem.g:2865:2: rule__PredicateDefinition__Group_3__1__Impl { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group_3__1__Impl(); @@ -9339,33 +9170,33 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_3__1__Impl" - // InternalProblem.g:2912:1: rule__PredicateDefinition__Group_3__1__Impl : ( ( rule__PredicateDefinition__Group_3_1__0 )* ) ; + // InternalProblem.g:2871: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:2916:1: ( ( ( rule__PredicateDefinition__Group_3_1__0 )* ) ) - // InternalProblem.g:2917:1: ( ( rule__PredicateDefinition__Group_3_1__0 )* ) + // InternalProblem.g:2875:1: ( ( ( rule__PredicateDefinition__Group_3_1__0 )* ) ) + // InternalProblem.g:2876:1: ( ( rule__PredicateDefinition__Group_3_1__0 )* ) { - // InternalProblem.g:2917:1: ( ( rule__PredicateDefinition__Group_3_1__0 )* ) - // InternalProblem.g:2918:2: ( rule__PredicateDefinition__Group_3_1__0 )* + // InternalProblem.g:2876:1: ( ( rule__PredicateDefinition__Group_3_1__0 )* ) + // InternalProblem.g:2877:2: ( rule__PredicateDefinition__Group_3_1__0 )* { before(grammarAccess.getPredicateDefinitionAccess().getGroup_3_1()); - // InternalProblem.g:2919:2: ( rule__PredicateDefinition__Group_3_1__0 )* - loop39: + // InternalProblem.g:2878:2: ( rule__PredicateDefinition__Group_3_1__0 )* + loop38: do { - int alt39=2; - int LA39_0 = input.LA(1); + int alt38=2; + int LA38_0 = input.LA(1); - if ( (LA39_0==13) ) { - alt39=1; + if ( (LA38_0==14) ) { + alt38=1; } - switch (alt39) { + switch (alt38) { case 1 : - // InternalProblem.g:2919:3: rule__PredicateDefinition__Group_3_1__0 + // InternalProblem.g:2878:3: rule__PredicateDefinition__Group_3_1__0 { pushFollow(FOLLOW_10); rule__PredicateDefinition__Group_3_1__0(); @@ -9377,7 +9208,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop39; + break loop38; } } while (true); @@ -9404,14 +9235,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_3_1__0" - // InternalProblem.g:2928:1: rule__PredicateDefinition__Group_3_1__0 : rule__PredicateDefinition__Group_3_1__0__Impl rule__PredicateDefinition__Group_3_1__1 ; + // InternalProblem.g:2887: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:2932:1: ( rule__PredicateDefinition__Group_3_1__0__Impl rule__PredicateDefinition__Group_3_1__1 ) - // InternalProblem.g:2933:2: rule__PredicateDefinition__Group_3_1__0__Impl rule__PredicateDefinition__Group_3_1__1 + // InternalProblem.g:2891:1: ( rule__PredicateDefinition__Group_3_1__0__Impl rule__PredicateDefinition__Group_3_1__1 ) + // InternalProblem.g:2892:2: rule__PredicateDefinition__Group_3_1__0__Impl rule__PredicateDefinition__Group_3_1__1 { pushFollow(FOLLOW_5); rule__PredicateDefinition__Group_3_1__0__Impl(); @@ -9442,20 +9273,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_3_1__0__Impl" - // InternalProblem.g:2940:1: rule__PredicateDefinition__Group_3_1__0__Impl : ( ',' ) ; + // InternalProblem.g:2899: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:2944:1: ( ( ',' ) ) - // InternalProblem.g:2945:1: ( ',' ) + // InternalProblem.g:2903:1: ( ( ',' ) ) + // InternalProblem.g:2904:1: ( ',' ) { - // InternalProblem.g:2945:1: ( ',' ) - // InternalProblem.g:2946:2: ',' + // InternalProblem.g:2904:1: ( ',' ) + // InternalProblem.g:2905:2: ',' { before(grammarAccess.getPredicateDefinitionAccess().getCommaKeyword_3_1_0()); - match(input,13,FOLLOW_2); + match(input,14,FOLLOW_2); after(grammarAccess.getPredicateDefinitionAccess().getCommaKeyword_3_1_0()); } @@ -9479,14 +9310,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_3_1__1" - // InternalProblem.g:2955:1: rule__PredicateDefinition__Group_3_1__1 : rule__PredicateDefinition__Group_3_1__1__Impl ; + // InternalProblem.g:2914: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:2959:1: ( rule__PredicateDefinition__Group_3_1__1__Impl ) - // InternalProblem.g:2960:2: rule__PredicateDefinition__Group_3_1__1__Impl + // InternalProblem.g:2918:1: ( rule__PredicateDefinition__Group_3_1__1__Impl ) + // InternalProblem.g:2919:2: rule__PredicateDefinition__Group_3_1__1__Impl { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group_3_1__1__Impl(); @@ -9512,21 +9343,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_3_1__1__Impl" - // InternalProblem.g:2966:1: rule__PredicateDefinition__Group_3_1__1__Impl : ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) ) ; + // InternalProblem.g:2925: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:2970:1: ( ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) ) ) - // InternalProblem.g:2971:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) ) + // InternalProblem.g:2929:1: ( ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) ) ) + // InternalProblem.g:2930:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) ) { - // InternalProblem.g:2971:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) ) - // InternalProblem.g:2972:2: ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) + // InternalProblem.g:2930:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) ) + // InternalProblem.g:2931:2: ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) { before(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_1_1()); - // InternalProblem.g:2973:2: ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) - // InternalProblem.g:2973:3: rule__PredicateDefinition__ParametersAssignment_3_1_1 + // InternalProblem.g:2932:2: ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) + // InternalProblem.g:2932:3: rule__PredicateDefinition__ParametersAssignment_3_1_1 { pushFollow(FOLLOW_2); rule__PredicateDefinition__ParametersAssignment_3_1_1(); @@ -9559,14 +9390,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5__0" - // InternalProblem.g:2982:1: rule__PredicateDefinition__Group_5__0 : rule__PredicateDefinition__Group_5__0__Impl rule__PredicateDefinition__Group_5__1 ; + // InternalProblem.g:2941: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:2986:1: ( rule__PredicateDefinition__Group_5__0__Impl rule__PredicateDefinition__Group_5__1 ) - // InternalProblem.g:2987:2: rule__PredicateDefinition__Group_5__0__Impl rule__PredicateDefinition__Group_5__1 + // InternalProblem.g:2945:1: ( rule__PredicateDefinition__Group_5__0__Impl rule__PredicateDefinition__Group_5__1 ) + // InternalProblem.g:2946:2: rule__PredicateDefinition__Group_5__0__Impl rule__PredicateDefinition__Group_5__1 { pushFollow(FOLLOW_26); rule__PredicateDefinition__Group_5__0__Impl(); @@ -9597,20 +9428,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5__0__Impl" - // InternalProblem.g:2994:1: rule__PredicateDefinition__Group_5__0__Impl : ( ':-' ) ; + // InternalProblem.g:2953:1: rule__PredicateDefinition__Group_5__0__Impl : ( ':-' ) ; public final void rule__PredicateDefinition__Group_5__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:2998:1: ( ( ':-' ) ) - // InternalProblem.g:2999:1: ( ':-' ) + // InternalProblem.g:2957:1: ( ( ':-' ) ) + // InternalProblem.g:2958:1: ( ':-' ) { - // InternalProblem.g:2999:1: ( ':-' ) - // InternalProblem.g:3000:2: ':-' + // InternalProblem.g:2958:1: ( ':-' ) + // InternalProblem.g:2959:2: ':-' { before(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_5_0()); - match(input,39,FOLLOW_2); + match(input,36,FOLLOW_2); after(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_5_0()); } @@ -9634,14 +9465,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5__1" - // InternalProblem.g:3009:1: rule__PredicateDefinition__Group_5__1 : rule__PredicateDefinition__Group_5__1__Impl rule__PredicateDefinition__Group_5__2 ; + // InternalProblem.g:2968: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:3013:1: ( rule__PredicateDefinition__Group_5__1__Impl rule__PredicateDefinition__Group_5__2 ) - // InternalProblem.g:3014:2: rule__PredicateDefinition__Group_5__1__Impl rule__PredicateDefinition__Group_5__2 + // InternalProblem.g:2972:1: ( rule__PredicateDefinition__Group_5__1__Impl rule__PredicateDefinition__Group_5__2 ) + // InternalProblem.g:2973:2: rule__PredicateDefinition__Group_5__1__Impl rule__PredicateDefinition__Group_5__2 { pushFollow(FOLLOW_13); rule__PredicateDefinition__Group_5__1__Impl(); @@ -9672,21 +9503,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5__1__Impl" - // InternalProblem.g:3021:1: rule__PredicateDefinition__Group_5__1__Impl : ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) ) ; + // InternalProblem.g:2980: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:3025:1: ( ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) ) ) - // InternalProblem.g:3026:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) ) + // InternalProblem.g:2984:1: ( ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) ) ) + // InternalProblem.g:2985:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) ) { - // InternalProblem.g:3026:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) ) - // InternalProblem.g:3027:2: ( rule__PredicateDefinition__BodiesAssignment_5_1 ) + // InternalProblem.g:2985:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) ) + // InternalProblem.g:2986:2: ( rule__PredicateDefinition__BodiesAssignment_5_1 ) { before(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_1()); - // InternalProblem.g:3028:2: ( rule__PredicateDefinition__BodiesAssignment_5_1 ) - // InternalProblem.g:3028:3: rule__PredicateDefinition__BodiesAssignment_5_1 + // InternalProblem.g:2987:2: ( rule__PredicateDefinition__BodiesAssignment_5_1 ) + // InternalProblem.g:2987:3: rule__PredicateDefinition__BodiesAssignment_5_1 { pushFollow(FOLLOW_2); rule__PredicateDefinition__BodiesAssignment_5_1(); @@ -9719,14 +9550,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5__2" - // InternalProblem.g:3036:1: rule__PredicateDefinition__Group_5__2 : rule__PredicateDefinition__Group_5__2__Impl ; + // InternalProblem.g:2995: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:3040:1: ( rule__PredicateDefinition__Group_5__2__Impl ) - // InternalProblem.g:3041:2: rule__PredicateDefinition__Group_5__2__Impl + // InternalProblem.g:2999:1: ( rule__PredicateDefinition__Group_5__2__Impl ) + // InternalProblem.g:3000:2: rule__PredicateDefinition__Group_5__2__Impl { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group_5__2__Impl(); @@ -9752,33 +9583,33 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5__2__Impl" - // InternalProblem.g:3047:1: rule__PredicateDefinition__Group_5__2__Impl : ( ( rule__PredicateDefinition__Group_5_2__0 )* ) ; + // InternalProblem.g:3006: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:3051:1: ( ( ( rule__PredicateDefinition__Group_5_2__0 )* ) ) - // InternalProblem.g:3052:1: ( ( rule__PredicateDefinition__Group_5_2__0 )* ) + // InternalProblem.g:3010:1: ( ( ( rule__PredicateDefinition__Group_5_2__0 )* ) ) + // InternalProblem.g:3011:1: ( ( rule__PredicateDefinition__Group_5_2__0 )* ) { - // InternalProblem.g:3052:1: ( ( rule__PredicateDefinition__Group_5_2__0 )* ) - // InternalProblem.g:3053:2: ( rule__PredicateDefinition__Group_5_2__0 )* + // InternalProblem.g:3011:1: ( ( rule__PredicateDefinition__Group_5_2__0 )* ) + // InternalProblem.g:3012:2: ( rule__PredicateDefinition__Group_5_2__0 )* { before(grammarAccess.getPredicateDefinitionAccess().getGroup_5_2()); - // InternalProblem.g:3054:2: ( rule__PredicateDefinition__Group_5_2__0 )* - loop40: + // InternalProblem.g:3013:2: ( rule__PredicateDefinition__Group_5_2__0 )* + loop39: do { - int alt40=2; - int LA40_0 = input.LA(1); + int alt39=2; + int LA39_0 = input.LA(1); - if ( (LA40_0==14) ) { - alt40=1; + if ( (LA39_0==15) ) { + alt39=1; } - switch (alt40) { + switch (alt39) { case 1 : - // InternalProblem.g:3054:3: rule__PredicateDefinition__Group_5_2__0 + // InternalProblem.g:3013:3: rule__PredicateDefinition__Group_5_2__0 { pushFollow(FOLLOW_27); rule__PredicateDefinition__Group_5_2__0(); @@ -9790,7 +9621,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop40; + break loop39; } } while (true); @@ -9817,14 +9648,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5_2__0" - // InternalProblem.g:3063:1: rule__PredicateDefinition__Group_5_2__0 : rule__PredicateDefinition__Group_5_2__0__Impl rule__PredicateDefinition__Group_5_2__1 ; + // InternalProblem.g:3022: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:3067:1: ( rule__PredicateDefinition__Group_5_2__0__Impl rule__PredicateDefinition__Group_5_2__1 ) - // InternalProblem.g:3068:2: rule__PredicateDefinition__Group_5_2__0__Impl rule__PredicateDefinition__Group_5_2__1 + // InternalProblem.g:3026:1: ( rule__PredicateDefinition__Group_5_2__0__Impl rule__PredicateDefinition__Group_5_2__1 ) + // InternalProblem.g:3027:2: rule__PredicateDefinition__Group_5_2__0__Impl rule__PredicateDefinition__Group_5_2__1 { pushFollow(FOLLOW_26); rule__PredicateDefinition__Group_5_2__0__Impl(); @@ -9855,20 +9686,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5_2__0__Impl" - // InternalProblem.g:3075:1: rule__PredicateDefinition__Group_5_2__0__Impl : ( ';' ) ; + // InternalProblem.g:3034: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:3079:1: ( ( ';' ) ) - // InternalProblem.g:3080:1: ( ';' ) + // InternalProblem.g:3038:1: ( ( ';' ) ) + // InternalProblem.g:3039:1: ( ';' ) { - // InternalProblem.g:3080:1: ( ';' ) - // InternalProblem.g:3081:2: ';' + // InternalProblem.g:3039:1: ( ';' ) + // InternalProblem.g:3040:2: ';' { before(grammarAccess.getPredicateDefinitionAccess().getSemicolonKeyword_5_2_0()); - match(input,14,FOLLOW_2); + match(input,15,FOLLOW_2); after(grammarAccess.getPredicateDefinitionAccess().getSemicolonKeyword_5_2_0()); } @@ -9892,14 +9723,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5_2__1" - // InternalProblem.g:3090:1: rule__PredicateDefinition__Group_5_2__1 : rule__PredicateDefinition__Group_5_2__1__Impl ; + // InternalProblem.g:3049: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:3094:1: ( rule__PredicateDefinition__Group_5_2__1__Impl ) - // InternalProblem.g:3095:2: rule__PredicateDefinition__Group_5_2__1__Impl + // InternalProblem.g:3053:1: ( rule__PredicateDefinition__Group_5_2__1__Impl ) + // InternalProblem.g:3054:2: rule__PredicateDefinition__Group_5_2__1__Impl { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group_5_2__1__Impl(); @@ -9925,21 +9756,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__Group_5_2__1__Impl" - // InternalProblem.g:3101:1: rule__PredicateDefinition__Group_5_2__1__Impl : ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) ) ; + // InternalProblem.g:3060: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:3105:1: ( ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) ) ) - // InternalProblem.g:3106:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) ) + // InternalProblem.g:3064:1: ( ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) ) ) + // InternalProblem.g:3065:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) ) { - // InternalProblem.g:3106:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) ) - // InternalProblem.g:3107:2: ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) + // InternalProblem.g:3065:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) ) + // InternalProblem.g:3066:2: ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) { before(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_2_1()); - // InternalProblem.g:3108:2: ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) - // InternalProblem.g:3108:3: rule__PredicateDefinition__BodiesAssignment_5_2_1 + // InternalProblem.g:3067:2: ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) + // InternalProblem.g:3067:3: rule__PredicateDefinition__BodiesAssignment_5_2_1 { pushFollow(FOLLOW_2); rule__PredicateDefinition__BodiesAssignment_5_2_1(); @@ -9972,14 +9803,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Parameter__Group__0" - // InternalProblem.g:3117:1: rule__Parameter__Group__0 : rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ; + // InternalProblem.g:3076: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:3121:1: ( rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ) - // InternalProblem.g:3122:2: rule__Parameter__Group__0__Impl rule__Parameter__Group__1 + // InternalProblem.g:3080:1: ( rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ) + // InternalProblem.g:3081:2: rule__Parameter__Group__0__Impl rule__Parameter__Group__1 { pushFollow(FOLLOW_5); rule__Parameter__Group__0__Impl(); @@ -10010,77 +9841,59 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Parameter__Group__0__Impl" - // InternalProblem.g:3129:1: rule__Parameter__Group__0__Impl : ( ( rule__Parameter__ParameterTypeAssignment_0 )? ) ; + // InternalProblem.g:3088: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:3133:1: ( ( ( rule__Parameter__ParameterTypeAssignment_0 )? ) ) - // InternalProblem.g:3134:1: ( ( rule__Parameter__ParameterTypeAssignment_0 )? ) + // InternalProblem.g:3092:1: ( ( ( rule__Parameter__ParameterTypeAssignment_0 )? ) ) + // InternalProblem.g:3093:1: ( ( rule__Parameter__ParameterTypeAssignment_0 )? ) { - // InternalProblem.g:3134:1: ( ( rule__Parameter__ParameterTypeAssignment_0 )? ) - // InternalProblem.g:3135:2: ( rule__Parameter__ParameterTypeAssignment_0 )? + // InternalProblem.g:3093:1: ( ( rule__Parameter__ParameterTypeAssignment_0 )? ) + // InternalProblem.g:3094:2: ( rule__Parameter__ParameterTypeAssignment_0 )? { before(grammarAccess.getParameterAccess().getParameterTypeAssignment_0()); - // InternalProblem.g:3136:2: ( rule__Parameter__ParameterTypeAssignment_0 )? - int alt41=2; + // InternalProblem.g:3095:2: ( rule__Parameter__ParameterTypeAssignment_0 )? + int alt40=2; switch ( input.LA(1) ) { case RULE_QUOTED_ID: { - alt41=1; + alt40=1; } break; case RULE_ID: { - int LA41_2 = input.LA(2); - - if ( (LA41_2==RULE_ID||(LA41_2>=19 && LA41_2<=22)||LA41_2==43) ) { - alt41=1; - } - } - break; - case 19: - { - int LA41_3 = input.LA(2); + int LA40_2 = input.LA(2); - if ( (LA41_3==RULE_ID||(LA41_3>=19 && LA41_3<=22)||LA41_3==43) ) { - alt41=1; + if ( (LA40_2==RULE_ID||(LA40_2>=20 && LA40_2<=21)||LA40_2==40) ) { + alt40=1; } } break; case 20: { - int LA41_4 = input.LA(2); + int LA40_3 = input.LA(2); - if ( (LA41_4==RULE_ID||(LA41_4>=19 && LA41_4<=22)||LA41_4==43) ) { - alt41=1; + if ( (LA40_3==RULE_ID||(LA40_3>=20 && LA40_3<=21)||LA40_3==40) ) { + alt40=1; } } break; case 21: { - int LA41_5 = input.LA(2); - - if ( (LA41_5==RULE_ID||(LA41_5>=19 && LA41_5<=22)||LA41_5==43) ) { - alt41=1; - } - } - break; - case 22: - { - int LA41_6 = input.LA(2); + int LA40_4 = input.LA(2); - if ( (LA41_6==RULE_ID||(LA41_6>=19 && LA41_6<=22)||LA41_6==43) ) { - alt41=1; + if ( (LA40_4==RULE_ID||(LA40_4>=20 && LA40_4<=21)||LA40_4==40) ) { + alt40=1; } } break; } - switch (alt41) { + switch (alt40) { case 1 : - // InternalProblem.g:3136:3: rule__Parameter__ParameterTypeAssignment_0 + // InternalProblem.g:3095:3: rule__Parameter__ParameterTypeAssignment_0 { pushFollow(FOLLOW_2); rule__Parameter__ParameterTypeAssignment_0(); @@ -10116,14 +9929,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Parameter__Group__1" - // InternalProblem.g:3144:1: rule__Parameter__Group__1 : rule__Parameter__Group__1__Impl ; + // InternalProblem.g:3103: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:3148:1: ( rule__Parameter__Group__1__Impl ) - // InternalProblem.g:3149:2: rule__Parameter__Group__1__Impl + // InternalProblem.g:3107:1: ( rule__Parameter__Group__1__Impl ) + // InternalProblem.g:3108:2: rule__Parameter__Group__1__Impl { pushFollow(FOLLOW_2); rule__Parameter__Group__1__Impl(); @@ -10149,21 +9962,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Parameter__Group__1__Impl" - // InternalProblem.g:3155:1: rule__Parameter__Group__1__Impl : ( ( rule__Parameter__NameAssignment_1 ) ) ; + // InternalProblem.g:3114: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:3159:1: ( ( ( rule__Parameter__NameAssignment_1 ) ) ) - // InternalProblem.g:3160:1: ( ( rule__Parameter__NameAssignment_1 ) ) + // InternalProblem.g:3118:1: ( ( ( rule__Parameter__NameAssignment_1 ) ) ) + // InternalProblem.g:3119:1: ( ( rule__Parameter__NameAssignment_1 ) ) { - // InternalProblem.g:3160:1: ( ( rule__Parameter__NameAssignment_1 ) ) - // InternalProblem.g:3161:2: ( rule__Parameter__NameAssignment_1 ) + // InternalProblem.g:3119:1: ( ( rule__Parameter__NameAssignment_1 ) ) + // InternalProblem.g:3120:2: ( rule__Parameter__NameAssignment_1 ) { before(grammarAccess.getParameterAccess().getNameAssignment_1()); - // InternalProblem.g:3162:2: ( rule__Parameter__NameAssignment_1 ) - // InternalProblem.g:3162:3: rule__Parameter__NameAssignment_1 + // InternalProblem.g:3121:2: ( rule__Parameter__NameAssignment_1 ) + // InternalProblem.g:3121:3: rule__Parameter__NameAssignment_1 { pushFollow(FOLLOW_2); rule__Parameter__NameAssignment_1(); @@ -10196,14 +10009,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__Group__0" - // InternalProblem.g:3171:1: rule__Conjunction__Group__0 : rule__Conjunction__Group__0__Impl rule__Conjunction__Group__1 ; + // InternalProblem.g:3130: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:3175:1: ( rule__Conjunction__Group__0__Impl rule__Conjunction__Group__1 ) - // InternalProblem.g:3176:2: rule__Conjunction__Group__0__Impl rule__Conjunction__Group__1 + // InternalProblem.g:3134:1: ( rule__Conjunction__Group__0__Impl rule__Conjunction__Group__1 ) + // InternalProblem.g:3135:2: rule__Conjunction__Group__0__Impl rule__Conjunction__Group__1 { pushFollow(FOLLOW_9); rule__Conjunction__Group__0__Impl(); @@ -10234,21 +10047,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__Group__0__Impl" - // InternalProblem.g:3183:1: rule__Conjunction__Group__0__Impl : ( ( rule__Conjunction__LiteralsAssignment_0 ) ) ; + // InternalProblem.g:3142: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:3187:1: ( ( ( rule__Conjunction__LiteralsAssignment_0 ) ) ) - // InternalProblem.g:3188:1: ( ( rule__Conjunction__LiteralsAssignment_0 ) ) + // InternalProblem.g:3146:1: ( ( ( rule__Conjunction__LiteralsAssignment_0 ) ) ) + // InternalProblem.g:3147:1: ( ( rule__Conjunction__LiteralsAssignment_0 ) ) { - // InternalProblem.g:3188:1: ( ( rule__Conjunction__LiteralsAssignment_0 ) ) - // InternalProblem.g:3189:2: ( rule__Conjunction__LiteralsAssignment_0 ) + // InternalProblem.g:3147:1: ( ( rule__Conjunction__LiteralsAssignment_0 ) ) + // InternalProblem.g:3148:2: ( rule__Conjunction__LiteralsAssignment_0 ) { before(grammarAccess.getConjunctionAccess().getLiteralsAssignment_0()); - // InternalProblem.g:3190:2: ( rule__Conjunction__LiteralsAssignment_0 ) - // InternalProblem.g:3190:3: rule__Conjunction__LiteralsAssignment_0 + // InternalProblem.g:3149:2: ( rule__Conjunction__LiteralsAssignment_0 ) + // InternalProblem.g:3149:3: rule__Conjunction__LiteralsAssignment_0 { pushFollow(FOLLOW_2); rule__Conjunction__LiteralsAssignment_0(); @@ -10281,14 +10094,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__Group__1" - // InternalProblem.g:3198:1: rule__Conjunction__Group__1 : rule__Conjunction__Group__1__Impl ; + // InternalProblem.g:3157: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:3202:1: ( rule__Conjunction__Group__1__Impl ) - // InternalProblem.g:3203:2: rule__Conjunction__Group__1__Impl + // InternalProblem.g:3161:1: ( rule__Conjunction__Group__1__Impl ) + // InternalProblem.g:3162:2: rule__Conjunction__Group__1__Impl { pushFollow(FOLLOW_2); rule__Conjunction__Group__1__Impl(); @@ -10314,33 +10127,33 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__Group__1__Impl" - // InternalProblem.g:3209:1: rule__Conjunction__Group__1__Impl : ( ( rule__Conjunction__Group_1__0 )* ) ; + // InternalProblem.g:3168: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:3213:1: ( ( ( rule__Conjunction__Group_1__0 )* ) ) - // InternalProblem.g:3214:1: ( ( rule__Conjunction__Group_1__0 )* ) + // InternalProblem.g:3172:1: ( ( ( rule__Conjunction__Group_1__0 )* ) ) + // InternalProblem.g:3173:1: ( ( rule__Conjunction__Group_1__0 )* ) { - // InternalProblem.g:3214:1: ( ( rule__Conjunction__Group_1__0 )* ) - // InternalProblem.g:3215:2: ( rule__Conjunction__Group_1__0 )* + // InternalProblem.g:3173:1: ( ( rule__Conjunction__Group_1__0 )* ) + // InternalProblem.g:3174:2: ( rule__Conjunction__Group_1__0 )* { before(grammarAccess.getConjunctionAccess().getGroup_1()); - // InternalProblem.g:3216:2: ( rule__Conjunction__Group_1__0 )* - loop42: + // InternalProblem.g:3175:2: ( rule__Conjunction__Group_1__0 )* + loop41: do { - int alt42=2; - int LA42_0 = input.LA(1); + int alt41=2; + int LA41_0 = input.LA(1); - if ( (LA42_0==13) ) { - alt42=1; + if ( (LA41_0==14) ) { + alt41=1; } - switch (alt42) { + switch (alt41) { case 1 : - // InternalProblem.g:3216:3: rule__Conjunction__Group_1__0 + // InternalProblem.g:3175:3: rule__Conjunction__Group_1__0 { pushFollow(FOLLOW_10); rule__Conjunction__Group_1__0(); @@ -10352,7 +10165,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop42; + break loop41; } } while (true); @@ -10379,14 +10192,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__Group_1__0" - // InternalProblem.g:3225:1: rule__Conjunction__Group_1__0 : rule__Conjunction__Group_1__0__Impl rule__Conjunction__Group_1__1 ; + // InternalProblem.g:3184: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:3229:1: ( rule__Conjunction__Group_1__0__Impl rule__Conjunction__Group_1__1 ) - // InternalProblem.g:3230:2: rule__Conjunction__Group_1__0__Impl rule__Conjunction__Group_1__1 + // InternalProblem.g:3188:1: ( rule__Conjunction__Group_1__0__Impl rule__Conjunction__Group_1__1 ) + // InternalProblem.g:3189:2: rule__Conjunction__Group_1__0__Impl rule__Conjunction__Group_1__1 { pushFollow(FOLLOW_26); rule__Conjunction__Group_1__0__Impl(); @@ -10417,20 +10230,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__Group_1__0__Impl" - // InternalProblem.g:3237:1: rule__Conjunction__Group_1__0__Impl : ( ',' ) ; + // InternalProblem.g:3196:1: rule__Conjunction__Group_1__0__Impl : ( ',' ) ; public final void rule__Conjunction__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3241:1: ( ( ',' ) ) - // InternalProblem.g:3242:1: ( ',' ) + // InternalProblem.g:3200:1: ( ( ',' ) ) + // InternalProblem.g:3201:1: ( ',' ) { - // InternalProblem.g:3242:1: ( ',' ) - // InternalProblem.g:3243:2: ',' + // InternalProblem.g:3201:1: ( ',' ) + // InternalProblem.g:3202:2: ',' { before(grammarAccess.getConjunctionAccess().getCommaKeyword_1_0()); - match(input,13,FOLLOW_2); + match(input,14,FOLLOW_2); after(grammarAccess.getConjunctionAccess().getCommaKeyword_1_0()); } @@ -10454,14 +10267,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__Group_1__1" - // InternalProblem.g:3252:1: rule__Conjunction__Group_1__1 : rule__Conjunction__Group_1__1__Impl ; + // InternalProblem.g:3211: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:3256:1: ( rule__Conjunction__Group_1__1__Impl ) - // InternalProblem.g:3257:2: rule__Conjunction__Group_1__1__Impl + // InternalProblem.g:3215:1: ( rule__Conjunction__Group_1__1__Impl ) + // InternalProblem.g:3216:2: rule__Conjunction__Group_1__1__Impl { pushFollow(FOLLOW_2); rule__Conjunction__Group_1__1__Impl(); @@ -10487,21 +10300,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__Group_1__1__Impl" - // InternalProblem.g:3263:1: rule__Conjunction__Group_1__1__Impl : ( ( rule__Conjunction__LiteralsAssignment_1_1 ) ) ; + // InternalProblem.g:3222: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:3267:1: ( ( ( rule__Conjunction__LiteralsAssignment_1_1 ) ) ) - // InternalProblem.g:3268:1: ( ( rule__Conjunction__LiteralsAssignment_1_1 ) ) + // InternalProblem.g:3226:1: ( ( ( rule__Conjunction__LiteralsAssignment_1_1 ) ) ) + // InternalProblem.g:3227:1: ( ( rule__Conjunction__LiteralsAssignment_1_1 ) ) { - // InternalProblem.g:3268:1: ( ( rule__Conjunction__LiteralsAssignment_1_1 ) ) - // InternalProblem.g:3269:2: ( rule__Conjunction__LiteralsAssignment_1_1 ) + // InternalProblem.g:3227:1: ( ( rule__Conjunction__LiteralsAssignment_1_1 ) ) + // InternalProblem.g:3228:2: ( rule__Conjunction__LiteralsAssignment_1_1 ) { before(grammarAccess.getConjunctionAccess().getLiteralsAssignment_1_1()); - // InternalProblem.g:3270:2: ( rule__Conjunction__LiteralsAssignment_1_1 ) - // InternalProblem.g:3270:3: rule__Conjunction__LiteralsAssignment_1_1 + // InternalProblem.g:3229:2: ( rule__Conjunction__LiteralsAssignment_1_1 ) + // InternalProblem.g:3229:3: rule__Conjunction__LiteralsAssignment_1_1 { pushFollow(FOLLOW_2); rule__Conjunction__LiteralsAssignment_1_1(); @@ -10534,14 +10347,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NegativeLiteral__Group__0" - // InternalProblem.g:3279:1: rule__NegativeLiteral__Group__0 : rule__NegativeLiteral__Group__0__Impl rule__NegativeLiteral__Group__1 ; + // InternalProblem.g:3238: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:3283:1: ( rule__NegativeLiteral__Group__0__Impl rule__NegativeLiteral__Group__1 ) - // InternalProblem.g:3284:2: rule__NegativeLiteral__Group__0__Impl rule__NegativeLiteral__Group__1 + // InternalProblem.g:3242:1: ( rule__NegativeLiteral__Group__0__Impl rule__NegativeLiteral__Group__1 ) + // InternalProblem.g:3243:2: rule__NegativeLiteral__Group__0__Impl rule__NegativeLiteral__Group__1 { pushFollow(FOLLOW_5); rule__NegativeLiteral__Group__0__Impl(); @@ -10572,20 +10385,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NegativeLiteral__Group__0__Impl" - // InternalProblem.g:3291:1: rule__NegativeLiteral__Group__0__Impl : ( '!' ) ; + // InternalProblem.g:3250:1: rule__NegativeLiteral__Group__0__Impl : ( '!' ) ; public final void rule__NegativeLiteral__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3295:1: ( ( '!' ) ) - // InternalProblem.g:3296:1: ( '!' ) + // InternalProblem.g:3254:1: ( ( '!' ) ) + // InternalProblem.g:3255:1: ( '!' ) { - // InternalProblem.g:3296:1: ( '!' ) - // InternalProblem.g:3297:2: '!' + // InternalProblem.g:3255:1: ( '!' ) + // InternalProblem.g:3256:2: '!' { before(grammarAccess.getNegativeLiteralAccess().getExclamationMarkKeyword_0()); - match(input,26,FOLLOW_2); + match(input,23,FOLLOW_2); after(grammarAccess.getNegativeLiteralAccess().getExclamationMarkKeyword_0()); } @@ -10609,14 +10422,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NegativeLiteral__Group__1" - // InternalProblem.g:3306:1: rule__NegativeLiteral__Group__1 : rule__NegativeLiteral__Group__1__Impl ; + // InternalProblem.g:3265: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:3310:1: ( rule__NegativeLiteral__Group__1__Impl ) - // InternalProblem.g:3311:2: rule__NegativeLiteral__Group__1__Impl + // InternalProblem.g:3269:1: ( rule__NegativeLiteral__Group__1__Impl ) + // InternalProblem.g:3270:2: rule__NegativeLiteral__Group__1__Impl { pushFollow(FOLLOW_2); rule__NegativeLiteral__Group__1__Impl(); @@ -10642,21 +10455,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NegativeLiteral__Group__1__Impl" - // InternalProblem.g:3317:1: rule__NegativeLiteral__Group__1__Impl : ( ( rule__NegativeLiteral__AtomAssignment_1 ) ) ; + // InternalProblem.g:3276: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:3321:1: ( ( ( rule__NegativeLiteral__AtomAssignment_1 ) ) ) - // InternalProblem.g:3322:1: ( ( rule__NegativeLiteral__AtomAssignment_1 ) ) + // InternalProblem.g:3280:1: ( ( ( rule__NegativeLiteral__AtomAssignment_1 ) ) ) + // InternalProblem.g:3281:1: ( ( rule__NegativeLiteral__AtomAssignment_1 ) ) { - // InternalProblem.g:3322:1: ( ( rule__NegativeLiteral__AtomAssignment_1 ) ) - // InternalProblem.g:3323:2: ( rule__NegativeLiteral__AtomAssignment_1 ) + // InternalProblem.g:3281:1: ( ( rule__NegativeLiteral__AtomAssignment_1 ) ) + // InternalProblem.g:3282:2: ( rule__NegativeLiteral__AtomAssignment_1 ) { before(grammarAccess.getNegativeLiteralAccess().getAtomAssignment_1()); - // InternalProblem.g:3324:2: ( rule__NegativeLiteral__AtomAssignment_1 ) - // InternalProblem.g:3324:3: rule__NegativeLiteral__AtomAssignment_1 + // InternalProblem.g:3283:2: ( rule__NegativeLiteral__AtomAssignment_1 ) + // InternalProblem.g:3283:3: rule__NegativeLiteral__AtomAssignment_1 { pushFollow(FOLLOW_2); rule__NegativeLiteral__AtomAssignment_1(); @@ -10689,14 +10502,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__0" - // InternalProblem.g:3333:1: rule__Atom__Group__0 : rule__Atom__Group__0__Impl rule__Atom__Group__1 ; + // InternalProblem.g:3292: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:3337:1: ( rule__Atom__Group__0__Impl rule__Atom__Group__1 ) - // InternalProblem.g:3338:2: rule__Atom__Group__0__Impl rule__Atom__Group__1 + // InternalProblem.g:3296:1: ( rule__Atom__Group__0__Impl rule__Atom__Group__1 ) + // InternalProblem.g:3297:2: rule__Atom__Group__0__Impl rule__Atom__Group__1 { pushFollow(FOLLOW_28); rule__Atom__Group__0__Impl(); @@ -10727,21 +10540,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__0__Impl" - // InternalProblem.g:3345:1: rule__Atom__Group__0__Impl : ( ( rule__Atom__RelationAssignment_0 ) ) ; + // InternalProblem.g:3304: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:3349:1: ( ( ( rule__Atom__RelationAssignment_0 ) ) ) - // InternalProblem.g:3350:1: ( ( rule__Atom__RelationAssignment_0 ) ) + // InternalProblem.g:3308:1: ( ( ( rule__Atom__RelationAssignment_0 ) ) ) + // InternalProblem.g:3309:1: ( ( rule__Atom__RelationAssignment_0 ) ) { - // InternalProblem.g:3350:1: ( ( rule__Atom__RelationAssignment_0 ) ) - // InternalProblem.g:3351:2: ( rule__Atom__RelationAssignment_0 ) + // InternalProblem.g:3309:1: ( ( rule__Atom__RelationAssignment_0 ) ) + // InternalProblem.g:3310:2: ( rule__Atom__RelationAssignment_0 ) { before(grammarAccess.getAtomAccess().getRelationAssignment_0()); - // InternalProblem.g:3352:2: ( rule__Atom__RelationAssignment_0 ) - // InternalProblem.g:3352:3: rule__Atom__RelationAssignment_0 + // InternalProblem.g:3311:2: ( rule__Atom__RelationAssignment_0 ) + // InternalProblem.g:3311:3: rule__Atom__RelationAssignment_0 { pushFollow(FOLLOW_2); rule__Atom__RelationAssignment_0(); @@ -10774,14 +10587,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__1" - // InternalProblem.g:3360:1: rule__Atom__Group__1 : rule__Atom__Group__1__Impl rule__Atom__Group__2 ; + // InternalProblem.g:3319: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:3364:1: ( rule__Atom__Group__1__Impl rule__Atom__Group__2 ) - // InternalProblem.g:3365:2: rule__Atom__Group__1__Impl rule__Atom__Group__2 + // InternalProblem.g:3323:1: ( rule__Atom__Group__1__Impl rule__Atom__Group__2 ) + // InternalProblem.g:3324:2: rule__Atom__Group__1__Impl rule__Atom__Group__2 { pushFollow(FOLLOW_28); rule__Atom__Group__1__Impl(); @@ -10812,29 +10625,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__1__Impl" - // InternalProblem.g:3372:1: rule__Atom__Group__1__Impl : ( ( rule__Atom__TransitiveClosureAssignment_1 )? ) ; + // InternalProblem.g:3331: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:3376:1: ( ( ( rule__Atom__TransitiveClosureAssignment_1 )? ) ) - // InternalProblem.g:3377:1: ( ( rule__Atom__TransitiveClosureAssignment_1 )? ) + // InternalProblem.g:3335:1: ( ( ( rule__Atom__TransitiveClosureAssignment_1 )? ) ) + // InternalProblem.g:3336:1: ( ( rule__Atom__TransitiveClosureAssignment_1 )? ) { - // InternalProblem.g:3377:1: ( ( rule__Atom__TransitiveClosureAssignment_1 )? ) - // InternalProblem.g:3378:2: ( rule__Atom__TransitiveClosureAssignment_1 )? + // InternalProblem.g:3336:1: ( ( rule__Atom__TransitiveClosureAssignment_1 )? ) + // InternalProblem.g:3337:2: ( rule__Atom__TransitiveClosureAssignment_1 )? { before(grammarAccess.getAtomAccess().getTransitiveClosureAssignment_1()); - // InternalProblem.g:3379:2: ( rule__Atom__TransitiveClosureAssignment_1 )? - int alt43=2; - int LA43_0 = input.LA(1); + // InternalProblem.g:3338:2: ( rule__Atom__TransitiveClosureAssignment_1 )? + int alt42=2; + int LA42_0 = input.LA(1); - if ( (LA43_0==24) ) { - alt43=1; + if ( (LA42_0==45) ) { + alt42=1; } - switch (alt43) { + switch (alt42) { case 1 : - // InternalProblem.g:3379:3: rule__Atom__TransitiveClosureAssignment_1 + // InternalProblem.g:3338:3: rule__Atom__TransitiveClosureAssignment_1 { pushFollow(FOLLOW_2); rule__Atom__TransitiveClosureAssignment_1(); @@ -10870,14 +10683,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__2" - // InternalProblem.g:3387:1: rule__Atom__Group__2 : rule__Atom__Group__2__Impl rule__Atom__Group__3 ; + // InternalProblem.g:3346: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:3391:1: ( rule__Atom__Group__2__Impl rule__Atom__Group__3 ) - // InternalProblem.g:3392:2: rule__Atom__Group__2__Impl rule__Atom__Group__3 + // InternalProblem.g:3350:1: ( rule__Atom__Group__2__Impl rule__Atom__Group__3 ) + // InternalProblem.g:3351:2: rule__Atom__Group__2__Impl rule__Atom__Group__3 { pushFollow(FOLLOW_29); rule__Atom__Group__2__Impl(); @@ -10908,20 +10721,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__2__Impl" - // InternalProblem.g:3399:1: rule__Atom__Group__2__Impl : ( '(' ) ; + // InternalProblem.g:3358:1: rule__Atom__Group__2__Impl : ( '(' ) ; public final void rule__Atom__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3403:1: ( ( '(' ) ) - // InternalProblem.g:3404:1: ( '(' ) + // InternalProblem.g:3362:1: ( ( '(' ) ) + // InternalProblem.g:3363:1: ( '(' ) { - // InternalProblem.g:3404:1: ( '(' ) - // InternalProblem.g:3405:2: '(' + // InternalProblem.g:3363:1: ( '(' ) + // InternalProblem.g:3364:2: '(' { before(grammarAccess.getAtomAccess().getLeftParenthesisKeyword_2()); - match(input,37,FOLLOW_2); + match(input,34,FOLLOW_2); after(grammarAccess.getAtomAccess().getLeftParenthesisKeyword_2()); } @@ -10945,14 +10758,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__3" - // InternalProblem.g:3414:1: rule__Atom__Group__3 : rule__Atom__Group__3__Impl rule__Atom__Group__4 ; + // InternalProblem.g:3373: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:3418:1: ( rule__Atom__Group__3__Impl rule__Atom__Group__4 ) - // InternalProblem.g:3419:2: rule__Atom__Group__3__Impl rule__Atom__Group__4 + // InternalProblem.g:3377:1: ( rule__Atom__Group__3__Impl rule__Atom__Group__4 ) + // InternalProblem.g:3378:2: rule__Atom__Group__3__Impl rule__Atom__Group__4 { pushFollow(FOLLOW_29); rule__Atom__Group__3__Impl(); @@ -10983,29 +10796,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__3__Impl" - // InternalProblem.g:3426:1: rule__Atom__Group__3__Impl : ( ( rule__Atom__Group_3__0 )? ) ; + // InternalProblem.g:3385: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:3430:1: ( ( ( rule__Atom__Group_3__0 )? ) ) - // InternalProblem.g:3431:1: ( ( rule__Atom__Group_3__0 )? ) + // InternalProblem.g:3389:1: ( ( ( rule__Atom__Group_3__0 )? ) ) + // InternalProblem.g:3390:1: ( ( rule__Atom__Group_3__0 )? ) { - // InternalProblem.g:3431:1: ( ( rule__Atom__Group_3__0 )? ) - // InternalProblem.g:3432:2: ( rule__Atom__Group_3__0 )? + // InternalProblem.g:3390:1: ( ( rule__Atom__Group_3__0 )? ) + // InternalProblem.g:3391:2: ( rule__Atom__Group_3__0 )? { before(grammarAccess.getAtomAccess().getGroup_3()); - // InternalProblem.g:3433:2: ( rule__Atom__Group_3__0 )? - int alt44=2; - int LA44_0 = input.LA(1); + // InternalProblem.g:3392:2: ( rule__Atom__Group_3__0 )? + int alt43=2; + int LA43_0 = input.LA(1); - if ( ((LA44_0>=RULE_INT && LA44_0<=RULE_STRING)||(LA44_0>=19 && LA44_0<=23)) ) { - alt44=1; + if ( ((LA43_0>=RULE_INT && LA43_0<=RULE_STRING)||(LA43_0>=20 && LA43_0<=21)||LA43_0==41) ) { + alt43=1; } - switch (alt44) { + switch (alt43) { case 1 : - // InternalProblem.g:3433:3: rule__Atom__Group_3__0 + // InternalProblem.g:3392:3: rule__Atom__Group_3__0 { pushFollow(FOLLOW_2); rule__Atom__Group_3__0(); @@ -11041,14 +10854,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__4" - // InternalProblem.g:3441:1: rule__Atom__Group__4 : rule__Atom__Group__4__Impl ; + // InternalProblem.g:3400: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:3445:1: ( rule__Atom__Group__4__Impl ) - // InternalProblem.g:3446:2: rule__Atom__Group__4__Impl + // InternalProblem.g:3404:1: ( rule__Atom__Group__4__Impl ) + // InternalProblem.g:3405:2: rule__Atom__Group__4__Impl { pushFollow(FOLLOW_2); rule__Atom__Group__4__Impl(); @@ -11074,20 +10887,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group__4__Impl" - // InternalProblem.g:3452:1: rule__Atom__Group__4__Impl : ( ')' ) ; + // InternalProblem.g:3411:1: rule__Atom__Group__4__Impl : ( ')' ) ; public final void rule__Atom__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3456:1: ( ( ')' ) ) - // InternalProblem.g:3457:1: ( ')' ) + // InternalProblem.g:3415:1: ( ( ')' ) ) + // InternalProblem.g:3416:1: ( ')' ) { - // InternalProblem.g:3457:1: ( ')' ) - // InternalProblem.g:3458:2: ')' + // InternalProblem.g:3416:1: ( ')' ) + // InternalProblem.g:3417:2: ')' { before(grammarAccess.getAtomAccess().getRightParenthesisKeyword_4()); - match(input,38,FOLLOW_2); + match(input,35,FOLLOW_2); after(grammarAccess.getAtomAccess().getRightParenthesisKeyword_4()); } @@ -11111,14 +10924,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group_3__0" - // InternalProblem.g:3468:1: rule__Atom__Group_3__0 : rule__Atom__Group_3__0__Impl rule__Atom__Group_3__1 ; + // InternalProblem.g:3427: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:3472:1: ( rule__Atom__Group_3__0__Impl rule__Atom__Group_3__1 ) - // InternalProblem.g:3473:2: rule__Atom__Group_3__0__Impl rule__Atom__Group_3__1 + // InternalProblem.g:3431:1: ( rule__Atom__Group_3__0__Impl rule__Atom__Group_3__1 ) + // InternalProblem.g:3432:2: rule__Atom__Group_3__0__Impl rule__Atom__Group_3__1 { pushFollow(FOLLOW_9); rule__Atom__Group_3__0__Impl(); @@ -11149,21 +10962,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group_3__0__Impl" - // InternalProblem.g:3480:1: rule__Atom__Group_3__0__Impl : ( ( rule__Atom__ArgumentsAssignment_3_0 ) ) ; + // InternalProblem.g:3439: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:3484:1: ( ( ( rule__Atom__ArgumentsAssignment_3_0 ) ) ) - // InternalProblem.g:3485:1: ( ( rule__Atom__ArgumentsAssignment_3_0 ) ) + // InternalProblem.g:3443:1: ( ( ( rule__Atom__ArgumentsAssignment_3_0 ) ) ) + // InternalProblem.g:3444:1: ( ( rule__Atom__ArgumentsAssignment_3_0 ) ) { - // InternalProblem.g:3485:1: ( ( rule__Atom__ArgumentsAssignment_3_0 ) ) - // InternalProblem.g:3486:2: ( rule__Atom__ArgumentsAssignment_3_0 ) + // InternalProblem.g:3444:1: ( ( rule__Atom__ArgumentsAssignment_3_0 ) ) + // InternalProblem.g:3445:2: ( rule__Atom__ArgumentsAssignment_3_0 ) { before(grammarAccess.getAtomAccess().getArgumentsAssignment_3_0()); - // InternalProblem.g:3487:2: ( rule__Atom__ArgumentsAssignment_3_0 ) - // InternalProblem.g:3487:3: rule__Atom__ArgumentsAssignment_3_0 + // InternalProblem.g:3446:2: ( rule__Atom__ArgumentsAssignment_3_0 ) + // InternalProblem.g:3446:3: rule__Atom__ArgumentsAssignment_3_0 { pushFollow(FOLLOW_2); rule__Atom__ArgumentsAssignment_3_0(); @@ -11196,14 +11009,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group_3__1" - // InternalProblem.g:3495:1: rule__Atom__Group_3__1 : rule__Atom__Group_3__1__Impl ; + // InternalProblem.g:3454: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:3499:1: ( rule__Atom__Group_3__1__Impl ) - // InternalProblem.g:3500:2: rule__Atom__Group_3__1__Impl + // InternalProblem.g:3458:1: ( rule__Atom__Group_3__1__Impl ) + // InternalProblem.g:3459:2: rule__Atom__Group_3__1__Impl { pushFollow(FOLLOW_2); rule__Atom__Group_3__1__Impl(); @@ -11229,33 +11042,33 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group_3__1__Impl" - // InternalProblem.g:3506:1: rule__Atom__Group_3__1__Impl : ( ( rule__Atom__Group_3_1__0 )* ) ; + // InternalProblem.g:3465: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:3510:1: ( ( ( rule__Atom__Group_3_1__0 )* ) ) - // InternalProblem.g:3511:1: ( ( rule__Atom__Group_3_1__0 )* ) + // InternalProblem.g:3469:1: ( ( ( rule__Atom__Group_3_1__0 )* ) ) + // InternalProblem.g:3470:1: ( ( rule__Atom__Group_3_1__0 )* ) { - // InternalProblem.g:3511:1: ( ( rule__Atom__Group_3_1__0 )* ) - // InternalProblem.g:3512:2: ( rule__Atom__Group_3_1__0 )* + // InternalProblem.g:3470:1: ( ( rule__Atom__Group_3_1__0 )* ) + // InternalProblem.g:3471:2: ( rule__Atom__Group_3_1__0 )* { before(grammarAccess.getAtomAccess().getGroup_3_1()); - // InternalProblem.g:3513:2: ( rule__Atom__Group_3_1__0 )* - loop45: + // InternalProblem.g:3472:2: ( rule__Atom__Group_3_1__0 )* + loop44: do { - int alt45=2; - int LA45_0 = input.LA(1); + int alt44=2; + int LA44_0 = input.LA(1); - if ( (LA45_0==13) ) { - alt45=1; + if ( (LA44_0==14) ) { + alt44=1; } - switch (alt45) { + switch (alt44) { case 1 : - // InternalProblem.g:3513:3: rule__Atom__Group_3_1__0 + // InternalProblem.g:3472:3: rule__Atom__Group_3_1__0 { pushFollow(FOLLOW_10); rule__Atom__Group_3_1__0(); @@ -11267,7 +11080,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop45; + break loop44; } } while (true); @@ -11294,14 +11107,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group_3_1__0" - // InternalProblem.g:3522:1: rule__Atom__Group_3_1__0 : rule__Atom__Group_3_1__0__Impl rule__Atom__Group_3_1__1 ; + // InternalProblem.g:3481: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:3526:1: ( rule__Atom__Group_3_1__0__Impl rule__Atom__Group_3_1__1 ) - // InternalProblem.g:3527:2: rule__Atom__Group_3_1__0__Impl rule__Atom__Group_3_1__1 + // InternalProblem.g:3485:1: ( rule__Atom__Group_3_1__0__Impl rule__Atom__Group_3_1__1 ) + // InternalProblem.g:3486:2: rule__Atom__Group_3_1__0__Impl rule__Atom__Group_3_1__1 { pushFollow(FOLLOW_30); rule__Atom__Group_3_1__0__Impl(); @@ -11332,20 +11145,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group_3_1__0__Impl" - // InternalProblem.g:3534:1: rule__Atom__Group_3_1__0__Impl : ( ',' ) ; + // InternalProblem.g:3493: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:3538:1: ( ( ',' ) ) - // InternalProblem.g:3539:1: ( ',' ) + // InternalProblem.g:3497:1: ( ( ',' ) ) + // InternalProblem.g:3498:1: ( ',' ) { - // InternalProblem.g:3539:1: ( ',' ) - // InternalProblem.g:3540:2: ',' + // InternalProblem.g:3498:1: ( ',' ) + // InternalProblem.g:3499:2: ',' { before(grammarAccess.getAtomAccess().getCommaKeyword_3_1_0()); - match(input,13,FOLLOW_2); + match(input,14,FOLLOW_2); after(grammarAccess.getAtomAccess().getCommaKeyword_3_1_0()); } @@ -11369,14 +11182,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group_3_1__1" - // InternalProblem.g:3549:1: rule__Atom__Group_3_1__1 : rule__Atom__Group_3_1__1__Impl ; + // InternalProblem.g:3508: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:3553:1: ( rule__Atom__Group_3_1__1__Impl ) - // InternalProblem.g:3554:2: rule__Atom__Group_3_1__1__Impl + // InternalProblem.g:3512:1: ( rule__Atom__Group_3_1__1__Impl ) + // InternalProblem.g:3513:2: rule__Atom__Group_3_1__1__Impl { pushFollow(FOLLOW_2); rule__Atom__Group_3_1__1__Impl(); @@ -11402,21 +11215,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__Group_3_1__1__Impl" - // InternalProblem.g:3560:1: rule__Atom__Group_3_1__1__Impl : ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) ) ; + // InternalProblem.g:3519: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:3564:1: ( ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) ) ) - // InternalProblem.g:3565:1: ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) ) + // InternalProblem.g:3523:1: ( ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) ) ) + // InternalProblem.g:3524:1: ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) ) { - // InternalProblem.g:3565:1: ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) ) - // InternalProblem.g:3566:2: ( rule__Atom__ArgumentsAssignment_3_1_1 ) + // InternalProblem.g:3524:1: ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) ) + // InternalProblem.g:3525:2: ( rule__Atom__ArgumentsAssignment_3_1_1 ) { before(grammarAccess.getAtomAccess().getArgumentsAssignment_3_1_1()); - // InternalProblem.g:3567:2: ( rule__Atom__ArgumentsAssignment_3_1_1 ) - // InternalProblem.g:3567:3: rule__Atom__ArgumentsAssignment_3_1_1 + // InternalProblem.g:3526:2: ( rule__Atom__ArgumentsAssignment_3_1_1 ) + // InternalProblem.g:3526:3: rule__Atom__ArgumentsAssignment_3_1_1 { pushFollow(FOLLOW_2); rule__Atom__ArgumentsAssignment_3_1_1(); @@ -11449,14 +11262,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group__0" - // InternalProblem.g:3576:1: rule__Assertion__Group__0 : rule__Assertion__Group__0__Impl rule__Assertion__Group__1 ; + // InternalProblem.g:3535: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:3580:1: ( rule__Assertion__Group__0__Impl rule__Assertion__Group__1 ) - // InternalProblem.g:3581:2: rule__Assertion__Group__0__Impl rule__Assertion__Group__1 + // InternalProblem.g:3539:1: ( rule__Assertion__Group__0__Impl rule__Assertion__Group__1 ) + // InternalProblem.g:3540:2: rule__Assertion__Group__0__Impl rule__Assertion__Group__1 { pushFollow(FOLLOW_6); rule__Assertion__Group__0__Impl(); @@ -11487,21 +11300,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group__0__Impl" - // InternalProblem.g:3588:1: rule__Assertion__Group__0__Impl : ( ( rule__Assertion__Alternatives_0 ) ) ; + // InternalProblem.g:3547: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:3592:1: ( ( ( rule__Assertion__Alternatives_0 ) ) ) - // InternalProblem.g:3593:1: ( ( rule__Assertion__Alternatives_0 ) ) + // InternalProblem.g:3551:1: ( ( ( rule__Assertion__Alternatives_0 ) ) ) + // InternalProblem.g:3552:1: ( ( rule__Assertion__Alternatives_0 ) ) { - // InternalProblem.g:3593:1: ( ( rule__Assertion__Alternatives_0 ) ) - // InternalProblem.g:3594:2: ( rule__Assertion__Alternatives_0 ) + // InternalProblem.g:3552:1: ( ( rule__Assertion__Alternatives_0 ) ) + // InternalProblem.g:3553:2: ( rule__Assertion__Alternatives_0 ) { before(grammarAccess.getAssertionAccess().getAlternatives_0()); - // InternalProblem.g:3595:2: ( rule__Assertion__Alternatives_0 ) - // InternalProblem.g:3595:3: rule__Assertion__Alternatives_0 + // InternalProblem.g:3554:2: ( rule__Assertion__Alternatives_0 ) + // InternalProblem.g:3554:3: rule__Assertion__Alternatives_0 { pushFollow(FOLLOW_2); rule__Assertion__Alternatives_0(); @@ -11534,14 +11347,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group__1" - // InternalProblem.g:3603:1: rule__Assertion__Group__1 : rule__Assertion__Group__1__Impl ; + // InternalProblem.g:3562: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:3607:1: ( rule__Assertion__Group__1__Impl ) - // InternalProblem.g:3608:2: rule__Assertion__Group__1__Impl + // InternalProblem.g:3566:1: ( rule__Assertion__Group__1__Impl ) + // InternalProblem.g:3567:2: rule__Assertion__Group__1__Impl { pushFollow(FOLLOW_2); rule__Assertion__Group__1__Impl(); @@ -11567,20 +11380,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group__1__Impl" - // InternalProblem.g:3614:1: rule__Assertion__Group__1__Impl : ( '.' ) ; + // InternalProblem.g:3573:1: rule__Assertion__Group__1__Impl : ( '.' ) ; public final void rule__Assertion__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:3618:1: ( ( '.' ) ) - // InternalProblem.g:3619:1: ( '.' ) + // InternalProblem.g:3577:1: ( ( '.' ) ) + // InternalProblem.g:3578:1: ( '.' ) { - // InternalProblem.g:3619:1: ( '.' ) - // InternalProblem.g:3620:2: '.' + // InternalProblem.g:3578:1: ( '.' ) + // InternalProblem.g:3579:2: '.' { before(grammarAccess.getAssertionAccess().getFullStopKeyword_1()); - match(input,12,FOLLOW_2); + match(input,13,FOLLOW_2); after(grammarAccess.getAssertionAccess().getFullStopKeyword_1()); } @@ -11604,14 +11417,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__0" - // InternalProblem.g:3630:1: rule__Assertion__Group_0_0__0 : rule__Assertion__Group_0_0__0__Impl rule__Assertion__Group_0_0__1 ; + // InternalProblem.g:3589: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:3634:1: ( rule__Assertion__Group_0_0__0__Impl rule__Assertion__Group_0_0__1 ) - // InternalProblem.g:3635:2: rule__Assertion__Group_0_0__0__Impl rule__Assertion__Group_0_0__1 + // InternalProblem.g:3593:1: ( rule__Assertion__Group_0_0__0__Impl rule__Assertion__Group_0_0__1 ) + // InternalProblem.g:3594:2: rule__Assertion__Group_0_0__0__Impl rule__Assertion__Group_0_0__1 { pushFollow(FOLLOW_22); rule__Assertion__Group_0_0__0__Impl(); @@ -11642,21 +11455,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__0__Impl" - // InternalProblem.g:3642:1: rule__Assertion__Group_0_0__0__Impl : ( ( rule__Assertion__RelationAssignment_0_0_0 ) ) ; + // InternalProblem.g:3601: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:3646:1: ( ( ( rule__Assertion__RelationAssignment_0_0_0 ) ) ) - // InternalProblem.g:3647:1: ( ( rule__Assertion__RelationAssignment_0_0_0 ) ) + // InternalProblem.g:3605:1: ( ( ( rule__Assertion__RelationAssignment_0_0_0 ) ) ) + // InternalProblem.g:3606:1: ( ( rule__Assertion__RelationAssignment_0_0_0 ) ) { - // InternalProblem.g:3647:1: ( ( rule__Assertion__RelationAssignment_0_0_0 ) ) - // InternalProblem.g:3648:2: ( rule__Assertion__RelationAssignment_0_0_0 ) + // InternalProblem.g:3606:1: ( ( rule__Assertion__RelationAssignment_0_0_0 ) ) + // InternalProblem.g:3607:2: ( rule__Assertion__RelationAssignment_0_0_0 ) { before(grammarAccess.getAssertionAccess().getRelationAssignment_0_0_0()); - // InternalProblem.g:3649:2: ( rule__Assertion__RelationAssignment_0_0_0 ) - // InternalProblem.g:3649:3: rule__Assertion__RelationAssignment_0_0_0 + // InternalProblem.g:3608:2: ( rule__Assertion__RelationAssignment_0_0_0 ) + // InternalProblem.g:3608:3: rule__Assertion__RelationAssignment_0_0_0 { pushFollow(FOLLOW_2); rule__Assertion__RelationAssignment_0_0_0(); @@ -11689,14 +11502,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__1" - // InternalProblem.g:3657:1: rule__Assertion__Group_0_0__1 : rule__Assertion__Group_0_0__1__Impl rule__Assertion__Group_0_0__2 ; + // InternalProblem.g:3616: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:3661:1: ( rule__Assertion__Group_0_0__1__Impl rule__Assertion__Group_0_0__2 ) - // InternalProblem.g:3662:2: rule__Assertion__Group_0_0__1__Impl rule__Assertion__Group_0_0__2 + // InternalProblem.g:3620:1: ( rule__Assertion__Group_0_0__1__Impl rule__Assertion__Group_0_0__2 ) + // InternalProblem.g:3621:2: rule__Assertion__Group_0_0__1__Impl rule__Assertion__Group_0_0__2 { pushFollow(FOLLOW_29); rule__Assertion__Group_0_0__1__Impl(); @@ -11727,20 +11540,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__1__Impl" - // InternalProblem.g:3669:1: rule__Assertion__Group_0_0__1__Impl : ( '(' ) ; + // InternalProblem.g:3628: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:3673:1: ( ( '(' ) ) - // InternalProblem.g:3674:1: ( '(' ) + // InternalProblem.g:3632:1: ( ( '(' ) ) + // InternalProblem.g:3633:1: ( '(' ) { - // InternalProblem.g:3674:1: ( '(' ) - // InternalProblem.g:3675:2: '(' + // InternalProblem.g:3633:1: ( '(' ) + // InternalProblem.g:3634:2: '(' { before(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_0_1()); - match(input,37,FOLLOW_2); + match(input,34,FOLLOW_2); after(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_0_1()); } @@ -11764,14 +11577,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__2" - // InternalProblem.g:3684:1: rule__Assertion__Group_0_0__2 : rule__Assertion__Group_0_0__2__Impl rule__Assertion__Group_0_0__3 ; + // InternalProblem.g:3643: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:3688:1: ( rule__Assertion__Group_0_0__2__Impl rule__Assertion__Group_0_0__3 ) - // InternalProblem.g:3689:2: rule__Assertion__Group_0_0__2__Impl rule__Assertion__Group_0_0__3 + // InternalProblem.g:3647:1: ( rule__Assertion__Group_0_0__2__Impl rule__Assertion__Group_0_0__3 ) + // InternalProblem.g:3648:2: rule__Assertion__Group_0_0__2__Impl rule__Assertion__Group_0_0__3 { pushFollow(FOLLOW_29); rule__Assertion__Group_0_0__2__Impl(); @@ -11802,29 +11615,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__2__Impl" - // InternalProblem.g:3696:1: rule__Assertion__Group_0_0__2__Impl : ( ( rule__Assertion__Group_0_0_2__0 )? ) ; + // InternalProblem.g:3655: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:3700:1: ( ( ( rule__Assertion__Group_0_0_2__0 )? ) ) - // InternalProblem.g:3701:1: ( ( rule__Assertion__Group_0_0_2__0 )? ) + // InternalProblem.g:3659:1: ( ( ( rule__Assertion__Group_0_0_2__0 )? ) ) + // InternalProblem.g:3660:1: ( ( rule__Assertion__Group_0_0_2__0 )? ) { - // InternalProblem.g:3701:1: ( ( rule__Assertion__Group_0_0_2__0 )? ) - // InternalProblem.g:3702:2: ( rule__Assertion__Group_0_0_2__0 )? + // InternalProblem.g:3660:1: ( ( rule__Assertion__Group_0_0_2__0 )? ) + // InternalProblem.g:3661:2: ( rule__Assertion__Group_0_0_2__0 )? { before(grammarAccess.getAssertionAccess().getGroup_0_0_2()); - // InternalProblem.g:3703:2: ( rule__Assertion__Group_0_0_2__0 )? - int alt46=2; - int LA46_0 = input.LA(1); + // InternalProblem.g:3662:2: ( rule__Assertion__Group_0_0_2__0 )? + int alt45=2; + int LA45_0 = input.LA(1); - if ( ((LA46_0>=RULE_INT && LA46_0<=RULE_STRING)||(LA46_0>=19 && LA46_0<=23)) ) { - alt46=1; + if ( ((LA45_0>=RULE_INT && LA45_0<=RULE_STRING)||(LA45_0>=20 && LA45_0<=21)||LA45_0==41) ) { + alt45=1; } - switch (alt46) { + switch (alt45) { case 1 : - // InternalProblem.g:3703:3: rule__Assertion__Group_0_0_2__0 + // InternalProblem.g:3662:3: rule__Assertion__Group_0_0_2__0 { pushFollow(FOLLOW_2); rule__Assertion__Group_0_0_2__0(); @@ -11860,14 +11673,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__3" - // InternalProblem.g:3711:1: rule__Assertion__Group_0_0__3 : rule__Assertion__Group_0_0__3__Impl rule__Assertion__Group_0_0__4 ; + // InternalProblem.g:3670: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:3715:1: ( rule__Assertion__Group_0_0__3__Impl rule__Assertion__Group_0_0__4 ) - // InternalProblem.g:3716:2: rule__Assertion__Group_0_0__3__Impl rule__Assertion__Group_0_0__4 + // InternalProblem.g:3674:1: ( rule__Assertion__Group_0_0__3__Impl rule__Assertion__Group_0_0__4 ) + // InternalProblem.g:3675:2: rule__Assertion__Group_0_0__3__Impl rule__Assertion__Group_0_0__4 { pushFollow(FOLLOW_31); rule__Assertion__Group_0_0__3__Impl(); @@ -11898,20 +11711,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__3__Impl" - // InternalProblem.g:3723:1: rule__Assertion__Group_0_0__3__Impl : ( ')' ) ; + // InternalProblem.g:3682: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:3727:1: ( ( ')' ) ) - // InternalProblem.g:3728:1: ( ')' ) + // InternalProblem.g:3686:1: ( ( ')' ) ) + // InternalProblem.g:3687:1: ( ')' ) { - // InternalProblem.g:3728:1: ( ')' ) - // InternalProblem.g:3729:2: ')' + // InternalProblem.g:3687:1: ( ')' ) + // InternalProblem.g:3688:2: ')' { before(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_0_3()); - match(input,38,FOLLOW_2); + match(input,35,FOLLOW_2); after(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_0_3()); } @@ -11935,14 +11748,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__4" - // InternalProblem.g:3738:1: rule__Assertion__Group_0_0__4 : rule__Assertion__Group_0_0__4__Impl rule__Assertion__Group_0_0__5 ; + // InternalProblem.g:3697: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:3742:1: ( rule__Assertion__Group_0_0__4__Impl rule__Assertion__Group_0_0__5 ) - // InternalProblem.g:3743:2: rule__Assertion__Group_0_0__4__Impl rule__Assertion__Group_0_0__5 + // InternalProblem.g:3701:1: ( rule__Assertion__Group_0_0__4__Impl rule__Assertion__Group_0_0__5 ) + // InternalProblem.g:3702:2: rule__Assertion__Group_0_0__4__Impl rule__Assertion__Group_0_0__5 { pushFollow(FOLLOW_32); rule__Assertion__Group_0_0__4__Impl(); @@ -11973,20 +11786,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__4__Impl" - // InternalProblem.g:3750:1: rule__Assertion__Group_0_0__4__Impl : ( ':' ) ; + // InternalProblem.g:3709: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:3754:1: ( ( ':' ) ) - // InternalProblem.g:3755:1: ( ':' ) + // InternalProblem.g:3713:1: ( ( ':' ) ) + // InternalProblem.g:3714:1: ( ':' ) { - // InternalProblem.g:3755:1: ( ':' ) - // InternalProblem.g:3756:2: ':' + // InternalProblem.g:3714:1: ( ':' ) + // InternalProblem.g:3715:2: ':' { before(grammarAccess.getAssertionAccess().getColonKeyword_0_0_4()); - match(input,40,FOLLOW_2); + match(input,37,FOLLOW_2); after(grammarAccess.getAssertionAccess().getColonKeyword_0_0_4()); } @@ -12010,14 +11823,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__5" - // InternalProblem.g:3765:1: rule__Assertion__Group_0_0__5 : rule__Assertion__Group_0_0__5__Impl ; + // InternalProblem.g:3724: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:3769:1: ( rule__Assertion__Group_0_0__5__Impl ) - // InternalProblem.g:3770:2: rule__Assertion__Group_0_0__5__Impl + // InternalProblem.g:3728:1: ( rule__Assertion__Group_0_0__5__Impl ) + // InternalProblem.g:3729:2: rule__Assertion__Group_0_0__5__Impl { pushFollow(FOLLOW_2); rule__Assertion__Group_0_0__5__Impl(); @@ -12043,21 +11856,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0__5__Impl" - // InternalProblem.g:3776:1: rule__Assertion__Group_0_0__5__Impl : ( ( rule__Assertion__ValueAssignment_0_0_5 ) ) ; + // InternalProblem.g:3735: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:3780:1: ( ( ( rule__Assertion__ValueAssignment_0_0_5 ) ) ) - // InternalProblem.g:3781:1: ( ( rule__Assertion__ValueAssignment_0_0_5 ) ) + // InternalProblem.g:3739:1: ( ( ( rule__Assertion__ValueAssignment_0_0_5 ) ) ) + // InternalProblem.g:3740:1: ( ( rule__Assertion__ValueAssignment_0_0_5 ) ) { - // InternalProblem.g:3781:1: ( ( rule__Assertion__ValueAssignment_0_0_5 ) ) - // InternalProblem.g:3782:2: ( rule__Assertion__ValueAssignment_0_0_5 ) + // InternalProblem.g:3740:1: ( ( rule__Assertion__ValueAssignment_0_0_5 ) ) + // InternalProblem.g:3741:2: ( rule__Assertion__ValueAssignment_0_0_5 ) { before(grammarAccess.getAssertionAccess().getValueAssignment_0_0_5()); - // InternalProblem.g:3783:2: ( rule__Assertion__ValueAssignment_0_0_5 ) - // InternalProblem.g:3783:3: rule__Assertion__ValueAssignment_0_0_5 + // InternalProblem.g:3742:2: ( rule__Assertion__ValueAssignment_0_0_5 ) + // InternalProblem.g:3742:3: rule__Assertion__ValueAssignment_0_0_5 { pushFollow(FOLLOW_2); rule__Assertion__ValueAssignment_0_0_5(); @@ -12090,14 +11903,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0_2__0" - // InternalProblem.g:3792: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:3751: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:3796:1: ( rule__Assertion__Group_0_0_2__0__Impl rule__Assertion__Group_0_0_2__1 ) - // InternalProblem.g:3797:2: rule__Assertion__Group_0_0_2__0__Impl rule__Assertion__Group_0_0_2__1 + // InternalProblem.g:3755:1: ( rule__Assertion__Group_0_0_2__0__Impl rule__Assertion__Group_0_0_2__1 ) + // InternalProblem.g:3756:2: rule__Assertion__Group_0_0_2__0__Impl rule__Assertion__Group_0_0_2__1 { pushFollow(FOLLOW_9); rule__Assertion__Group_0_0_2__0__Impl(); @@ -12128,21 +11941,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0_2__0__Impl" - // InternalProblem.g:3804:1: rule__Assertion__Group_0_0_2__0__Impl : ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) ) ; + // InternalProblem.g:3763: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:3808:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) ) ) - // InternalProblem.g:3809:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) ) + // InternalProblem.g:3767:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) ) ) + // InternalProblem.g:3768:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) ) { - // InternalProblem.g:3809:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) ) - // InternalProblem.g:3810:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) + // InternalProblem.g:3768:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) ) + // InternalProblem.g:3769:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) { before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_0()); - // InternalProblem.g:3811:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) - // InternalProblem.g:3811:3: rule__Assertion__ArgumentsAssignment_0_0_2_0 + // InternalProblem.g:3770:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) + // InternalProblem.g:3770:3: rule__Assertion__ArgumentsAssignment_0_0_2_0 { pushFollow(FOLLOW_2); rule__Assertion__ArgumentsAssignment_0_0_2_0(); @@ -12175,14 +11988,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0_2__1" - // InternalProblem.g:3819:1: rule__Assertion__Group_0_0_2__1 : rule__Assertion__Group_0_0_2__1__Impl ; + // InternalProblem.g:3778: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:3823:1: ( rule__Assertion__Group_0_0_2__1__Impl ) - // InternalProblem.g:3824:2: rule__Assertion__Group_0_0_2__1__Impl + // InternalProblem.g:3782:1: ( rule__Assertion__Group_0_0_2__1__Impl ) + // InternalProblem.g:3783:2: rule__Assertion__Group_0_0_2__1__Impl { pushFollow(FOLLOW_2); rule__Assertion__Group_0_0_2__1__Impl(); @@ -12208,33 +12021,33 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0_2__1__Impl" - // InternalProblem.g:3830:1: rule__Assertion__Group_0_0_2__1__Impl : ( ( rule__Assertion__Group_0_0_2_1__0 )* ) ; + // InternalProblem.g:3789: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:3834:1: ( ( ( rule__Assertion__Group_0_0_2_1__0 )* ) ) - // InternalProblem.g:3835:1: ( ( rule__Assertion__Group_0_0_2_1__0 )* ) + // InternalProblem.g:3793:1: ( ( ( rule__Assertion__Group_0_0_2_1__0 )* ) ) + // InternalProblem.g:3794:1: ( ( rule__Assertion__Group_0_0_2_1__0 )* ) { - // InternalProblem.g:3835:1: ( ( rule__Assertion__Group_0_0_2_1__0 )* ) - // InternalProblem.g:3836:2: ( rule__Assertion__Group_0_0_2_1__0 )* + // InternalProblem.g:3794:1: ( ( rule__Assertion__Group_0_0_2_1__0 )* ) + // InternalProblem.g:3795:2: ( rule__Assertion__Group_0_0_2_1__0 )* { before(grammarAccess.getAssertionAccess().getGroup_0_0_2_1()); - // InternalProblem.g:3837:2: ( rule__Assertion__Group_0_0_2_1__0 )* - loop47: + // InternalProblem.g:3796:2: ( rule__Assertion__Group_0_0_2_1__0 )* + loop46: do { - int alt47=2; - int LA47_0 = input.LA(1); + int alt46=2; + int LA46_0 = input.LA(1); - if ( (LA47_0==13) ) { - alt47=1; + if ( (LA46_0==14) ) { + alt46=1; } - switch (alt47) { + switch (alt46) { case 1 : - // InternalProblem.g:3837:3: rule__Assertion__Group_0_0_2_1__0 + // InternalProblem.g:3796:3: rule__Assertion__Group_0_0_2_1__0 { pushFollow(FOLLOW_10); rule__Assertion__Group_0_0_2_1__0(); @@ -12246,7 +12059,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop47; + break loop46; } } while (true); @@ -12273,14 +12086,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0_2_1__0" - // InternalProblem.g:3846: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:3805: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:3850:1: ( rule__Assertion__Group_0_0_2_1__0__Impl rule__Assertion__Group_0_0_2_1__1 ) - // InternalProblem.g:3851:2: rule__Assertion__Group_0_0_2_1__0__Impl rule__Assertion__Group_0_0_2_1__1 + // InternalProblem.g:3809:1: ( rule__Assertion__Group_0_0_2_1__0__Impl rule__Assertion__Group_0_0_2_1__1 ) + // InternalProblem.g:3810:2: rule__Assertion__Group_0_0_2_1__0__Impl rule__Assertion__Group_0_0_2_1__1 { pushFollow(FOLLOW_30); rule__Assertion__Group_0_0_2_1__0__Impl(); @@ -12311,20 +12124,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0_2_1__0__Impl" - // InternalProblem.g:3858:1: rule__Assertion__Group_0_0_2_1__0__Impl : ( ',' ) ; + // InternalProblem.g:3817: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:3862:1: ( ( ',' ) ) - // InternalProblem.g:3863:1: ( ',' ) + // InternalProblem.g:3821:1: ( ( ',' ) ) + // InternalProblem.g:3822:1: ( ',' ) { - // InternalProblem.g:3863:1: ( ',' ) - // InternalProblem.g:3864:2: ',' + // InternalProblem.g:3822:1: ( ',' ) + // InternalProblem.g:3823:2: ',' { before(grammarAccess.getAssertionAccess().getCommaKeyword_0_0_2_1_0()); - match(input,13,FOLLOW_2); + match(input,14,FOLLOW_2); after(grammarAccess.getAssertionAccess().getCommaKeyword_0_0_2_1_0()); } @@ -12348,14 +12161,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0_2_1__1" - // InternalProblem.g:3873:1: rule__Assertion__Group_0_0_2_1__1 : rule__Assertion__Group_0_0_2_1__1__Impl ; + // InternalProblem.g:3832: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:3877:1: ( rule__Assertion__Group_0_0_2_1__1__Impl ) - // InternalProblem.g:3878:2: rule__Assertion__Group_0_0_2_1__1__Impl + // InternalProblem.g:3836:1: ( rule__Assertion__Group_0_0_2_1__1__Impl ) + // InternalProblem.g:3837:2: rule__Assertion__Group_0_0_2_1__1__Impl { pushFollow(FOLLOW_2); rule__Assertion__Group_0_0_2_1__1__Impl(); @@ -12381,21 +12194,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_0_2_1__1__Impl" - // InternalProblem.g:3884:1: rule__Assertion__Group_0_0_2_1__1__Impl : ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) ) ; + // InternalProblem.g:3843: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:3888:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) ) ) - // InternalProblem.g:3889:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) ) + // InternalProblem.g:3847:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) ) ) + // InternalProblem.g:3848:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) ) { - // InternalProblem.g:3889:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) ) - // InternalProblem.g:3890:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) + // InternalProblem.g:3848:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) ) + // InternalProblem.g:3849:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) { before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_1_1()); - // InternalProblem.g:3891:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) - // InternalProblem.g:3891:3: rule__Assertion__ArgumentsAssignment_0_0_2_1_1 + // InternalProblem.g:3850:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) + // InternalProblem.g:3850:3: rule__Assertion__ArgumentsAssignment_0_0_2_1_1 { pushFollow(FOLLOW_2); rule__Assertion__ArgumentsAssignment_0_0_2_1_1(); @@ -12428,14 +12241,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__0" - // InternalProblem.g:3900:1: rule__Assertion__Group_0_1__0 : rule__Assertion__Group_0_1__0__Impl rule__Assertion__Group_0_1__1 ; + // InternalProblem.g:3859: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:3904:1: ( rule__Assertion__Group_0_1__0__Impl rule__Assertion__Group_0_1__1 ) - // InternalProblem.g:3905:2: rule__Assertion__Group_0_1__0__Impl rule__Assertion__Group_0_1__1 + // InternalProblem.g:3863:1: ( rule__Assertion__Group_0_1__0__Impl rule__Assertion__Group_0_1__1 ) + // InternalProblem.g:3864:2: rule__Assertion__Group_0_1__0__Impl rule__Assertion__Group_0_1__1 { pushFollow(FOLLOW_33); rule__Assertion__Group_0_1__0__Impl(); @@ -12466,29 +12279,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__0__Impl" - // InternalProblem.g:3912:1: rule__Assertion__Group_0_1__0__Impl : ( ( rule__Assertion__ValueAssignment_0_1_0 )? ) ; + // InternalProblem.g:3871: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:3916:1: ( ( ( rule__Assertion__ValueAssignment_0_1_0 )? ) ) - // InternalProblem.g:3917:1: ( ( rule__Assertion__ValueAssignment_0_1_0 )? ) + // InternalProblem.g:3875:1: ( ( ( rule__Assertion__ValueAssignment_0_1_0 )? ) ) + // InternalProblem.g:3876:1: ( ( rule__Assertion__ValueAssignment_0_1_0 )? ) { - // InternalProblem.g:3917:1: ( ( rule__Assertion__ValueAssignment_0_1_0 )? ) - // InternalProblem.g:3918:2: ( rule__Assertion__ValueAssignment_0_1_0 )? + // InternalProblem.g:3876:1: ( ( rule__Assertion__ValueAssignment_0_1_0 )? ) + // InternalProblem.g:3877:2: ( rule__Assertion__ValueAssignment_0_1_0 )? { before(grammarAccess.getAssertionAccess().getValueAssignment_0_1_0()); - // InternalProblem.g:3919:2: ( rule__Assertion__ValueAssignment_0_1_0 )? - int alt48=2; - int LA48_0 = input.LA(1); + // InternalProblem.g:3878:2: ( rule__Assertion__ValueAssignment_0_1_0 )? + int alt47=2; + int LA47_0 = input.LA(1); - if ( ((LA48_0>=26 && LA48_0<=27)) ) { - alt48=1; + if ( ((LA47_0>=23 && LA47_0<=24)) ) { + alt47=1; } - switch (alt48) { + switch (alt47) { case 1 : - // InternalProblem.g:3919:3: rule__Assertion__ValueAssignment_0_1_0 + // InternalProblem.g:3878:3: rule__Assertion__ValueAssignment_0_1_0 { pushFollow(FOLLOW_2); rule__Assertion__ValueAssignment_0_1_0(); @@ -12524,14 +12337,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__1" - // InternalProblem.g:3927:1: rule__Assertion__Group_0_1__1 : rule__Assertion__Group_0_1__1__Impl rule__Assertion__Group_0_1__2 ; + // InternalProblem.g:3886: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:3931:1: ( rule__Assertion__Group_0_1__1__Impl rule__Assertion__Group_0_1__2 ) - // InternalProblem.g:3932:2: rule__Assertion__Group_0_1__1__Impl rule__Assertion__Group_0_1__2 + // InternalProblem.g:3890:1: ( rule__Assertion__Group_0_1__1__Impl rule__Assertion__Group_0_1__2 ) + // InternalProblem.g:3891:2: rule__Assertion__Group_0_1__1__Impl rule__Assertion__Group_0_1__2 { pushFollow(FOLLOW_22); rule__Assertion__Group_0_1__1__Impl(); @@ -12562,21 +12375,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__1__Impl" - // InternalProblem.g:3939:1: rule__Assertion__Group_0_1__1__Impl : ( ( rule__Assertion__RelationAssignment_0_1_1 ) ) ; + // InternalProblem.g:3898: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:3943:1: ( ( ( rule__Assertion__RelationAssignment_0_1_1 ) ) ) - // InternalProblem.g:3944:1: ( ( rule__Assertion__RelationAssignment_0_1_1 ) ) + // InternalProblem.g:3902:1: ( ( ( rule__Assertion__RelationAssignment_0_1_1 ) ) ) + // InternalProblem.g:3903:1: ( ( rule__Assertion__RelationAssignment_0_1_1 ) ) { - // InternalProblem.g:3944:1: ( ( rule__Assertion__RelationAssignment_0_1_1 ) ) - // InternalProblem.g:3945:2: ( rule__Assertion__RelationAssignment_0_1_1 ) + // InternalProblem.g:3903:1: ( ( rule__Assertion__RelationAssignment_0_1_1 ) ) + // InternalProblem.g:3904:2: ( rule__Assertion__RelationAssignment_0_1_1 ) { before(grammarAccess.getAssertionAccess().getRelationAssignment_0_1_1()); - // InternalProblem.g:3946:2: ( rule__Assertion__RelationAssignment_0_1_1 ) - // InternalProblem.g:3946:3: rule__Assertion__RelationAssignment_0_1_1 + // InternalProblem.g:3905:2: ( rule__Assertion__RelationAssignment_0_1_1 ) + // InternalProblem.g:3905:3: rule__Assertion__RelationAssignment_0_1_1 { pushFollow(FOLLOW_2); rule__Assertion__RelationAssignment_0_1_1(); @@ -12609,14 +12422,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__2" - // InternalProblem.g:3954:1: rule__Assertion__Group_0_1__2 : rule__Assertion__Group_0_1__2__Impl rule__Assertion__Group_0_1__3 ; + // InternalProblem.g:3913: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:3958:1: ( rule__Assertion__Group_0_1__2__Impl rule__Assertion__Group_0_1__3 ) - // InternalProblem.g:3959:2: rule__Assertion__Group_0_1__2__Impl rule__Assertion__Group_0_1__3 + // InternalProblem.g:3917:1: ( rule__Assertion__Group_0_1__2__Impl rule__Assertion__Group_0_1__3 ) + // InternalProblem.g:3918:2: rule__Assertion__Group_0_1__2__Impl rule__Assertion__Group_0_1__3 { pushFollow(FOLLOW_29); rule__Assertion__Group_0_1__2__Impl(); @@ -12647,20 +12460,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__2__Impl" - // InternalProblem.g:3966:1: rule__Assertion__Group_0_1__2__Impl : ( '(' ) ; + // InternalProblem.g:3925: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:3970:1: ( ( '(' ) ) - // InternalProblem.g:3971:1: ( '(' ) + // InternalProblem.g:3929:1: ( ( '(' ) ) + // InternalProblem.g:3930:1: ( '(' ) { - // InternalProblem.g:3971:1: ( '(' ) - // InternalProblem.g:3972:2: '(' + // InternalProblem.g:3930:1: ( '(' ) + // InternalProblem.g:3931:2: '(' { before(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_1_2()); - match(input,37,FOLLOW_2); + match(input,34,FOLLOW_2); after(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_1_2()); } @@ -12684,14 +12497,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__3" - // InternalProblem.g:3981:1: rule__Assertion__Group_0_1__3 : rule__Assertion__Group_0_1__3__Impl rule__Assertion__Group_0_1__4 ; + // InternalProblem.g:3940: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:3985:1: ( rule__Assertion__Group_0_1__3__Impl rule__Assertion__Group_0_1__4 ) - // InternalProblem.g:3986:2: rule__Assertion__Group_0_1__3__Impl rule__Assertion__Group_0_1__4 + // InternalProblem.g:3944:1: ( rule__Assertion__Group_0_1__3__Impl rule__Assertion__Group_0_1__4 ) + // InternalProblem.g:3945:2: rule__Assertion__Group_0_1__3__Impl rule__Assertion__Group_0_1__4 { pushFollow(FOLLOW_29); rule__Assertion__Group_0_1__3__Impl(); @@ -12722,29 +12535,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__3__Impl" - // InternalProblem.g:3993:1: rule__Assertion__Group_0_1__3__Impl : ( ( rule__Assertion__Group_0_1_3__0 )? ) ; + // InternalProblem.g:3952: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:3997:1: ( ( ( rule__Assertion__Group_0_1_3__0 )? ) ) - // InternalProblem.g:3998:1: ( ( rule__Assertion__Group_0_1_3__0 )? ) + // InternalProblem.g:3956:1: ( ( ( rule__Assertion__Group_0_1_3__0 )? ) ) + // InternalProblem.g:3957:1: ( ( rule__Assertion__Group_0_1_3__0 )? ) { - // InternalProblem.g:3998:1: ( ( rule__Assertion__Group_0_1_3__0 )? ) - // InternalProblem.g:3999:2: ( rule__Assertion__Group_0_1_3__0 )? + // InternalProblem.g:3957:1: ( ( rule__Assertion__Group_0_1_3__0 )? ) + // InternalProblem.g:3958:2: ( rule__Assertion__Group_0_1_3__0 )? { before(grammarAccess.getAssertionAccess().getGroup_0_1_3()); - // InternalProblem.g:4000:2: ( rule__Assertion__Group_0_1_3__0 )? - int alt49=2; - int LA49_0 = input.LA(1); + // InternalProblem.g:3959:2: ( rule__Assertion__Group_0_1_3__0 )? + int alt48=2; + int LA48_0 = input.LA(1); - if ( ((LA49_0>=RULE_INT && LA49_0<=RULE_STRING)||(LA49_0>=19 && LA49_0<=23)) ) { - alt49=1; + if ( ((LA48_0>=RULE_INT && LA48_0<=RULE_STRING)||(LA48_0>=20 && LA48_0<=21)||LA48_0==41) ) { + alt48=1; } - switch (alt49) { + switch (alt48) { case 1 : - // InternalProblem.g:4000:3: rule__Assertion__Group_0_1_3__0 + // InternalProblem.g:3959:3: rule__Assertion__Group_0_1_3__0 { pushFollow(FOLLOW_2); rule__Assertion__Group_0_1_3__0(); @@ -12780,14 +12593,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__4" - // InternalProblem.g:4008:1: rule__Assertion__Group_0_1__4 : rule__Assertion__Group_0_1__4__Impl ; + // InternalProblem.g:3967: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:4012:1: ( rule__Assertion__Group_0_1__4__Impl ) - // InternalProblem.g:4013:2: rule__Assertion__Group_0_1__4__Impl + // InternalProblem.g:3971:1: ( rule__Assertion__Group_0_1__4__Impl ) + // InternalProblem.g:3972:2: rule__Assertion__Group_0_1__4__Impl { pushFollow(FOLLOW_2); rule__Assertion__Group_0_1__4__Impl(); @@ -12813,20 +12626,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1__4__Impl" - // InternalProblem.g:4019:1: rule__Assertion__Group_0_1__4__Impl : ( ')' ) ; + // InternalProblem.g:3978: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:4023:1: ( ( ')' ) ) - // InternalProblem.g:4024:1: ( ')' ) + // InternalProblem.g:3982:1: ( ( ')' ) ) + // InternalProblem.g:3983:1: ( ')' ) { - // InternalProblem.g:4024:1: ( ')' ) - // InternalProblem.g:4025:2: ')' + // InternalProblem.g:3983:1: ( ')' ) + // InternalProblem.g:3984:2: ')' { before(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_1_4()); - match(input,38,FOLLOW_2); + match(input,35,FOLLOW_2); after(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_1_4()); } @@ -12850,14 +12663,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1_3__0" - // InternalProblem.g:4035: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:3994: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:4039:1: ( rule__Assertion__Group_0_1_3__0__Impl rule__Assertion__Group_0_1_3__1 ) - // InternalProblem.g:4040:2: rule__Assertion__Group_0_1_3__0__Impl rule__Assertion__Group_0_1_3__1 + // InternalProblem.g:3998:1: ( rule__Assertion__Group_0_1_3__0__Impl rule__Assertion__Group_0_1_3__1 ) + // InternalProblem.g:3999:2: rule__Assertion__Group_0_1_3__0__Impl rule__Assertion__Group_0_1_3__1 { pushFollow(FOLLOW_9); rule__Assertion__Group_0_1_3__0__Impl(); @@ -12888,21 +12701,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1_3__0__Impl" - // InternalProblem.g:4047:1: rule__Assertion__Group_0_1_3__0__Impl : ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) ) ; + // InternalProblem.g:4006: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:4051:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) ) ) - // InternalProblem.g:4052:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) ) + // InternalProblem.g:4010:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) ) ) + // InternalProblem.g:4011:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) ) { - // InternalProblem.g:4052:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) ) - // InternalProblem.g:4053:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) + // InternalProblem.g:4011:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) ) + // InternalProblem.g:4012:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) { before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_0()); - // InternalProblem.g:4054:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) - // InternalProblem.g:4054:3: rule__Assertion__ArgumentsAssignment_0_1_3_0 + // InternalProblem.g:4013:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) + // InternalProblem.g:4013:3: rule__Assertion__ArgumentsAssignment_0_1_3_0 { pushFollow(FOLLOW_2); rule__Assertion__ArgumentsAssignment_0_1_3_0(); @@ -12935,14 +12748,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1_3__1" - // InternalProblem.g:4062:1: rule__Assertion__Group_0_1_3__1 : rule__Assertion__Group_0_1_3__1__Impl ; + // InternalProblem.g:4021: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:4066:1: ( rule__Assertion__Group_0_1_3__1__Impl ) - // InternalProblem.g:4067:2: rule__Assertion__Group_0_1_3__1__Impl + // InternalProblem.g:4025:1: ( rule__Assertion__Group_0_1_3__1__Impl ) + // InternalProblem.g:4026:2: rule__Assertion__Group_0_1_3__1__Impl { pushFollow(FOLLOW_2); rule__Assertion__Group_0_1_3__1__Impl(); @@ -12968,33 +12781,33 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1_3__1__Impl" - // InternalProblem.g:4073:1: rule__Assertion__Group_0_1_3__1__Impl : ( ( rule__Assertion__Group_0_1_3_1__0 )* ) ; + // InternalProblem.g:4032: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:4077:1: ( ( ( rule__Assertion__Group_0_1_3_1__0 )* ) ) - // InternalProblem.g:4078:1: ( ( rule__Assertion__Group_0_1_3_1__0 )* ) + // InternalProblem.g:4036:1: ( ( ( rule__Assertion__Group_0_1_3_1__0 )* ) ) + // InternalProblem.g:4037:1: ( ( rule__Assertion__Group_0_1_3_1__0 )* ) { - // InternalProblem.g:4078:1: ( ( rule__Assertion__Group_0_1_3_1__0 )* ) - // InternalProblem.g:4079:2: ( rule__Assertion__Group_0_1_3_1__0 )* + // InternalProblem.g:4037:1: ( ( rule__Assertion__Group_0_1_3_1__0 )* ) + // InternalProblem.g:4038:2: ( rule__Assertion__Group_0_1_3_1__0 )* { before(grammarAccess.getAssertionAccess().getGroup_0_1_3_1()); - // InternalProblem.g:4080:2: ( rule__Assertion__Group_0_1_3_1__0 )* - loop50: + // InternalProblem.g:4039:2: ( rule__Assertion__Group_0_1_3_1__0 )* + loop49: do { - int alt50=2; - int LA50_0 = input.LA(1); + int alt49=2; + int LA49_0 = input.LA(1); - if ( (LA50_0==13) ) { - alt50=1; + if ( (LA49_0==14) ) { + alt49=1; } - switch (alt50) { + switch (alt49) { case 1 : - // InternalProblem.g:4080:3: rule__Assertion__Group_0_1_3_1__0 + // InternalProblem.g:4039:3: rule__Assertion__Group_0_1_3_1__0 { pushFollow(FOLLOW_10); rule__Assertion__Group_0_1_3_1__0(); @@ -13006,7 +12819,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop50; + break loop49; } } while (true); @@ -13033,14 +12846,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1_3_1__0" - // InternalProblem.g:4089: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:4048: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:4093:1: ( rule__Assertion__Group_0_1_3_1__0__Impl rule__Assertion__Group_0_1_3_1__1 ) - // InternalProblem.g:4094:2: rule__Assertion__Group_0_1_3_1__0__Impl rule__Assertion__Group_0_1_3_1__1 + // InternalProblem.g:4052:1: ( rule__Assertion__Group_0_1_3_1__0__Impl rule__Assertion__Group_0_1_3_1__1 ) + // InternalProblem.g:4053:2: rule__Assertion__Group_0_1_3_1__0__Impl rule__Assertion__Group_0_1_3_1__1 { pushFollow(FOLLOW_30); rule__Assertion__Group_0_1_3_1__0__Impl(); @@ -13071,20 +12884,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1_3_1__0__Impl" - // InternalProblem.g:4101:1: rule__Assertion__Group_0_1_3_1__0__Impl : ( ',' ) ; + // InternalProblem.g:4060: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:4105:1: ( ( ',' ) ) - // InternalProblem.g:4106:1: ( ',' ) + // InternalProblem.g:4064:1: ( ( ',' ) ) + // InternalProblem.g:4065:1: ( ',' ) { - // InternalProblem.g:4106:1: ( ',' ) - // InternalProblem.g:4107:2: ',' + // InternalProblem.g:4065:1: ( ',' ) + // InternalProblem.g:4066:2: ',' { before(grammarAccess.getAssertionAccess().getCommaKeyword_0_1_3_1_0()); - match(input,13,FOLLOW_2); + match(input,14,FOLLOW_2); after(grammarAccess.getAssertionAccess().getCommaKeyword_0_1_3_1_0()); } @@ -13108,14 +12921,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1_3_1__1" - // InternalProblem.g:4116:1: rule__Assertion__Group_0_1_3_1__1 : rule__Assertion__Group_0_1_3_1__1__Impl ; + // InternalProblem.g:4075: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:4120:1: ( rule__Assertion__Group_0_1_3_1__1__Impl ) - // InternalProblem.g:4121:2: rule__Assertion__Group_0_1_3_1__1__Impl + // InternalProblem.g:4079:1: ( rule__Assertion__Group_0_1_3_1__1__Impl ) + // InternalProblem.g:4080:2: rule__Assertion__Group_0_1_3_1__1__Impl { pushFollow(FOLLOW_2); rule__Assertion__Group_0_1_3_1__1__Impl(); @@ -13141,21 +12954,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__Group_0_1_3_1__1__Impl" - // InternalProblem.g:4127:1: rule__Assertion__Group_0_1_3_1__1__Impl : ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) ) ; + // InternalProblem.g:4086: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:4131:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) ) ) - // InternalProblem.g:4132:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) ) + // InternalProblem.g:4090:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) ) ) + // InternalProblem.g:4091:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) ) { - // InternalProblem.g:4132:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) ) - // InternalProblem.g:4133:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) + // InternalProblem.g:4091:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) ) + // InternalProblem.g:4092:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) { before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_1_1()); - // InternalProblem.g:4134:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) - // InternalProblem.g:4134:3: rule__Assertion__ArgumentsAssignment_0_1_3_1_1 + // InternalProblem.g:4093:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) + // InternalProblem.g:4093:3: rule__Assertion__ArgumentsAssignment_0_1_3_1_1 { pushFollow(FOLLOW_2); rule__Assertion__ArgumentsAssignment_0_1_3_1_1(); @@ -13188,14 +13001,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NodeValueAssertion__Group__0" - // InternalProblem.g:4143:1: rule__NodeValueAssertion__Group__0 : rule__NodeValueAssertion__Group__0__Impl rule__NodeValueAssertion__Group__1 ; + // InternalProblem.g:4102:1: rule__NodeValueAssertion__Group__0 : rule__NodeValueAssertion__Group__0__Impl rule__NodeValueAssertion__Group__1 ; public final void rule__NodeValueAssertion__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4147:1: ( rule__NodeValueAssertion__Group__0__Impl rule__NodeValueAssertion__Group__1 ) - // InternalProblem.g:4148:2: rule__NodeValueAssertion__Group__0__Impl rule__NodeValueAssertion__Group__1 + // InternalProblem.g:4106:1: ( rule__NodeValueAssertion__Group__0__Impl rule__NodeValueAssertion__Group__1 ) + // InternalProblem.g:4107:2: rule__NodeValueAssertion__Group__0__Impl rule__NodeValueAssertion__Group__1 { pushFollow(FOLLOW_31); rule__NodeValueAssertion__Group__0__Impl(); @@ -13226,21 +13039,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NodeValueAssertion__Group__0__Impl" - // InternalProblem.g:4155:1: rule__NodeValueAssertion__Group__0__Impl : ( ( rule__NodeValueAssertion__NodeAssignment_0 ) ) ; + // InternalProblem.g:4114:1: rule__NodeValueAssertion__Group__0__Impl : ( ( rule__NodeValueAssertion__NodeAssignment_0 ) ) ; public final void rule__NodeValueAssertion__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4159:1: ( ( ( rule__NodeValueAssertion__NodeAssignment_0 ) ) ) - // InternalProblem.g:4160:1: ( ( rule__NodeValueAssertion__NodeAssignment_0 ) ) + // InternalProblem.g:4118:1: ( ( ( rule__NodeValueAssertion__NodeAssignment_0 ) ) ) + // InternalProblem.g:4119:1: ( ( rule__NodeValueAssertion__NodeAssignment_0 ) ) { - // InternalProblem.g:4160:1: ( ( rule__NodeValueAssertion__NodeAssignment_0 ) ) - // InternalProblem.g:4161:2: ( rule__NodeValueAssertion__NodeAssignment_0 ) + // InternalProblem.g:4119:1: ( ( rule__NodeValueAssertion__NodeAssignment_0 ) ) + // InternalProblem.g:4120:2: ( rule__NodeValueAssertion__NodeAssignment_0 ) { before(grammarAccess.getNodeValueAssertionAccess().getNodeAssignment_0()); - // InternalProblem.g:4162:2: ( rule__NodeValueAssertion__NodeAssignment_0 ) - // InternalProblem.g:4162:3: rule__NodeValueAssertion__NodeAssignment_0 + // InternalProblem.g:4121:2: ( rule__NodeValueAssertion__NodeAssignment_0 ) + // InternalProblem.g:4121:3: rule__NodeValueAssertion__NodeAssignment_0 { pushFollow(FOLLOW_2); rule__NodeValueAssertion__NodeAssignment_0(); @@ -13273,14 +13086,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NodeValueAssertion__Group__1" - // InternalProblem.g:4170:1: rule__NodeValueAssertion__Group__1 : rule__NodeValueAssertion__Group__1__Impl rule__NodeValueAssertion__Group__2 ; + // InternalProblem.g:4129:1: rule__NodeValueAssertion__Group__1 : rule__NodeValueAssertion__Group__1__Impl rule__NodeValueAssertion__Group__2 ; public final void rule__NodeValueAssertion__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4174:1: ( rule__NodeValueAssertion__Group__1__Impl rule__NodeValueAssertion__Group__2 ) - // InternalProblem.g:4175:2: rule__NodeValueAssertion__Group__1__Impl rule__NodeValueAssertion__Group__2 + // InternalProblem.g:4133:1: ( rule__NodeValueAssertion__Group__1__Impl rule__NodeValueAssertion__Group__2 ) + // InternalProblem.g:4134:2: rule__NodeValueAssertion__Group__1__Impl rule__NodeValueAssertion__Group__2 { pushFollow(FOLLOW_30); rule__NodeValueAssertion__Group__1__Impl(); @@ -13311,20 +13124,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NodeValueAssertion__Group__1__Impl" - // InternalProblem.g:4182:1: rule__NodeValueAssertion__Group__1__Impl : ( ':' ) ; + // InternalProblem.g:4141:1: rule__NodeValueAssertion__Group__1__Impl : ( ':' ) ; public final void rule__NodeValueAssertion__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4186:1: ( ( ':' ) ) - // InternalProblem.g:4187:1: ( ':' ) + // InternalProblem.g:4145:1: ( ( ':' ) ) + // InternalProblem.g:4146:1: ( ':' ) { - // InternalProblem.g:4187:1: ( ':' ) - // InternalProblem.g:4188:2: ':' + // InternalProblem.g:4146:1: ( ':' ) + // InternalProblem.g:4147:2: ':' { before(grammarAccess.getNodeValueAssertionAccess().getColonKeyword_1()); - match(input,40,FOLLOW_2); + match(input,37,FOLLOW_2); after(grammarAccess.getNodeValueAssertionAccess().getColonKeyword_1()); } @@ -13348,14 +13161,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NodeValueAssertion__Group__2" - // InternalProblem.g:4197:1: rule__NodeValueAssertion__Group__2 : rule__NodeValueAssertion__Group__2__Impl rule__NodeValueAssertion__Group__3 ; + // InternalProblem.g:4156:1: rule__NodeValueAssertion__Group__2 : rule__NodeValueAssertion__Group__2__Impl rule__NodeValueAssertion__Group__3 ; public final void rule__NodeValueAssertion__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4201:1: ( rule__NodeValueAssertion__Group__2__Impl rule__NodeValueAssertion__Group__3 ) - // InternalProblem.g:4202:2: rule__NodeValueAssertion__Group__2__Impl rule__NodeValueAssertion__Group__3 + // InternalProblem.g:4160:1: ( rule__NodeValueAssertion__Group__2__Impl rule__NodeValueAssertion__Group__3 ) + // InternalProblem.g:4161:2: rule__NodeValueAssertion__Group__2__Impl rule__NodeValueAssertion__Group__3 { pushFollow(FOLLOW_6); rule__NodeValueAssertion__Group__2__Impl(); @@ -13386,21 +13199,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NodeValueAssertion__Group__2__Impl" - // InternalProblem.g:4209:1: rule__NodeValueAssertion__Group__2__Impl : ( ( rule__NodeValueAssertion__ValueAssignment_2 ) ) ; + // InternalProblem.g:4168:1: rule__NodeValueAssertion__Group__2__Impl : ( ( rule__NodeValueAssertion__ValueAssignment_2 ) ) ; public final void rule__NodeValueAssertion__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4213:1: ( ( ( rule__NodeValueAssertion__ValueAssignment_2 ) ) ) - // InternalProblem.g:4214:1: ( ( rule__NodeValueAssertion__ValueAssignment_2 ) ) + // InternalProblem.g:4172:1: ( ( ( rule__NodeValueAssertion__ValueAssignment_2 ) ) ) + // InternalProblem.g:4173:1: ( ( rule__NodeValueAssertion__ValueAssignment_2 ) ) { - // InternalProblem.g:4214:1: ( ( rule__NodeValueAssertion__ValueAssignment_2 ) ) - // InternalProblem.g:4215:2: ( rule__NodeValueAssertion__ValueAssignment_2 ) + // InternalProblem.g:4173:1: ( ( rule__NodeValueAssertion__ValueAssignment_2 ) ) + // InternalProblem.g:4174:2: ( rule__NodeValueAssertion__ValueAssignment_2 ) { before(grammarAccess.getNodeValueAssertionAccess().getValueAssignment_2()); - // InternalProblem.g:4216:2: ( rule__NodeValueAssertion__ValueAssignment_2 ) - // InternalProblem.g:4216:3: rule__NodeValueAssertion__ValueAssignment_2 + // InternalProblem.g:4175:2: ( rule__NodeValueAssertion__ValueAssignment_2 ) + // InternalProblem.g:4175:3: rule__NodeValueAssertion__ValueAssignment_2 { pushFollow(FOLLOW_2); rule__NodeValueAssertion__ValueAssignment_2(); @@ -13433,14 +13246,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NodeValueAssertion__Group__3" - // InternalProblem.g:4224:1: rule__NodeValueAssertion__Group__3 : rule__NodeValueAssertion__Group__3__Impl ; + // InternalProblem.g:4183:1: rule__NodeValueAssertion__Group__3 : rule__NodeValueAssertion__Group__3__Impl ; public final void rule__NodeValueAssertion__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4228:1: ( rule__NodeValueAssertion__Group__3__Impl ) - // InternalProblem.g:4229:2: rule__NodeValueAssertion__Group__3__Impl + // InternalProblem.g:4187:1: ( rule__NodeValueAssertion__Group__3__Impl ) + // InternalProblem.g:4188:2: rule__NodeValueAssertion__Group__3__Impl { pushFollow(FOLLOW_2); rule__NodeValueAssertion__Group__3__Impl(); @@ -13466,20 +13279,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NodeValueAssertion__Group__3__Impl" - // InternalProblem.g:4235:1: rule__NodeValueAssertion__Group__3__Impl : ( '.' ) ; + // InternalProblem.g:4194:1: rule__NodeValueAssertion__Group__3__Impl : ( '.' ) ; public final void rule__NodeValueAssertion__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4239:1: ( ( '.' ) ) - // InternalProblem.g:4240:1: ( '.' ) + // InternalProblem.g:4198:1: ( ( '.' ) ) + // InternalProblem.g:4199:1: ( '.' ) { - // InternalProblem.g:4240:1: ( '.' ) - // InternalProblem.g:4241:2: '.' + // InternalProblem.g:4199:1: ( '.' ) + // InternalProblem.g:4200:2: '.' { before(grammarAccess.getNodeValueAssertionAccess().getFullStopKeyword_3()); - match(input,12,FOLLOW_2); + match(input,13,FOLLOW_2); after(grammarAccess.getNodeValueAssertionAccess().getFullStopKeyword_3()); } @@ -13503,14 +13316,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group__0" - // InternalProblem.g:4251:1: rule__ScopeDeclaration__Group__0 : rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ; + // InternalProblem.g:4210: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:4255:1: ( rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ) - // InternalProblem.g:4256:2: rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 + // InternalProblem.g:4214:1: ( rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ) + // InternalProblem.g:4215:2: rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 { pushFollow(FOLLOW_34); rule__ScopeDeclaration__Group__0__Impl(); @@ -13541,20 +13354,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group__0__Impl" - // InternalProblem.g:4263:1: rule__ScopeDeclaration__Group__0__Impl : ( 'scope' ) ; + // InternalProblem.g:4222:1: rule__ScopeDeclaration__Group__0__Impl : ( 'scope' ) ; public final void rule__ScopeDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4267:1: ( ( 'scope' ) ) - // InternalProblem.g:4268:1: ( 'scope' ) + // InternalProblem.g:4226:1: ( ( 'scope' ) ) + // InternalProblem.g:4227:1: ( 'scope' ) { - // InternalProblem.g:4268:1: ( 'scope' ) - // InternalProblem.g:4269:2: 'scope' + // InternalProblem.g:4227:1: ( 'scope' ) + // InternalProblem.g:4228:2: 'scope' { before(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); - match(input,41,FOLLOW_2); + match(input,38,FOLLOW_2); after(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); } @@ -13578,14 +13391,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group__1" - // InternalProblem.g:4278:1: rule__ScopeDeclaration__Group__1 : rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ; + // InternalProblem.g:4237: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:4282:1: ( rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ) - // InternalProblem.g:4283:2: rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 + // InternalProblem.g:4241:1: ( rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ) + // InternalProblem.g:4242:2: rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 { pushFollow(FOLLOW_35); rule__ScopeDeclaration__Group__1__Impl(); @@ -13616,21 +13429,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group__1__Impl" - // InternalProblem.g:4290:1: rule__ScopeDeclaration__Group__1__Impl : ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) ) ; + // InternalProblem.g:4249: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:4294:1: ( ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) ) ) - // InternalProblem.g:4295:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) ) + // InternalProblem.g:4253:1: ( ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) ) ) + // InternalProblem.g:4254:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) ) { - // InternalProblem.g:4295:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) ) - // InternalProblem.g:4296:2: ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) + // InternalProblem.g:4254:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) ) + // InternalProblem.g:4255:2: ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) { before(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_1()); - // InternalProblem.g:4297:2: ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) - // InternalProblem.g:4297:3: rule__ScopeDeclaration__TypeScopesAssignment_1 + // InternalProblem.g:4256:2: ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) + // InternalProblem.g:4256:3: rule__ScopeDeclaration__TypeScopesAssignment_1 { pushFollow(FOLLOW_2); rule__ScopeDeclaration__TypeScopesAssignment_1(); @@ -13663,14 +13476,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group__2" - // InternalProblem.g:4305:1: rule__ScopeDeclaration__Group__2 : rule__ScopeDeclaration__Group__2__Impl rule__ScopeDeclaration__Group__3 ; + // InternalProblem.g:4264: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:4309:1: ( rule__ScopeDeclaration__Group__2__Impl rule__ScopeDeclaration__Group__3 ) - // InternalProblem.g:4310:2: rule__ScopeDeclaration__Group__2__Impl rule__ScopeDeclaration__Group__3 + // InternalProblem.g:4268:1: ( rule__ScopeDeclaration__Group__2__Impl rule__ScopeDeclaration__Group__3 ) + // InternalProblem.g:4269:2: rule__ScopeDeclaration__Group__2__Impl rule__ScopeDeclaration__Group__3 { pushFollow(FOLLOW_35); rule__ScopeDeclaration__Group__2__Impl(); @@ -13701,33 +13514,33 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group__2__Impl" - // InternalProblem.g:4317:1: rule__ScopeDeclaration__Group__2__Impl : ( ( rule__ScopeDeclaration__Group_2__0 )* ) ; + // InternalProblem.g:4276: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:4321:1: ( ( ( rule__ScopeDeclaration__Group_2__0 )* ) ) - // InternalProblem.g:4322:1: ( ( rule__ScopeDeclaration__Group_2__0 )* ) + // InternalProblem.g:4280:1: ( ( ( rule__ScopeDeclaration__Group_2__0 )* ) ) + // InternalProblem.g:4281:1: ( ( rule__ScopeDeclaration__Group_2__0 )* ) { - // InternalProblem.g:4322:1: ( ( rule__ScopeDeclaration__Group_2__0 )* ) - // InternalProblem.g:4323:2: ( rule__ScopeDeclaration__Group_2__0 )* + // InternalProblem.g:4281:1: ( ( rule__ScopeDeclaration__Group_2__0 )* ) + // InternalProblem.g:4282:2: ( rule__ScopeDeclaration__Group_2__0 )* { before(grammarAccess.getScopeDeclarationAccess().getGroup_2()); - // InternalProblem.g:4324:2: ( rule__ScopeDeclaration__Group_2__0 )* - loop51: + // InternalProblem.g:4283:2: ( rule__ScopeDeclaration__Group_2__0 )* + loop50: do { - int alt51=2; - int LA51_0 = input.LA(1); + int alt50=2; + int LA50_0 = input.LA(1); - if ( (LA51_0==13) ) { - alt51=1; + if ( (LA50_0==14) ) { + alt50=1; } - switch (alt51) { + switch (alt50) { case 1 : - // InternalProblem.g:4324:3: rule__ScopeDeclaration__Group_2__0 + // InternalProblem.g:4283:3: rule__ScopeDeclaration__Group_2__0 { pushFollow(FOLLOW_10); rule__ScopeDeclaration__Group_2__0(); @@ -13739,7 +13552,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop51; + break loop50; } } while (true); @@ -13766,14 +13579,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group__3" - // InternalProblem.g:4332:1: rule__ScopeDeclaration__Group__3 : rule__ScopeDeclaration__Group__3__Impl ; + // InternalProblem.g:4291: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:4336:1: ( rule__ScopeDeclaration__Group__3__Impl ) - // InternalProblem.g:4337:2: rule__ScopeDeclaration__Group__3__Impl + // InternalProblem.g:4295:1: ( rule__ScopeDeclaration__Group__3__Impl ) + // InternalProblem.g:4296:2: rule__ScopeDeclaration__Group__3__Impl { pushFollow(FOLLOW_2); rule__ScopeDeclaration__Group__3__Impl(); @@ -13799,20 +13612,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group__3__Impl" - // InternalProblem.g:4343:1: rule__ScopeDeclaration__Group__3__Impl : ( '.' ) ; + // InternalProblem.g:4302:1: rule__ScopeDeclaration__Group__3__Impl : ( '.' ) ; public final void rule__ScopeDeclaration__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4347:1: ( ( '.' ) ) - // InternalProblem.g:4348:1: ( '.' ) + // InternalProblem.g:4306:1: ( ( '.' ) ) + // InternalProblem.g:4307:1: ( '.' ) { - // InternalProblem.g:4348:1: ( '.' ) - // InternalProblem.g:4349:2: '.' + // InternalProblem.g:4307:1: ( '.' ) + // InternalProblem.g:4308:2: '.' { before(grammarAccess.getScopeDeclarationAccess().getFullStopKeyword_3()); - match(input,12,FOLLOW_2); + match(input,13,FOLLOW_2); after(grammarAccess.getScopeDeclarationAccess().getFullStopKeyword_3()); } @@ -13836,14 +13649,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group_2__0" - // InternalProblem.g:4359:1: rule__ScopeDeclaration__Group_2__0 : rule__ScopeDeclaration__Group_2__0__Impl rule__ScopeDeclaration__Group_2__1 ; + // InternalProblem.g:4318: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:4363:1: ( rule__ScopeDeclaration__Group_2__0__Impl rule__ScopeDeclaration__Group_2__1 ) - // InternalProblem.g:4364:2: rule__ScopeDeclaration__Group_2__0__Impl rule__ScopeDeclaration__Group_2__1 + // InternalProblem.g:4322:1: ( rule__ScopeDeclaration__Group_2__0__Impl rule__ScopeDeclaration__Group_2__1 ) + // InternalProblem.g:4323:2: rule__ScopeDeclaration__Group_2__0__Impl rule__ScopeDeclaration__Group_2__1 { pushFollow(FOLLOW_34); rule__ScopeDeclaration__Group_2__0__Impl(); @@ -13874,20 +13687,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group_2__0__Impl" - // InternalProblem.g:4371:1: rule__ScopeDeclaration__Group_2__0__Impl : ( ',' ) ; + // InternalProblem.g:4330:1: rule__ScopeDeclaration__Group_2__0__Impl : ( ',' ) ; public final void rule__ScopeDeclaration__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4375:1: ( ( ',' ) ) - // InternalProblem.g:4376:1: ( ',' ) + // InternalProblem.g:4334:1: ( ( ',' ) ) + // InternalProblem.g:4335:1: ( ',' ) { - // InternalProblem.g:4376:1: ( ',' ) - // InternalProblem.g:4377:2: ',' + // InternalProblem.g:4335:1: ( ',' ) + // InternalProblem.g:4336:2: ',' { before(grammarAccess.getScopeDeclarationAccess().getCommaKeyword_2_0()); - match(input,13,FOLLOW_2); + match(input,14,FOLLOW_2); after(grammarAccess.getScopeDeclarationAccess().getCommaKeyword_2_0()); } @@ -13911,14 +13724,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group_2__1" - // InternalProblem.g:4386:1: rule__ScopeDeclaration__Group_2__1 : rule__ScopeDeclaration__Group_2__1__Impl ; + // InternalProblem.g:4345: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:4390:1: ( rule__ScopeDeclaration__Group_2__1__Impl ) - // InternalProblem.g:4391:2: rule__ScopeDeclaration__Group_2__1__Impl + // InternalProblem.g:4349:1: ( rule__ScopeDeclaration__Group_2__1__Impl ) + // InternalProblem.g:4350:2: rule__ScopeDeclaration__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__ScopeDeclaration__Group_2__1__Impl(); @@ -13944,21 +13757,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__Group_2__1__Impl" - // InternalProblem.g:4397:1: rule__ScopeDeclaration__Group_2__1__Impl : ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) ) ; + // InternalProblem.g:4356: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:4401:1: ( ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) ) ) - // InternalProblem.g:4402:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) ) + // InternalProblem.g:4360:1: ( ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) ) ) + // InternalProblem.g:4361:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) ) { - // InternalProblem.g:4402:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) ) - // InternalProblem.g:4403:2: ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) + // InternalProblem.g:4361:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) ) + // InternalProblem.g:4362:2: ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) { before(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_2_1()); - // InternalProblem.g:4404:2: ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) - // InternalProblem.g:4404:3: rule__ScopeDeclaration__TypeScopesAssignment_2_1 + // InternalProblem.g:4363:2: ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) + // InternalProblem.g:4363:3: rule__ScopeDeclaration__TypeScopesAssignment_2_1 { pushFollow(FOLLOW_2); rule__ScopeDeclaration__TypeScopesAssignment_2_1(); @@ -13991,14 +13804,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__Group__0" - // InternalProblem.g:4413:1: rule__TypeScope__Group__0 : rule__TypeScope__Group__0__Impl rule__TypeScope__Group__1 ; + // InternalProblem.g:4372: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:4417:1: ( rule__TypeScope__Group__0__Impl rule__TypeScope__Group__1 ) - // InternalProblem.g:4418:2: rule__TypeScope__Group__0__Impl rule__TypeScope__Group__1 + // InternalProblem.g:4376:1: ( rule__TypeScope__Group__0__Impl rule__TypeScope__Group__1 ) + // InternalProblem.g:4377:2: rule__TypeScope__Group__0__Impl rule__TypeScope__Group__1 { pushFollow(FOLLOW_36); rule__TypeScope__Group__0__Impl(); @@ -14029,21 +13842,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__Group__0__Impl" - // InternalProblem.g:4425:1: rule__TypeScope__Group__0__Impl : ( ( rule__TypeScope__TargetTypeAssignment_0 ) ) ; + // InternalProblem.g:4384: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:4429:1: ( ( ( rule__TypeScope__TargetTypeAssignment_0 ) ) ) - // InternalProblem.g:4430:1: ( ( rule__TypeScope__TargetTypeAssignment_0 ) ) + // InternalProblem.g:4388:1: ( ( ( rule__TypeScope__TargetTypeAssignment_0 ) ) ) + // InternalProblem.g:4389:1: ( ( rule__TypeScope__TargetTypeAssignment_0 ) ) { - // InternalProblem.g:4430:1: ( ( rule__TypeScope__TargetTypeAssignment_0 ) ) - // InternalProblem.g:4431:2: ( rule__TypeScope__TargetTypeAssignment_0 ) + // InternalProblem.g:4389:1: ( ( rule__TypeScope__TargetTypeAssignment_0 ) ) + // InternalProblem.g:4390:2: ( rule__TypeScope__TargetTypeAssignment_0 ) { before(grammarAccess.getTypeScopeAccess().getTargetTypeAssignment_0()); - // InternalProblem.g:4432:2: ( rule__TypeScope__TargetTypeAssignment_0 ) - // InternalProblem.g:4432:3: rule__TypeScope__TargetTypeAssignment_0 + // InternalProblem.g:4391:2: ( rule__TypeScope__TargetTypeAssignment_0 ) + // InternalProblem.g:4391:3: rule__TypeScope__TargetTypeAssignment_0 { pushFollow(FOLLOW_2); rule__TypeScope__TargetTypeAssignment_0(); @@ -14076,14 +13889,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__Group__1" - // InternalProblem.g:4440:1: rule__TypeScope__Group__1 : rule__TypeScope__Group__1__Impl rule__TypeScope__Group__2 ; + // InternalProblem.g:4399: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:4444:1: ( rule__TypeScope__Group__1__Impl rule__TypeScope__Group__2 ) - // InternalProblem.g:4445:2: rule__TypeScope__Group__1__Impl rule__TypeScope__Group__2 + // InternalProblem.g:4403:1: ( rule__TypeScope__Group__1__Impl rule__TypeScope__Group__2 ) + // InternalProblem.g:4404:2: rule__TypeScope__Group__1__Impl rule__TypeScope__Group__2 { pushFollow(FOLLOW_20); rule__TypeScope__Group__1__Impl(); @@ -14114,21 +13927,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__Group__1__Impl" - // InternalProblem.g:4452:1: rule__TypeScope__Group__1__Impl : ( ( rule__TypeScope__Alternatives_1 ) ) ; + // InternalProblem.g:4411: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:4456:1: ( ( ( rule__TypeScope__Alternatives_1 ) ) ) - // InternalProblem.g:4457:1: ( ( rule__TypeScope__Alternatives_1 ) ) + // InternalProblem.g:4415:1: ( ( ( rule__TypeScope__Alternatives_1 ) ) ) + // InternalProblem.g:4416:1: ( ( rule__TypeScope__Alternatives_1 ) ) { - // InternalProblem.g:4457:1: ( ( rule__TypeScope__Alternatives_1 ) ) - // InternalProblem.g:4458:2: ( rule__TypeScope__Alternatives_1 ) + // InternalProblem.g:4416:1: ( ( rule__TypeScope__Alternatives_1 ) ) + // InternalProblem.g:4417:2: ( rule__TypeScope__Alternatives_1 ) { before(grammarAccess.getTypeScopeAccess().getAlternatives_1()); - // InternalProblem.g:4459:2: ( rule__TypeScope__Alternatives_1 ) - // InternalProblem.g:4459:3: rule__TypeScope__Alternatives_1 + // InternalProblem.g:4418:2: ( rule__TypeScope__Alternatives_1 ) + // InternalProblem.g:4418:3: rule__TypeScope__Alternatives_1 { pushFollow(FOLLOW_2); rule__TypeScope__Alternatives_1(); @@ -14161,14 +13974,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__Group__2" - // InternalProblem.g:4467:1: rule__TypeScope__Group__2 : rule__TypeScope__Group__2__Impl ; + // InternalProblem.g:4426: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:4471:1: ( rule__TypeScope__Group__2__Impl ) - // InternalProblem.g:4472:2: rule__TypeScope__Group__2__Impl + // InternalProblem.g:4430:1: ( rule__TypeScope__Group__2__Impl ) + // InternalProblem.g:4431:2: rule__TypeScope__Group__2__Impl { pushFollow(FOLLOW_2); rule__TypeScope__Group__2__Impl(); @@ -14194,21 +14007,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__Group__2__Impl" - // InternalProblem.g:4478:1: rule__TypeScope__Group__2__Impl : ( ( rule__TypeScope__MultiplicityAssignment_2 ) ) ; + // InternalProblem.g:4437: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:4482:1: ( ( ( rule__TypeScope__MultiplicityAssignment_2 ) ) ) - // InternalProblem.g:4483:1: ( ( rule__TypeScope__MultiplicityAssignment_2 ) ) + // InternalProblem.g:4441:1: ( ( ( rule__TypeScope__MultiplicityAssignment_2 ) ) ) + // InternalProblem.g:4442:1: ( ( rule__TypeScope__MultiplicityAssignment_2 ) ) { - // InternalProblem.g:4483:1: ( ( rule__TypeScope__MultiplicityAssignment_2 ) ) - // InternalProblem.g:4484:2: ( rule__TypeScope__MultiplicityAssignment_2 ) + // InternalProblem.g:4442:1: ( ( rule__TypeScope__MultiplicityAssignment_2 ) ) + // InternalProblem.g:4443:2: ( rule__TypeScope__MultiplicityAssignment_2 ) { before(grammarAccess.getTypeScopeAccess().getMultiplicityAssignment_2()); - // InternalProblem.g:4485:2: ( rule__TypeScope__MultiplicityAssignment_2 ) - // InternalProblem.g:4485:3: rule__TypeScope__MultiplicityAssignment_2 + // InternalProblem.g:4444:2: ( rule__TypeScope__MultiplicityAssignment_2 ) + // InternalProblem.g:4444:3: rule__TypeScope__MultiplicityAssignment_2 { pushFollow(FOLLOW_2); rule__TypeScope__MultiplicityAssignment_2(); @@ -14241,14 +14054,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__RangeMultiplicity__Group__0" - // InternalProblem.g:4494:1: rule__RangeMultiplicity__Group__0 : rule__RangeMultiplicity__Group__0__Impl rule__RangeMultiplicity__Group__1 ; + // InternalProblem.g:4453: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:4498:1: ( rule__RangeMultiplicity__Group__0__Impl rule__RangeMultiplicity__Group__1 ) - // InternalProblem.g:4499:2: rule__RangeMultiplicity__Group__0__Impl rule__RangeMultiplicity__Group__1 + // InternalProblem.g:4457:1: ( rule__RangeMultiplicity__Group__0__Impl rule__RangeMultiplicity__Group__1 ) + // InternalProblem.g:4458:2: rule__RangeMultiplicity__Group__0__Impl rule__RangeMultiplicity__Group__1 { pushFollow(FOLLOW_37); rule__RangeMultiplicity__Group__0__Impl(); @@ -14279,21 +14092,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__RangeMultiplicity__Group__0__Impl" - // InternalProblem.g:4506:1: rule__RangeMultiplicity__Group__0__Impl : ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) ) ; + // InternalProblem.g:4465: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:4510:1: ( ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) ) ) - // InternalProblem.g:4511:1: ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) ) + // InternalProblem.g:4469:1: ( ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) ) ) + // InternalProblem.g:4470:1: ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) ) { - // InternalProblem.g:4511:1: ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) ) - // InternalProblem.g:4512:2: ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) + // InternalProblem.g:4470:1: ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) ) + // InternalProblem.g:4471:2: ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) { before(grammarAccess.getRangeMultiplicityAccess().getLowerBoundAssignment_0()); - // InternalProblem.g:4513:2: ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) - // InternalProblem.g:4513:3: rule__RangeMultiplicity__LowerBoundAssignment_0 + // InternalProblem.g:4472:2: ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) + // InternalProblem.g:4472:3: rule__RangeMultiplicity__LowerBoundAssignment_0 { pushFollow(FOLLOW_2); rule__RangeMultiplicity__LowerBoundAssignment_0(); @@ -14326,14 +14139,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__RangeMultiplicity__Group__1" - // InternalProblem.g:4521:1: rule__RangeMultiplicity__Group__1 : rule__RangeMultiplicity__Group__1__Impl rule__RangeMultiplicity__Group__2 ; + // InternalProblem.g:4480: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:4525:1: ( rule__RangeMultiplicity__Group__1__Impl rule__RangeMultiplicity__Group__2 ) - // InternalProblem.g:4526:2: rule__RangeMultiplicity__Group__1__Impl rule__RangeMultiplicity__Group__2 + // InternalProblem.g:4484:1: ( rule__RangeMultiplicity__Group__1__Impl rule__RangeMultiplicity__Group__2 ) + // InternalProblem.g:4485:2: rule__RangeMultiplicity__Group__1__Impl rule__RangeMultiplicity__Group__2 { pushFollow(FOLLOW_38); rule__RangeMultiplicity__Group__1__Impl(); @@ -14364,20 +14177,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__RangeMultiplicity__Group__1__Impl" - // InternalProblem.g:4533:1: rule__RangeMultiplicity__Group__1__Impl : ( '..' ) ; + // InternalProblem.g:4492:1: rule__RangeMultiplicity__Group__1__Impl : ( '..' ) ; public final void rule__RangeMultiplicity__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4537:1: ( ( '..' ) ) - // InternalProblem.g:4538:1: ( '..' ) + // InternalProblem.g:4496:1: ( ( '..' ) ) + // InternalProblem.g:4497:1: ( '..' ) { - // InternalProblem.g:4538:1: ( '..' ) - // InternalProblem.g:4539:2: '..' + // InternalProblem.g:4497:1: ( '..' ) + // InternalProblem.g:4498:2: '..' { before(grammarAccess.getRangeMultiplicityAccess().getFullStopFullStopKeyword_1()); - match(input,42,FOLLOW_2); + match(input,39,FOLLOW_2); after(grammarAccess.getRangeMultiplicityAccess().getFullStopFullStopKeyword_1()); } @@ -14401,14 +14214,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__RangeMultiplicity__Group__2" - // InternalProblem.g:4548:1: rule__RangeMultiplicity__Group__2 : rule__RangeMultiplicity__Group__2__Impl ; + // InternalProblem.g:4507: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:4552:1: ( rule__RangeMultiplicity__Group__2__Impl ) - // InternalProblem.g:4553:2: rule__RangeMultiplicity__Group__2__Impl + // InternalProblem.g:4511:1: ( rule__RangeMultiplicity__Group__2__Impl ) + // InternalProblem.g:4512:2: rule__RangeMultiplicity__Group__2__Impl { pushFollow(FOLLOW_2); rule__RangeMultiplicity__Group__2__Impl(); @@ -14434,21 +14247,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__RangeMultiplicity__Group__2__Impl" - // InternalProblem.g:4559:1: rule__RangeMultiplicity__Group__2__Impl : ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) ) ; + // InternalProblem.g:4518: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:4563:1: ( ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) ) ) - // InternalProblem.g:4564:1: ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) ) + // InternalProblem.g:4522:1: ( ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) ) ) + // InternalProblem.g:4523:1: ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) ) { - // InternalProblem.g:4564:1: ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) ) - // InternalProblem.g:4565:2: ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) + // InternalProblem.g:4523:1: ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) ) + // InternalProblem.g:4524:2: ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) { before(grammarAccess.getRangeMultiplicityAccess().getUpperBoundAssignment_2()); - // InternalProblem.g:4566:2: ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) - // InternalProblem.g:4566:3: rule__RangeMultiplicity__UpperBoundAssignment_2 + // InternalProblem.g:4525:2: ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) + // InternalProblem.g:4525:3: rule__RangeMultiplicity__UpperBoundAssignment_2 { pushFollow(FOLLOW_2); rule__RangeMultiplicity__UpperBoundAssignment_2(); @@ -14481,14 +14294,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__QualifiedName__Group_1__0" - // InternalProblem.g:4575:1: rule__QualifiedName__Group_1__0 : rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ; + // InternalProblem.g:4534: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:4579:1: ( rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ) - // InternalProblem.g:4580:2: rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 + // InternalProblem.g:4538:1: ( rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ) + // InternalProblem.g:4539:2: rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 { pushFollow(FOLLOW_39); rule__QualifiedName__Group_1__0__Impl(); @@ -14519,17 +14332,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__QualifiedName__Group_1__0__Impl" - // InternalProblem.g:4587:1: rule__QualifiedName__Group_1__0__Impl : ( ruleIdentifier ) ; + // InternalProblem.g:4546:1: rule__QualifiedName__Group_1__0__Impl : ( ruleIdentifier ) ; public final void rule__QualifiedName__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4591:1: ( ( ruleIdentifier ) ) - // InternalProblem.g:4592:1: ( ruleIdentifier ) + // InternalProblem.g:4550:1: ( ( ruleIdentifier ) ) + // InternalProblem.g:4551:1: ( ruleIdentifier ) { - // InternalProblem.g:4592:1: ( ruleIdentifier ) - // InternalProblem.g:4593:2: ruleIdentifier + // InternalProblem.g:4551:1: ( ruleIdentifier ) + // InternalProblem.g:4552:2: ruleIdentifier { before(grammarAccess.getQualifiedNameAccess().getIdentifierParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -14560,14 +14373,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__QualifiedName__Group_1__1" - // InternalProblem.g:4602:1: rule__QualifiedName__Group_1__1 : rule__QualifiedName__Group_1__1__Impl ; + // InternalProblem.g:4561:1: rule__QualifiedName__Group_1__1 : rule__QualifiedName__Group_1__1__Impl ; public final void rule__QualifiedName__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4606:1: ( rule__QualifiedName__Group_1__1__Impl ) - // InternalProblem.g:4607:2: rule__QualifiedName__Group_1__1__Impl + // InternalProblem.g:4565:1: ( rule__QualifiedName__Group_1__1__Impl ) + // InternalProblem.g:4566:2: rule__QualifiedName__Group_1__1__Impl { pushFollow(FOLLOW_2); rule__QualifiedName__Group_1__1__Impl(); @@ -14593,33 +14406,33 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__QualifiedName__Group_1__1__Impl" - // InternalProblem.g:4613:1: rule__QualifiedName__Group_1__1__Impl : ( ( rule__QualifiedName__Group_1_1__0 )* ) ; + // InternalProblem.g:4572: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:4617:1: ( ( ( rule__QualifiedName__Group_1_1__0 )* ) ) - // InternalProblem.g:4618:1: ( ( rule__QualifiedName__Group_1_1__0 )* ) + // InternalProblem.g:4576:1: ( ( ( rule__QualifiedName__Group_1_1__0 )* ) ) + // InternalProblem.g:4577:1: ( ( rule__QualifiedName__Group_1_1__0 )* ) { - // InternalProblem.g:4618:1: ( ( rule__QualifiedName__Group_1_1__0 )* ) - // InternalProblem.g:4619:2: ( rule__QualifiedName__Group_1_1__0 )* + // InternalProblem.g:4577:1: ( ( rule__QualifiedName__Group_1_1__0 )* ) + // InternalProblem.g:4578:2: ( rule__QualifiedName__Group_1_1__0 )* { before(grammarAccess.getQualifiedNameAccess().getGroup_1_1()); - // InternalProblem.g:4620:2: ( rule__QualifiedName__Group_1_1__0 )* - loop52: + // InternalProblem.g:4579:2: ( rule__QualifiedName__Group_1_1__0 )* + loop51: do { - int alt52=2; - int LA52_0 = input.LA(1); + int alt51=2; + int LA51_0 = input.LA(1); - if ( (LA52_0==43) ) { - alt52=1; + if ( (LA51_0==40) ) { + alt51=1; } - switch (alt52) { + switch (alt51) { case 1 : - // InternalProblem.g:4620:3: rule__QualifiedName__Group_1_1__0 + // InternalProblem.g:4579:3: rule__QualifiedName__Group_1_1__0 { pushFollow(FOLLOW_40); rule__QualifiedName__Group_1_1__0(); @@ -14631,7 +14444,7 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { break; default : - break loop52; + break loop51; } } while (true); @@ -14658,14 +14471,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__QualifiedName__Group_1_1__0" - // InternalProblem.g:4629:1: rule__QualifiedName__Group_1_1__0 : rule__QualifiedName__Group_1_1__0__Impl rule__QualifiedName__Group_1_1__1 ; + // InternalProblem.g:4588: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:4633:1: ( rule__QualifiedName__Group_1_1__0__Impl rule__QualifiedName__Group_1_1__1 ) - // InternalProblem.g:4634:2: rule__QualifiedName__Group_1_1__0__Impl rule__QualifiedName__Group_1_1__1 + // InternalProblem.g:4592:1: ( rule__QualifiedName__Group_1_1__0__Impl rule__QualifiedName__Group_1_1__1 ) + // InternalProblem.g:4593:2: rule__QualifiedName__Group_1_1__0__Impl rule__QualifiedName__Group_1_1__1 { pushFollow(FOLLOW_5); rule__QualifiedName__Group_1_1__0__Impl(); @@ -14696,20 +14509,20 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__QualifiedName__Group_1_1__0__Impl" - // InternalProblem.g:4641:1: rule__QualifiedName__Group_1_1__0__Impl : ( '::' ) ; + // InternalProblem.g:4600: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:4645:1: ( ( '::' ) ) - // InternalProblem.g:4646:1: ( '::' ) + // InternalProblem.g:4604:1: ( ( '::' ) ) + // InternalProblem.g:4605:1: ( '::' ) { - // InternalProblem.g:4646:1: ( '::' ) - // InternalProblem.g:4647:2: '::' + // InternalProblem.g:4605:1: ( '::' ) + // InternalProblem.g:4606:2: '::' { before(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_1_0()); - match(input,43,FOLLOW_2); + match(input,40,FOLLOW_2); after(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_1_0()); } @@ -14733,14 +14546,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__QualifiedName__Group_1_1__1" - // InternalProblem.g:4656:1: rule__QualifiedName__Group_1_1__1 : rule__QualifiedName__Group_1_1__1__Impl ; + // InternalProblem.g:4615: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:4660:1: ( rule__QualifiedName__Group_1_1__1__Impl ) - // InternalProblem.g:4661:2: rule__QualifiedName__Group_1_1__1__Impl + // InternalProblem.g:4619:1: ( rule__QualifiedName__Group_1_1__1__Impl ) + // InternalProblem.g:4620:2: rule__QualifiedName__Group_1_1__1__Impl { pushFollow(FOLLOW_2); rule__QualifiedName__Group_1_1__1__Impl(); @@ -14766,17 +14579,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__QualifiedName__Group_1_1__1__Impl" - // InternalProblem.g:4667:1: rule__QualifiedName__Group_1_1__1__Impl : ( ruleIdentifier ) ; + // InternalProblem.g:4626:1: rule__QualifiedName__Group_1_1__1__Impl : ( ruleIdentifier ) ; public final void rule__QualifiedName__Group_1_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4671:1: ( ( ruleIdentifier ) ) - // InternalProblem.g:4672:1: ( ruleIdentifier ) + // InternalProblem.g:4630:1: ( ( ruleIdentifier ) ) + // InternalProblem.g:4631:1: ( ruleIdentifier ) { - // InternalProblem.g:4672:1: ( ruleIdentifier ) - // InternalProblem.g:4673:2: ruleIdentifier + // InternalProblem.g:4631:1: ( ruleIdentifier ) + // InternalProblem.g:4632:2: ruleIdentifier { before(grammarAccess.getQualifiedNameAccess().getIdentifierParserRuleCall_1_1_1()); pushFollow(FOLLOW_2); @@ -14807,14 +14620,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Integer__Group__0" - // InternalProblem.g:4683:1: rule__Integer__Group__0 : rule__Integer__Group__0__Impl rule__Integer__Group__1 ; + // InternalProblem.g:4642:1: rule__Integer__Group__0 : rule__Integer__Group__0__Impl rule__Integer__Group__1 ; public final void rule__Integer__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4687:1: ( rule__Integer__Group__0__Impl rule__Integer__Group__1 ) - // InternalProblem.g:4688:2: rule__Integer__Group__0__Impl rule__Integer__Group__1 + // InternalProblem.g:4646:1: ( rule__Integer__Group__0__Impl rule__Integer__Group__1 ) + // InternalProblem.g:4647:2: rule__Integer__Group__0__Impl rule__Integer__Group__1 { pushFollow(FOLLOW_41); rule__Integer__Group__0__Impl(); @@ -14845,31 +14658,31 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Integer__Group__0__Impl" - // InternalProblem.g:4695:1: rule__Integer__Group__0__Impl : ( ( '-' )? ) ; + // InternalProblem.g:4654:1: rule__Integer__Group__0__Impl : ( ( '-' )? ) ; public final void rule__Integer__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4699:1: ( ( ( '-' )? ) ) - // InternalProblem.g:4700:1: ( ( '-' )? ) + // InternalProblem.g:4658:1: ( ( ( '-' )? ) ) + // InternalProblem.g:4659:1: ( ( '-' )? ) { - // InternalProblem.g:4700:1: ( ( '-' )? ) - // InternalProblem.g:4701:2: ( '-' )? + // InternalProblem.g:4659:1: ( ( '-' )? ) + // InternalProblem.g:4660:2: ( '-' )? { before(grammarAccess.getIntegerAccess().getHyphenMinusKeyword_0()); - // InternalProblem.g:4702:2: ( '-' )? - int alt53=2; - int LA53_0 = input.LA(1); + // InternalProblem.g:4661:2: ( '-' )? + int alt52=2; + int LA52_0 = input.LA(1); - if ( (LA53_0==23) ) { - alt53=1; + if ( (LA52_0==41) ) { + alt52=1; } - switch (alt53) { + switch (alt52) { case 1 : - // InternalProblem.g:4702:3: '-' + // InternalProblem.g:4661:3: '-' { - match(input,23,FOLLOW_2); + match(input,41,FOLLOW_2); } break; @@ -14899,14 +14712,14 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Integer__Group__1" - // InternalProblem.g:4710:1: rule__Integer__Group__1 : rule__Integer__Group__1__Impl ; + // InternalProblem.g:4669:1: rule__Integer__Group__1 : rule__Integer__Group__1__Impl ; public final void rule__Integer__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4714:1: ( rule__Integer__Group__1__Impl ) - // InternalProblem.g:4715:2: rule__Integer__Group__1__Impl + // InternalProblem.g:4673:1: ( rule__Integer__Group__1__Impl ) + // InternalProblem.g:4674:2: rule__Integer__Group__1__Impl { pushFollow(FOLLOW_2); rule__Integer__Group__1__Impl(); @@ -14932,17 +14745,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Integer__Group__1__Impl" - // InternalProblem.g:4721:1: rule__Integer__Group__1__Impl : ( RULE_INT ) ; + // InternalProblem.g:4680:1: rule__Integer__Group__1__Impl : ( RULE_INT ) ; public final void rule__Integer__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4725:1: ( ( RULE_INT ) ) - // InternalProblem.g:4726:1: ( RULE_INT ) + // InternalProblem.g:4684:1: ( ( RULE_INT ) ) + // InternalProblem.g:4685:1: ( RULE_INT ) { - // InternalProblem.g:4726:1: ( RULE_INT ) - // InternalProblem.g:4727:2: RULE_INT + // InternalProblem.g:4685:1: ( RULE_INT ) + // InternalProblem.g:4686:2: RULE_INT { before(grammarAccess.getIntegerAccess().getINTTerminalRuleCall_1()); match(input,RULE_INT,FOLLOW_2); @@ -14969,16 +14782,16 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Real__Group__0" - // InternalProblem.g:4737:1: rule__Real__Group__0 : rule__Real__Group__0__Impl rule__Real__Group__1 ; + // InternalProblem.g:4696:1: rule__Real__Group__0 : rule__Real__Group__0__Impl rule__Real__Group__1 ; public final void rule__Real__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4741:1: ( rule__Real__Group__0__Impl rule__Real__Group__1 ) - // InternalProblem.g:4742:2: rule__Real__Group__0__Impl rule__Real__Group__1 + // InternalProblem.g:4700:1: ( rule__Real__Group__0__Impl rule__Real__Group__1 ) + // InternalProblem.g:4701:2: rule__Real__Group__0__Impl rule__Real__Group__1 { - pushFollow(FOLLOW_41); + pushFollow(FOLLOW_42); rule__Real__Group__0__Impl(); state._fsp--; @@ -15007,31 +14820,31 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Real__Group__0__Impl" - // InternalProblem.g:4749:1: rule__Real__Group__0__Impl : ( ( '-' )? ) ; + // InternalProblem.g:4708:1: rule__Real__Group__0__Impl : ( ( '-' )? ) ; public final void rule__Real__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4753:1: ( ( ( '-' )? ) ) - // InternalProblem.g:4754:1: ( ( '-' )? ) + // InternalProblem.g:4712:1: ( ( ( '-' )? ) ) + // InternalProblem.g:4713:1: ( ( '-' )? ) { - // InternalProblem.g:4754:1: ( ( '-' )? ) - // InternalProblem.g:4755:2: ( '-' )? + // InternalProblem.g:4713:1: ( ( '-' )? ) + // InternalProblem.g:4714:2: ( '-' )? { before(grammarAccess.getRealAccess().getHyphenMinusKeyword_0()); - // InternalProblem.g:4756:2: ( '-' )? - int alt54=2; - int LA54_0 = input.LA(1); + // InternalProblem.g:4715:2: ( '-' )? + int alt53=2; + int LA53_0 = input.LA(1); - if ( (LA54_0==23) ) { - alt54=1; + if ( (LA53_0==41) ) { + alt53=1; } - switch (alt54) { + switch (alt53) { case 1 : - // InternalProblem.g:4756:3: '-' + // InternalProblem.g:4715:3: '-' { - match(input,23,FOLLOW_2); + match(input,41,FOLLOW_2); } break; @@ -15061,22 +14874,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Real__Group__1" - // InternalProblem.g:4764:1: rule__Real__Group__1 : rule__Real__Group__1__Impl rule__Real__Group__2 ; + // InternalProblem.g:4723:1: rule__Real__Group__1 : rule__Real__Group__1__Impl ; public final void rule__Real__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4768:1: ( rule__Real__Group__1__Impl rule__Real__Group__2 ) - // InternalProblem.g:4769:2: rule__Real__Group__1__Impl rule__Real__Group__2 + // InternalProblem.g:4727:1: ( rule__Real__Group__1__Impl ) + // InternalProblem.g:4728:2: rule__Real__Group__1__Impl { - pushFollow(FOLLOW_42); - rule__Real__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Real__Group__2(); + rule__Real__Group__1__Impl(); state._fsp--; @@ -15099,21 +14907,31 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Real__Group__1__Impl" - // InternalProblem.g:4776:1: rule__Real__Group__1__Impl : ( RULE_INT ) ; + // InternalProblem.g:4734:1: rule__Real__Group__1__Impl : ( ( rule__Real__Alternatives_1 ) ) ; public final void rule__Real__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4780:1: ( ( RULE_INT ) ) - // InternalProblem.g:4781:1: ( RULE_INT ) + // InternalProblem.g:4738:1: ( ( ( rule__Real__Alternatives_1 ) ) ) + // InternalProblem.g:4739:1: ( ( rule__Real__Alternatives_1 ) ) { - // InternalProblem.g:4781:1: ( RULE_INT ) - // InternalProblem.g:4782:2: RULE_INT + // InternalProblem.g:4739:1: ( ( rule__Real__Alternatives_1 ) ) + // InternalProblem.g:4740:2: ( rule__Real__Alternatives_1 ) { - before(grammarAccess.getRealAccess().getINTTerminalRuleCall_1()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getRealAccess().getINTTerminalRuleCall_1()); + before(grammarAccess.getRealAccess().getAlternatives_1()); + // InternalProblem.g:4741:2: ( rule__Real__Alternatives_1 ) + // InternalProblem.g:4741:3: rule__Real__Alternatives_1 + { + pushFollow(FOLLOW_2); + rule__Real__Alternatives_1(); + + state._fsp--; + + + } + + after(grammarAccess.getRealAccess().getAlternatives_1()); } @@ -15135,18 +14953,23 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR end "rule__Real__Group__1__Impl" - // $ANTLR start "rule__Real__Group__2" - // InternalProblem.g:4791:1: rule__Real__Group__2 : rule__Real__Group__2__Impl ; - public final void rule__Real__Group__2() throws RecognitionException { + // $ANTLR start "rule__Real__Group_1_1__0" + // InternalProblem.g:4750:1: rule__Real__Group_1_1__0 : rule__Real__Group_1_1__0__Impl rule__Real__Group_1_1__1 ; + public final void rule__Real__Group_1_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4795:1: ( rule__Real__Group__2__Impl ) - // InternalProblem.g:4796:2: rule__Real__Group__2__Impl + // InternalProblem.g:4754:1: ( rule__Real__Group_1_1__0__Impl rule__Real__Group_1_1__1 ) + // InternalProblem.g:4755:2: rule__Real__Group_1_1__0__Impl rule__Real__Group_1_1__1 { + pushFollow(FOLLOW_6); + rule__Real__Group_1_1__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__Real__Group__2__Impl(); + rule__Real__Group_1_1__1(); state._fsp--; @@ -15165,35 +14988,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__Real__Group__2" + // $ANTLR end "rule__Real__Group_1_1__0" - // $ANTLR start "rule__Real__Group__2__Impl" - // InternalProblem.g:4802:1: rule__Real__Group__2__Impl : ( ( rule__Real__Alternatives_2 ) ) ; - public final void rule__Real__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Real__Group_1_1__0__Impl" + // InternalProblem.g:4762:1: rule__Real__Group_1_1__0__Impl : ( RULE_INT ) ; + public final void rule__Real__Group_1_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4806:1: ( ( ( rule__Real__Alternatives_2 ) ) ) - // InternalProblem.g:4807:1: ( ( rule__Real__Alternatives_2 ) ) - { - // InternalProblem.g:4807:1: ( ( rule__Real__Alternatives_2 ) ) - // InternalProblem.g:4808:2: ( rule__Real__Alternatives_2 ) + // InternalProblem.g:4766:1: ( ( RULE_INT ) ) + // InternalProblem.g:4767:1: ( RULE_INT ) { - before(grammarAccess.getRealAccess().getAlternatives_2()); - // InternalProblem.g:4809:2: ( rule__Real__Alternatives_2 ) - // InternalProblem.g:4809:3: rule__Real__Alternatives_2 + // InternalProblem.g:4767:1: ( RULE_INT ) + // InternalProblem.g:4768:2: RULE_INT { - pushFollow(FOLLOW_2); - rule__Real__Alternatives_2(); - - state._fsp--; - - - } - - after(grammarAccess.getRealAccess().getAlternatives_2()); + before(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1_0()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1_0()); } @@ -15212,26 +15025,26 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__Real__Group__2__Impl" + // $ANTLR end "rule__Real__Group_1_1__0__Impl" - // $ANTLR start "rule__Real__Group_2_0__0" - // InternalProblem.g:4818:1: rule__Real__Group_2_0__0 : rule__Real__Group_2_0__0__Impl rule__Real__Group_2_0__1 ; - public final void rule__Real__Group_2_0__0() throws RecognitionException { + // $ANTLR start "rule__Real__Group_1_1__1" + // InternalProblem.g:4777:1: rule__Real__Group_1_1__1 : rule__Real__Group_1_1__1__Impl rule__Real__Group_1_1__2 ; + public final void rule__Real__Group_1_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4822:1: ( rule__Real__Group_2_0__0__Impl rule__Real__Group_2_0__1 ) - // InternalProblem.g:4823:2: rule__Real__Group_2_0__0__Impl rule__Real__Group_2_0__1 + // InternalProblem.g:4781:1: ( rule__Real__Group_1_1__1__Impl rule__Real__Group_1_1__2 ) + // InternalProblem.g:4782:2: rule__Real__Group_1_1__1__Impl rule__Real__Group_1_1__2 { - pushFollow(FOLLOW_20); - rule__Real__Group_2_0__0__Impl(); + pushFollow(FOLLOW_43); + rule__Real__Group_1_1__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Real__Group_2_0__1(); + rule__Real__Group_1_1__2(); state._fsp--; @@ -15250,25 +15063,25 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__Real__Group_2_0__0" + // $ANTLR end "rule__Real__Group_1_1__1" - // $ANTLR start "rule__Real__Group_2_0__0__Impl" - // InternalProblem.g:4830:1: rule__Real__Group_2_0__0__Impl : ( '.' ) ; - public final void rule__Real__Group_2_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Real__Group_1_1__1__Impl" + // InternalProblem.g:4789:1: rule__Real__Group_1_1__1__Impl : ( '.' ) ; + public final void rule__Real__Group_1_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4834:1: ( ( '.' ) ) - // InternalProblem.g:4835:1: ( '.' ) + // InternalProblem.g:4793:1: ( ( '.' ) ) + // InternalProblem.g:4794:1: ( '.' ) { - // InternalProblem.g:4835:1: ( '.' ) - // InternalProblem.g:4836:2: '.' + // InternalProblem.g:4794:1: ( '.' ) + // InternalProblem.g:4795:2: '.' { - before(grammarAccess.getRealAccess().getFullStopKeyword_2_0_0()); - match(input,12,FOLLOW_2); - after(grammarAccess.getRealAccess().getFullStopKeyword_2_0_0()); + before(grammarAccess.getRealAccess().getFullStopKeyword_1_1_1()); + match(input,13,FOLLOW_2); + after(grammarAccess.getRealAccess().getFullStopKeyword_1_1_1()); } @@ -15287,21 +15100,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__Real__Group_2_0__0__Impl" + // $ANTLR end "rule__Real__Group_1_1__1__Impl" - // $ANTLR start "rule__Real__Group_2_0__1" - // InternalProblem.g:4845:1: rule__Real__Group_2_0__1 : rule__Real__Group_2_0__1__Impl ; - public final void rule__Real__Group_2_0__1() throws RecognitionException { + // $ANTLR start "rule__Real__Group_1_1__2" + // InternalProblem.g:4804:1: rule__Real__Group_1_1__2 : rule__Real__Group_1_1__2__Impl ; + public final void rule__Real__Group_1_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4849:1: ( rule__Real__Group_2_0__1__Impl ) - // InternalProblem.g:4850:2: rule__Real__Group_2_0__1__Impl + // InternalProblem.g:4808:1: ( rule__Real__Group_1_1__2__Impl ) + // InternalProblem.g:4809:2: rule__Real__Group_1_1__2__Impl { pushFollow(FOLLOW_2); - rule__Real__Group_2_0__1__Impl(); + rule__Real__Group_1_1__2__Impl(); state._fsp--; @@ -15320,25 +15133,35 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__Real__Group_2_0__1" + // $ANTLR end "rule__Real__Group_1_1__2" - // $ANTLR start "rule__Real__Group_2_0__1__Impl" - // InternalProblem.g:4856:1: rule__Real__Group_2_0__1__Impl : ( RULE_INT ) ; - public final void rule__Real__Group_2_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Real__Group_1_1__2__Impl" + // InternalProblem.g:4815:1: rule__Real__Group_1_1__2__Impl : ( ( rule__Real__Alternatives_1_1_2 ) ) ; + public final void rule__Real__Group_1_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4860:1: ( ( RULE_INT ) ) - // InternalProblem.g:4861:1: ( RULE_INT ) + // InternalProblem.g:4819:1: ( ( ( rule__Real__Alternatives_1_1_2 ) ) ) + // InternalProblem.g:4820:1: ( ( rule__Real__Alternatives_1_1_2 ) ) { - // InternalProblem.g:4861:1: ( RULE_INT ) - // InternalProblem.g:4862:2: RULE_INT + // InternalProblem.g:4820:1: ( ( rule__Real__Alternatives_1_1_2 ) ) + // InternalProblem.g:4821:2: ( rule__Real__Alternatives_1_1_2 ) { - before(grammarAccess.getRealAccess().getINTTerminalRuleCall_2_0_1()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getRealAccess().getINTTerminalRuleCall_2_0_1()); + before(grammarAccess.getRealAccess().getAlternatives_1_1_2()); + // InternalProblem.g:4822:2: ( rule__Real__Alternatives_1_1_2 ) + // InternalProblem.g:4822:3: rule__Real__Alternatives_1_1_2 + { + pushFollow(FOLLOW_2); + rule__Real__Alternatives_1_1_2(); + + state._fsp--; + + + } + + after(grammarAccess.getRealAccess().getAlternatives_1_1_2()); } @@ -15357,28 +15180,31 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__Real__Group_2_0__1__Impl" + // $ANTLR end "rule__Real__Group_1_1__2__Impl" - // $ANTLR start "rule__Real__Group_2_1__0" - // InternalProblem.g:4872:1: rule__Real__Group_2_1__0 : rule__Real__Group_2_1__0__Impl rule__Real__Group_2_1__1 ; - public final void rule__Real__Group_2_1__0() throws RecognitionException { + // $ANTLR start "rule__Problem__NameAssignment_0_1" + // InternalProblem.g:4831:1: rule__Problem__NameAssignment_0_1 : ( ruleIdentifier ) ; + public final void rule__Problem__NameAssignment_0_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4876:1: ( rule__Real__Group_2_1__0__Impl rule__Real__Group_2_1__1 ) - // InternalProblem.g:4877:2: rule__Real__Group_2_1__0__Impl rule__Real__Group_2_1__1 + // InternalProblem.g:4835:1: ( ( ruleIdentifier ) ) + // InternalProblem.g:4836:2: ( ruleIdentifier ) { - pushFollow(FOLLOW_42); - rule__Real__Group_2_1__0__Impl(); + // InternalProblem.g:4836:2: ( ruleIdentifier ) + // InternalProblem.g:4837:3: ruleIdentifier + { + before(grammarAccess.getProblemAccess().getNameIdentifierParserRuleCall_0_1_0()); + pushFollow(FOLLOW_2); + ruleIdentifier(); state._fsp--; - pushFollow(FOLLOW_2); - rule__Real__Group_2_1__1(); + after(grammarAccess.getProblemAccess().getNameIdentifierParserRuleCall_0_1_0()); - state._fsp--; + } } @@ -15395,46 +15221,29 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__Real__Group_2_1__0" + // $ANTLR end "rule__Problem__NameAssignment_0_1" - // $ANTLR start "rule__Real__Group_2_1__0__Impl" - // InternalProblem.g:4884:1: rule__Real__Group_2_1__0__Impl : ( ( rule__Real__Group_2_1_0__0 )? ) ; - public final void rule__Real__Group_2_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Problem__StatementsAssignment_1" + // InternalProblem.g:4846:1: rule__Problem__StatementsAssignment_1 : ( ruleStatement ) ; + public final void rule__Problem__StatementsAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4888:1: ( ( ( rule__Real__Group_2_1_0__0 )? ) ) - // InternalProblem.g:4889:1: ( ( rule__Real__Group_2_1_0__0 )? ) + // InternalProblem.g:4850:1: ( ( ruleStatement ) ) + // InternalProblem.g:4851:2: ( ruleStatement ) { - // InternalProblem.g:4889:1: ( ( rule__Real__Group_2_1_0__0 )? ) - // InternalProblem.g:4890:2: ( rule__Real__Group_2_1_0__0 )? + // InternalProblem.g:4851:2: ( ruleStatement ) + // InternalProblem.g:4852:3: ruleStatement { - before(grammarAccess.getRealAccess().getGroup_2_1_0()); - // InternalProblem.g:4891:2: ( rule__Real__Group_2_1_0__0 )? - int alt55=2; - int LA55_0 = input.LA(1); - - if ( (LA55_0==12) ) { - alt55=1; - } - switch (alt55) { - case 1 : - // InternalProblem.g:4891:3: rule__Real__Group_2_1_0__0 - { - pushFollow(FOLLOW_2); - rule__Real__Group_2_1_0__0(); - - state._fsp--; - - - } - break; + before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleStatement(); - } + state._fsp--; - after(grammarAccess.getRealAccess().getGroup_2_1_0()); + after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_1_0()); } @@ -15453,506 +15262,28 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { } return ; } - // $ANTLR end "rule__Real__Group_2_1__0__Impl" + // $ANTLR end "rule__Problem__StatementsAssignment_1" - // $ANTLR start "rule__Real__Group_2_1__1" - // InternalProblem.g:4899:1: rule__Real__Group_2_1__1 : rule__Real__Group_2_1__1__Impl rule__Real__Group_2_1__2 ; - public final void rule__Real__Group_2_1__1() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__AbstractAssignment_0" + // InternalProblem.g:4861:1: rule__ClassDeclaration__AbstractAssignment_0 : ( ( 'abstract' ) ) ; + public final void rule__ClassDeclaration__AbstractAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:4903:1: ( rule__Real__Group_2_1__1__Impl rule__Real__Group_2_1__2 ) - // InternalProblem.g:4904:2: rule__Real__Group_2_1__1__Impl rule__Real__Group_2_1__2 + // InternalProblem.g:4865:1: ( ( ( 'abstract' ) ) ) + // InternalProblem.g:4866:2: ( ( 'abstract' ) ) { - pushFollow(FOLLOW_43); - rule__Real__Group_2_1__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__Real__Group_2_1__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Real__Group_2_1__1" - - - // $ANTLR start "rule__Real__Group_2_1__1__Impl" - // InternalProblem.g:4911:1: rule__Real__Group_2_1__1__Impl : ( ( rule__Real__Alternatives_2_1_1 ) ) ; - public final void rule__Real__Group_2_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:4915:1: ( ( ( rule__Real__Alternatives_2_1_1 ) ) ) - // InternalProblem.g:4916:1: ( ( rule__Real__Alternatives_2_1_1 ) ) - { - // InternalProblem.g:4916:1: ( ( rule__Real__Alternatives_2_1_1 ) ) - // InternalProblem.g:4917:2: ( rule__Real__Alternatives_2_1_1 ) - { - before(grammarAccess.getRealAccess().getAlternatives_2_1_1()); - // InternalProblem.g:4918:2: ( rule__Real__Alternatives_2_1_1 ) - // InternalProblem.g:4918:3: rule__Real__Alternatives_2_1_1 - { - pushFollow(FOLLOW_2); - rule__Real__Alternatives_2_1_1(); - - state._fsp--; - - - } - - after(grammarAccess.getRealAccess().getAlternatives_2_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Real__Group_2_1__1__Impl" - - - // $ANTLR start "rule__Real__Group_2_1__2" - // InternalProblem.g:4926:1: rule__Real__Group_2_1__2 : rule__Real__Group_2_1__2__Impl rule__Real__Group_2_1__3 ; - public final void rule__Real__Group_2_1__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:4930:1: ( rule__Real__Group_2_1__2__Impl rule__Real__Group_2_1__3 ) - // InternalProblem.g:4931:2: rule__Real__Group_2_1__2__Impl rule__Real__Group_2_1__3 - { - pushFollow(FOLLOW_43); - rule__Real__Group_2_1__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__Real__Group_2_1__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Real__Group_2_1__2" - - - // $ANTLR start "rule__Real__Group_2_1__2__Impl" - // InternalProblem.g:4938:1: rule__Real__Group_2_1__2__Impl : ( ( rule__Real__Alternatives_2_1_2 )? ) ; - public final void rule__Real__Group_2_1__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:4942:1: ( ( ( rule__Real__Alternatives_2_1_2 )? ) ) - // InternalProblem.g:4943:1: ( ( rule__Real__Alternatives_2_1_2 )? ) - { - // InternalProblem.g:4943:1: ( ( rule__Real__Alternatives_2_1_2 )? ) - // InternalProblem.g:4944:2: ( rule__Real__Alternatives_2_1_2 )? - { - before(grammarAccess.getRealAccess().getAlternatives_2_1_2()); - // InternalProblem.g:4945:2: ( rule__Real__Alternatives_2_1_2 )? - int alt56=2; - int LA56_0 = input.LA(1); - - if ( ((LA56_0>=23 && LA56_0<=24)) ) { - alt56=1; - } - switch (alt56) { - case 1 : - // InternalProblem.g:4945:3: rule__Real__Alternatives_2_1_2 - { - pushFollow(FOLLOW_2); - rule__Real__Alternatives_2_1_2(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getRealAccess().getAlternatives_2_1_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Real__Group_2_1__2__Impl" - - - // $ANTLR start "rule__Real__Group_2_1__3" - // InternalProblem.g:4953:1: rule__Real__Group_2_1__3 : rule__Real__Group_2_1__3__Impl ; - public final void rule__Real__Group_2_1__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:4957:1: ( rule__Real__Group_2_1__3__Impl ) - // InternalProblem.g:4958:2: rule__Real__Group_2_1__3__Impl - { - pushFollow(FOLLOW_2); - rule__Real__Group_2_1__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Real__Group_2_1__3" - - - // $ANTLR start "rule__Real__Group_2_1__3__Impl" - // InternalProblem.g:4964:1: rule__Real__Group_2_1__3__Impl : ( RULE_INT ) ; - public final void rule__Real__Group_2_1__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:4968:1: ( ( RULE_INT ) ) - // InternalProblem.g:4969:1: ( RULE_INT ) - { - // InternalProblem.g:4969:1: ( RULE_INT ) - // InternalProblem.g:4970:2: RULE_INT - { - before(grammarAccess.getRealAccess().getINTTerminalRuleCall_2_1_3()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getRealAccess().getINTTerminalRuleCall_2_1_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Real__Group_2_1__3__Impl" - - - // $ANTLR start "rule__Real__Group_2_1_0__0" - // InternalProblem.g:4980:1: rule__Real__Group_2_1_0__0 : rule__Real__Group_2_1_0__0__Impl rule__Real__Group_2_1_0__1 ; - public final void rule__Real__Group_2_1_0__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:4984:1: ( rule__Real__Group_2_1_0__0__Impl rule__Real__Group_2_1_0__1 ) - // InternalProblem.g:4985:2: rule__Real__Group_2_1_0__0__Impl rule__Real__Group_2_1_0__1 - { - pushFollow(FOLLOW_20); - rule__Real__Group_2_1_0__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__Real__Group_2_1_0__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Real__Group_2_1_0__0" - - - // $ANTLR start "rule__Real__Group_2_1_0__0__Impl" - // InternalProblem.g:4992:1: rule__Real__Group_2_1_0__0__Impl : ( '.' ) ; - public final void rule__Real__Group_2_1_0__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:4996:1: ( ( '.' ) ) - // InternalProblem.g:4997:1: ( '.' ) - { - // InternalProblem.g:4997:1: ( '.' ) - // InternalProblem.g:4998:2: '.' - { - before(grammarAccess.getRealAccess().getFullStopKeyword_2_1_0_0()); - match(input,12,FOLLOW_2); - after(grammarAccess.getRealAccess().getFullStopKeyword_2_1_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Real__Group_2_1_0__0__Impl" - - - // $ANTLR start "rule__Real__Group_2_1_0__1" - // InternalProblem.g:5007:1: rule__Real__Group_2_1_0__1 : rule__Real__Group_2_1_0__1__Impl ; - public final void rule__Real__Group_2_1_0__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:5011:1: ( rule__Real__Group_2_1_0__1__Impl ) - // InternalProblem.g:5012:2: rule__Real__Group_2_1_0__1__Impl - { - pushFollow(FOLLOW_2); - rule__Real__Group_2_1_0__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Real__Group_2_1_0__1" - - - // $ANTLR start "rule__Real__Group_2_1_0__1__Impl" - // InternalProblem.g:5018:1: rule__Real__Group_2_1_0__1__Impl : ( RULE_INT ) ; - public final void rule__Real__Group_2_1_0__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:5022:1: ( ( RULE_INT ) ) - // InternalProblem.g:5023:1: ( RULE_INT ) - { - // InternalProblem.g:5023:1: ( RULE_INT ) - // InternalProblem.g:5024:2: RULE_INT - { - before(grammarAccess.getRealAccess().getINTTerminalRuleCall_2_1_0_1()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getRealAccess().getINTTerminalRuleCall_2_1_0_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Real__Group_2_1_0__1__Impl" - - - // $ANTLR start "rule__Problem__NameAssignment_0_1" - // InternalProblem.g:5034:1: rule__Problem__NameAssignment_0_1 : ( ruleIdentifier ) ; - public final void rule__Problem__NameAssignment_0_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:5038:1: ( ( ruleIdentifier ) ) - // InternalProblem.g:5039:2: ( ruleIdentifier ) - { - // InternalProblem.g:5039:2: ( ruleIdentifier ) - // InternalProblem.g:5040:3: ruleIdentifier - { - before(grammarAccess.getProblemAccess().getNameIdentifierParserRuleCall_0_1_0()); - pushFollow(FOLLOW_2); - ruleIdentifier(); - - state._fsp--; - - after(grammarAccess.getProblemAccess().getNameIdentifierParserRuleCall_0_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Problem__NameAssignment_0_1" - - - // $ANTLR start "rule__Problem__StatementsAssignment_1" - // InternalProblem.g:5049:1: rule__Problem__StatementsAssignment_1 : ( ruleStatement ) ; - public final void rule__Problem__StatementsAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:5053:1: ( ( ruleStatement ) ) - // InternalProblem.g:5054:2: ( ruleStatement ) - { - // InternalProblem.g:5054:2: ( ruleStatement ) - // InternalProblem.g:5055:3: ruleStatement - { - before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleStatement(); - - state._fsp--; - - after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Problem__StatementsAssignment_1" - - - // $ANTLR start "rule__ClassDeclaration__AbstractAssignment_0" - // InternalProblem.g:5064:1: rule__ClassDeclaration__AbstractAssignment_0 : ( ( 'abstract' ) ) ; - public final void rule__ClassDeclaration__AbstractAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalProblem.g:5068:1: ( ( ( 'abstract' ) ) ) - // InternalProblem.g:5069:2: ( ( 'abstract' ) ) - { - // InternalProblem.g:5069:2: ( ( 'abstract' ) ) - // InternalProblem.g:5070:3: ( 'abstract' ) + // InternalProblem.g:4866:2: ( ( 'abstract' ) ) + // InternalProblem.g:4867:3: ( 'abstract' ) { before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); - // InternalProblem.g:5071:3: ( 'abstract' ) - // InternalProblem.g:5072:4: 'abstract' + // InternalProblem.g:4868:3: ( 'abstract' ) + // InternalProblem.g:4869:4: 'abstract' { before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); - match(input,44,FOLLOW_2); + match(input,42,FOLLOW_2); after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); } @@ -15980,17 +15311,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__NameAssignment_2" - // InternalProblem.g:5083:1: rule__ClassDeclaration__NameAssignment_2 : ( ruleIdentifier ) ; + // InternalProblem.g:4880:1: rule__ClassDeclaration__NameAssignment_2 : ( ruleIdentifier ) ; public final void rule__ClassDeclaration__NameAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5087:1: ( ( ruleIdentifier ) ) - // InternalProblem.g:5088:2: ( ruleIdentifier ) + // InternalProblem.g:4884:1: ( ( ruleIdentifier ) ) + // InternalProblem.g:4885:2: ( ruleIdentifier ) { - // InternalProblem.g:5088:2: ( ruleIdentifier ) - // InternalProblem.g:5089:3: ruleIdentifier + // InternalProblem.g:4885:2: ( ruleIdentifier ) + // InternalProblem.g:4886:3: ruleIdentifier { before(grammarAccess.getClassDeclarationAccess().getNameIdentifierParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -16021,21 +15352,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__SuperTypesAssignment_3_1" - // InternalProblem.g:5098:1: rule__ClassDeclaration__SuperTypesAssignment_3_1 : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:4895:1: rule__ClassDeclaration__SuperTypesAssignment_3_1 : ( ( ruleQualifiedName ) ) ; public final void rule__ClassDeclaration__SuperTypesAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5102:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:5103:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4899:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:4900:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:5103:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:5104:3: ( ruleQualifiedName ) + // InternalProblem.g:4900:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4901:3: ( ruleQualifiedName ) { before(grammarAccess.getClassDeclarationAccess().getSuperTypesRelationCrossReference_3_1_0()); - // InternalProblem.g:5105:3: ( ruleQualifiedName ) - // InternalProblem.g:5106:4: ruleQualifiedName + // InternalProblem.g:4902:3: ( ruleQualifiedName ) + // InternalProblem.g:4903:4: ruleQualifiedName { before(grammarAccess.getClassDeclarationAccess().getSuperTypesRelationQualifiedNameParserRuleCall_3_1_0_1()); pushFollow(FOLLOW_2); @@ -16070,21 +15401,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__SuperTypesAssignment_3_2_1" - // InternalProblem.g:5117:1: rule__ClassDeclaration__SuperTypesAssignment_3_2_1 : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:4914: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:5121:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:5122:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4918:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:4919:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:5122:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:5123:3: ( ruleQualifiedName ) + // InternalProblem.g:4919:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:4920:3: ( ruleQualifiedName ) { before(grammarAccess.getClassDeclarationAccess().getSuperTypesRelationCrossReference_3_2_1_0()); - // InternalProblem.g:5124:3: ( ruleQualifiedName ) - // InternalProblem.g:5125:4: ruleQualifiedName + // InternalProblem.g:4921:3: ( ruleQualifiedName ) + // InternalProblem.g:4922:4: ruleQualifiedName { before(grammarAccess.getClassDeclarationAccess().getSuperTypesRelationQualifiedNameParserRuleCall_3_2_1_0_1()); pushFollow(FOLLOW_2); @@ -16119,17 +15450,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0" - // InternalProblem.g:5136:1: rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 : ( ruleReferenceDeclaration ) ; + // InternalProblem.g:4933: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:5140:1: ( ( ruleReferenceDeclaration ) ) - // InternalProblem.g:5141:2: ( ruleReferenceDeclaration ) + // InternalProblem.g:4937:1: ( ( ruleReferenceDeclaration ) ) + // InternalProblem.g:4938:2: ( ruleReferenceDeclaration ) { - // InternalProblem.g:5141:2: ( ruleReferenceDeclaration ) - // InternalProblem.g:5142:3: ruleReferenceDeclaration + // InternalProblem.g:4938:2: ( ruleReferenceDeclaration ) + // InternalProblem.g:4939:3: ruleReferenceDeclaration { before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_4_0_1_0_0()); pushFollow(FOLLOW_2); @@ -16160,17 +15491,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__NameAssignment_1" - // InternalProblem.g:5151:1: rule__EnumDeclaration__NameAssignment_1 : ( ruleIdentifier ) ; + // InternalProblem.g:4948:1: rule__EnumDeclaration__NameAssignment_1 : ( ruleIdentifier ) ; public final void rule__EnumDeclaration__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5155:1: ( ( ruleIdentifier ) ) - // InternalProblem.g:5156:2: ( ruleIdentifier ) + // InternalProblem.g:4952:1: ( ( ruleIdentifier ) ) + // InternalProblem.g:4953:2: ( ruleIdentifier ) { - // InternalProblem.g:5156:2: ( ruleIdentifier ) - // InternalProblem.g:5157:3: ruleIdentifier + // InternalProblem.g:4953:2: ( ruleIdentifier ) + // InternalProblem.g:4954:3: ruleIdentifier { before(grammarAccess.getEnumDeclarationAccess().getNameIdentifierParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -16201,17 +15532,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__LiteralsAssignment_2_0_1_0" - // InternalProblem.g:5166:1: rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 : ( ruleEnumLiteral ) ; + // InternalProblem.g:4963:1: rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 : ( ruleEnumLiteral ) ; public final void rule__EnumDeclaration__LiteralsAssignment_2_0_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5170:1: ( ( ruleEnumLiteral ) ) - // InternalProblem.g:5171:2: ( ruleEnumLiteral ) + // InternalProblem.g:4967:1: ( ( ruleEnumLiteral ) ) + // InternalProblem.g:4968:2: ( ruleEnumLiteral ) { - // InternalProblem.g:5171:2: ( ruleEnumLiteral ) - // InternalProblem.g:5172:3: ruleEnumLiteral + // InternalProblem.g:4968:2: ( ruleEnumLiteral ) + // InternalProblem.g:4969:3: ruleEnumLiteral { before(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_0_0()); pushFollow(FOLLOW_2); @@ -16242,17 +15573,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1" - // InternalProblem.g:5181:1: rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 : ( ruleEnumLiteral ) ; + // InternalProblem.g:4978:1: rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 : ( ruleEnumLiteral ) ; public final void rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5185:1: ( ( ruleEnumLiteral ) ) - // InternalProblem.g:5186:2: ( ruleEnumLiteral ) + // InternalProblem.g:4982:1: ( ( ruleEnumLiteral ) ) + // InternalProblem.g:4983:2: ( ruleEnumLiteral ) { - // InternalProblem.g:5186:2: ( ruleEnumLiteral ) - // InternalProblem.g:5187:3: ruleEnumLiteral + // InternalProblem.g:4983:2: ( ruleEnumLiteral ) + // InternalProblem.g:4984:3: ruleEnumLiteral { before(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_1_1_0()); pushFollow(FOLLOW_2); @@ -16283,17 +15614,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__EnumLiteral__NameAssignment" - // InternalProblem.g:5196:1: rule__EnumLiteral__NameAssignment : ( ruleIdentifier ) ; + // InternalProblem.g:4993:1: rule__EnumLiteral__NameAssignment : ( ruleIdentifier ) ; public final void rule__EnumLiteral__NameAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5200:1: ( ( ruleIdentifier ) ) - // InternalProblem.g:5201:2: ( ruleIdentifier ) + // InternalProblem.g:4997:1: ( ( ruleIdentifier ) ) + // InternalProblem.g:4998:2: ( ruleIdentifier ) { - // InternalProblem.g:5201:2: ( ruleIdentifier ) - // InternalProblem.g:5202:3: ruleIdentifier + // InternalProblem.g:4998:2: ( ruleIdentifier ) + // InternalProblem.g:4999:3: ruleIdentifier { before(grammarAccess.getEnumLiteralAccess().getNameIdentifierParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -16324,24 +15655,24 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__ContainmentAssignment_0_0" - // InternalProblem.g:5211:1: rule__ReferenceDeclaration__ContainmentAssignment_0_0 : ( ( 'contains' ) ) ; + // InternalProblem.g:5008:1: rule__ReferenceDeclaration__ContainmentAssignment_0_0 : ( ( 'contains' ) ) ; public final void rule__ReferenceDeclaration__ContainmentAssignment_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5215:1: ( ( ( 'contains' ) ) ) - // InternalProblem.g:5216:2: ( ( 'contains' ) ) + // InternalProblem.g:5012:1: ( ( ( 'contains' ) ) ) + // InternalProblem.g:5013:2: ( ( 'contains' ) ) { - // InternalProblem.g:5216:2: ( ( 'contains' ) ) - // InternalProblem.g:5217:3: ( 'contains' ) + // InternalProblem.g:5013:2: ( ( 'contains' ) ) + // InternalProblem.g:5014:3: ( 'contains' ) { before(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0()); - // InternalProblem.g:5218:3: ( 'contains' ) - // InternalProblem.g:5219:4: 'contains' + // InternalProblem.g:5015:3: ( 'contains' ) + // InternalProblem.g:5016:4: 'contains' { before(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0()); - match(input,45,FOLLOW_2); + match(input,43,FOLLOW_2); after(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0()); } @@ -16369,21 +15700,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__ReferenceTypeAssignment_1" - // InternalProblem.g:5230:1: rule__ReferenceDeclaration__ReferenceTypeAssignment_1 : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:5027:1: rule__ReferenceDeclaration__ReferenceTypeAssignment_1 : ( ( ruleQualifiedName ) ) ; public final void rule__ReferenceDeclaration__ReferenceTypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5234:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:5235:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5031:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:5032:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:5235:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:5236:3: ( ruleQualifiedName ) + // InternalProblem.g:5032:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5033:3: ( ruleQualifiedName ) { before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeRelationCrossReference_1_0()); - // InternalProblem.g:5237:3: ( ruleQualifiedName ) - // InternalProblem.g:5238:4: ruleQualifiedName + // InternalProblem.g:5034:3: ( ruleQualifiedName ) + // InternalProblem.g:5035:4: ruleQualifiedName { before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeRelationQualifiedNameParserRuleCall_1_0_1()); pushFollow(FOLLOW_2); @@ -16418,17 +15749,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__MultiplicityAssignment_2_1" - // InternalProblem.g:5249:1: rule__ReferenceDeclaration__MultiplicityAssignment_2_1 : ( ruleMultiplicity ) ; + // InternalProblem.g:5046:1: rule__ReferenceDeclaration__MultiplicityAssignment_2_1 : ( ruleMultiplicity ) ; public final void rule__ReferenceDeclaration__MultiplicityAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5253:1: ( ( ruleMultiplicity ) ) - // InternalProblem.g:5254:2: ( ruleMultiplicity ) + // InternalProblem.g:5050:1: ( ( ruleMultiplicity ) ) + // InternalProblem.g:5051:2: ( ruleMultiplicity ) { - // InternalProblem.g:5254:2: ( ruleMultiplicity ) - // InternalProblem.g:5255:3: ruleMultiplicity + // InternalProblem.g:5051:2: ( ruleMultiplicity ) + // InternalProblem.g:5052:3: ruleMultiplicity { before(grammarAccess.getReferenceDeclarationAccess().getMultiplicityMultiplicityParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); @@ -16459,17 +15790,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__NameAssignment_3" - // InternalProblem.g:5264:1: rule__ReferenceDeclaration__NameAssignment_3 : ( ruleIdentifier ) ; + // InternalProblem.g:5061:1: rule__ReferenceDeclaration__NameAssignment_3 : ( ruleIdentifier ) ; public final void rule__ReferenceDeclaration__NameAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5268:1: ( ( ruleIdentifier ) ) - // InternalProblem.g:5269:2: ( ruleIdentifier ) + // InternalProblem.g:5065:1: ( ( ruleIdentifier ) ) + // InternalProblem.g:5066:2: ( ruleIdentifier ) { - // InternalProblem.g:5269:2: ( ruleIdentifier ) - // InternalProblem.g:5270:3: ruleIdentifier + // InternalProblem.g:5066:2: ( ruleIdentifier ) + // InternalProblem.g:5067:3: ruleIdentifier { before(grammarAccess.getReferenceDeclarationAccess().getNameIdentifierParserRuleCall_3_0()); pushFollow(FOLLOW_2); @@ -16500,21 +15831,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ReferenceDeclaration__OppositeAssignment_4_1" - // InternalProblem.g:5279:1: rule__ReferenceDeclaration__OppositeAssignment_4_1 : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:5076:1: rule__ReferenceDeclaration__OppositeAssignment_4_1 : ( ( ruleQualifiedName ) ) ; public final void rule__ReferenceDeclaration__OppositeAssignment_4_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5283:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:5284:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5080:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:5081:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:5284:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:5285:3: ( ruleQualifiedName ) + // InternalProblem.g:5081:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5082:3: ( ruleQualifiedName ) { before(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationCrossReference_4_1_0()); - // InternalProblem.g:5286:3: ( ruleQualifiedName ) - // InternalProblem.g:5287:4: ruleQualifiedName + // InternalProblem.g:5083:3: ( ruleQualifiedName ) + // InternalProblem.g:5084:4: ruleQualifiedName { before(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationQualifiedNameParserRuleCall_4_1_0_1()); pushFollow(FOLLOW_2); @@ -16549,24 +15880,24 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__ErrorAssignment_0_0_0" - // InternalProblem.g:5298:1: rule__PredicateDefinition__ErrorAssignment_0_0_0 : ( ( 'error' ) ) ; + // InternalProblem.g:5095: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:5302:1: ( ( ( 'error' ) ) ) - // InternalProblem.g:5303:2: ( ( 'error' ) ) + // InternalProblem.g:5099:1: ( ( ( 'error' ) ) ) + // InternalProblem.g:5100:2: ( ( 'error' ) ) { - // InternalProblem.g:5303:2: ( ( 'error' ) ) - // InternalProblem.g:5304:3: ( 'error' ) + // InternalProblem.g:5100:2: ( ( 'error' ) ) + // InternalProblem.g:5101:3: ( 'error' ) { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0()); - // InternalProblem.g:5305:3: ( 'error' ) - // InternalProblem.g:5306:4: 'error' + // InternalProblem.g:5102:3: ( 'error' ) + // InternalProblem.g:5103:4: 'error' { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0()); - match(input,46,FOLLOW_2); + match(input,44,FOLLOW_2); after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0()); } @@ -16594,17 +15925,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__NameAssignment_1" - // InternalProblem.g:5317:1: rule__PredicateDefinition__NameAssignment_1 : ( ruleIdentifier ) ; + // InternalProblem.g:5114:1: rule__PredicateDefinition__NameAssignment_1 : ( ruleIdentifier ) ; public final void rule__PredicateDefinition__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5321:1: ( ( ruleIdentifier ) ) - // InternalProblem.g:5322:2: ( ruleIdentifier ) + // InternalProblem.g:5118:1: ( ( ruleIdentifier ) ) + // InternalProblem.g:5119:2: ( ruleIdentifier ) { - // InternalProblem.g:5322:2: ( ruleIdentifier ) - // InternalProblem.g:5323:3: ruleIdentifier + // InternalProblem.g:5119:2: ( ruleIdentifier ) + // InternalProblem.g:5120:3: ruleIdentifier { before(grammarAccess.getPredicateDefinitionAccess().getNameIdentifierParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -16635,17 +15966,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__ParametersAssignment_3_0" - // InternalProblem.g:5332:1: rule__PredicateDefinition__ParametersAssignment_3_0 : ( ruleParameter ) ; + // InternalProblem.g:5129:1: rule__PredicateDefinition__ParametersAssignment_3_0 : ( ruleParameter ) ; public final void rule__PredicateDefinition__ParametersAssignment_3_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5336:1: ( ( ruleParameter ) ) - // InternalProblem.g:5337:2: ( ruleParameter ) + // InternalProblem.g:5133:1: ( ( ruleParameter ) ) + // InternalProblem.g:5134:2: ( ruleParameter ) { - // InternalProblem.g:5337:2: ( ruleParameter ) - // InternalProblem.g:5338:3: ruleParameter + // InternalProblem.g:5134:2: ( ruleParameter ) + // InternalProblem.g:5135:3: ruleParameter { before(grammarAccess.getPredicateDefinitionAccess().getParametersParameterParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); @@ -16676,17 +16007,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__ParametersAssignment_3_1_1" - // InternalProblem.g:5347:1: rule__PredicateDefinition__ParametersAssignment_3_1_1 : ( ruleParameter ) ; + // InternalProblem.g:5144: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:5351:1: ( ( ruleParameter ) ) - // InternalProblem.g:5352:2: ( ruleParameter ) + // InternalProblem.g:5148:1: ( ( ruleParameter ) ) + // InternalProblem.g:5149:2: ( ruleParameter ) { - // InternalProblem.g:5352:2: ( ruleParameter ) - // InternalProblem.g:5353:3: ruleParameter + // InternalProblem.g:5149:2: ( ruleParameter ) + // InternalProblem.g:5150:3: ruleParameter { before(grammarAccess.getPredicateDefinitionAccess().getParametersParameterParserRuleCall_3_1_1_0()); pushFollow(FOLLOW_2); @@ -16717,17 +16048,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__BodiesAssignment_5_1" - // InternalProblem.g:5362:1: rule__PredicateDefinition__BodiesAssignment_5_1 : ( ruleConjunction ) ; + // InternalProblem.g:5159:1: rule__PredicateDefinition__BodiesAssignment_5_1 : ( ruleConjunction ) ; public final void rule__PredicateDefinition__BodiesAssignment_5_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5366:1: ( ( ruleConjunction ) ) - // InternalProblem.g:5367:2: ( ruleConjunction ) + // InternalProblem.g:5163:1: ( ( ruleConjunction ) ) + // InternalProblem.g:5164:2: ( ruleConjunction ) { - // InternalProblem.g:5367:2: ( ruleConjunction ) - // InternalProblem.g:5368:3: ruleConjunction + // InternalProblem.g:5164:2: ( ruleConjunction ) + // InternalProblem.g:5165:3: ruleConjunction { before(grammarAccess.getPredicateDefinitionAccess().getBodiesConjunctionParserRuleCall_5_1_0()); pushFollow(FOLLOW_2); @@ -16758,17 +16089,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__PredicateDefinition__BodiesAssignment_5_2_1" - // InternalProblem.g:5377:1: rule__PredicateDefinition__BodiesAssignment_5_2_1 : ( ruleConjunction ) ; + // InternalProblem.g:5174: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:5381:1: ( ( ruleConjunction ) ) - // InternalProblem.g:5382:2: ( ruleConjunction ) + // InternalProblem.g:5178:1: ( ( ruleConjunction ) ) + // InternalProblem.g:5179:2: ( ruleConjunction ) { - // InternalProblem.g:5382:2: ( ruleConjunction ) - // InternalProblem.g:5383:3: ruleConjunction + // InternalProblem.g:5179:2: ( ruleConjunction ) + // InternalProblem.g:5180:3: ruleConjunction { before(grammarAccess.getPredicateDefinitionAccess().getBodiesConjunctionParserRuleCall_5_2_1_0()); pushFollow(FOLLOW_2); @@ -16799,21 +16130,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Parameter__ParameterTypeAssignment_0" - // InternalProblem.g:5392:1: rule__Parameter__ParameterTypeAssignment_0 : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:5189:1: rule__Parameter__ParameterTypeAssignment_0 : ( ( ruleQualifiedName ) ) ; public final void rule__Parameter__ParameterTypeAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5396:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:5397:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5193:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:5194:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:5397:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:5398:3: ( ruleQualifiedName ) + // InternalProblem.g:5194:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5195:3: ( ruleQualifiedName ) { before(grammarAccess.getParameterAccess().getParameterTypeRelationCrossReference_0_0()); - // InternalProblem.g:5399:3: ( ruleQualifiedName ) - // InternalProblem.g:5400:4: ruleQualifiedName + // InternalProblem.g:5196:3: ( ruleQualifiedName ) + // InternalProblem.g:5197:4: ruleQualifiedName { before(grammarAccess.getParameterAccess().getParameterTypeRelationQualifiedNameParserRuleCall_0_0_1()); pushFollow(FOLLOW_2); @@ -16848,17 +16179,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Parameter__NameAssignment_1" - // InternalProblem.g:5411:1: rule__Parameter__NameAssignment_1 : ( ruleIdentifier ) ; + // InternalProblem.g:5208:1: rule__Parameter__NameAssignment_1 : ( ruleIdentifier ) ; public final void rule__Parameter__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5415:1: ( ( ruleIdentifier ) ) - // InternalProblem.g:5416:2: ( ruleIdentifier ) + // InternalProblem.g:5212:1: ( ( ruleIdentifier ) ) + // InternalProblem.g:5213:2: ( ruleIdentifier ) { - // InternalProblem.g:5416:2: ( ruleIdentifier ) - // InternalProblem.g:5417:3: ruleIdentifier + // InternalProblem.g:5213:2: ( ruleIdentifier ) + // InternalProblem.g:5214:3: ruleIdentifier { before(grammarAccess.getParameterAccess().getNameIdentifierParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -16889,17 +16220,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__LiteralsAssignment_0" - // InternalProblem.g:5426:1: rule__Conjunction__LiteralsAssignment_0 : ( ruleLiteral ) ; + // InternalProblem.g:5223:1: rule__Conjunction__LiteralsAssignment_0 : ( ruleLiteral ) ; public final void rule__Conjunction__LiteralsAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5430:1: ( ( ruleLiteral ) ) - // InternalProblem.g:5431:2: ( ruleLiteral ) + // InternalProblem.g:5227:1: ( ( ruleLiteral ) ) + // InternalProblem.g:5228:2: ( ruleLiteral ) { - // InternalProblem.g:5431:2: ( ruleLiteral ) - // InternalProblem.g:5432:3: ruleLiteral + // InternalProblem.g:5228:2: ( ruleLiteral ) + // InternalProblem.g:5229:3: ruleLiteral { before(grammarAccess.getConjunctionAccess().getLiteralsLiteralParserRuleCall_0_0()); pushFollow(FOLLOW_2); @@ -16930,17 +16261,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Conjunction__LiteralsAssignment_1_1" - // InternalProblem.g:5441:1: rule__Conjunction__LiteralsAssignment_1_1 : ( ruleLiteral ) ; + // InternalProblem.g:5238:1: rule__Conjunction__LiteralsAssignment_1_1 : ( ruleLiteral ) ; public final void rule__Conjunction__LiteralsAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5445:1: ( ( ruleLiteral ) ) - // InternalProblem.g:5446:2: ( ruleLiteral ) + // InternalProblem.g:5242:1: ( ( ruleLiteral ) ) + // InternalProblem.g:5243:2: ( ruleLiteral ) { - // InternalProblem.g:5446:2: ( ruleLiteral ) - // InternalProblem.g:5447:3: ruleLiteral + // InternalProblem.g:5243:2: ( ruleLiteral ) + // InternalProblem.g:5244:3: ruleLiteral { before(grammarAccess.getConjunctionAccess().getLiteralsLiteralParserRuleCall_1_1_0()); pushFollow(FOLLOW_2); @@ -16971,17 +16302,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NegativeLiteral__AtomAssignment_1" - // InternalProblem.g:5456:1: rule__NegativeLiteral__AtomAssignment_1 : ( ruleAtom ) ; + // InternalProblem.g:5253:1: rule__NegativeLiteral__AtomAssignment_1 : ( ruleAtom ) ; public final void rule__NegativeLiteral__AtomAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5460:1: ( ( ruleAtom ) ) - // InternalProblem.g:5461:2: ( ruleAtom ) + // InternalProblem.g:5257:1: ( ( ruleAtom ) ) + // InternalProblem.g:5258:2: ( ruleAtom ) { - // InternalProblem.g:5461:2: ( ruleAtom ) - // InternalProblem.g:5462:3: ruleAtom + // InternalProblem.g:5258:2: ( ruleAtom ) + // InternalProblem.g:5259:3: ruleAtom { before(grammarAccess.getNegativeLiteralAccess().getAtomAtomParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -17012,21 +16343,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__RelationAssignment_0" - // InternalProblem.g:5471:1: rule__Atom__RelationAssignment_0 : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:5268:1: rule__Atom__RelationAssignment_0 : ( ( ruleQualifiedName ) ) ; public final void rule__Atom__RelationAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5475:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:5476:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5272:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:5273:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:5476:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:5477:3: ( ruleQualifiedName ) + // InternalProblem.g:5273:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5274:3: ( ruleQualifiedName ) { before(grammarAccess.getAtomAccess().getRelationRelationCrossReference_0_0()); - // InternalProblem.g:5478:3: ( ruleQualifiedName ) - // InternalProblem.g:5479:4: ruleQualifiedName + // InternalProblem.g:5275:3: ( ruleQualifiedName ) + // InternalProblem.g:5276:4: ruleQualifiedName { before(grammarAccess.getAtomAccess().getRelationRelationQualifiedNameParserRuleCall_0_0_1()); pushFollow(FOLLOW_2); @@ -17061,24 +16392,24 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__TransitiveClosureAssignment_1" - // InternalProblem.g:5490:1: rule__Atom__TransitiveClosureAssignment_1 : ( ( '+' ) ) ; + // InternalProblem.g:5287:1: rule__Atom__TransitiveClosureAssignment_1 : ( ( '+' ) ) ; public final void rule__Atom__TransitiveClosureAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5494:1: ( ( ( '+' ) ) ) - // InternalProblem.g:5495:2: ( ( '+' ) ) + // InternalProblem.g:5291:1: ( ( ( '+' ) ) ) + // InternalProblem.g:5292:2: ( ( '+' ) ) { - // InternalProblem.g:5495:2: ( ( '+' ) ) - // InternalProblem.g:5496:3: ( '+' ) + // InternalProblem.g:5292:2: ( ( '+' ) ) + // InternalProblem.g:5293:3: ( '+' ) { before(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0()); - // InternalProblem.g:5497:3: ( '+' ) - // InternalProblem.g:5498:4: '+' + // InternalProblem.g:5294:3: ( '+' ) + // InternalProblem.g:5295:4: '+' { before(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0()); - match(input,24,FOLLOW_2); + match(input,45,FOLLOW_2); after(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0()); } @@ -17106,17 +16437,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__ArgumentsAssignment_3_0" - // InternalProblem.g:5509:1: rule__Atom__ArgumentsAssignment_3_0 : ( ruleArgument ) ; + // InternalProblem.g:5306:1: rule__Atom__ArgumentsAssignment_3_0 : ( ruleArgument ) ; public final void rule__Atom__ArgumentsAssignment_3_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5513:1: ( ( ruleArgument ) ) - // InternalProblem.g:5514:2: ( ruleArgument ) + // InternalProblem.g:5310:1: ( ( ruleArgument ) ) + // InternalProblem.g:5311:2: ( ruleArgument ) { - // InternalProblem.g:5514:2: ( ruleArgument ) - // InternalProblem.g:5515:3: ruleArgument + // InternalProblem.g:5311:2: ( ruleArgument ) + // InternalProblem.g:5312:3: ruleArgument { before(grammarAccess.getAtomAccess().getArgumentsArgumentParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); @@ -17147,17 +16478,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Atom__ArgumentsAssignment_3_1_1" - // InternalProblem.g:5524:1: rule__Atom__ArgumentsAssignment_3_1_1 : ( ruleArgument ) ; + // InternalProblem.g:5321: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:5528:1: ( ( ruleArgument ) ) - // InternalProblem.g:5529:2: ( ruleArgument ) + // InternalProblem.g:5325:1: ( ( ruleArgument ) ) + // InternalProblem.g:5326:2: ( ruleArgument ) { - // InternalProblem.g:5529:2: ( ruleArgument ) - // InternalProblem.g:5530:3: ruleArgument + // InternalProblem.g:5326:2: ( ruleArgument ) + // InternalProblem.g:5327:3: ruleArgument { before(grammarAccess.getAtomAccess().getArgumentsArgumentParserRuleCall_3_1_1_0()); pushFollow(FOLLOW_2); @@ -17188,21 +16519,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__VariableOrNodeArgument__VariableOrNodeAssignment" - // InternalProblem.g:5539:1: rule__VariableOrNodeArgument__VariableOrNodeAssignment : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:5336:1: rule__VariableOrNodeArgument__VariableOrNodeAssignment : ( ( ruleQualifiedName ) ) ; public final void rule__VariableOrNodeArgument__VariableOrNodeAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5543:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:5544:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5340:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:5341:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:5544:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:5545:3: ( ruleQualifiedName ) + // InternalProblem.g:5341:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5342:3: ( ruleQualifiedName ) { before(grammarAccess.getVariableOrNodeArgumentAccess().getVariableOrNodeVariableOrNodeCrossReference_0()); - // InternalProblem.g:5546:3: ( ruleQualifiedName ) - // InternalProblem.g:5547:4: ruleQualifiedName + // InternalProblem.g:5343:3: ( ruleQualifiedName ) + // InternalProblem.g:5344:4: ruleQualifiedName { before(grammarAccess.getVariableOrNodeArgumentAccess().getVariableOrNodeVariableOrNodeQualifiedNameParserRuleCall_0_1()); pushFollow(FOLLOW_2); @@ -17237,17 +16568,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ConstantArgument__ConstantAssignment" - // InternalProblem.g:5558:1: rule__ConstantArgument__ConstantAssignment : ( ruleConstant ) ; + // InternalProblem.g:5355:1: rule__ConstantArgument__ConstantAssignment : ( ruleConstant ) ; public final void rule__ConstantArgument__ConstantAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5562:1: ( ( ruleConstant ) ) - // InternalProblem.g:5563:2: ( ruleConstant ) + // InternalProblem.g:5359:1: ( ( ruleConstant ) ) + // InternalProblem.g:5360:2: ( ruleConstant ) { - // InternalProblem.g:5563:2: ( ruleConstant ) - // InternalProblem.g:5564:3: ruleConstant + // InternalProblem.g:5360:2: ( ruleConstant ) + // InternalProblem.g:5361:3: ruleConstant { before(grammarAccess.getConstantArgumentAccess().getConstantConstantParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -17278,21 +16609,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__RelationAssignment_0_0_0" - // InternalProblem.g:5573:1: rule__Assertion__RelationAssignment_0_0_0 : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:5370: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:5577:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:5578:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5374:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:5375:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:5578:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:5579:3: ( ruleQualifiedName ) + // InternalProblem.g:5375:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5376:3: ( ruleQualifiedName ) { before(grammarAccess.getAssertionAccess().getRelationRelationCrossReference_0_0_0_0()); - // InternalProblem.g:5580:3: ( ruleQualifiedName ) - // InternalProblem.g:5581:4: ruleQualifiedName + // InternalProblem.g:5377:3: ( ruleQualifiedName ) + // InternalProblem.g:5378:4: ruleQualifiedName { before(grammarAccess.getAssertionAccess().getRelationRelationQualifiedNameParserRuleCall_0_0_0_0_1()); pushFollow(FOLLOW_2); @@ -17327,17 +16658,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__ArgumentsAssignment_0_0_2_0" - // InternalProblem.g:5592:1: rule__Assertion__ArgumentsAssignment_0_0_2_0 : ( ruleAssertionArgument ) ; + // InternalProblem.g:5389:1: rule__Assertion__ArgumentsAssignment_0_0_2_0 : ( ruleAssertionArgument ) ; public final void rule__Assertion__ArgumentsAssignment_0_0_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5596:1: ( ( ruleAssertionArgument ) ) - // InternalProblem.g:5597:2: ( ruleAssertionArgument ) + // InternalProblem.g:5393:1: ( ( ruleAssertionArgument ) ) + // InternalProblem.g:5394:2: ( ruleAssertionArgument ) { - // InternalProblem.g:5597:2: ( ruleAssertionArgument ) - // InternalProblem.g:5598:3: ruleAssertionArgument + // InternalProblem.g:5394:2: ( ruleAssertionArgument ) + // InternalProblem.g:5395:3: ruleAssertionArgument { before(grammarAccess.getAssertionAccess().getArgumentsAssertionArgumentParserRuleCall_0_0_2_0_0()); pushFollow(FOLLOW_2); @@ -17368,17 +16699,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__ArgumentsAssignment_0_0_2_1_1" - // InternalProblem.g:5607:1: rule__Assertion__ArgumentsAssignment_0_0_2_1_1 : ( ruleAssertionArgument ) ; + // InternalProblem.g:5404:1: rule__Assertion__ArgumentsAssignment_0_0_2_1_1 : ( ruleAssertionArgument ) ; public final void rule__Assertion__ArgumentsAssignment_0_0_2_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5611:1: ( ( ruleAssertionArgument ) ) - // InternalProblem.g:5612:2: ( ruleAssertionArgument ) + // InternalProblem.g:5408:1: ( ( ruleAssertionArgument ) ) + // InternalProblem.g:5409:2: ( ruleAssertionArgument ) { - // InternalProblem.g:5612:2: ( ruleAssertionArgument ) - // InternalProblem.g:5613:3: ruleAssertionArgument + // InternalProblem.g:5409:2: ( ruleAssertionArgument ) + // InternalProblem.g:5410:3: ruleAssertionArgument { before(grammarAccess.getAssertionAccess().getArgumentsAssertionArgumentParserRuleCall_0_0_2_1_1_0()); pushFollow(FOLLOW_2); @@ -17409,17 +16740,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__ValueAssignment_0_0_5" - // InternalProblem.g:5622:1: rule__Assertion__ValueAssignment_0_0_5 : ( ruleLogicValue ) ; + // InternalProblem.g:5419: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:5626:1: ( ( ruleLogicValue ) ) - // InternalProblem.g:5627:2: ( ruleLogicValue ) + // InternalProblem.g:5423:1: ( ( ruleLogicValue ) ) + // InternalProblem.g:5424:2: ( ruleLogicValue ) { - // InternalProblem.g:5627:2: ( ruleLogicValue ) - // InternalProblem.g:5628:3: ruleLogicValue + // InternalProblem.g:5424:2: ( ruleLogicValue ) + // InternalProblem.g:5425:3: ruleLogicValue { before(grammarAccess.getAssertionAccess().getValueLogicValueEnumRuleCall_0_0_5_0()); pushFollow(FOLLOW_2); @@ -17450,17 +16781,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__ValueAssignment_0_1_0" - // InternalProblem.g:5637:1: rule__Assertion__ValueAssignment_0_1_0 : ( ruleShortLogicValue ) ; + // InternalProblem.g:5434: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:5641:1: ( ( ruleShortLogicValue ) ) - // InternalProblem.g:5642:2: ( ruleShortLogicValue ) + // InternalProblem.g:5438:1: ( ( ruleShortLogicValue ) ) + // InternalProblem.g:5439:2: ( ruleShortLogicValue ) { - // InternalProblem.g:5642:2: ( ruleShortLogicValue ) - // InternalProblem.g:5643:3: ruleShortLogicValue + // InternalProblem.g:5439:2: ( ruleShortLogicValue ) + // InternalProblem.g:5440:3: ruleShortLogicValue { before(grammarAccess.getAssertionAccess().getValueShortLogicValueEnumRuleCall_0_1_0_0()); pushFollow(FOLLOW_2); @@ -17491,21 +16822,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__RelationAssignment_0_1_1" - // InternalProblem.g:5652:1: rule__Assertion__RelationAssignment_0_1_1 : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:5449: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:5656:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:5657:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5453:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:5454:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:5657:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:5658:3: ( ruleQualifiedName ) + // InternalProblem.g:5454:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5455:3: ( ruleQualifiedName ) { before(grammarAccess.getAssertionAccess().getRelationRelationCrossReference_0_1_1_0()); - // InternalProblem.g:5659:3: ( ruleQualifiedName ) - // InternalProblem.g:5660:4: ruleQualifiedName + // InternalProblem.g:5456:3: ( ruleQualifiedName ) + // InternalProblem.g:5457:4: ruleQualifiedName { before(grammarAccess.getAssertionAccess().getRelationRelationQualifiedNameParserRuleCall_0_1_1_0_1()); pushFollow(FOLLOW_2); @@ -17540,17 +16871,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__ArgumentsAssignment_0_1_3_0" - // InternalProblem.g:5671:1: rule__Assertion__ArgumentsAssignment_0_1_3_0 : ( ruleAssertionArgument ) ; + // InternalProblem.g:5468:1: rule__Assertion__ArgumentsAssignment_0_1_3_0 : ( ruleAssertionArgument ) ; public final void rule__Assertion__ArgumentsAssignment_0_1_3_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5675:1: ( ( ruleAssertionArgument ) ) - // InternalProblem.g:5676:2: ( ruleAssertionArgument ) + // InternalProblem.g:5472:1: ( ( ruleAssertionArgument ) ) + // InternalProblem.g:5473:2: ( ruleAssertionArgument ) { - // InternalProblem.g:5676:2: ( ruleAssertionArgument ) - // InternalProblem.g:5677:3: ruleAssertionArgument + // InternalProblem.g:5473:2: ( ruleAssertionArgument ) + // InternalProblem.g:5474:3: ruleAssertionArgument { before(grammarAccess.getAssertionAccess().getArgumentsAssertionArgumentParserRuleCall_0_1_3_0_0()); pushFollow(FOLLOW_2); @@ -17581,17 +16912,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__Assertion__ArgumentsAssignment_0_1_3_1_1" - // InternalProblem.g:5686:1: rule__Assertion__ArgumentsAssignment_0_1_3_1_1 : ( ruleAssertionArgument ) ; + // InternalProblem.g:5483:1: rule__Assertion__ArgumentsAssignment_0_1_3_1_1 : ( ruleAssertionArgument ) ; public final void rule__Assertion__ArgumentsAssignment_0_1_3_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5690:1: ( ( ruleAssertionArgument ) ) - // InternalProblem.g:5691:2: ( ruleAssertionArgument ) + // InternalProblem.g:5487:1: ( ( ruleAssertionArgument ) ) + // InternalProblem.g:5488:2: ( ruleAssertionArgument ) { - // InternalProblem.g:5691:2: ( ruleAssertionArgument ) - // InternalProblem.g:5692:3: ruleAssertionArgument + // InternalProblem.g:5488:2: ( ruleAssertionArgument ) + // InternalProblem.g:5489:3: ruleAssertionArgument { before(grammarAccess.getAssertionAccess().getArgumentsAssertionArgumentParserRuleCall_0_1_3_1_1_0()); pushFollow(FOLLOW_2); @@ -17622,21 +16953,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NodeAssertionArgument__NodeAssignment" - // InternalProblem.g:5701:1: rule__NodeAssertionArgument__NodeAssignment : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:5498:1: rule__NodeAssertionArgument__NodeAssignment : ( ( ruleQualifiedName ) ) ; public final void rule__NodeAssertionArgument__NodeAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5705:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:5706:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5502:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:5503:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:5706:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:5707:3: ( ruleQualifiedName ) + // InternalProblem.g:5503:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5504:3: ( ruleQualifiedName ) { before(grammarAccess.getNodeAssertionArgumentAccess().getNodeNodeCrossReference_0()); - // InternalProblem.g:5708:3: ( ruleQualifiedName ) - // InternalProblem.g:5709:4: ruleQualifiedName + // InternalProblem.g:5505:3: ( ruleQualifiedName ) + // InternalProblem.g:5506:4: ruleQualifiedName { before(grammarAccess.getNodeAssertionArgumentAccess().getNodeNodeQualifiedNameParserRuleCall_0_1()); pushFollow(FOLLOW_2); @@ -17671,17 +17002,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ConstantAssertionArgument__ConstantAssignment" - // InternalProblem.g:5720:1: rule__ConstantAssertionArgument__ConstantAssignment : ( ruleConstant ) ; + // InternalProblem.g:5517:1: rule__ConstantAssertionArgument__ConstantAssignment : ( ruleConstant ) ; public final void rule__ConstantAssertionArgument__ConstantAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5724:1: ( ( ruleConstant ) ) - // InternalProblem.g:5725:2: ( ruleConstant ) + // InternalProblem.g:5521:1: ( ( ruleConstant ) ) + // InternalProblem.g:5522:2: ( ruleConstant ) { - // InternalProblem.g:5725:2: ( ruleConstant ) - // InternalProblem.g:5726:3: ruleConstant + // InternalProblem.g:5522:2: ( ruleConstant ) + // InternalProblem.g:5523:3: ruleConstant { before(grammarAccess.getConstantAssertionArgumentAccess().getConstantConstantParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -17712,21 +17043,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NodeValueAssertion__NodeAssignment_0" - // InternalProblem.g:5735:1: rule__NodeValueAssertion__NodeAssignment_0 : ( ( ruleQualifiedName ) ) ; + // InternalProblem.g:5532:1: rule__NodeValueAssertion__NodeAssignment_0 : ( ( ruleQualifiedName ) ) ; public final void rule__NodeValueAssertion__NodeAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5739:1: ( ( ( ruleQualifiedName ) ) ) - // InternalProblem.g:5740:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5536:1: ( ( ( ruleQualifiedName ) ) ) + // InternalProblem.g:5537:2: ( ( ruleQualifiedName ) ) { - // InternalProblem.g:5740:2: ( ( ruleQualifiedName ) ) - // InternalProblem.g:5741:3: ( ruleQualifiedName ) + // InternalProblem.g:5537:2: ( ( ruleQualifiedName ) ) + // InternalProblem.g:5538:3: ( ruleQualifiedName ) { before(grammarAccess.getNodeValueAssertionAccess().getNodeNodeCrossReference_0_0()); - // InternalProblem.g:5742:3: ( ruleQualifiedName ) - // InternalProblem.g:5743:4: ruleQualifiedName + // InternalProblem.g:5539:3: ( ruleQualifiedName ) + // InternalProblem.g:5540:4: ruleQualifiedName { before(grammarAccess.getNodeValueAssertionAccess().getNodeNodeQualifiedNameParserRuleCall_0_0_1()); pushFollow(FOLLOW_2); @@ -17761,17 +17092,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__NodeValueAssertion__ValueAssignment_2" - // InternalProblem.g:5754:1: rule__NodeValueAssertion__ValueAssignment_2 : ( ruleConstant ) ; + // InternalProblem.g:5551:1: rule__NodeValueAssertion__ValueAssignment_2 : ( ruleConstant ) ; public final void rule__NodeValueAssertion__ValueAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5758:1: ( ( ruleConstant ) ) - // InternalProblem.g:5759:2: ( ruleConstant ) + // InternalProblem.g:5555:1: ( ( ruleConstant ) ) + // InternalProblem.g:5556:2: ( ruleConstant ) { - // InternalProblem.g:5759:2: ( ruleConstant ) - // InternalProblem.g:5760:3: ruleConstant + // InternalProblem.g:5556:2: ( ruleConstant ) + // InternalProblem.g:5557:3: ruleConstant { before(grammarAccess.getNodeValueAssertionAccess().getValueConstantParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -17802,17 +17133,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__IntConstant__IntValueAssignment" - // InternalProblem.g:5769:1: rule__IntConstant__IntValueAssignment : ( ruleInteger ) ; + // InternalProblem.g:5566:1: rule__IntConstant__IntValueAssignment : ( ruleInteger ) ; public final void rule__IntConstant__IntValueAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5773:1: ( ( ruleInteger ) ) - // InternalProblem.g:5774:2: ( ruleInteger ) + // InternalProblem.g:5570:1: ( ( ruleInteger ) ) + // InternalProblem.g:5571:2: ( ruleInteger ) { - // InternalProblem.g:5774:2: ( ruleInteger ) - // InternalProblem.g:5775:3: ruleInteger + // InternalProblem.g:5571:2: ( ruleInteger ) + // InternalProblem.g:5572:3: ruleInteger { before(grammarAccess.getIntConstantAccess().getIntValueIntegerParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -17843,17 +17174,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__RealConstant__RealValueAssignment" - // InternalProblem.g:5784:1: rule__RealConstant__RealValueAssignment : ( ruleReal ) ; + // InternalProblem.g:5581:1: rule__RealConstant__RealValueAssignment : ( ruleReal ) ; public final void rule__RealConstant__RealValueAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5788:1: ( ( ruleReal ) ) - // InternalProblem.g:5789:2: ( ruleReal ) + // InternalProblem.g:5585:1: ( ( ruleReal ) ) + // InternalProblem.g:5586:2: ( ruleReal ) { - // InternalProblem.g:5789:2: ( ruleReal ) - // InternalProblem.g:5790:3: ruleReal + // InternalProblem.g:5586:2: ( ruleReal ) + // InternalProblem.g:5587:3: ruleReal { before(grammarAccess.getRealConstantAccess().getRealValueRealParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -17884,17 +17215,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__StringConstant__StringValueAssignment" - // InternalProblem.g:5799:1: rule__StringConstant__StringValueAssignment : ( RULE_STRING ) ; + // InternalProblem.g:5596:1: rule__StringConstant__StringValueAssignment : ( RULE_STRING ) ; public final void rule__StringConstant__StringValueAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5803:1: ( ( RULE_STRING ) ) - // InternalProblem.g:5804:2: ( RULE_STRING ) + // InternalProblem.g:5600:1: ( ( RULE_STRING ) ) + // InternalProblem.g:5601:2: ( RULE_STRING ) { - // InternalProblem.g:5804:2: ( RULE_STRING ) - // InternalProblem.g:5805:3: RULE_STRING + // InternalProblem.g:5601:2: ( RULE_STRING ) + // InternalProblem.g:5602:3: RULE_STRING { before(grammarAccess.getStringConstantAccess().getStringValueSTRINGTerminalRuleCall_0()); match(input,RULE_STRING,FOLLOW_2); @@ -17921,17 +17252,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__TypeScopesAssignment_1" - // InternalProblem.g:5814:1: rule__ScopeDeclaration__TypeScopesAssignment_1 : ( ruleTypeScope ) ; + // InternalProblem.g:5611:1: rule__ScopeDeclaration__TypeScopesAssignment_1 : ( ruleTypeScope ) ; public final void rule__ScopeDeclaration__TypeScopesAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5818:1: ( ( ruleTypeScope ) ) - // InternalProblem.g:5819:2: ( ruleTypeScope ) + // InternalProblem.g:5615:1: ( ( ruleTypeScope ) ) + // InternalProblem.g:5616:2: ( ruleTypeScope ) { - // InternalProblem.g:5819:2: ( ruleTypeScope ) - // InternalProblem.g:5820:3: ruleTypeScope + // InternalProblem.g:5616:2: ( ruleTypeScope ) + // InternalProblem.g:5617:3: ruleTypeScope { before(grammarAccess.getScopeDeclarationAccess().getTypeScopesTypeScopeParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -17962,17 +17293,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ScopeDeclaration__TypeScopesAssignment_2_1" - // InternalProblem.g:5829:1: rule__ScopeDeclaration__TypeScopesAssignment_2_1 : ( ruleTypeScope ) ; + // InternalProblem.g:5626:1: rule__ScopeDeclaration__TypeScopesAssignment_2_1 : ( ruleTypeScope ) ; public final void rule__ScopeDeclaration__TypeScopesAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5833:1: ( ( ruleTypeScope ) ) - // InternalProblem.g:5834:2: ( ruleTypeScope ) + // InternalProblem.g:5630:1: ( ( ruleTypeScope ) ) + // InternalProblem.g:5631:2: ( ruleTypeScope ) { - // InternalProblem.g:5834:2: ( ruleTypeScope ) - // InternalProblem.g:5835:3: ruleTypeScope + // InternalProblem.g:5631:2: ( ruleTypeScope ) + // InternalProblem.g:5632:3: ruleTypeScope { before(grammarAccess.getScopeDeclarationAccess().getTypeScopesTypeScopeParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); @@ -18003,21 +17334,21 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__TargetTypeAssignment_0" - // InternalProblem.g:5844:1: rule__TypeScope__TargetTypeAssignment_0 : ( ( RULE_ID ) ) ; + // InternalProblem.g:5641:1: rule__TypeScope__TargetTypeAssignment_0 : ( ( RULE_ID ) ) ; public final void rule__TypeScope__TargetTypeAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5848:1: ( ( ( RULE_ID ) ) ) - // InternalProblem.g:5849:2: ( ( RULE_ID ) ) + // InternalProblem.g:5645:1: ( ( ( RULE_ID ) ) ) + // InternalProblem.g:5646:2: ( ( RULE_ID ) ) { - // InternalProblem.g:5849:2: ( ( RULE_ID ) ) - // InternalProblem.g:5850:3: ( RULE_ID ) + // InternalProblem.g:5646:2: ( ( RULE_ID ) ) + // InternalProblem.g:5647:3: ( RULE_ID ) { before(grammarAccess.getTypeScopeAccess().getTargetTypeClassDeclarationCrossReference_0_0()); - // InternalProblem.g:5851:3: ( RULE_ID ) - // InternalProblem.g:5852:4: RULE_ID + // InternalProblem.g:5648:3: ( RULE_ID ) + // InternalProblem.g:5649:4: RULE_ID { before(grammarAccess.getTypeScopeAccess().getTargetTypeClassDeclarationIDTerminalRuleCall_0_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -18048,24 +17379,24 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__IncrementAssignment_1_0" - // InternalProblem.g:5863:1: rule__TypeScope__IncrementAssignment_1_0 : ( ( '+=' ) ) ; + // InternalProblem.g:5660:1: rule__TypeScope__IncrementAssignment_1_0 : ( ( '+=' ) ) ; public final void rule__TypeScope__IncrementAssignment_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5867:1: ( ( ( '+=' ) ) ) - // InternalProblem.g:5868:2: ( ( '+=' ) ) + // InternalProblem.g:5664:1: ( ( ( '+=' ) ) ) + // InternalProblem.g:5665:2: ( ( '+=' ) ) { - // InternalProblem.g:5868:2: ( ( '+=' ) ) - // InternalProblem.g:5869:3: ( '+=' ) + // InternalProblem.g:5665:2: ( ( '+=' ) ) + // InternalProblem.g:5666:3: ( '+=' ) { before(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0()); - // InternalProblem.g:5870:3: ( '+=' ) - // InternalProblem.g:5871:4: '+=' + // InternalProblem.g:5667:3: ( '+=' ) + // InternalProblem.g:5668:4: '+=' { before(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0()); - match(input,47,FOLLOW_2); + match(input,46,FOLLOW_2); after(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0()); } @@ -18093,17 +17424,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__TypeScope__MultiplicityAssignment_2" - // InternalProblem.g:5882:1: rule__TypeScope__MultiplicityAssignment_2 : ( ruleDefiniteMultiplicity ) ; + // InternalProblem.g:5679:1: rule__TypeScope__MultiplicityAssignment_2 : ( ruleDefiniteMultiplicity ) ; public final void rule__TypeScope__MultiplicityAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5886:1: ( ( ruleDefiniteMultiplicity ) ) - // InternalProblem.g:5887:2: ( ruleDefiniteMultiplicity ) + // InternalProblem.g:5683:1: ( ( ruleDefiniteMultiplicity ) ) + // InternalProblem.g:5684:2: ( ruleDefiniteMultiplicity ) { - // InternalProblem.g:5887:2: ( ruleDefiniteMultiplicity ) - // InternalProblem.g:5888:3: ruleDefiniteMultiplicity + // InternalProblem.g:5684:2: ( ruleDefiniteMultiplicity ) + // InternalProblem.g:5685:3: ruleDefiniteMultiplicity { before(grammarAccess.getTypeScopeAccess().getMultiplicityDefiniteMultiplicityParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -18134,17 +17465,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__RangeMultiplicity__LowerBoundAssignment_0" - // InternalProblem.g:5897:1: rule__RangeMultiplicity__LowerBoundAssignment_0 : ( RULE_INT ) ; + // InternalProblem.g:5694:1: rule__RangeMultiplicity__LowerBoundAssignment_0 : ( RULE_INT ) ; public final void rule__RangeMultiplicity__LowerBoundAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5901:1: ( ( RULE_INT ) ) - // InternalProblem.g:5902:2: ( RULE_INT ) + // InternalProblem.g:5698:1: ( ( RULE_INT ) ) + // InternalProblem.g:5699:2: ( RULE_INT ) { - // InternalProblem.g:5902:2: ( RULE_INT ) - // InternalProblem.g:5903:3: RULE_INT + // InternalProblem.g:5699:2: ( RULE_INT ) + // InternalProblem.g:5700:3: RULE_INT { before(grammarAccess.getRangeMultiplicityAccess().getLowerBoundINTTerminalRuleCall_0_0()); match(input,RULE_INT,FOLLOW_2); @@ -18171,17 +17502,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__RangeMultiplicity__UpperBoundAssignment_2" - // InternalProblem.g:5912:1: rule__RangeMultiplicity__UpperBoundAssignment_2 : ( ruleUpperBound ) ; + // InternalProblem.g:5709:1: rule__RangeMultiplicity__UpperBoundAssignment_2 : ( ruleUpperBound ) ; public final void rule__RangeMultiplicity__UpperBoundAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5916:1: ( ( ruleUpperBound ) ) - // InternalProblem.g:5917:2: ( ruleUpperBound ) + // InternalProblem.g:5713:1: ( ( ruleUpperBound ) ) + // InternalProblem.g:5714:2: ( ruleUpperBound ) { - // InternalProblem.g:5917:2: ( ruleUpperBound ) - // InternalProblem.g:5918:3: ruleUpperBound + // InternalProblem.g:5714:2: ( ruleUpperBound ) + // InternalProblem.g:5715:3: ruleUpperBound { before(grammarAccess.getRangeMultiplicityAccess().getUpperBoundUpperBoundParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -18212,17 +17543,17 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { // $ANTLR start "rule__ExactMultiplicity__ExactValueAssignment" - // InternalProblem.g:5927:1: rule__ExactMultiplicity__ExactValueAssignment : ( RULE_INT ) ; + // InternalProblem.g:5724:1: rule__ExactMultiplicity__ExactValueAssignment : ( RULE_INT ) ; public final void rule__ExactMultiplicity__ExactValueAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalProblem.g:5931:1: ( ( RULE_INT ) ) - // InternalProblem.g:5932:2: ( RULE_INT ) + // InternalProblem.g:5728:1: ( ( RULE_INT ) ) + // InternalProblem.g:5729:2: ( RULE_INT ) { - // InternalProblem.g:5932:2: ( RULE_INT ) - // InternalProblem.g:5933:3: RULE_INT + // InternalProblem.g:5729:2: ( RULE_INT ) + // InternalProblem.g:5730:3: RULE_INT { before(grammarAccess.getExactMultiplicityAccess().getExactValueINTTerminalRuleCall_0()); match(input,RULE_INT,FOLLOW_2); @@ -18252,31 +17583,27 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { protected DFA1 dfa1 = new DFA1(this); protected DFA9 dfa9 = new DFA9(this); - static final String dfa_1s = "\23\uffff"; - static final String dfa_2s = "\1\5\3\uffff\6\45\3\uffff\1\6\5\45"; - static final String dfa_3s = "\1\56\3\uffff\1\50\5\53\3\uffff\1\26\5\53"; - static final String dfa_4s = "\1\uffff\1\1\1\2\1\3\6\uffff\1\4\1\6\1\5\6\uffff"; - static final String dfa_5s = "\23\uffff}>"; + static final String dfa_1s = "\17\uffff"; + static final String dfa_2s = "\1\5\3\uffff\4\42\3\uffff\1\6\3\42"; + static final String dfa_3s = "\1\54\3\uffff\1\45\3\50\3\uffff\1\25\3\50"; + static final String dfa_4s = "\1\uffff\1\1\1\2\1\3\4\uffff\1\4\1\6\1\5\4\uffff"; + static final String dfa_5s = "\17\uffff}>"; static final String[] dfa_6s = { - "\1\4\1\5\11\uffff\1\3\2\uffff\1\6\1\7\1\10\1\11\3\uffff\2\12\1\uffff\1\1\3\uffff\1\2\7\uffff\1\13\2\uffff\1\1\1\uffff\1\3", + "\1\4\1\5\12\uffff\1\3\2\uffff\1\6\1\7\1\uffff\2\10\1\uffff\1\1\3\uffff\1\2\7\uffff\1\11\3\uffff\1\1\1\uffff\1\3", "", "", "", - "\1\12\2\uffff\1\14", - "\1\12\2\uffff\1\14\2\uffff\1\15", - "\1\12\2\uffff\1\14\2\uffff\1\15", - "\1\12\2\uffff\1\14\2\uffff\1\15", - "\1\12\2\uffff\1\14\2\uffff\1\15", - "\1\12\2\uffff\1\14\2\uffff\1\15", + "\1\10\2\uffff\1\12", + "\1\10\2\uffff\1\12\2\uffff\1\13", + "\1\10\2\uffff\1\12\2\uffff\1\13", + "\1\10\2\uffff\1\12\2\uffff\1\13", "", "", "", - "\1\16\14\uffff\1\17\1\20\1\21\1\22", - "\1\12\2\uffff\1\14\2\uffff\1\15", - "\1\12\2\uffff\1\14\2\uffff\1\15", - "\1\12\2\uffff\1\14\2\uffff\1\15", - "\1\12\2\uffff\1\14\2\uffff\1\15", - "\1\12\2\uffff\1\14\2\uffff\1\15" + "\1\14\15\uffff\1\15\1\16", + "\1\10\2\uffff\1\12\2\uffff\1\13", + "\1\10\2\uffff\1\12\2\uffff\1\13", + "\1\10\2\uffff\1\12\2\uffff\1\13" }; static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); @@ -18300,77 +17627,59 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { this.transition = dfa_6; } public String getDescription() { - return "1008:1: rule__Statement__Alternatives : ( ( ruleClassDeclaration ) | ( ruleEnumDeclaration ) | ( rulePredicateDefinition ) | ( ruleAssertion ) | ( ruleNodeValueAssertion ) | ( ruleScopeDeclaration ) );"; + return "1000:1: rule__Statement__Alternatives : ( ( ruleClassDeclaration ) | ( ruleEnumDeclaration ) | ( rulePredicateDefinition ) | ( ruleAssertion ) | ( ruleNodeValueAssertion ) | ( ruleScopeDeclaration ) );"; } } - static final String dfa_7s = "\76\uffff"; - static final String dfa_8s = "\1\5\6\45\1\uffff\1\4\1\6\6\15\1\4\1\14\1\15\1\14\5\45\1\4\1\6\3\4\1\uffff\6\15\1\4\1\14\7\15\2\4\1\15\1\6\3\4\6\15\2\4\1\15"; - static final String dfa_9s = "\1\33\1\45\5\53\1\uffff\1\46\1\26\1\46\5\53\1\4\2\46\1\50\5\53\1\27\1\26\1\4\2\30\1\uffff\1\46\5\53\1\4\2\46\5\53\1\46\2\4\1\46\1\26\1\4\2\30\5\53\1\46\2\4\1\46"; - static final String dfa_10s = "\7\uffff\1\2\26\uffff\1\1\37\uffff"; - static final String dfa_11s = "\76\uffff}>"; + static final String dfa_7s = "\54\uffff"; + static final String dfa_8s = "\1\5\4\42\1\uffff\1\4\1\6\4\16\1\4\1\16\1\15\1\16\1\15\3\42\1\4\1\6\1\4\1\uffff\4\16\1\4\1\16\1\15\6\16\1\6\1\4\5\16"; + static final String dfa_9s = "\1\30\1\42\3\50\1\uffff\1\51\1\25\1\43\3\50\1\7\3\43\1\45\3\50\1\51\1\25\1\7\1\uffff\1\43\3\50\1\7\3\43\3\50\2\43\1\25\1\7\3\50\2\43"; + static final String dfa_10s = "\5\uffff\1\2\21\uffff\1\1\24\uffff"; + static final String dfa_11s = "\54\uffff}>"; static final String[] dfa_12s = { - "\1\1\1\2\14\uffff\1\3\1\4\1\5\1\6\3\uffff\2\7", - "\1\10", - "\1\10\5\uffff\1\11", - "\1\10\5\uffff\1\11", - "\1\10\5\uffff\1\11", - "\1\10\5\uffff\1\11", - "\1\10\5\uffff\1\11", + "\1\1\1\2\15\uffff\1\3\1\4\1\uffff\2\5", + "\1\6", + "\1\6\5\uffff\1\7", + "\1\6\5\uffff\1\7", + "\1\6\5\uffff\1\7", "", - "\1\21\1\12\1\13\1\22\13\uffff\1\14\1\15\1\16\1\17\1\20\16\uffff\1\23", - "\1\24\14\uffff\1\25\1\26\1\27\1\30", - "\1\31\30\uffff\1\23", - "\1\31\30\uffff\1\23\4\uffff\1\32", - "\1\31\30\uffff\1\23\4\uffff\1\32", - "\1\31\30\uffff\1\23\4\uffff\1\32", - "\1\31\30\uffff\1\23\4\uffff\1\32", - "\1\31\30\uffff\1\23\4\uffff\1\32", - "\1\21", - "\1\33\1\31\7\uffff\1\34\1\35\17\uffff\1\23", - "\1\31\30\uffff\1\23", - "\1\7\33\uffff\1\36", - "\1\10\5\uffff\1\11", - "\1\10\5\uffff\1\11", - "\1\10\5\uffff\1\11", - "\1\10\5\uffff\1\11", - "\1\10\5\uffff\1\11", - "\1\46\1\37\1\40\1\47\13\uffff\1\41\1\42\1\43\1\44\1\45", - "\1\50\14\uffff\1\51\1\52\1\53\1\54", - "\1\55", - "\1\60\22\uffff\1\56\1\57", - "\1\60\22\uffff\1\56\1\57", + "\1\16\1\10\1\11\1\15\1\17\13\uffff\1\12\1\13\15\uffff\1\20\5\uffff\1\14", + "\1\21\15\uffff\1\22\1\23", + "\1\24\24\uffff\1\20", + "\1\24\24\uffff\1\20\4\uffff\1\25", + "\1\24\24\uffff\1\20\4\uffff\1\25", + "\1\24\24\uffff\1\20\4\uffff\1\25", + "\1\16\2\uffff\1\15", + "\1\24\24\uffff\1\20", + "\1\26\1\24\24\uffff\1\20", + "\1\24\24\uffff\1\20", + "\1\5\27\uffff\1\27", + "\1\6\5\uffff\1\7", + "\1\6\5\uffff\1\7", + "\1\6\5\uffff\1\7", + "\1\36\1\30\1\31\1\35\1\37\13\uffff\1\32\1\33\23\uffff\1\34", + "\1\40\15\uffff\1\41\1\42", + "\1\43\2\uffff\1\44", "", - "\1\31\30\uffff\1\23", - "\1\31\30\uffff\1\23\4\uffff\1\61", - "\1\31\30\uffff\1\23\4\uffff\1\61", - "\1\31\30\uffff\1\23\4\uffff\1\61", - "\1\31\30\uffff\1\23\4\uffff\1\61", - "\1\31\30\uffff\1\23\4\uffff\1\61", - "\1\46", - "\1\62\1\31\7\uffff\1\63\1\64\17\uffff\1\23", - "\1\31\30\uffff\1\23", - "\1\31\30\uffff\1\23\4\uffff\1\32", - "\1\31\30\uffff\1\23\4\uffff\1\32", - "\1\31\30\uffff\1\23\4\uffff\1\32", - "\1\31\30\uffff\1\23\4\uffff\1\32", - "\1\31\30\uffff\1\23\4\uffff\1\32", - "\1\31\7\uffff\1\34\1\35\17\uffff\1\23", - "\1\60", - "\1\60", - "\1\31\30\uffff\1\23", - "\1\65\14\uffff\1\66\1\67\1\70\1\71", - "\1\72", - "\1\75\22\uffff\1\73\1\74", - "\1\75\22\uffff\1\73\1\74", - "\1\31\30\uffff\1\23\4\uffff\1\61", - "\1\31\30\uffff\1\23\4\uffff\1\61", - "\1\31\30\uffff\1\23\4\uffff\1\61", - "\1\31\30\uffff\1\23\4\uffff\1\61", - "\1\31\30\uffff\1\23\4\uffff\1\61", - "\1\31\7\uffff\1\63\1\64\17\uffff\1\23", - "\1\75", - "\1\75", - "\1\31\30\uffff\1\23" + "\1\24\24\uffff\1\20", + "\1\24\24\uffff\1\20\4\uffff\1\45", + "\1\24\24\uffff\1\20\4\uffff\1\45", + "\1\24\24\uffff\1\20\4\uffff\1\45", + "\1\36\2\uffff\1\35", + "\1\24\24\uffff\1\20", + "\1\46\1\24\24\uffff\1\20", + "\1\24\24\uffff\1\20", + "\1\24\24\uffff\1\20\4\uffff\1\25", + "\1\24\24\uffff\1\20\4\uffff\1\25", + "\1\24\24\uffff\1\20\4\uffff\1\25", + "\1\24\24\uffff\1\20", + "\1\24\24\uffff\1\20", + "\1\47\15\uffff\1\50\1\51", + "\1\52\2\uffff\1\53", + "\1\24\24\uffff\1\20\4\uffff\1\45", + "\1\24\24\uffff\1\20\4\uffff\1\45", + "\1\24\24\uffff\1\20\4\uffff\1\45", + "\1\24\24\uffff\1\20", + "\1\24\24\uffff\1\20" }; static final short[] dfa_7 = DFA.unpackEncodedString(dfa_7s); @@ -18394,53 +17703,53 @@ public class InternalProblemParser extends AbstractInternalContentAssistParser { this.transition = dfa_12; } public String getDescription() { - return "1200:1: rule__Assertion__Alternatives_0 : ( ( ( rule__Assertion__Group_0_0__0 ) ) | ( ( rule__Assertion__Group_0_1__0 ) ) );"; + return "1192: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[]{0x000052022C790060L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000052022C790062L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000780060L}); - public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000100020000000L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x00000000C0001000L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000002000L}); - public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000002002L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000200100788060L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000200000788062L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000004000L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000080001000L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000100780060L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000006000L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000200000788060L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000400780060L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000001000000000L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000144045B20060L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000144045B20062L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000300060L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000040004000000L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000018002000L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000004002L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000080020310060L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000080000310062L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000008000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000010002000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000020300060L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x000000000000C000L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000080000310060L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000080300060L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000200000000L}); public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000002000000000L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000004000780060L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000008000001000L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000004780060L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000004002L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000002001000000L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000004000F800F0L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000000F800F0L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000010000000000L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000002180000L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x000000000C780060L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000100000000L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000400000000L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000800300060L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000001000002000L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000000020000L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000B00060L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000008002L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000200400000000L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x00000208003001F0L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x00000200003001F0L}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000002000000000L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000000700000L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000001B00060L}); public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000000003000L}); - public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000800000020000L}); - public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000040000000000L}); - public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000040010L}); - public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000080000000000L}); - public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000080000000002L}); - public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000800010L}); - public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000601000L}); - public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000001800010L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000000006000L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000400000040000L}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000080010L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000010000000000L}); + public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000010000000002L}); + public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000020000000010L}); + public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000020000000090L}); + public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000000090L}); } \ No newline at end of file diff --git a/language-mwe2/src/main/java/org/eclipse/viatra/solver/language/mwe2/ProblemWebIntegrationFragment.java b/language-mwe2/src/main/java/org/eclipse/viatra/solver/language/mwe2/ProblemWebIntegrationFragment.java index 18e13245..b5036b1e 100644 --- a/language-mwe2/src/main/java/org/eclipse/viatra/solver/language/mwe2/ProblemWebIntegrationFragment.java +++ b/language-mwe2/src/main/java/org/eclipse/viatra/solver/language/mwe2/ProblemWebIntegrationFragment.java @@ -9,8 +9,6 @@ import com.google.common.collect.Multimap; public class ProblemWebIntegrationFragment extends WebIntegrationFragment { public ProblemWebIntegrationFragment() { setFramework(Framework.CODEMIRROR.name()); - // The exponential operators e and E are not keywords - setKeywordsFilter("[^eE]|\\w\\w+"); // We use our custom token style for single-quoted names addSuppressPattern("string_singleQuote"); // Use the CodeMirror default .cm-number instead of .cm-constant.cm-numeric diff --git a/language-web/src/main/webapp/style.css b/language-web/src/main/webapp/style.css index 03018f93..f3a6b7f9 100644 --- a/language-web/src/main/webapp/style.css +++ b/language-web/src/main/webapp/style.css @@ -47,7 +47,7 @@ a:hover { top: 108px; bottom: 0; left: 0; - width: 50%; + width: 100%; box-shadow: 0 0 8px rgba(80, 10, 98, .25), 0 10px 24px rgba(80, 10, 98, .35); border-radius: 16px; } diff --git a/language-web/src/main/webapp/xtext-resources/generated/mode-problem.js b/language-web/src/main/webapp/xtext-resources/generated/mode-problem.js index ba39dd13..d962a0bb 100644 --- a/language-web/src/main/webapp/xtext-resources/generated/mode-problem.js +++ b/language-web/src/main/webapp/xtext-resources/generated/mode-problem.js @@ -1,6 +1,5 @@ define(["codemirror", "codemirror/addon/mode/simple"], function(CodeMirror, SimpleMode) { var keywords = "abstract|class|contains|enum|error|extends|false|opposite|pred|problem|refers|scope|true|unknown"; - var extraKeywords = "!|\\(|\\)|\\*|\\+|,|-|\\.|:|;|=|\\?|\\[|\\]|\\{|\\}"; CodeMirror.defineSimpleMode("xtext/problem", { start: [ {token: "comment", regex: "\\/\\*", next : "comment"}, @@ -13,8 +12,7 @@ define(["codemirror", "codemirror/addon/mode/simple"], function(CodeMirror, Simp {token: "lparen", indent: true, regex: "[[({]"}, {token: "rparen", dedent: true, regex: "[\\])}]"}, {indent: true, push: "predicateBody", regex: ":-"}, - {token: "keyword", regex: "\\b(?:" + keywords + ")\\b"}, - {token: "keyword", regex: "(?:^|\\s)(?:" + extraKeywords + ")(?=[\\s.:;,!?+\\-*/&|<>()[\\]{}]|$)"} + {token: "keyword", regex: "\\b(?:" + keywords + ")\\b"} ], comment: [ {token: "comment", regex: ".*?\\*\\/", next : "start"}, diff --git a/language/src/main/java/org/eclipse/viatra/solver/language/Problem.xtext b/language/src/main/java/org/eclipse/viatra/solver/language/Problem.xtext index 495f50e4..4aeb0acd 100644 --- a/language/src/main/java/org/eclipse/viatra/solver/language/Problem.xtext +++ b/language/src/main/java/org/eclipse/viatra/solver/language/Problem.xtext @@ -92,7 +92,7 @@ NodeValueAssertion: node=[Node|QualifiedName] ":" value=Constant "."; Constant: - IntConstant | RealConstant | StringConstant; + RealConstant | IntConstant | StringConstant; IntConstant: intValue=Integer; @@ -133,18 +133,21 @@ QualifiedName hidden(): QUOTED_ID | Identifier ("::" Identifier)*; Identifier: - ID | "true" | "false" | "e" | "E"; + ID | "true" | "false"; Integer returns ecore::EInt hidden(): "-"? INT; -Real returns ecore::EDouble hidden(): - "-"? INT ("." INT | ("." INT)? ("e" | "E") ("-" | "+")? INT); +Real returns ecore::EDouble: + "-"? (EXPONENTIAL | INT "." (INT | EXPONENTIAL)); @Override terminal ID: ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; +terminal EXPONENTIAL: + INT ("e" | "E") ("+" | "-")? INT; + @Override terminal STRING: '"' ('\\' . /* 'b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\' */ | !('\\' | '"'))* '"'; diff --git a/language/src/main/resources/org/eclipse/viatra/solver/language/builtin.problem b/language/src/main/resources/org/eclipse/viatra/solver/language/builtin.problem index 7ece2db0..7c4f6685 100644 --- a/language/src/main/resources/org/eclipse/viatra/solver/language/builtin.problem +++ b/language/src/main/resources/org/eclipse/viatra/solver/language/builtin.problem @@ -16,6 +16,6 @@ enum bool { class real extends data. -class int extends real. +class int extends data. class string extends data. diff --git a/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/Problem.xtextbin b/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/Problem.xtextbin index 9528b778..0b613873 100644 Binary files a/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/Problem.xtextbin and b/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/Problem.xtextbin differ diff --git a/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblem.g b/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblem.g index f9372e7b..583f8c1c 100644 --- a/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblem.g +++ b/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblem.g @@ -1596,20 +1596,20 @@ ruleConstant returns [EObject current=null] }: ( { - newCompositeNode(grammarAccess.getConstantAccess().getIntConstantParserRuleCall_0()); + newCompositeNode(grammarAccess.getConstantAccess().getRealConstantParserRuleCall_0()); } - this_IntConstant_0=ruleIntConstant + this_RealConstant_0=ruleRealConstant { - $current = $this_IntConstant_0.current; + $current = $this_RealConstant_0.current; afterParserOrEnumRuleCall(); } | { - newCompositeNode(grammarAccess.getConstantAccess().getRealConstantParserRuleCall_1()); + newCompositeNode(grammarAccess.getConstantAccess().getIntConstantParserRuleCall_1()); } - this_RealConstant_1=ruleRealConstant + this_IntConstant_1=ruleIntConstant { - $current = $this_RealConstant_1.current; + $current = $this_IntConstant_1.current; afterParserOrEnumRuleCall(); } | @@ -2197,18 +2197,6 @@ ruleIdentifier returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToke $current.merge(kw); newLeafNode(kw, grammarAccess.getIdentifierAccess().getFalseKeyword_2()); } - | - kw='e' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getIdentifierAccess().getEKeyword_3()); - } - | - kw='E' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getIdentifierAccess().getEKeyword_4()); - } ) ; @@ -2255,22 +2243,16 @@ finally { } // Entry rule entryRuleReal -entryRuleReal returns [String current=null]@init { - HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); -}: +entryRuleReal returns [String current=null]: { newCompositeNode(grammarAccess.getRealRule()); } iv_ruleReal=ruleReal { $current=$iv_ruleReal.current.getText(); } EOF; -finally { - myHiddenTokenState.restore(); -} // Rule Real ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] @init { enterRule(); - HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); } @after { leaveRule(); @@ -2283,84 +2265,49 @@ ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] newLeafNode(kw, grammarAccess.getRealAccess().getHyphenMinusKeyword_0()); } )? - this_INT_1=RULE_INT - { - $current.merge(this_INT_1); - } - { - newLeafNode(this_INT_1, grammarAccess.getRealAccess().getINTTerminalRuleCall_1()); - } ( + this_EXPONENTIAL_1=RULE_EXPONENTIAL + { + $current.merge(this_EXPONENTIAL_1); + } + { + newLeafNode(this_EXPONENTIAL_1, grammarAccess.getRealAccess().getEXPONENTIALTerminalRuleCall_1_0()); + } + | ( - kw='.' + this_INT_2=RULE_INT { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_2_0_0()); + $current.merge(this_INT_2); } - this_INT_3=RULE_INT { - $current.merge(this_INT_3); + newLeafNode(this_INT_2, grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1_0()); } + kw='.' { - newLeafNode(this_INT_3, grammarAccess.getRealAccess().getINTTerminalRuleCall_2_0_1()); + $current.merge(kw); + newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_1_1_1()); } - ) - | - ( ( - kw='.' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_2_1_0_0()); - } - this_INT_5=RULE_INT + this_INT_4=RULE_INT { - $current.merge(this_INT_5); + $current.merge(this_INT_4); } { - newLeafNode(this_INT_5, grammarAccess.getRealAccess().getINTTerminalRuleCall_2_1_0_1()); - } - )? - ( - kw='e' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getRealAccess().getEKeyword_2_1_1_0()); + newLeafNode(this_INT_4, grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1_2_0()); } | - kw='E' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getRealAccess().getEKeyword_2_1_1_1()); - } - ) - ( - kw='-' + this_EXPONENTIAL_5=RULE_EXPONENTIAL { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getRealAccess().getHyphenMinusKeyword_2_1_2_0()); + $current.merge(this_EXPONENTIAL_5); } - | - kw='+' { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getRealAccess().getPlusSignKeyword_2_1_2_1()); + newLeafNode(this_EXPONENTIAL_5, grammarAccess.getRealAccess().getEXPONENTIALTerminalRuleCall_1_1_2_1()); } - )? - this_INT_10=RULE_INT - { - $current.merge(this_INT_10); - } - { - newLeafNode(this_INT_10, grammarAccess.getRealAccess().getINTTerminalRuleCall_2_1_3()); - } + ) ) ) ) ; -finally { - myHiddenTokenState.restore(); -} // Rule LogicValue ruleLogicValue returns [Enumerator current=null] @@ -2426,6 +2373,8 @@ ruleShortLogicValue returns [Enumerator current=null] RULE_ID : ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; +RULE_EXPONENTIAL : RULE_INT ('e'|'E') ('+'|'-')? RULE_INT; + RULE_STRING : '"' ('\\' .|~(('\\'|'"')))* '"'; RULE_QUOTED_ID : '\'' ('\\' .|~(('\\'|'\'')))* '\''; diff --git a/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblem.tokens b/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblem.tokens index 763a9cc8..7ceb60d6 100644 --- a/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblem.tokens +++ b/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblem.tokens @@ -1,48 +1,46 @@ -'!'=32 -'('=29 -')'=30 -'*'=39 -'+'=33 -'+='=36 -','=17 -'-'=45 -'.'=13 -'..'=38 -':'=34 -':-'=31 -'::'=40 -';'=19 -'='=37 -'?'=47 -'E'=44 -'['=24 -']'=25 -'abstract'=14 -'class'=15 -'contains'=22 -'e'=43 -'enum'=21 -'error'=27 -'extends'=16 -'false'=42 -'opposite'=26 -'pred'=28 -'problem'=12 -'refers'=23 -'scope'=35 -'true'=41 -'unknown'=46 -'{'=18 -'}'=20 -RULE_ANY_OTHER=11 +'!'=33 +'('=30 +')'=31 +'*'=40 +'+'=34 +'+='=37 +','=18 +'-'=44 +'.'=14 +'..'=39 +':'=35 +':-'=32 +'::'=41 +';'=20 +'='=38 +'?'=46 +'['=25 +']'=26 +'abstract'=15 +'class'=16 +'contains'=23 +'enum'=22 +'error'=28 +'extends'=17 +'false'=43 +'opposite'=27 +'pred'=29 +'problem'=13 +'refers'=24 +'scope'=36 +'true'=42 +'unknown'=45 +'{'=19 +'}'=21 +RULE_ANY_OTHER=12 +RULE_EXPONENTIAL=8 RULE_ID=5 RULE_INT=6 -RULE_ML_COMMENT=9 +RULE_ML_COMMENT=10 RULE_QUOTED_ID=7 -RULE_SL_COMMENT=8 +RULE_SL_COMMENT=9 RULE_STRING=4 -RULE_WS=10 -T__12=12 +RULE_WS=11 T__13=13 T__14=14 T__15=15 @@ -77,4 +75,3 @@ T__43=43 T__44=44 T__45=45 T__46=46 -T__47=47 diff --git a/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemLexer.java b/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemLexer.java index 8adc6935..cc9b39b6 100644 --- a/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemLexer.java +++ b/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemLexer.java @@ -17,9 +17,9 @@ public class InternalProblemLexer extends Lexer { public static final int T__16=16; public static final int T__17=17; public static final int T__18=18; - public static final int T__12=12; public static final int T__13=13; public static final int T__14=14; + public static final int RULE_EXPONENTIAL=8; public static final int RULE_ID=5; public static final int RULE_QUOTED_ID=7; public static final int T__26=26; @@ -28,14 +28,14 @@ public class InternalProblemLexer extends Lexer { public static final int RULE_INT=6; public static final int T__29=29; public static final int T__22=22; - public static final int RULE_ML_COMMENT=9; + public static final int RULE_ML_COMMENT=10; 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__20=20; public static final int T__21=21; public static final int RULE_STRING=4; - public static final int RULE_SL_COMMENT=8; + public static final int RULE_SL_COMMENT=9; public static final int T__37=37; public static final int T__38=38; public static final int T__39=39; @@ -47,12 +47,11 @@ 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_WS=10; - public static final int RULE_ANY_OTHER=11; + public static final int RULE_WS=11; + public static final int RULE_ANY_OTHER=12; public static final int T__44=44; public static final int T__45=45; public static final int T__46=46; - public static final int T__47=47; public static final int T__40=40; public static final int T__41=41; public static final int T__42=42; @@ -71,10 +70,10 @@ public class InternalProblemLexer extends Lexer { } public String getGrammarFileName() { return "InternalProblem.g"; } - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { try { - int _type = T__12; + int _type = T__13; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalProblem.g:11:7: ( 'problem' ) // InternalProblem.g:11:9: 'problem' @@ -82,26 +81,6 @@ public class InternalProblemLexer extends Lexer { match("problem"); - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__12" - - // $ANTLR start "T__13" - public final void mT__13() throws RecognitionException { - try { - int _type = T__13; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:12:7: ( '.' ) - // InternalProblem.g:12:9: '.' - { - match('.'); - } state.type = _type; @@ -117,11 +96,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__14; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:13:7: ( 'abstract' ) - // InternalProblem.g:13:9: 'abstract' + // InternalProblem.g:12:7: ( '.' ) + // InternalProblem.g:12:9: '.' { - match("abstract"); - + match('.'); } @@ -138,10 +116,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__15; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:14:7: ( 'class' ) - // InternalProblem.g:14:9: 'class' + // InternalProblem.g:13:7: ( 'abstract' ) + // InternalProblem.g:13:9: 'abstract' { - match("class"); + match("abstract"); } @@ -159,10 +137,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__16; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:15:7: ( 'extends' ) - // InternalProblem.g:15:9: 'extends' + // InternalProblem.g:14:7: ( 'class' ) + // InternalProblem.g:14:9: 'class' { - match("extends"); + match("class"); } @@ -180,10 +158,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__17; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:16:7: ( ',' ) - // InternalProblem.g:16:9: ',' + // InternalProblem.g:15:7: ( 'extends' ) + // InternalProblem.g:15:9: 'extends' { - match(','); + match("extends"); + } @@ -200,10 +179,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__18; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:17:7: ( '{' ) - // InternalProblem.g:17:9: '{' + // InternalProblem.g:16:7: ( ',' ) + // InternalProblem.g:16:9: ',' { - match('{'); + match(','); } @@ -220,10 +199,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__19; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:18:7: ( ';' ) - // InternalProblem.g:18:9: ';' + // InternalProblem.g:17:7: ( '{' ) + // InternalProblem.g:17:9: '{' { - match(';'); + match('{'); } @@ -240,10 +219,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__20; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:19:7: ( '}' ) - // InternalProblem.g:19:9: '}' + // InternalProblem.g:18:7: ( ';' ) + // InternalProblem.g:18:9: ';' { - match('}'); + match(';'); } @@ -260,11 +239,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__21; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:20:7: ( 'enum' ) - // InternalProblem.g:20:9: 'enum' + // InternalProblem.g:19:7: ( '}' ) + // InternalProblem.g:19:9: '}' { - match("enum"); - + match('}'); } @@ -281,10 +259,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__22; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:21:7: ( 'contains' ) - // InternalProblem.g:21:9: 'contains' + // InternalProblem.g:20:7: ( 'enum' ) + // InternalProblem.g:20:9: 'enum' { - match("contains"); + match("enum"); } @@ -302,10 +280,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__23; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:22:7: ( 'refers' ) - // InternalProblem.g:22:9: 'refers' + // InternalProblem.g:21:7: ( 'contains' ) + // InternalProblem.g:21:9: 'contains' { - match("refers"); + match("contains"); } @@ -323,10 +301,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__24; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:23:7: ( '[' ) - // InternalProblem.g:23:9: '[' + // InternalProblem.g:22:7: ( 'refers' ) + // InternalProblem.g:22:9: 'refers' { - match('['); + match("refers"); + } @@ -343,10 +322,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__25; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:24:7: ( ']' ) - // InternalProblem.g:24:9: ']' + // InternalProblem.g:23:7: ( '[' ) + // InternalProblem.g:23:9: '[' { - match(']'); + match('['); } @@ -363,11 +342,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__26; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:25:7: ( 'opposite' ) - // InternalProblem.g:25:9: 'opposite' + // InternalProblem.g:24:7: ( ']' ) + // InternalProblem.g:24:9: ']' { - match("opposite"); - + match(']'); } @@ -384,10 +362,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__27; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:26:7: ( 'error' ) - // InternalProblem.g:26:9: 'error' + // InternalProblem.g:25:7: ( 'opposite' ) + // InternalProblem.g:25:9: 'opposite' { - match("error"); + match("opposite"); } @@ -405,10 +383,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__28; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:27:7: ( 'pred' ) - // InternalProblem.g:27:9: 'pred' + // InternalProblem.g:26:7: ( 'error' ) + // InternalProblem.g:26:9: 'error' { - match("pred"); + match("error"); } @@ -426,10 +404,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__29; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:28:7: ( '(' ) - // InternalProblem.g:28:9: '(' + // InternalProblem.g:27:7: ( 'pred' ) + // InternalProblem.g:27:9: 'pred' { - match('('); + match("pred"); + } @@ -446,10 +425,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__30; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:29:7: ( ')' ) - // InternalProblem.g:29:9: ')' + // InternalProblem.g:28:7: ( '(' ) + // InternalProblem.g:28:9: '(' { - match(')'); + match('('); } @@ -466,11 +445,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__31; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:30:7: ( ':-' ) - // InternalProblem.g:30:9: ':-' + // InternalProblem.g:29:7: ( ')' ) + // InternalProblem.g:29:9: ')' { - match(":-"); - + match(')'); } @@ -487,10 +465,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__32; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:31:7: ( '!' ) - // InternalProblem.g:31:9: '!' + // InternalProblem.g:30:7: ( ':-' ) + // InternalProblem.g:30:9: ':-' { - match('!'); + match(":-"); + } @@ -507,10 +486,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__33; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:32:7: ( '+' ) - // InternalProblem.g:32:9: '+' + // InternalProblem.g:31:7: ( '!' ) + // InternalProblem.g:31:9: '!' { - match('+'); + match('!'); } @@ -527,10 +506,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__34; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:33:7: ( ':' ) - // InternalProblem.g:33:9: ':' + // InternalProblem.g:32:7: ( '+' ) + // InternalProblem.g:32:9: '+' { - match(':'); + match('+'); } @@ -547,11 +526,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__35; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:34:7: ( 'scope' ) - // InternalProblem.g:34:9: 'scope' + // InternalProblem.g:33:7: ( ':' ) + // InternalProblem.g:33:9: ':' { - match("scope"); - + match(':'); } @@ -568,10 +546,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__36; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:35:7: ( '+=' ) - // InternalProblem.g:35:9: '+=' + // InternalProblem.g:34:7: ( 'scope' ) + // InternalProblem.g:34:9: 'scope' { - match("+="); + match("scope"); } @@ -589,10 +567,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__37; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:36:7: ( '=' ) - // InternalProblem.g:36:9: '=' + // InternalProblem.g:35:7: ( '+=' ) + // InternalProblem.g:35:9: '+=' { - match('='); + match("+="); + } @@ -609,11 +588,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__38; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:37:7: ( '..' ) - // InternalProblem.g:37:9: '..' + // InternalProblem.g:36:7: ( '=' ) + // InternalProblem.g:36:9: '=' { - match(".."); - + match('='); } @@ -630,10 +608,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__39; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:38:7: ( '*' ) - // InternalProblem.g:38:9: '*' + // InternalProblem.g:37:7: ( '..' ) + // InternalProblem.g:37:9: '..' { - match('*'); + match(".."); + } @@ -650,11 +629,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__40; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:39:7: ( '::' ) - // InternalProblem.g:39:9: '::' + // InternalProblem.g:38:7: ( '*' ) + // InternalProblem.g:38:9: '*' { - match("::"); - + match('*'); } @@ -671,10 +649,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__41; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:40:7: ( 'true' ) - // InternalProblem.g:40:9: 'true' + // InternalProblem.g:39:7: ( '::' ) + // InternalProblem.g:39:9: '::' { - match("true"); + match("::"); } @@ -692,10 +670,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__42; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:41:7: ( 'false' ) - // InternalProblem.g:41:9: 'false' + // InternalProblem.g:40:7: ( 'true' ) + // InternalProblem.g:40:9: 'true' { - match("false"); + match("true"); } @@ -713,10 +691,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__43; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:42:7: ( 'e' ) - // InternalProblem.g:42:9: 'e' + // InternalProblem.g:41:7: ( 'false' ) + // InternalProblem.g:41:9: 'false' { - match('e'); + match("false"); + } @@ -733,10 +712,10 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__44; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:43:7: ( 'E' ) - // InternalProblem.g:43:9: 'E' + // InternalProblem.g:42:7: ( '-' ) + // InternalProblem.g:42:9: '-' { - match('E'); + match('-'); } @@ -753,10 +732,11 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__45; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:44:7: ( '-' ) - // InternalProblem.g:44:9: '-' + // InternalProblem.g:43:7: ( 'unknown' ) + // InternalProblem.g:43:9: 'unknown' { - match('-'); + match("unknown"); + } @@ -773,29 +753,8 @@ public class InternalProblemLexer extends Lexer { try { int _type = T__46; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:45:7: ( 'unknown' ) - // InternalProblem.g:45:9: 'unknown' - { - match("unknown"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__46" - - // $ANTLR start "T__47" - public final void mT__47() throws RecognitionException { - try { - int _type = T__47; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:46:7: ( '?' ) - // InternalProblem.g:46:9: '?' + // InternalProblem.g:44:7: ( '?' ) + // InternalProblem.g:44:9: '?' { match('?'); @@ -807,15 +766,15 @@ public class InternalProblemLexer extends Lexer { finally { } } - // $ANTLR end "T__47" + // $ANTLR end "T__46" // $ANTLR start "RULE_ID" public final void mRULE_ID() throws RecognitionException { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:2427:9: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalProblem.g:2427:11: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalProblem.g:2374:9: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalProblem.g:2374:11: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { input.consume(); @@ -826,7 +785,7 @@ public class InternalProblemLexer extends Lexer { recover(mse); throw mse;} - // InternalProblem.g:2427:35: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalProblem.g:2374:35: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop1: do { int alt1=2; @@ -870,32 +829,88 @@ public class InternalProblemLexer extends Lexer { } // $ANTLR end "RULE_ID" + // $ANTLR start "RULE_EXPONENTIAL" + public final void mRULE_EXPONENTIAL() throws RecognitionException { + try { + int _type = RULE_EXPONENTIAL; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalProblem.g:2376:18: ( RULE_INT ( 'e' | 'E' ) ( '+' | '-' )? RULE_INT ) + // InternalProblem.g:2376:20: RULE_INT ( 'e' | 'E' ) ( '+' | '-' )? RULE_INT + { + mRULE_INT(); + if ( input.LA(1)=='E'||input.LA(1)=='e' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // InternalProblem.g:2376:39: ( '+' | '-' )? + int alt2=2; + int LA2_0 = input.LA(1); + + if ( (LA2_0=='+'||LA2_0=='-') ) { + alt2=1; + } + switch (alt2) { + case 1 : + // InternalProblem.g: + { + if ( input.LA(1)=='+'||input.LA(1)=='-' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + } + + mRULE_INT(); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_EXPONENTIAL" + // $ANTLR start "RULE_STRING" public final void mRULE_STRING() throws RecognitionException { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:2429:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) - // InternalProblem.g:2429:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalProblem.g:2378:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) + // InternalProblem.g:2378:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalProblem.g:2429:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* - loop2: + // InternalProblem.g:2378:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + loop3: do { - int alt2=3; - int LA2_0 = input.LA(1); + int alt3=3; + int LA3_0 = input.LA(1); - if ( (LA2_0=='\\') ) { - alt2=1; + if ( (LA3_0=='\\') ) { + alt3=1; } - else if ( ((LA2_0>='\u0000' && LA2_0<='!')||(LA2_0>='#' && LA2_0<='[')||(LA2_0>=']' && LA2_0<='\uFFFF')) ) { - alt2=2; + else if ( ((LA3_0>='\u0000' && LA3_0<='!')||(LA3_0>='#' && LA3_0<='[')||(LA3_0>=']' && LA3_0<='\uFFFF')) ) { + alt3=2; } - switch (alt2) { + switch (alt3) { case 1 : - // InternalProblem.g:2429:20: '\\\\' . + // InternalProblem.g:2378:20: '\\\\' . { match('\\'); matchAny(); @@ -903,7 +918,7 @@ public class InternalProblemLexer extends Lexer { } break; case 2 : - // InternalProblem.g:2429:27: ~ ( ( '\\\\' | '\"' ) ) + // InternalProblem.g:2378:27: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -919,7 +934,7 @@ public class InternalProblemLexer extends Lexer { break; default : - break loop2; + break loop3; } } while (true); @@ -940,27 +955,27 @@ public class InternalProblemLexer extends Lexer { try { int _type = RULE_QUOTED_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:2431:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - // InternalProblem.g:2431:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalProblem.g:2380:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalProblem.g:2380:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalProblem.g:2431:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* - loop3: + // InternalProblem.g:2380:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + loop4: do { - int alt3=3; - int LA3_0 = input.LA(1); + int alt4=3; + int LA4_0 = input.LA(1); - if ( (LA3_0=='\\') ) { - alt3=1; + if ( (LA4_0=='\\') ) { + alt4=1; } - else if ( ((LA3_0>='\u0000' && LA3_0<='&')||(LA3_0>='(' && LA3_0<='[')||(LA3_0>=']' && LA3_0<='\uFFFF')) ) { - alt3=2; + else if ( ((LA4_0>='\u0000' && LA4_0<='&')||(LA4_0>='(' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) { + alt4=2; } - switch (alt3) { + switch (alt4) { case 1 : - // InternalProblem.g:2431:24: '\\\\' . + // InternalProblem.g:2380:24: '\\\\' . { match('\\'); matchAny(); @@ -968,7 +983,7 @@ public class InternalProblemLexer extends Lexer { } break; case 2 : - // InternalProblem.g:2431:31: ~ ( ( '\\\\' | '\\'' ) ) + // InternalProblem.g:2380:31: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -984,7 +999,7 @@ public class InternalProblemLexer extends Lexer { break; default : - break loop3; + break loop4; } } while (true); @@ -1005,35 +1020,35 @@ public class InternalProblemLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:2433:17: ( ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalProblem.g:2433:19: ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalProblem.g:2382:17: ( ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalProblem.g:2382:19: ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { - // InternalProblem.g:2433:19: ( '%' | '//' ) - int alt4=2; - int LA4_0 = input.LA(1); + // InternalProblem.g:2382:19: ( '%' | '//' ) + int alt5=2; + int LA5_0 = input.LA(1); - if ( (LA4_0=='%') ) { - alt4=1; + if ( (LA5_0=='%') ) { + alt5=1; } - else if ( (LA4_0=='/') ) { - alt4=2; + else if ( (LA5_0=='/') ) { + alt5=2; } else { NoViableAltException nvae = - new NoViableAltException("", 4, 0, input); + new NoViableAltException("", 5, 0, input); throw nvae; } - switch (alt4) { + switch (alt5) { case 1 : - // InternalProblem.g:2433:20: '%' + // InternalProblem.g:2382:20: '%' { match('%'); } break; case 2 : - // InternalProblem.g:2433:24: '//' + // InternalProblem.g:2382:24: '//' { match("//"); @@ -1043,20 +1058,20 @@ public class InternalProblemLexer extends Lexer { } - // InternalProblem.g:2433:30: (~ ( ( '\\n' | '\\r' ) ) )* - loop5: + // InternalProblem.g:2382:30: (~ ( ( '\\n' | '\\r' ) ) )* + loop6: do { - int alt5=2; - int LA5_0 = input.LA(1); + int alt6=2; + int LA6_0 = input.LA(1); - if ( ((LA5_0>='\u0000' && LA5_0<='\t')||(LA5_0>='\u000B' && LA5_0<='\f')||(LA5_0>='\u000E' && LA5_0<='\uFFFF')) ) { - alt5=1; + if ( ((LA6_0>='\u0000' && LA6_0<='\t')||(LA6_0>='\u000B' && LA6_0<='\f')||(LA6_0>='\u000E' && LA6_0<='\uFFFF')) ) { + alt6=1; } - switch (alt5) { + switch (alt6) { case 1 : - // InternalProblem.g:2433:30: ~ ( ( '\\n' | '\\r' ) ) + // InternalProblem.g:2382:30: ~ ( ( '\\n' | '\\r' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1072,31 +1087,31 @@ public class InternalProblemLexer extends Lexer { break; default : - break loop5; + break loop6; } } while (true); - // InternalProblem.g:2433:46: ( ( '\\r' )? '\\n' )? - int alt7=2; - int LA7_0 = input.LA(1); + // InternalProblem.g:2382:46: ( ( '\\r' )? '\\n' )? + int alt8=2; + int LA8_0 = input.LA(1); - if ( (LA7_0=='\n'||LA7_0=='\r') ) { - alt7=1; + if ( (LA8_0=='\n'||LA8_0=='\r') ) { + alt8=1; } - switch (alt7) { + switch (alt8) { case 1 : - // InternalProblem.g:2433:47: ( '\\r' )? '\\n' + // InternalProblem.g:2382:47: ( '\\r' )? '\\n' { - // InternalProblem.g:2433:47: ( '\\r' )? - int alt6=2; - int LA6_0 = input.LA(1); + // InternalProblem.g:2382:47: ( '\\r' )? + int alt7=2; + int LA7_0 = input.LA(1); - if ( (LA6_0=='\r') ) { - alt6=1; + if ( (LA7_0=='\r') ) { + alt7=1; } - switch (alt6) { + switch (alt7) { case 1 : - // InternalProblem.g:2433:47: '\\r' + // InternalProblem.g:2382:47: '\\r' { match('\r'); @@ -1128,24 +1143,24 @@ public class InternalProblemLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:2435:10: ( ( '0' .. '9' )+ ) - // InternalProblem.g:2435:12: ( '0' .. '9' )+ + // InternalProblem.g:2384:10: ( ( '0' .. '9' )+ ) + // InternalProblem.g:2384:12: ( '0' .. '9' )+ { - // InternalProblem.g:2435:12: ( '0' .. '9' )+ - int cnt8=0; - loop8: + // InternalProblem.g:2384:12: ( '0' .. '9' )+ + int cnt9=0; + loop9: do { - int alt8=2; - int LA8_0 = input.LA(1); + int alt9=2; + int LA9_0 = input.LA(1); - if ( ((LA8_0>='0' && LA8_0<='9')) ) { - alt8=1; + if ( ((LA9_0>='0' && LA9_0<='9')) ) { + alt9=1; } - switch (alt8) { + switch (alt9) { case 1 : - // InternalProblem.g:2435:13: '0' .. '9' + // InternalProblem.g:2384:13: '0' .. '9' { matchRange('0','9'); @@ -1153,12 +1168,12 @@ public class InternalProblemLexer extends Lexer { break; default : - if ( cnt8 >= 1 ) break loop8; + if ( cnt9 >= 1 ) break loop9; EarlyExitException eee = - new EarlyExitException(8, input); + new EarlyExitException(9, input); throw eee; } - cnt8++; + cnt9++; } while (true); @@ -1177,37 +1192,37 @@ public class InternalProblemLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:2437:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalProblem.g:2437:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalProblem.g:2386:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalProblem.g:2386:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalProblem.g:2437:24: ( options {greedy=false; } : . )* - loop9: + // InternalProblem.g:2386:24: ( options {greedy=false; } : . )* + loop10: do { - int alt9=2; - int LA9_0 = input.LA(1); + int alt10=2; + int LA10_0 = input.LA(1); - if ( (LA9_0=='*') ) { - int LA9_1 = input.LA(2); + if ( (LA10_0=='*') ) { + int LA10_1 = input.LA(2); - if ( (LA9_1=='/') ) { - alt9=2; + if ( (LA10_1=='/') ) { + alt10=2; } - else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFF')) ) { - alt9=1; + else if ( ((LA10_1>='\u0000' && LA10_1<='.')||(LA10_1>='0' && LA10_1<='\uFFFF')) ) { + alt10=1; } } - else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFF')) ) { - alt9=1; + else if ( ((LA10_0>='\u0000' && LA10_0<=')')||(LA10_0>='+' && LA10_0<='\uFFFF')) ) { + alt10=1; } - switch (alt9) { + switch (alt10) { case 1 : - // InternalProblem.g:2437:52: . + // InternalProblem.g:2386:52: . { matchAny(); @@ -1215,7 +1230,7 @@ public class InternalProblemLexer extends Lexer { break; default : - break loop9; + break loop10; } } while (true); @@ -1237,22 +1252,22 @@ public class InternalProblemLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:2439:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalProblem.g:2439:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalProblem.g:2388:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalProblem.g:2388:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalProblem.g:2439:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt10=0; - loop10: + // InternalProblem.g:2388:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt11=0; + loop11: do { - int alt10=2; - int LA10_0 = input.LA(1); + int alt11=2; + int LA11_0 = input.LA(1); - if ( ((LA10_0>='\t' && LA10_0<='\n')||LA10_0=='\r'||LA10_0==' ') ) { - alt10=1; + if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { + alt11=1; } - switch (alt10) { + switch (alt11) { case 1 : // InternalProblem.g: { @@ -1270,12 +1285,12 @@ public class InternalProblemLexer extends Lexer { break; default : - if ( cnt10 >= 1 ) break loop10; + if ( cnt11 >= 1 ) break loop11; EarlyExitException eee = - new EarlyExitException(10, input); + new EarlyExitException(11, input); throw eee; } - cnt10++; + cnt11++; } while (true); @@ -1294,8 +1309,8 @@ public class InternalProblemLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalProblem.g:2441:16: ( . ) - // InternalProblem.g:2441:18: . + // InternalProblem.g:2390:16: ( . ) + // InternalProblem.g:2390:18: . { matchAny(); @@ -1310,313 +1325,306 @@ public class InternalProblemLexer extends Lexer { // $ANTLR end "RULE_ANY_OTHER" public void mTokens() throws RecognitionException { - // 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 | T__43 | T__44 | T__45 | T__46 | T__47 | RULE_ID | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt11=44; - alt11 = dfa11.predict(input); - switch (alt11) { + // InternalProblem.g:1:8: ( 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 | T__43 | T__44 | T__45 | T__46 | RULE_ID | RULE_EXPONENTIAL | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt12=43; + alt12 = dfa12.predict(input); + switch (alt12) { case 1 : - // InternalProblem.g:1:10: T__12 + // InternalProblem.g:1:10: T__13 { - mT__12(); + mT__13(); } break; case 2 : - // InternalProblem.g:1:16: T__13 + // InternalProblem.g:1:16: T__14 { - mT__13(); + mT__14(); } break; case 3 : - // InternalProblem.g:1:22: T__14 + // InternalProblem.g:1:22: T__15 { - mT__14(); + mT__15(); } break; case 4 : - // InternalProblem.g:1:28: T__15 + // InternalProblem.g:1:28: T__16 { - mT__15(); + mT__16(); } break; case 5 : - // InternalProblem.g:1:34: T__16 + // InternalProblem.g:1:34: T__17 { - mT__16(); + mT__17(); } break; case 6 : - // InternalProblem.g:1:40: T__17 + // InternalProblem.g:1:40: T__18 { - mT__17(); + mT__18(); } break; case 7 : - // InternalProblem.g:1:46: T__18 + // InternalProblem.g:1:46: T__19 { - mT__18(); + mT__19(); } break; case 8 : - // InternalProblem.g:1:52: T__19 + // InternalProblem.g:1:52: T__20 { - mT__19(); + mT__20(); } break; case 9 : - // InternalProblem.g:1:58: T__20 + // InternalProblem.g:1:58: T__21 { - mT__20(); + mT__21(); } break; case 10 : - // InternalProblem.g:1:64: T__21 + // InternalProblem.g:1:64: T__22 { - mT__21(); + mT__22(); } break; case 11 : - // InternalProblem.g:1:70: T__22 + // InternalProblem.g:1:70: T__23 { - mT__22(); + mT__23(); } break; case 12 : - // InternalProblem.g:1:76: T__23 + // InternalProblem.g:1:76: T__24 { - mT__23(); + mT__24(); } break; case 13 : - // InternalProblem.g:1:82: T__24 + // InternalProblem.g:1:82: T__25 { - mT__24(); + mT__25(); } break; case 14 : - // InternalProblem.g:1:88: T__25 + // InternalProblem.g:1:88: T__26 { - mT__25(); + mT__26(); } break; case 15 : - // InternalProblem.g:1:94: T__26 + // InternalProblem.g:1:94: T__27 { - mT__26(); + mT__27(); } break; case 16 : - // InternalProblem.g:1:100: T__27 + // InternalProblem.g:1:100: T__28 { - mT__27(); + mT__28(); } break; case 17 : - // InternalProblem.g:1:106: T__28 + // InternalProblem.g:1:106: T__29 { - mT__28(); + mT__29(); } break; case 18 : - // InternalProblem.g:1:112: T__29 + // InternalProblem.g:1:112: T__30 { - mT__29(); + mT__30(); } break; case 19 : - // InternalProblem.g:1:118: T__30 + // InternalProblem.g:1:118: T__31 { - mT__30(); + mT__31(); } break; case 20 : - // InternalProblem.g:1:124: T__31 + // InternalProblem.g:1:124: T__32 { - mT__31(); + mT__32(); } break; case 21 : - // InternalProblem.g:1:130: T__32 + // InternalProblem.g:1:130: T__33 { - mT__32(); + mT__33(); } break; case 22 : - // InternalProblem.g:1:136: T__33 + // InternalProblem.g:1:136: T__34 { - mT__33(); + mT__34(); } break; case 23 : - // InternalProblem.g:1:142: T__34 + // InternalProblem.g:1:142: T__35 { - mT__34(); + mT__35(); } break; case 24 : - // InternalProblem.g:1:148: T__35 + // InternalProblem.g:1:148: T__36 { - mT__35(); + mT__36(); } break; case 25 : - // InternalProblem.g:1:154: T__36 + // InternalProblem.g:1:154: T__37 { - mT__36(); + mT__37(); } break; case 26 : - // InternalProblem.g:1:160: T__37 + // InternalProblem.g:1:160: T__38 { - mT__37(); + mT__38(); } break; case 27 : - // InternalProblem.g:1:166: T__38 + // InternalProblem.g:1:166: T__39 { - mT__38(); + mT__39(); } break; case 28 : - // InternalProblem.g:1:172: T__39 + // InternalProblem.g:1:172: T__40 { - mT__39(); + mT__40(); } break; case 29 : - // InternalProblem.g:1:178: T__40 + // InternalProblem.g:1:178: T__41 { - mT__40(); + mT__41(); } break; case 30 : - // InternalProblem.g:1:184: T__41 + // InternalProblem.g:1:184: T__42 { - mT__41(); + mT__42(); } break; case 31 : - // InternalProblem.g:1:190: T__42 + // InternalProblem.g:1:190: T__43 { - mT__42(); + mT__43(); } break; case 32 : - // InternalProblem.g:1:196: T__43 + // InternalProblem.g:1:196: T__44 { - mT__43(); + mT__44(); } break; case 33 : - // InternalProblem.g:1:202: T__44 + // InternalProblem.g:1:202: T__45 { - mT__44(); + mT__45(); } break; case 34 : - // InternalProblem.g:1:208: T__45 + // InternalProblem.g:1:208: T__46 { - mT__45(); + mT__46(); } break; case 35 : - // InternalProblem.g:1:214: T__46 + // InternalProblem.g:1:214: RULE_ID { - mT__46(); + mRULE_ID(); } break; case 36 : - // InternalProblem.g:1:220: T__47 + // InternalProblem.g:1:222: RULE_EXPONENTIAL { - mT__47(); + mRULE_EXPONENTIAL(); } break; case 37 : - // InternalProblem.g:1:226: RULE_ID - { - mRULE_ID(); - - } - break; - case 38 : - // InternalProblem.g:1:234: RULE_STRING + // InternalProblem.g:1:239: RULE_STRING { mRULE_STRING(); } break; - case 39 : - // InternalProblem.g:1:246: RULE_QUOTED_ID + case 38 : + // InternalProblem.g:1:251: RULE_QUOTED_ID { mRULE_QUOTED_ID(); } break; - case 40 : - // InternalProblem.g:1:261: RULE_SL_COMMENT + case 39 : + // InternalProblem.g:1:266: RULE_SL_COMMENT { mRULE_SL_COMMENT(); } break; - case 41 : - // InternalProblem.g:1:277: RULE_INT + case 40 : + // InternalProblem.g:1:282: RULE_INT { mRULE_INT(); } break; - case 42 : - // InternalProblem.g:1:286: RULE_ML_COMMENT + case 41 : + // InternalProblem.g:1:291: RULE_ML_COMMENT { mRULE_ML_COMMENT(); } break; - case 43 : - // InternalProblem.g:1:302: RULE_WS + case 42 : + // InternalProblem.g:1:307: RULE_WS { mRULE_WS(); } break; - case 44 : - // InternalProblem.g:1:310: RULE_ANY_OTHER + case 43 : + // InternalProblem.g:1:315: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -1628,98 +1636,98 @@ public class InternalProblemLexer extends Lexer { } - protected DFA11 dfa11 = new DFA11(this); - static final String DFA11_eotS = - "\1\uffff\1\45\1\47\2\45\1\56\4\uffff\1\45\2\uffff\1\45\2\uffff\1\73\1\uffff\1\76\1\45\2\uffff\2\45\1\104\1\uffff\1\45\2\uffff\2\43\1\uffff\1\43\3\uffff\1\45\3\uffff\6\45\5\uffff\1\45\2\uffff\1\45\10\uffff\1\45\2\uffff\2\45\2\uffff\1\45\7\uffff\17\45\1\153\4\45\1\160\4\45\1\165\3\45\1\uffff\1\45\1\172\2\45\1\uffff\1\175\2\45\1\u0080\1\uffff\1\u0081\3\45\1\uffff\2\45\1\uffff\1\u0087\1\45\2\uffff\1\45\1\u008a\2\45\1\u008d\1\uffff\1\45\1\u008f\1\uffff\1\u0090\1\u0091\1\uffff\1\u0092\4\uffff"; - static final String DFA11_eofS = - "\u0093\uffff"; - static final String DFA11_minS = - "\1\0\1\162\1\56\1\142\1\154\1\60\4\uffff\1\145\2\uffff\1\160\2\uffff\1\55\1\uffff\1\75\1\143\2\uffff\1\162\1\141\1\60\1\uffff\1\156\2\uffff\2\0\1\uffff\1\52\3\uffff\1\145\3\uffff\1\163\1\141\1\156\1\164\1\165\1\162\5\uffff\1\146\2\uffff\1\160\10\uffff\1\157\2\uffff\1\165\1\154\2\uffff\1\153\7\uffff\1\142\1\144\1\164\1\163\1\164\1\145\1\155\1\157\1\145\1\157\1\160\1\145\1\163\1\156\1\154\1\60\1\162\1\163\1\141\1\156\1\60\2\162\1\163\1\145\1\60\1\145\1\157\1\145\1\uffff\1\141\1\60\1\151\1\144\1\uffff\1\60\1\163\1\151\1\60\1\uffff\1\60\1\167\1\155\1\143\1\uffff\1\156\1\163\1\uffff\1\60\1\164\2\uffff\1\156\1\60\1\164\1\163\1\60\1\uffff\1\145\1\60\1\uffff\2\60\1\uffff\1\60\4\uffff"; - static final String DFA11_maxS = - "\1\uffff\1\162\1\56\1\142\1\157\1\172\4\uffff\1\145\2\uffff\1\160\2\uffff\1\72\1\uffff\1\75\1\143\2\uffff\1\162\1\141\1\172\1\uffff\1\156\2\uffff\2\uffff\1\uffff\1\57\3\uffff\1\157\3\uffff\1\163\1\141\1\156\1\164\1\165\1\162\5\uffff\1\146\2\uffff\1\160\10\uffff\1\157\2\uffff\1\165\1\154\2\uffff\1\153\7\uffff\1\142\1\144\1\164\1\163\1\164\1\145\1\155\1\157\1\145\1\157\1\160\1\145\1\163\1\156\1\154\1\172\1\162\1\163\1\141\1\156\1\172\2\162\1\163\1\145\1\172\1\145\1\157\1\145\1\uffff\1\141\1\172\1\151\1\144\1\uffff\1\172\1\163\1\151\1\172\1\uffff\1\172\1\167\1\155\1\143\1\uffff\1\156\1\163\1\uffff\1\172\1\164\2\uffff\1\156\1\172\1\164\1\163\1\172\1\uffff\1\145\1\172\1\uffff\2\172\1\uffff\1\172\4\uffff"; - static final String DFA11_acceptS = - "\6\uffff\1\6\1\7\1\10\1\11\1\uffff\1\15\1\16\1\uffff\1\22\1\23\1\uffff\1\25\2\uffff\1\32\1\34\3\uffff\1\42\1\uffff\1\44\1\45\2\uffff\1\50\1\uffff\1\51\1\53\1\54\1\uffff\1\45\1\33\1\2\6\uffff\1\40\1\6\1\7\1\10\1\11\1\uffff\1\15\1\16\1\uffff\1\22\1\23\1\24\1\35\1\27\1\25\1\31\1\26\1\uffff\1\32\1\34\2\uffff\1\41\1\42\1\uffff\1\44\1\46\1\47\1\50\1\52\1\51\1\53\35\uffff\1\21\4\uffff\1\12\4\uffff\1\36\4\uffff\1\4\2\uffff\1\20\2\uffff\1\30\1\37\5\uffff\1\14\2\uffff\1\1\2\uffff\1\5\1\uffff\1\43\1\3\1\13\1\17"; - static final String DFA11_specialS = - "\1\1\34\uffff\1\2\1\0\164\uffff}>"; - static final String[] DFA11_transitionS = { - "\11\43\2\42\2\43\1\42\22\43\1\42\1\21\1\35\2\43\1\37\1\43\1\36\1\16\1\17\1\25\1\22\1\6\1\31\1\2\1\40\12\41\1\20\1\10\1\43\1\24\1\43\1\33\1\43\4\34\1\30\25\34\1\13\1\43\1\14\1\43\1\34\1\43\1\3\1\34\1\4\1\34\1\5\1\27\10\34\1\15\1\1\1\34\1\12\1\23\1\26\1\32\5\34\1\7\1\43\1\11\uff82\43", - "\1\44", - "\1\46", - "\1\50", - "\1\51\2\uffff\1\52", - "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\15\45\1\54\3\45\1\55\5\45\1\53\2\45", + protected DFA12 dfa12 = new DFA12(this); + static final String DFA12_eotS = + "\1\uffff\1\44\1\46\3\44\4\uffff\1\44\2\uffff\1\44\2\uffff\1\71\1\uffff\1\74\1\44\2\uffff\2\44\1\uffff\1\44\2\uffff\1\105\2\42\1\uffff\1\42\2\uffff\1\44\3\uffff\6\44\4\uffff\1\44\2\uffff\1\44\10\uffff\1\44\2\uffff\2\44\1\uffff\1\44\2\uffff\1\105\6\uffff\17\44\1\152\4\44\1\157\4\44\1\164\3\44\1\uffff\1\44\1\171\2\44\1\uffff\1\174\2\44\1\177\1\uffff\1\u0080\3\44\1\uffff\2\44\1\uffff\1\u0086\1\44\2\uffff\1\44\1\u0089\2\44\1\u008c\1\uffff\1\44\1\u008e\1\uffff\1\u008f\1\u0090\1\uffff\1\u0091\4\uffff"; + static final String DFA12_eofS = + "\u0092\uffff"; + static final String DFA12_minS = + "\1\0\1\162\1\56\1\142\1\154\1\156\4\uffff\1\145\2\uffff\1\160\2\uffff\1\55\1\uffff\1\75\1\143\2\uffff\1\162\1\141\1\uffff\1\156\2\uffff\1\60\2\0\1\uffff\1\52\2\uffff\1\145\3\uffff\1\163\1\141\1\156\1\164\1\165\1\162\4\uffff\1\146\2\uffff\1\160\10\uffff\1\157\2\uffff\1\165\1\154\1\uffff\1\153\2\uffff\1\60\6\uffff\1\142\1\144\1\164\1\163\1\164\1\145\1\155\1\157\1\145\1\157\1\160\1\145\1\163\1\156\1\154\1\60\1\162\1\163\1\141\1\156\1\60\2\162\1\163\1\145\1\60\1\145\1\157\1\145\1\uffff\1\141\1\60\1\151\1\144\1\uffff\1\60\1\163\1\151\1\60\1\uffff\1\60\1\167\1\155\1\143\1\uffff\1\156\1\163\1\uffff\1\60\1\164\2\uffff\1\156\1\60\1\164\1\163\1\60\1\uffff\1\145\1\60\1\uffff\2\60\1\uffff\1\60\4\uffff"; + static final String DFA12_maxS = + "\1\uffff\1\162\1\56\1\142\1\157\1\170\4\uffff\1\145\2\uffff\1\160\2\uffff\1\72\1\uffff\1\75\1\143\2\uffff\1\162\1\141\1\uffff\1\156\2\uffff\1\145\2\uffff\1\uffff\1\57\2\uffff\1\157\3\uffff\1\163\1\141\1\156\1\164\1\165\1\162\4\uffff\1\146\2\uffff\1\160\10\uffff\1\157\2\uffff\1\165\1\154\1\uffff\1\153\2\uffff\1\145\6\uffff\1\142\1\144\1\164\1\163\1\164\1\145\1\155\1\157\1\145\1\157\1\160\1\145\1\163\1\156\1\154\1\172\1\162\1\163\1\141\1\156\1\172\2\162\1\163\1\145\1\172\1\145\1\157\1\145\1\uffff\1\141\1\172\1\151\1\144\1\uffff\1\172\1\163\1\151\1\172\1\uffff\1\172\1\167\1\155\1\143\1\uffff\1\156\1\163\1\uffff\1\172\1\164\2\uffff\1\156\1\172\1\164\1\163\1\172\1\uffff\1\145\1\172\1\uffff\2\172\1\uffff\1\172\4\uffff"; + static final String DFA12_acceptS = + "\6\uffff\1\6\1\7\1\10\1\11\1\uffff\1\15\1\16\1\uffff\1\22\1\23\1\uffff\1\25\2\uffff\1\32\1\34\2\uffff\1\40\1\uffff\1\42\1\43\3\uffff\1\47\1\uffff\1\52\1\53\1\uffff\1\43\1\33\1\2\6\uffff\1\6\1\7\1\10\1\11\1\uffff\1\15\1\16\1\uffff\1\22\1\23\1\24\1\35\1\27\1\25\1\31\1\26\1\uffff\1\32\1\34\2\uffff\1\40\1\uffff\1\42\1\50\1\uffff\1\44\1\45\1\46\1\47\1\51\1\52\35\uffff\1\21\4\uffff\1\12\4\uffff\1\36\4\uffff\1\4\2\uffff\1\20\2\uffff\1\30\1\37\5\uffff\1\14\2\uffff\1\1\2\uffff\1\5\1\uffff\1\41\1\3\1\13\1\17"; + static final String DFA12_specialS = + "\1\2\34\uffff\1\0\1\1\163\uffff}>"; + static final String[] DFA12_transitionS = { + "\11\42\2\41\2\42\1\41\22\42\1\41\1\21\1\35\2\42\1\37\1\42\1\36\1\16\1\17\1\25\1\22\1\6\1\30\1\2\1\40\12\34\1\20\1\10\1\42\1\24\1\42\1\32\1\42\32\33\1\13\1\42\1\14\1\42\1\33\1\42\1\3\1\33\1\4\1\33\1\5\1\27\10\33\1\15\1\1\1\33\1\12\1\23\1\26\1\31\5\33\1\7\1\42\1\11\uff82\42", + "\1\43", + "\1\45", + "\1\47", + "\1\50\2\uffff\1\51", + "\1\53\3\uffff\1\54\5\uffff\1\52", "", "", "", "", - "\1\63", + "\1\61", "", "", - "\1\66", + "\1\64", "", "", - "\1\71\14\uffff\1\72", + "\1\67\14\uffff\1\70", "", + "\1\73", "\1\75", - "\1\77", "", "", - "\1\102", - "\1\103", - "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\1\100", + "\1\101", "", - "\1\106", + "\1\103", "", "", + "\12\106\13\uffff\1\107\37\uffff\1\107", "\0\110", "\0\111", "", "\1\113\4\uffff\1\112", "", "", - "", - "\1\117\11\uffff\1\116", + "\1\116\11\uffff\1\115", "", "", "", + "\1\117", "\1\120", "\1\121", "\1\122", "\1\123", "\1\124", - "\1\125", "", "", "", "", + "\1\125", + "", "", "\1\126", "", "", - "\1\127", "", "", "", "", "", "", + "\1\127", "", "", "\1\130", - "", - "", "\1\131", - "\1\132", "", + "\1\132", "", - "\1\133", "", + "\12\106\13\uffff\1\107\37\uffff\1\107", "", "", "", "", "", "", + "\1\133", "\1\134", "\1\135", "\1\136", @@ -1734,198 +1742,195 @@ public class InternalProblemLexer extends Lexer { "\1\147", "\1\150", "\1\151", - "\1\152", - "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\153", "\1\154", "\1\155", "\1\156", - "\1\157", - "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\160", "\1\161", "\1\162", "\1\163", - "\1\164", - "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\165", "\1\166", "\1\167", - "\1\170", "", - "\1\171", - "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\1\170", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\172", "\1\173", - "\1\174", "", - "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\175", "\1\176", - "\1\177", - "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", "", - "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0081", "\1\u0082", "\1\u0083", - "\1\u0084", "", + "\1\u0084", "\1\u0085", - "\1\u0086", "", - "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\u0088", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0087", "", "", - "\1\u0089", - "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\1\u0088", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u008a", "\1\u008b", - "\1\u008c", - "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", "", - "\1\u008e", - "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\1\u008d", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", "", - "\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\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", "", - "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", "", "", "", "" }; - 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 final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); + static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); + static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); + static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); + static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); + static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); + static final short[][] DFA12_transition; static { - int numStates = DFA11_transitionS.length; - DFA11_transition = new short[numStates][]; + int numStates = DFA12_transitionS.length; + DFA12_transition = new short[numStates][]; for (int i=0; i='\u0000' && LA11_30<='\uFFFF')) ) {s = 73;} + if ( ((LA12_29>='\u0000' && LA12_29<='\uFFFF')) ) {s = 72;} - else s = 35; + else s = 34; if ( s>=0 ) return s; break; case 1 : - int LA11_0 = input.LA(1); + int LA12_30 = input.LA(1); s = -1; - if ( (LA11_0=='p') ) {s = 1;} + if ( ((LA12_30>='\u0000' && LA12_30<='\uFFFF')) ) {s = 73;} - else if ( (LA11_0=='.') ) {s = 2;} + else s = 34; - else if ( (LA11_0=='a') ) {s = 3;} - - else if ( (LA11_0=='c') ) {s = 4;} + if ( s>=0 ) return s; + break; + case 2 : + int LA12_0 = input.LA(1); - else if ( (LA11_0=='e') ) {s = 5;} + s = -1; + if ( (LA12_0=='p') ) {s = 1;} - else if ( (LA11_0==',') ) {s = 6;} + else if ( (LA12_0=='.') ) {s = 2;} - else if ( (LA11_0=='{') ) {s = 7;} + else if ( (LA12_0=='a') ) {s = 3;} - else if ( (LA11_0==';') ) {s = 8;} + else if ( (LA12_0=='c') ) {s = 4;} - else if ( (LA11_0=='}') ) {s = 9;} + else if ( (LA12_0=='e') ) {s = 5;} - else if ( (LA11_0=='r') ) {s = 10;} + else if ( (LA12_0==',') ) {s = 6;} - else if ( (LA11_0=='[') ) {s = 11;} + else if ( (LA12_0=='{') ) {s = 7;} - else if ( (LA11_0==']') ) {s = 12;} + else if ( (LA12_0==';') ) {s = 8;} - else if ( (LA11_0=='o') ) {s = 13;} + else if ( (LA12_0=='}') ) {s = 9;} - else if ( (LA11_0=='(') ) {s = 14;} + else if ( (LA12_0=='r') ) {s = 10;} - else if ( (LA11_0==')') ) {s = 15;} + else if ( (LA12_0=='[') ) {s = 11;} - else if ( (LA11_0==':') ) {s = 16;} + else if ( (LA12_0==']') ) {s = 12;} - else if ( (LA11_0=='!') ) {s = 17;} + else if ( (LA12_0=='o') ) {s = 13;} - else if ( (LA11_0=='+') ) {s = 18;} + else if ( (LA12_0=='(') ) {s = 14;} - else if ( (LA11_0=='s') ) {s = 19;} + else if ( (LA12_0==')') ) {s = 15;} - else if ( (LA11_0=='=') ) {s = 20;} + else if ( (LA12_0==':') ) {s = 16;} - else if ( (LA11_0=='*') ) {s = 21;} + else if ( (LA12_0=='!') ) {s = 17;} - else if ( (LA11_0=='t') ) {s = 22;} + else if ( (LA12_0=='+') ) {s = 18;} - else if ( (LA11_0=='f') ) {s = 23;} + else if ( (LA12_0=='s') ) {s = 19;} - else if ( (LA11_0=='E') ) {s = 24;} + else if ( (LA12_0=='=') ) {s = 20;} - else if ( (LA11_0=='-') ) {s = 25;} + else if ( (LA12_0=='*') ) {s = 21;} - else if ( (LA11_0=='u') ) {s = 26;} + else if ( (LA12_0=='t') ) {s = 22;} - else if ( (LA11_0=='?') ) {s = 27;} + else if ( (LA12_0=='f') ) {s = 23;} - else if ( ((LA11_0>='A' && LA11_0<='D')||(LA11_0>='F' && 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 = 28;} + else if ( (LA12_0=='-') ) {s = 24;} - else if ( (LA11_0=='\"') ) {s = 29;} + else if ( (LA12_0=='u') ) {s = 25;} - else if ( (LA11_0=='\'') ) {s = 30;} + else if ( (LA12_0=='?') ) {s = 26;} - else if ( (LA11_0=='%') ) {s = 31;} + 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 = 27;} - else if ( (LA11_0=='/') ) {s = 32;} + else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 28;} - else if ( ((LA11_0>='0' && LA11_0<='9')) ) {s = 33;} + else if ( (LA12_0=='\"') ) {s = 29;} - else if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) {s = 34;} + else if ( (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>='~' && LA11_0<='\uFFFF')) ) {s = 35;} + else if ( (LA12_0=='%') ) {s = 31;} - if ( s>=0 ) return s; - break; - case 2 : - int LA11_29 = input.LA(1); + else if ( (LA12_0=='/') ) {s = 32;} - s = -1; - if ( ((LA11_29>='\u0000' && LA11_29<='\uFFFF')) ) {s = 72;} + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 33;} - else s = 35; + 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=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 34;} if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 11, _s, input); + new NoViableAltException(getDescription(), 12, _s, input); error(nvae); throw nvae; } diff --git a/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemParser.java b/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemParser.java index f0a69c90..cddaa9c1 100644 --- a/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemParser.java +++ b/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemParser.java @@ -22,16 +22,16 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalProblemParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "RULE_STRING", "RULE_ID", "RULE_INT", "RULE_QUOTED_ID", "RULE_SL_COMMENT", "RULE_ML_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'problem'", "'.'", "'abstract'", "'class'", "'extends'", "','", "'{'", "';'", "'}'", "'enum'", "'contains'", "'refers'", "'['", "']'", "'opposite'", "'error'", "'pred'", "'('", "')'", "':-'", "'!'", "'+'", "':'", "'scope'", "'+='", "'='", "'..'", "'*'", "'::'", "'true'", "'false'", "'e'", "'E'", "'-'", "'unknown'", "'?'" + "", "", "", "", "RULE_STRING", "RULE_ID", "RULE_INT", "RULE_QUOTED_ID", "RULE_EXPONENTIAL", "RULE_SL_COMMENT", "RULE_ML_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'problem'", "'.'", "'abstract'", "'class'", "'extends'", "','", "'{'", "';'", "'}'", "'enum'", "'contains'", "'refers'", "'['", "']'", "'opposite'", "'error'", "'pred'", "'('", "')'", "':-'", "'!'", "'+'", "':'", "'scope'", "'+='", "'='", "'..'", "'*'", "'::'", "'true'", "'false'", "'-'", "'unknown'", "'?'" }; public static final int T__19=19; public static final int T__15=15; public static final int T__16=16; public static final int T__17=17; public static final int T__18=18; - public static final int T__12=12; public static final int T__13=13; public static final int T__14=14; + public static final int RULE_EXPONENTIAL=8; public static final int RULE_ID=5; public static final int RULE_QUOTED_ID=7; public static final int T__26=26; @@ -40,14 +40,14 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { public static final int RULE_INT=6; public static final int T__29=29; public static final int T__22=22; - public static final int RULE_ML_COMMENT=9; + public static final int RULE_ML_COMMENT=10; 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__20=20; public static final int T__21=21; public static final int RULE_STRING=4; - public static final int RULE_SL_COMMENT=8; + public static final int RULE_SL_COMMENT=9; public static final int T__37=37; public static final int T__38=38; public static final int T__39=39; @@ -59,12 +59,11 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { 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_WS=10; - public static final int RULE_ANY_OTHER=11; + public static final int RULE_WS=11; + public static final int RULE_ANY_OTHER=12; public static final int T__44=44; public static final int T__45=45; public static final int T__46=46; - public static final int T__47=47; public static final int T__40=40; public static final int T__41=41; public static final int T__42=42; @@ -171,14 +170,14 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt1=2; int LA1_0 = input.LA(1); - if ( (LA1_0==12) ) { + if ( (LA1_0==13) ) { alt1=1; } switch (alt1) { case 1 : // InternalProblem.g:81:4: otherlv_0= 'problem' ( (lv_name_1_0= ruleIdentifier ) ) otherlv_2= '.' { - otherlv_0=(Token)match(input,12,FOLLOW_3); + otherlv_0=(Token)match(input,13,FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getProblemAccess().getProblemKeyword_0_0()); @@ -213,7 +212,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,13,FOLLOW_5); + otherlv_2=(Token)match(input,14,FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getProblemAccess().getFullStopKeyword_0_2()); @@ -229,7 +228,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt2=2; int LA2_0 = input.LA(1); - if ( (LA2_0==RULE_ID||LA2_0==RULE_QUOTED_ID||(LA2_0>=14 && LA2_0<=15)||LA2_0==21||(LA2_0>=27 && LA2_0<=28)||LA2_0==32||LA2_0==35||(LA2_0>=41 && LA2_0<=44)||LA2_0==47) ) { + if ( (LA2_0==RULE_ID||LA2_0==RULE_QUOTED_ID||(LA2_0>=15 && LA2_0<=16)||LA2_0==22||(LA2_0>=28 && LA2_0<=29)||LA2_0==33||LA2_0==36||(LA2_0>=42 && LA2_0<=43)||LA2_0==46) ) { alt2=1; } @@ -557,7 +556,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt4=2; int LA4_0 = input.LA(1); - if ( (LA4_0==14) ) { + if ( (LA4_0==15) ) { alt4=1; } switch (alt4) { @@ -567,7 +566,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // InternalProblem.g:220:4: (lv_abstract_0_0= 'abstract' ) // InternalProblem.g:221:5: lv_abstract_0_0= 'abstract' { - lv_abstract_0_0=(Token)match(input,14,FOLLOW_6); + lv_abstract_0_0=(Token)match(input,15,FOLLOW_6); newLeafNode(lv_abstract_0_0, grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); @@ -586,7 +585,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,15,FOLLOW_3); + otherlv_1=(Token)match(input,16,FOLLOW_3); newLeafNode(otherlv_1, grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); @@ -625,14 +624,14 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt6=2; int LA6_0 = input.LA(1); - if ( (LA6_0==16) ) { + if ( (LA6_0==17) ) { alt6=1; } switch (alt6) { case 1 : // InternalProblem.g:257:4: otherlv_3= 'extends' ( ( ruleQualifiedName ) ) (otherlv_5= ',' ( ( ruleQualifiedName ) ) )* { - otherlv_3=(Token)match(input,16,FOLLOW_8); + otherlv_3=(Token)match(input,17,FOLLOW_8); newLeafNode(otherlv_3, grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0()); @@ -670,7 +669,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt5=2; int LA5_0 = input.LA(1); - if ( (LA5_0==17) ) { + if ( (LA5_0==18) ) { alt5=1; } @@ -679,7 +678,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 1 : // InternalProblem.g:278:5: otherlv_5= ',' ( ( ruleQualifiedName ) ) { - otherlv_5=(Token)match(input,17,FOLLOW_8); + otherlv_5=(Token)match(input,18,FOLLOW_8); newLeafNode(otherlv_5, grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_2_0()); @@ -730,10 +729,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt9=2; int LA9_0 = input.LA(1); - if ( (LA9_0==18) ) { + if ( (LA9_0==19) ) { alt9=1; } - else if ( (LA9_0==13) ) { + else if ( (LA9_0==14) ) { alt9=2; } else { @@ -749,7 +748,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // InternalProblem.g:301:4: (otherlv_7= '{' ( ( (lv_referenceDeclarations_8_0= ruleReferenceDeclaration ) ) (otherlv_9= ';' )? )* otherlv_10= '}' ) // InternalProblem.g:302:5: otherlv_7= '{' ( ( (lv_referenceDeclarations_8_0= ruleReferenceDeclaration ) ) (otherlv_9= ';' )? )* otherlv_10= '}' { - otherlv_7=(Token)match(input,18,FOLLOW_10); + otherlv_7=(Token)match(input,19,FOLLOW_10); newLeafNode(otherlv_7, grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()); @@ -759,7 +758,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt8=2; int LA8_0 = input.LA(1); - if ( (LA8_0==RULE_ID||LA8_0==RULE_QUOTED_ID||(LA8_0>=22 && LA8_0<=23)||(LA8_0>=41 && LA8_0<=44)) ) { + if ( (LA8_0==RULE_ID||LA8_0==RULE_QUOTED_ID||(LA8_0>=23 && LA8_0<=24)||(LA8_0>=42 && LA8_0<=43)) ) { alt8=1; } @@ -803,14 +802,14 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt7=2; int LA7_0 = input.LA(1); - if ( (LA7_0==19) ) { + if ( (LA7_0==20) ) { alt7=1; } switch (alt7) { case 1 : // InternalProblem.g:327:7: otherlv_9= ';' { - otherlv_9=(Token)match(input,19,FOLLOW_10); + otherlv_9=(Token)match(input,20,FOLLOW_10); newLeafNode(otherlv_9, grammarAccess.getClassDeclarationAccess().getSemicolonKeyword_4_0_1_1()); @@ -829,7 +828,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } } while (true); - otherlv_10=(Token)match(input,20,FOLLOW_2); + otherlv_10=(Token)match(input,21,FOLLOW_2); newLeafNode(otherlv_10, grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2()); @@ -842,7 +841,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 2 : // InternalProblem.g:339:4: otherlv_11= '.' { - otherlv_11=(Token)match(input,13,FOLLOW_2); + otherlv_11=(Token)match(input,14,FOLLOW_2); newLeafNode(otherlv_11, grammarAccess.getClassDeclarationAccess().getFullStopKeyword_4_1()); @@ -939,7 +938,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // InternalProblem.g:362:2: (otherlv_0= 'enum' ( (lv_name_1_0= ruleIdentifier ) ) ( (otherlv_2= '{' ( ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* (otherlv_6= ',' | otherlv_7= ';' )? )? otherlv_8= '}' ) | otherlv_9= '.' ) ) // InternalProblem.g:363:3: otherlv_0= 'enum' ( (lv_name_1_0= ruleIdentifier ) ) ( (otherlv_2= '{' ( ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* (otherlv_6= ',' | otherlv_7= ';' )? )? otherlv_8= '}' ) | otherlv_9= '.' ) { - otherlv_0=(Token)match(input,21,FOLLOW_3); + otherlv_0=(Token)match(input,22,FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getEnumDeclarationAccess().getEnumKeyword_0()); @@ -978,10 +977,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt13=2; int LA13_0 = input.LA(1); - if ( (LA13_0==18) ) { + if ( (LA13_0==19) ) { alt13=1; } - else if ( (LA13_0==13) ) { + else if ( (LA13_0==14) ) { alt13=2; } else { @@ -997,7 +996,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // InternalProblem.g:387:4: (otherlv_2= '{' ( ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* (otherlv_6= ',' | otherlv_7= ';' )? )? otherlv_8= '}' ) // InternalProblem.g:388:5: otherlv_2= '{' ( ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* (otherlv_6= ',' | otherlv_7= ';' )? )? otherlv_8= '}' { - otherlv_2=(Token)match(input,18,FOLLOW_13); + otherlv_2=(Token)match(input,19,FOLLOW_13); newLeafNode(otherlv_2, grammarAccess.getEnumDeclarationAccess().getLeftCurlyBracketKeyword_2_0_0()); @@ -1005,7 +1004,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt12=2; int LA12_0 = input.LA(1); - if ( (LA12_0==RULE_ID||(LA12_0>=41 && LA12_0<=44)) ) { + if ( (LA12_0==RULE_ID||(LA12_0>=42 && LA12_0<=43)) ) { alt12=1; } switch (alt12) { @@ -1049,10 +1048,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt10=2; int LA10_0 = input.LA(1); - if ( (LA10_0==17) ) { + if ( (LA10_0==18) ) { int LA10_1 = input.LA(2); - if ( (LA10_1==RULE_ID||(LA10_1>=41 && LA10_1<=44)) ) { + if ( (LA10_1==RULE_ID||(LA10_1>=42 && LA10_1<=43)) ) { alt10=1; } @@ -1064,7 +1063,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 1 : // InternalProblem.g:413:7: otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) { - otherlv_4=(Token)match(input,17,FOLLOW_3); + otherlv_4=(Token)match(input,18,FOLLOW_3); newLeafNode(otherlv_4, grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_1_0()); @@ -1112,17 +1111,17 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt11=3; int LA11_0 = input.LA(1); - if ( (LA11_0==17) ) { + if ( (LA11_0==18) ) { alt11=1; } - else if ( (LA11_0==19) ) { + else if ( (LA11_0==20) ) { alt11=2; } switch (alt11) { case 1 : // InternalProblem.g:438:7: otherlv_6= ',' { - otherlv_6=(Token)match(input,17,FOLLOW_15); + otherlv_6=(Token)match(input,18,FOLLOW_15); newLeafNode(otherlv_6, grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_2_0()); @@ -1132,7 +1131,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 2 : // InternalProblem.g:443:7: otherlv_7= ';' { - otherlv_7=(Token)match(input,19,FOLLOW_15); + otherlv_7=(Token)match(input,20,FOLLOW_15); newLeafNode(otherlv_7, grammarAccess.getEnumDeclarationAccess().getSemicolonKeyword_2_0_1_2_1()); @@ -1148,7 +1147,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - otherlv_8=(Token)match(input,20,FOLLOW_2); + otherlv_8=(Token)match(input,21,FOLLOW_2); newLeafNode(otherlv_8, grammarAccess.getEnumDeclarationAccess().getRightCurlyBracketKeyword_2_0_2()); @@ -1161,7 +1160,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 2 : // InternalProblem.g:455:4: otherlv_9= '.' { - otherlv_9=(Token)match(input,13,FOLLOW_2); + otherlv_9=(Token)match(input,14,FOLLOW_2); newLeafNode(otherlv_9, grammarAccess.getEnumDeclarationAccess().getFullStopKeyword_2_1()); @@ -1359,10 +1358,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt14=3; int LA14_0 = input.LA(1); - if ( (LA14_0==22) ) { + if ( (LA14_0==23) ) { alt14=1; } - else if ( (LA14_0==23) ) { + else if ( (LA14_0==24) ) { alt14=2; } switch (alt14) { @@ -1375,7 +1374,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // InternalProblem.g:517:5: (lv_containment_0_0= 'contains' ) // InternalProblem.g:518:6: lv_containment_0_0= 'contains' { - lv_containment_0_0=(Token)match(input,22,FOLLOW_8); + lv_containment_0_0=(Token)match(input,23,FOLLOW_8); newLeafNode(lv_containment_0_0, grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0()); @@ -1397,7 +1396,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 2 : // InternalProblem.g:531:4: otherlv_1= 'refers' { - otherlv_1=(Token)match(input,23,FOLLOW_8); + otherlv_1=(Token)match(input,24,FOLLOW_8); newLeafNode(otherlv_1, grammarAccess.getReferenceDeclarationAccess().getRefersKeyword_0_1()); @@ -1439,14 +1438,14 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt15=2; int LA15_0 = input.LA(1); - if ( (LA15_0==24) ) { + if ( (LA15_0==25) ) { alt15=1; } switch (alt15) { case 1 : // InternalProblem.g:553:4: otherlv_3= '[' ( (lv_multiplicity_4_0= ruleMultiplicity ) ) otherlv_5= ']' { - otherlv_3=(Token)match(input,24,FOLLOW_17); + otherlv_3=(Token)match(input,25,FOLLOW_17); newLeafNode(otherlv_3, grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2_0()); @@ -1481,7 +1480,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - otherlv_5=(Token)match(input,25,FOLLOW_3); + otherlv_5=(Token)match(input,26,FOLLOW_3); newLeafNode(otherlv_5, grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_2_2()); @@ -1526,14 +1525,14 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt16=2; int LA16_0 = input.LA(1); - if ( (LA16_0==26) ) { + if ( (LA16_0==27) ) { alt16=1; } switch (alt16) { case 1 : // InternalProblem.g:601:4: otherlv_7= 'opposite' ( ( ruleQualifiedName ) ) { - otherlv_7=(Token)match(input,26,FOLLOW_8); + otherlv_7=(Token)match(input,27,FOLLOW_8); newLeafNode(otherlv_7, grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_4_0()); @@ -1668,10 +1667,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt18=2; int LA18_0 = input.LA(1); - if ( (LA18_0==27) ) { + if ( (LA18_0==28) ) { alt18=1; } - else if ( (LA18_0==28) ) { + else if ( (LA18_0==29) ) { alt18=2; } else { @@ -1693,7 +1692,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // InternalProblem.g:644:6: (lv_error_0_0= 'error' ) // InternalProblem.g:645:7: lv_error_0_0= 'error' { - lv_error_0_0=(Token)match(input,27,FOLLOW_20); + lv_error_0_0=(Token)match(input,28,FOLLOW_20); newLeafNode(lv_error_0_0, grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0()); @@ -1713,14 +1712,14 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt17=2; int LA17_0 = input.LA(1); - if ( (LA17_0==28) ) { + if ( (LA17_0==29) ) { alt17=1; } switch (alt17) { case 1 : // InternalProblem.g:658:6: otherlv_1= 'pred' { - otherlv_1=(Token)match(input,28,FOLLOW_3); + otherlv_1=(Token)match(input,29,FOLLOW_3); newLeafNode(otherlv_1, grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_0_1()); @@ -1739,7 +1738,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 2 : // InternalProblem.g:665:4: otherlv_2= 'pred' { - otherlv_2=(Token)match(input,28,FOLLOW_3); + otherlv_2=(Token)match(input,29,FOLLOW_3); newLeafNode(otherlv_2, grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_1()); @@ -1780,7 +1779,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,29,FOLLOW_22); + otherlv_4=(Token)match(input,30,FOLLOW_22); newLeafNode(otherlv_4, grammarAccess.getPredicateDefinitionAccess().getLeftParenthesisKeyword_2()); @@ -1788,7 +1787,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt20=2; int LA20_0 = input.LA(1); - if ( (LA20_0==RULE_ID||LA20_0==RULE_QUOTED_ID||(LA20_0>=41 && LA20_0<=44)) ) { + if ( (LA20_0==RULE_ID||LA20_0==RULE_QUOTED_ID||(LA20_0>=42 && LA20_0<=43)) ) { alt20=1; } switch (alt20) { @@ -1832,7 +1831,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt19=2; int LA19_0 = input.LA(1); - if ( (LA19_0==17) ) { + if ( (LA19_0==18) ) { alt19=1; } @@ -1841,7 +1840,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 1 : // InternalProblem.g:714:5: otherlv_6= ',' ( (lv_parameters_7_0= ruleParameter ) ) { - otherlv_6=(Token)match(input,17,FOLLOW_8); + otherlv_6=(Token)match(input,18,FOLLOW_8); newLeafNode(otherlv_6, grammarAccess.getPredicateDefinitionAccess().getCommaKeyword_3_1_0()); @@ -1891,7 +1890,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - otherlv_8=(Token)match(input,30,FOLLOW_24); + otherlv_8=(Token)match(input,31,FOLLOW_24); newLeafNode(otherlv_8, grammarAccess.getPredicateDefinitionAccess().getRightParenthesisKeyword_4()); @@ -1899,14 +1898,14 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt22=2; int LA22_0 = input.LA(1); - if ( (LA22_0==31) ) { + if ( (LA22_0==32) ) { alt22=1; } switch (alt22) { case 1 : // InternalProblem.g:744:4: otherlv_9= ':-' ( (lv_bodies_10_0= ruleConjunction ) ) (otherlv_11= ';' ( (lv_bodies_12_0= ruleConjunction ) ) )* { - otherlv_9=(Token)match(input,31,FOLLOW_25); + otherlv_9=(Token)match(input,32,FOLLOW_25); newLeafNode(otherlv_9, grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_5_0()); @@ -1947,7 +1946,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt21=2; int LA21_0 = input.LA(1); - if ( (LA21_0==19) ) { + if ( (LA21_0==20) ) { alt21=1; } @@ -1956,7 +1955,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 1 : // InternalProblem.g:768:5: otherlv_11= ';' ( (lv_bodies_12_0= ruleConjunction ) ) { - otherlv_11=(Token)match(input,19,FOLLOW_25); + otherlv_11=(Token)match(input,20,FOLLOW_25); newLeafNode(otherlv_11, grammarAccess.getPredicateDefinitionAccess().getSemicolonKeyword_5_2_0()); @@ -2006,7 +2005,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - otherlv_13=(Token)match(input,13,FOLLOW_2); + otherlv_13=(Token)match(input,14,FOLLOW_2); newLeafNode(otherlv_13, grammarAccess.getPredicateDefinitionAccess().getFullStopKeyword_6()); @@ -2098,43 +2097,25 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { { int LA23_2 = input.LA(2); - if ( (LA23_2==RULE_ID||(LA23_2>=40 && LA23_2<=44)) ) { - alt23=1; - } - } - break; - case 41: - { - int LA23_3 = input.LA(2); - - if ( (LA23_3==RULE_ID||(LA23_3>=40 && LA23_3<=44)) ) { + if ( (LA23_2==RULE_ID||(LA23_2>=41 && LA23_2<=43)) ) { alt23=1; } } break; case 42: { - int LA23_4 = input.LA(2); + int LA23_3 = input.LA(2); - if ( (LA23_4==RULE_ID||(LA23_4>=40 && LA23_4<=44)) ) { + if ( (LA23_3==RULE_ID||(LA23_3>=41 && LA23_3<=43)) ) { alt23=1; } } break; case 43: { - int LA23_5 = input.LA(2); - - if ( (LA23_5==RULE_ID||(LA23_5>=40 && LA23_5<=44)) ) { - alt23=1; - } - } - break; - case 44: - { - int LA23_6 = input.LA(2); + int LA23_4 = input.LA(2); - if ( (LA23_6==RULE_ID||(LA23_6>=40 && LA23_6<=44)) ) { + if ( (LA23_4==RULE_ID||(LA23_4>=41 && LA23_4<=43)) ) { alt23=1; } } @@ -2320,7 +2301,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt24=2; int LA24_0 = input.LA(1); - if ( (LA24_0==17) ) { + if ( (LA24_0==18) ) { alt24=1; } @@ -2329,7 +2310,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 1 : // InternalProblem.g:890:4: otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) { - otherlv_1=(Token)match(input,17,FOLLOW_25); + otherlv_1=(Token)match(input,18,FOLLOW_25); newLeafNode(otherlv_1, grammarAccess.getConjunctionAccess().getCommaKeyword_1_0()); @@ -2452,10 +2433,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt25=2; int LA25_0 = input.LA(1); - if ( (LA25_0==RULE_ID||LA25_0==RULE_QUOTED_ID||(LA25_0>=41 && LA25_0<=44)) ) { + if ( (LA25_0==RULE_ID||LA25_0==RULE_QUOTED_ID||(LA25_0>=42 && LA25_0<=43)) ) { alt25=1; } - else if ( (LA25_0==32) ) { + else if ( (LA25_0==33) ) { alt25=2; } else { @@ -2578,7 +2559,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // InternalProblem.g:968:2: (otherlv_0= '!' ( (lv_atom_1_0= ruleAtom ) ) ) // InternalProblem.g:969:3: otherlv_0= '!' ( (lv_atom_1_0= ruleAtom ) ) { - otherlv_0=(Token)match(input,32,FOLLOW_8); + otherlv_0=(Token)match(input,33,FOLLOW_8); newLeafNode(otherlv_0, grammarAccess.getNegativeLiteralAccess().getExclamationMarkKeyword_0()); @@ -2727,7 +2708,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt26=2; int LA26_0 = input.LA(1); - if ( (LA26_0==33) ) { + if ( (LA26_0==34) ) { alt26=1; } switch (alt26) { @@ -2737,7 +2718,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // InternalProblem.g:1028:4: (lv_transitiveClosure_1_0= '+' ) // InternalProblem.g:1029:5: lv_transitiveClosure_1_0= '+' { - lv_transitiveClosure_1_0=(Token)match(input,33,FOLLOW_21); + lv_transitiveClosure_1_0=(Token)match(input,34,FOLLOW_21); newLeafNode(lv_transitiveClosure_1_0, grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0()); @@ -2756,7 +2737,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,29,FOLLOW_29); + otherlv_2=(Token)match(input,30,FOLLOW_29); newLeafNode(otherlv_2, grammarAccess.getAtomAccess().getLeftParenthesisKeyword_2()); @@ -2764,7 +2745,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt28=2; int LA28_0 = input.LA(1); - if ( ((LA28_0>=RULE_STRING && LA28_0<=RULE_QUOTED_ID)||(LA28_0>=41 && LA28_0<=45)) ) { + if ( ((LA28_0>=RULE_STRING && LA28_0<=RULE_EXPONENTIAL)||(LA28_0>=42 && LA28_0<=44)) ) { alt28=1; } switch (alt28) { @@ -2808,7 +2789,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt27=2; int LA27_0 = input.LA(1); - if ( (LA27_0==17) ) { + if ( (LA27_0==18) ) { alt27=1; } @@ -2817,7 +2798,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 1 : // InternalProblem.g:1066:5: otherlv_4= ',' ( (lv_arguments_5_0= ruleArgument ) ) { - otherlv_4=(Token)match(input,17,FOLLOW_30); + otherlv_4=(Token)match(input,18,FOLLOW_30); newLeafNode(otherlv_4, grammarAccess.getAtomAccess().getCommaKeyword_3_1_0()); @@ -2867,7 +2848,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - otherlv_6=(Token)match(input,30,FOLLOW_2); + otherlv_6=(Token)match(input,31,FOLLOW_2); newLeafNode(otherlv_6, grammarAccess.getAtomAccess().getRightParenthesisKeyword_4()); @@ -2950,10 +2931,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt29=2; int LA29_0 = input.LA(1); - if ( (LA29_0==RULE_ID||LA29_0==RULE_QUOTED_ID||(LA29_0>=41 && LA29_0<=44)) ) { + if ( (LA29_0==RULE_ID||LA29_0==RULE_QUOTED_ID||(LA29_0>=42 && LA29_0<=43)) ) { alt29=1; } - else if ( (LA29_0==RULE_STRING||LA29_0==RULE_INT||LA29_0==45) ) { + else if ( (LA29_0==RULE_STRING||LA29_0==RULE_INT||LA29_0==RULE_EXPONENTIAL||LA29_0==44) ) { alt29=2; } else { @@ -3327,7 +3308,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,29,FOLLOW_29); + otherlv_1=(Token)match(input,30,FOLLOW_29); newLeafNode(otherlv_1, grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_0_1()); @@ -3335,7 +3316,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt31=2; int LA31_0 = input.LA(1); - if ( ((LA31_0>=RULE_STRING && LA31_0<=RULE_QUOTED_ID)||(LA31_0>=41 && LA31_0<=45)) ) { + if ( ((LA31_0>=RULE_STRING && LA31_0<=RULE_EXPONENTIAL)||(LA31_0>=42 && LA31_0<=44)) ) { alt31=1; } switch (alt31) { @@ -3379,7 +3360,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt30=2; int LA30_0 = input.LA(1); - if ( (LA30_0==17) ) { + if ( (LA30_0==18) ) { alt30=1; } @@ -3388,7 +3369,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 1 : // InternalProblem.g:1262:7: otherlv_3= ',' ( (lv_arguments_4_0= ruleAssertionArgument ) ) { - otherlv_3=(Token)match(input,17,FOLLOW_30); + otherlv_3=(Token)match(input,18,FOLLOW_30); newLeafNode(otherlv_3, grammarAccess.getAssertionAccess().getCommaKeyword_0_0_2_1_0()); @@ -3438,11 +3419,11 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - otherlv_5=(Token)match(input,30,FOLLOW_31); + otherlv_5=(Token)match(input,31,FOLLOW_31); newLeafNode(otherlv_5, grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_0_3()); - otherlv_6=(Token)match(input,34,FOLLOW_32); + otherlv_6=(Token)match(input,35,FOLLOW_32); newLeafNode(otherlv_6, grammarAccess.getAssertionAccess().getColonKeyword_0_0_4()); @@ -3493,7 +3474,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt32=2; int LA32_0 = input.LA(1); - if ( (LA32_0==32||LA32_0==47) ) { + if ( (LA32_0==33||LA32_0==46) ) { alt32=1; } switch (alt32) { @@ -3559,7 +3540,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - otherlv_10=(Token)match(input,29,FOLLOW_29); + otherlv_10=(Token)match(input,30,FOLLOW_29); newLeafNode(otherlv_10, grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_1_2()); @@ -3567,7 +3548,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt34=2; int LA34_0 = input.LA(1); - if ( ((LA34_0>=RULE_STRING && LA34_0<=RULE_QUOTED_ID)||(LA34_0>=41 && LA34_0<=45)) ) { + if ( ((LA34_0>=RULE_STRING && LA34_0<=RULE_EXPONENTIAL)||(LA34_0>=42 && LA34_0<=44)) ) { alt34=1; } switch (alt34) { @@ -3611,7 +3592,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt33=2; int LA33_0 = input.LA(1); - if ( (LA33_0==17) ) { + if ( (LA33_0==18) ) { alt33=1; } @@ -3620,7 +3601,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 1 : // InternalProblem.g:1377:7: otherlv_12= ',' ( (lv_arguments_13_0= ruleAssertionArgument ) ) { - otherlv_12=(Token)match(input,17,FOLLOW_30); + otherlv_12=(Token)match(input,18,FOLLOW_30); newLeafNode(otherlv_12, grammarAccess.getAssertionAccess().getCommaKeyword_0_1_3_1_0()); @@ -3670,7 +3651,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - otherlv_14=(Token)match(input,30,FOLLOW_4); + otherlv_14=(Token)match(input,31,FOLLOW_4); newLeafNode(otherlv_14, grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_1_4()); @@ -3683,7 +3664,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - otherlv_15=(Token)match(input,13,FOLLOW_2); + otherlv_15=(Token)match(input,14,FOLLOW_2); newLeafNode(otherlv_15, grammarAccess.getAssertionAccess().getFullStopKeyword_1()); @@ -3766,10 +3747,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt36=2; int LA36_0 = input.LA(1); - if ( (LA36_0==RULE_ID||LA36_0==RULE_QUOTED_ID||(LA36_0>=41 && LA36_0<=44)) ) { + if ( (LA36_0==RULE_ID||LA36_0==RULE_QUOTED_ID||(LA36_0>=42 && LA36_0<=43)) ) { alt36=1; } - else if ( (LA36_0==RULE_STRING||LA36_0==RULE_INT||LA36_0==45) ) { + else if ( (LA36_0==RULE_STRING||LA36_0==RULE_INT||LA36_0==RULE_EXPONENTIAL||LA36_0==44) ) { alt36=2; } else { @@ -4117,7 +4098,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,34,FOLLOW_30); + otherlv_1=(Token)match(input,35,FOLLOW_30); newLeafNode(otherlv_1, grammarAccess.getNodeValueAssertionAccess().getColonKeyword_1()); @@ -4152,7 +4133,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - otherlv_3=(Token)match(input,13,FOLLOW_2); + otherlv_3=(Token)match(input,14,FOLLOW_2); newLeafNode(otherlv_3, grammarAccess.getNodeValueAssertionAccess().getFullStopKeyword_3()); @@ -4215,13 +4196,13 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleConstant" - // InternalProblem.g:1590:1: ruleConstant returns [EObject current=null] : (this_IntConstant_0= ruleIntConstant | this_RealConstant_1= ruleRealConstant | this_StringConstant_2= ruleStringConstant ) ; + // InternalProblem.g:1590:1: ruleConstant returns [EObject current=null] : (this_RealConstant_0= ruleRealConstant | this_IntConstant_1= ruleIntConstant | this_StringConstant_2= ruleStringConstant ) ; public final EObject ruleConstant() throws RecognitionException { EObject current = null; - EObject this_IntConstant_0 = null; + EObject this_RealConstant_0 = null; - EObject this_RealConstant_1 = null; + EObject this_IntConstant_1 = null; EObject this_StringConstant_2 = null; @@ -4230,56 +4211,47 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalProblem.g:1596:2: ( (this_IntConstant_0= ruleIntConstant | this_RealConstant_1= ruleRealConstant | this_StringConstant_2= ruleStringConstant ) ) - // InternalProblem.g:1597:2: (this_IntConstant_0= ruleIntConstant | this_RealConstant_1= ruleRealConstant | this_StringConstant_2= ruleStringConstant ) + // InternalProblem.g:1596:2: ( (this_RealConstant_0= ruleRealConstant | this_IntConstant_1= ruleIntConstant | this_StringConstant_2= ruleStringConstant ) ) + // InternalProblem.g:1597:2: (this_RealConstant_0= ruleRealConstant | this_IntConstant_1= ruleIntConstant | this_StringConstant_2= ruleStringConstant ) { - // InternalProblem.g:1597:2: (this_IntConstant_0= ruleIntConstant | this_RealConstant_1= ruleRealConstant | this_StringConstant_2= ruleStringConstant ) + // InternalProblem.g:1597:2: (this_RealConstant_0= ruleRealConstant | this_IntConstant_1= ruleIntConstant | this_StringConstant_2= ruleStringConstant ) int alt37=3; switch ( input.LA(1) ) { - case 45: + case 44: { int LA37_1 = input.LA(2); if ( (LA37_1==RULE_INT) ) { - switch ( input.LA(3) ) { - case EOF: - case 17: - case 30: - { - alt37=1; - } - break; - case 13: - { + int LA37_3 = input.LA(3); + + if ( (LA37_3==14) ) { int LA37_5 = input.LA(4); - if ( (LA37_5==EOF||LA37_5==RULE_ID||LA37_5==RULE_QUOTED_ID||(LA37_5>=14 && LA37_5<=15)||LA37_5==21||(LA37_5>=27 && LA37_5<=28)||LA37_5==32||LA37_5==35||(LA37_5>=41 && LA37_5<=44)||LA37_5==47) ) { - alt37=1; - } - else if ( (LA37_5==RULE_INT) ) { + if ( (LA37_5==EOF||LA37_5==RULE_ID||LA37_5==RULE_QUOTED_ID||(LA37_5>=15 && LA37_5<=16)||LA37_5==22||(LA37_5>=28 && LA37_5<=29)||LA37_5==33||LA37_5==36||(LA37_5>=42 && LA37_5<=43)||LA37_5==46) ) { alt37=2; } + else if ( (LA37_5==RULE_INT||LA37_5==RULE_EXPONENTIAL) ) { + alt37=1; + } else { NoViableAltException nvae = new NoViableAltException("", 37, 5, input); throw nvae; } - } - break; - case 43: - case 44: - { + } + else if ( (LA37_3==EOF||LA37_3==18||LA37_3==31) ) { alt37=2; - } - break; - default: + } + else { NoViableAltException nvae = - new NoViableAltException("", 37, 2, input); + new NoViableAltException("", 37, 3, input); throw nvae; } - + } + else if ( (LA37_1==RULE_EXPONENTIAL) ) { + alt37=1; } else { NoViableAltException nvae = @@ -4289,47 +4261,40 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } } break; + case RULE_EXPONENTIAL: + { + alt37=1; + } + break; case RULE_INT: { - switch ( input.LA(2) ) { - case EOF: - case 17: - case 30: - { - alt37=1; - } - break; - case 13: - { + int LA37_3 = input.LA(2); + + if ( (LA37_3==14) ) { int LA37_5 = input.LA(3); - if ( (LA37_5==EOF||LA37_5==RULE_ID||LA37_5==RULE_QUOTED_ID||(LA37_5>=14 && LA37_5<=15)||LA37_5==21||(LA37_5>=27 && LA37_5<=28)||LA37_5==32||LA37_5==35||(LA37_5>=41 && LA37_5<=44)||LA37_5==47) ) { - alt37=1; - } - else if ( (LA37_5==RULE_INT) ) { + if ( (LA37_5==EOF||LA37_5==RULE_ID||LA37_5==RULE_QUOTED_ID||(LA37_5>=15 && LA37_5<=16)||LA37_5==22||(LA37_5>=28 && LA37_5<=29)||LA37_5==33||LA37_5==36||(LA37_5>=42 && LA37_5<=43)||LA37_5==46) ) { alt37=2; } + else if ( (LA37_5==RULE_INT||LA37_5==RULE_EXPONENTIAL) ) { + alt37=1; + } else { NoViableAltException nvae = new NoViableAltException("", 37, 5, input); throw nvae; } - } - break; - case 43: - case 44: - { + } + else if ( (LA37_3==EOF||LA37_3==18||LA37_3==31) ) { alt37=2; - } - break; - default: + } + else { NoViableAltException nvae = - new NoViableAltException("", 37, 2, input); + new NoViableAltException("", 37, 3, input); throw nvae; } - } break; case RULE_STRING: @@ -4346,36 +4311,36 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { switch (alt37) { case 1 : - // InternalProblem.g:1598:3: this_IntConstant_0= ruleIntConstant + // InternalProblem.g:1598:3: this_RealConstant_0= ruleRealConstant { - newCompositeNode(grammarAccess.getConstantAccess().getIntConstantParserRuleCall_0()); + newCompositeNode(grammarAccess.getConstantAccess().getRealConstantParserRuleCall_0()); pushFollow(FOLLOW_2); - this_IntConstant_0=ruleIntConstant(); + this_RealConstant_0=ruleRealConstant(); state._fsp--; - current = this_IntConstant_0; + current = this_RealConstant_0; afterParserOrEnumRuleCall(); } break; case 2 : - // InternalProblem.g:1607:3: this_RealConstant_1= ruleRealConstant + // InternalProblem.g:1607:3: this_IntConstant_1= ruleIntConstant { - newCompositeNode(grammarAccess.getConstantAccess().getRealConstantParserRuleCall_1()); + newCompositeNode(grammarAccess.getConstantAccess().getIntConstantParserRuleCall_1()); pushFollow(FOLLOW_2); - this_RealConstant_1=ruleRealConstant(); + this_IntConstant_1=ruleIntConstant(); state._fsp--; - current = this_RealConstant_1; + current = this_IntConstant_1; afterParserOrEnumRuleCall(); @@ -4777,7 +4742,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // InternalProblem.g:1749:2: (otherlv_0= 'scope' ( (lv_typeScopes_1_0= ruleTypeScope ) ) (otherlv_2= ',' ( (lv_typeScopes_3_0= ruleTypeScope ) ) )* otherlv_4= '.' ) // InternalProblem.g:1750:3: otherlv_0= 'scope' ( (lv_typeScopes_1_0= ruleTypeScope ) ) (otherlv_2= ',' ( (lv_typeScopes_3_0= ruleTypeScope ) ) )* otherlv_4= '.' { - otherlv_0=(Token)match(input,35,FOLLOW_33); + otherlv_0=(Token)match(input,36,FOLLOW_33); newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); @@ -4818,7 +4783,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt38=2; int LA38_0 = input.LA(1); - if ( (LA38_0==17) ) { + if ( (LA38_0==18) ) { alt38=1; } @@ -4827,7 +4792,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 1 : // InternalProblem.g:1774:4: otherlv_2= ',' ( (lv_typeScopes_3_0= ruleTypeScope ) ) { - otherlv_2=(Token)match(input,17,FOLLOW_33); + otherlv_2=(Token)match(input,18,FOLLOW_33); newLeafNode(otherlv_2, grammarAccess.getScopeDeclarationAccess().getCommaKeyword_2_0()); @@ -4871,7 +4836,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } } while (true); - otherlv_4=(Token)match(input,13,FOLLOW_2); + otherlv_4=(Token)match(input,14,FOLLOW_2); newLeafNode(otherlv_4, grammarAccess.getScopeDeclarationAccess().getFullStopKeyword_3()); @@ -4979,10 +4944,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt39=2; int LA39_0 = input.LA(1); - if ( (LA39_0==36) ) { + if ( (LA39_0==37) ) { alt39=1; } - else if ( (LA39_0==37) ) { + else if ( (LA39_0==38) ) { alt39=2; } else { @@ -5001,7 +4966,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // InternalProblem.g:1836:5: (lv_increment_1_0= '+=' ) // InternalProblem.g:1837:6: lv_increment_1_0= '+=' { - lv_increment_1_0=(Token)match(input,36,FOLLOW_17); + lv_increment_1_0=(Token)match(input,37,FOLLOW_17); newLeafNode(lv_increment_1_0, grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0()); @@ -5023,7 +4988,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 2 : // InternalProblem.g:1850:4: otherlv_2= '=' { - otherlv_2=(Token)match(input,37,FOLLOW_17); + otherlv_2=(Token)match(input,38,FOLLOW_17); newLeafNode(otherlv_2, grammarAccess.getTypeScopeAccess().getEqualsSignKeyword_1_1()); @@ -5143,7 +5108,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt40=2; int LA40_0 = input.LA(1); - if ( (LA40_0==EOF||LA40_0==25) ) { + if ( (LA40_0==EOF||LA40_0==26) ) { alt40=1; } else if ( (LA40_0==RULE_INT) ) { @@ -5274,10 +5239,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { if ( (LA41_0==RULE_INT) ) { int LA41_1 = input.LA(2); - if ( (LA41_1==38) ) { + if ( (LA41_1==39) ) { alt41=1; } - else if ( (LA41_1==EOF||LA41_1==13||LA41_1==17||LA41_1==25) ) { + else if ( (LA41_1==EOF||LA41_1==14||LA41_1==18||LA41_1==26) ) { alt41=2; } else { @@ -5507,7 +5472,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,38,FOLLOW_37); + otherlv_1=(Token)match(input,39,FOLLOW_37); newLeafNode(otherlv_1, grammarAccess.getRangeMultiplicityAccess().getFullStopFullStopKeyword_1()); @@ -5717,7 +5682,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { if ( (LA42_0==RULE_INT) ) { alt42=1; } - else if ( (LA42_0==39) ) { + else if ( (LA42_0==40) ) { alt42=2; } else { @@ -5743,7 +5708,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 2 : // InternalProblem.g:2092:3: kw= '*' { - kw=(Token)match(input,39,FOLLOW_2); + kw=(Token)match(input,40,FOLLOW_2); current.merge(kw); newLeafNode(kw, grammarAccess.getUpperBoundAccess().getAsteriskKeyword_1()); @@ -5842,7 +5807,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { if ( (LA44_0==RULE_QUOTED_ID) ) { alt44=1; } - else if ( (LA44_0==RULE_ID||(LA44_0>=41 && LA44_0<=44)) ) { + else if ( (LA44_0==RULE_ID||(LA44_0>=42 && LA44_0<=43)) ) { alt44=2; } else { @@ -5891,7 +5856,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { int alt43=2; int LA43_0 = input.LA(1); - if ( (LA43_0==40) ) { + if ( (LA43_0==41) ) { alt43=1; } @@ -5900,7 +5865,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 1 : // InternalProblem.g:2142:5: kw= '::' this_Identifier_3= ruleIdentifier { - kw=(Token)match(input,40,FOLLOW_3); + kw=(Token)match(input,41,FOLLOW_3); current.merge(kw); newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_1_0()); @@ -5996,7 +5961,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleIdentifier" - // InternalProblem.g:2173:1: ruleIdentifier returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID | kw= 'true' | kw= 'false' | kw= 'e' | kw= 'E' ) ; + // InternalProblem.g:2173:1: ruleIdentifier returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID | kw= 'true' | kw= 'false' ) ; public final AntlrDatatypeRuleToken ruleIdentifier() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -6007,35 +5972,25 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalProblem.g:2179:2: ( (this_ID_0= RULE_ID | kw= 'true' | kw= 'false' | kw= 'e' | kw= 'E' ) ) - // InternalProblem.g:2180:2: (this_ID_0= RULE_ID | kw= 'true' | kw= 'false' | kw= 'e' | kw= 'E' ) + // InternalProblem.g:2179:2: ( (this_ID_0= RULE_ID | kw= 'true' | kw= 'false' ) ) + // InternalProblem.g:2180:2: (this_ID_0= RULE_ID | kw= 'true' | kw= 'false' ) { - // InternalProblem.g:2180:2: (this_ID_0= RULE_ID | kw= 'true' | kw= 'false' | kw= 'e' | kw= 'E' ) - int alt45=5; + // InternalProblem.g:2180:2: (this_ID_0= RULE_ID | kw= 'true' | kw= 'false' ) + int alt45=3; switch ( input.LA(1) ) { case RULE_ID: { alt45=1; } break; - case 41: - { - alt45=2; - } - break; case 42: { - alt45=3; + alt45=2; } break; case 43: { - alt45=4; - } - break; - case 44: - { - alt45=5; + alt45=3; } break; default: @@ -6062,7 +6017,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 2 : // InternalProblem.g:2189:3: kw= 'true' { - kw=(Token)match(input,41,FOLLOW_2); + kw=(Token)match(input,42,FOLLOW_2); current.merge(kw); newLeafNode(kw, grammarAccess.getIdentifierAccess().getTrueKeyword_1()); @@ -6073,32 +6028,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { case 3 : // InternalProblem.g:2195:3: kw= 'false' { - kw=(Token)match(input,42,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getIdentifierAccess().getFalseKeyword_2()); - - - } - break; - case 4 : - // InternalProblem.g:2201:3: kw= 'e' - { kw=(Token)match(input,43,FOLLOW_2); current.merge(kw); - newLeafNode(kw, grammarAccess.getIdentifierAccess().getEKeyword_3()); - - - } - break; - case 5 : - // InternalProblem.g:2207:3: kw= 'E' - { - kw=(Token)match(input,44,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getIdentifierAccess().getEKeyword_4()); + newLeafNode(kw, grammarAccess.getIdentifierAccess().getFalseKeyword_2()); } @@ -6126,7 +6059,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleInteger" - // InternalProblem.g:2216:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ; + // InternalProblem.g:2204:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ; public final String entryRuleInteger() throws RecognitionException { String current = null; @@ -6137,8 +6070,8 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // InternalProblem.g:2218:2: (iv_ruleInteger= ruleInteger EOF ) - // InternalProblem.g:2219:2: iv_ruleInteger= ruleInteger EOF + // InternalProblem.g:2206:2: (iv_ruleInteger= ruleInteger EOF ) + // InternalProblem.g:2207:2: iv_ruleInteger= ruleInteger EOF { newCompositeNode(grammarAccess.getIntegerRule()); pushFollow(FOLLOW_1); @@ -6168,7 +6101,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleInteger" - // InternalProblem.g:2228:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ; + // InternalProblem.g:2216:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ; public final AntlrDatatypeRuleToken ruleInteger() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -6180,24 +6113,24 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // InternalProblem.g:2235:2: ( ( (kw= '-' )? this_INT_1= RULE_INT ) ) - // InternalProblem.g:2236:2: ( (kw= '-' )? this_INT_1= RULE_INT ) + // InternalProblem.g:2223:2: ( ( (kw= '-' )? this_INT_1= RULE_INT ) ) + // InternalProblem.g:2224:2: ( (kw= '-' )? this_INT_1= RULE_INT ) { - // InternalProblem.g:2236:2: ( (kw= '-' )? this_INT_1= RULE_INT ) - // InternalProblem.g:2237:3: (kw= '-' )? this_INT_1= RULE_INT + // InternalProblem.g:2224:2: ( (kw= '-' )? this_INT_1= RULE_INT ) + // InternalProblem.g:2225:3: (kw= '-' )? this_INT_1= RULE_INT { - // InternalProblem.g:2237:3: (kw= '-' )? + // InternalProblem.g:2225:3: (kw= '-' )? int alt46=2; int LA46_0 = input.LA(1); - if ( (LA46_0==45) ) { + if ( (LA46_0==44) ) { alt46=1; } switch (alt46) { case 1 : - // InternalProblem.g:2238:4: kw= '-' + // InternalProblem.g:2226:4: kw= '-' { - kw=(Token)match(input,45,FOLLOW_17); + kw=(Token)match(input,44,FOLLOW_17); current.merge(kw); newLeafNode(kw, grammarAccess.getIntegerAccess().getHyphenMinusKeyword_0()); @@ -6241,19 +6174,16 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleReal" - // InternalProblem.g:2258:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; + // InternalProblem.g:2246:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; public final String entryRuleReal() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleReal = null; - - HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); - try { - // InternalProblem.g:2260:2: (iv_ruleReal= ruleReal EOF ) - // InternalProblem.g:2261:2: iv_ruleReal= ruleReal EOF + // InternalProblem.g:2246:44: (iv_ruleReal= ruleReal EOF ) + // InternalProblem.g:2247:2: iv_ruleReal= ruleReal EOF { newCompositeNode(grammarAccess.getRealRule()); pushFollow(FOLLOW_1); @@ -6273,9 +6203,6 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { appendSkippedTokens(); } finally { - - myHiddenTokenState.restore(); - } return current; } @@ -6283,39 +6210,38 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleReal" - // InternalProblem.g:2270:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ( (kw= '.' this_INT_3= RULE_INT ) | ( (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT ) ) ) ; + // InternalProblem.g:2253:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? (this_EXPONENTIAL_1= RULE_EXPONENTIAL | (this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) ) ) ) ; public final AntlrDatatypeRuleToken ruleReal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; - Token this_INT_1=null; - Token this_INT_3=null; - Token this_INT_5=null; - Token this_INT_10=null; + Token this_EXPONENTIAL_1=null; + Token this_INT_2=null; + Token this_INT_4=null; + Token this_EXPONENTIAL_5=null; enterRule(); - HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // InternalProblem.g:2277:2: ( ( (kw= '-' )? this_INT_1= RULE_INT ( (kw= '.' this_INT_3= RULE_INT ) | ( (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT ) ) ) ) - // InternalProblem.g:2278:2: ( (kw= '-' )? this_INT_1= RULE_INT ( (kw= '.' this_INT_3= RULE_INT ) | ( (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT ) ) ) + // InternalProblem.g:2259:2: ( ( (kw= '-' )? (this_EXPONENTIAL_1= RULE_EXPONENTIAL | (this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) ) ) ) ) + // InternalProblem.g:2260:2: ( (kw= '-' )? (this_EXPONENTIAL_1= RULE_EXPONENTIAL | (this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) ) ) ) { - // InternalProblem.g:2278:2: ( (kw= '-' )? this_INT_1= RULE_INT ( (kw= '.' this_INT_3= RULE_INT ) | ( (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT ) ) ) - // InternalProblem.g:2279:3: (kw= '-' )? this_INT_1= RULE_INT ( (kw= '.' this_INT_3= RULE_INT ) | ( (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT ) ) + // InternalProblem.g:2260:2: ( (kw= '-' )? (this_EXPONENTIAL_1= RULE_EXPONENTIAL | (this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) ) ) ) + // InternalProblem.g:2261:3: (kw= '-' )? (this_EXPONENTIAL_1= RULE_EXPONENTIAL | (this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) ) ) { - // InternalProblem.g:2279:3: (kw= '-' )? + // InternalProblem.g:2261:3: (kw= '-' )? int alt47=2; int LA47_0 = input.LA(1); - if ( (LA47_0==45) ) { + if ( (LA47_0==44) ) { alt47=1; } switch (alt47) { case 1 : - // InternalProblem.g:2280:4: kw= '-' + // InternalProblem.g:2262:4: kw= '-' { - kw=(Token)match(input,45,FOLLOW_17); + kw=(Token)match(input,44,FOLLOW_39); current.merge(kw); newLeafNode(kw, grammarAccess.getRealAccess().getHyphenMinusKeyword_0()); @@ -6326,183 +6252,93 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - this_INT_1=(Token)match(input,RULE_INT,FOLLOW_39); + // InternalProblem.g:2268:3: (this_EXPONENTIAL_1= RULE_EXPONENTIAL | (this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) ) ) + int alt49=2; + int LA49_0 = input.LA(1); - current.merge(this_INT_1); - - - newLeafNode(this_INT_1, grammarAccess.getRealAccess().getINTTerminalRuleCall_1()); - - // InternalProblem.g:2293:3: ( (kw= '.' this_INT_3= RULE_INT ) | ( (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT ) ) - int alt51=2; - int LA51_0 = input.LA(1); - - if ( (LA51_0==13) ) { - int LA51_1 = input.LA(2); - - if ( (LA51_1==RULE_INT) ) { - int LA51_3 = input.LA(3); - - if ( (LA51_3==EOF||LA51_3==13||LA51_3==17||LA51_3==30) ) { - alt51=1; - } - else if ( ((LA51_3>=43 && LA51_3<=44)) ) { - alt51=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 51, 3, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("", 51, 1, input); - - throw nvae; - } + if ( (LA49_0==RULE_EXPONENTIAL) ) { + alt49=1; } - else if ( ((LA51_0>=43 && LA51_0<=44)) ) { - alt51=2; + else if ( (LA49_0==RULE_INT) ) { + alt49=2; } else { NoViableAltException nvae = - new NoViableAltException("", 51, 0, input); + new NoViableAltException("", 49, 0, input); throw nvae; } - switch (alt51) { + switch (alt49) { case 1 : - // InternalProblem.g:2294:4: (kw= '.' this_INT_3= RULE_INT ) - { - // InternalProblem.g:2294:4: (kw= '.' this_INT_3= RULE_INT ) - // InternalProblem.g:2295:5: kw= '.' this_INT_3= RULE_INT + // InternalProblem.g:2269:4: this_EXPONENTIAL_1= RULE_EXPONENTIAL { - kw=(Token)match(input,13,FOLLOW_17); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_2_0_0()); - - this_INT_3=(Token)match(input,RULE_INT,FOLLOW_2); - - current.merge(this_INT_3); - - - newLeafNode(this_INT_3, grammarAccess.getRealAccess().getINTTerminalRuleCall_2_0_1()); - + this_EXPONENTIAL_1=(Token)match(input,RULE_EXPONENTIAL,FOLLOW_2); - } + current.merge(this_EXPONENTIAL_1); + + newLeafNode(this_EXPONENTIAL_1, grammarAccess.getRealAccess().getEXPONENTIALTerminalRuleCall_1_0()); + } break; case 2 : - // InternalProblem.g:2309:4: ( (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT ) + // InternalProblem.g:2277:4: (this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) ) { - // InternalProblem.g:2309:4: ( (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT ) - // InternalProblem.g:2310:5: (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT + // InternalProblem.g:2277:4: (this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) ) + // InternalProblem.g:2278:5: this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) { - // InternalProblem.g:2310:5: (kw= '.' this_INT_5= RULE_INT )? - int alt48=2; - int LA48_0 = input.LA(1); - - if ( (LA48_0==13) ) { - alt48=1; - } - switch (alt48) { - case 1 : - // InternalProblem.g:2311:6: kw= '.' this_INT_5= RULE_INT - { - kw=(Token)match(input,13,FOLLOW_17); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_2_1_0_0()); - - this_INT_5=(Token)match(input,RULE_INT,FOLLOW_40); - - current.merge(this_INT_5); - + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_4); - newLeafNode(this_INT_5, grammarAccess.getRealAccess().getINTTerminalRuleCall_2_1_0_1()); - - - } - break; + current.merge(this_INT_2); + - } + newLeafNode(this_INT_2, grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1_0()); + + kw=(Token)match(input,14,FOLLOW_39); - // InternalProblem.g:2324:5: (kw= 'e' | kw= 'E' ) - int alt49=2; - int LA49_0 = input.LA(1); + current.merge(kw); + newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_1_1_1()); + + // InternalProblem.g:2290:5: (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) + int alt48=2; + int LA48_0 = input.LA(1); - if ( (LA49_0==43) ) { - alt49=1; + if ( (LA48_0==RULE_INT) ) { + alt48=1; } - else if ( (LA49_0==44) ) { - alt49=2; + else if ( (LA48_0==RULE_EXPONENTIAL) ) { + alt48=2; } else { NoViableAltException nvae = - new NoViableAltException("", 49, 0, input); + new NoViableAltException("", 48, 0, input); throw nvae; } - switch (alt49) { + switch (alt48) { case 1 : - // InternalProblem.g:2325:6: kw= 'e' + // InternalProblem.g:2291:6: this_INT_4= RULE_INT { - kw=(Token)match(input,43,FOLLOW_41); + this_INT_4=(Token)match(input,RULE_INT,FOLLOW_2); - current.merge(kw); - newLeafNode(kw, grammarAccess.getRealAccess().getEKeyword_2_1_1_0()); + current.merge(this_INT_4); - } - break; - case 2 : - // InternalProblem.g:2331:6: kw= 'E' - { - kw=(Token)match(input,44,FOLLOW_41); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getRealAccess().getEKeyword_2_1_1_1()); + newLeafNode(this_INT_4, grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1_2_0()); } break; - - } - - // InternalProblem.g:2337:5: (kw= '-' | kw= '+' )? - int alt50=3; - int LA50_0 = input.LA(1); - - if ( (LA50_0==45) ) { - alt50=1; - } - else if ( (LA50_0==33) ) { - alt50=2; - } - switch (alt50) { - case 1 : - // InternalProblem.g:2338:6: kw= '-' + case 2 : + // InternalProblem.g:2299:6: this_EXPONENTIAL_5= RULE_EXPONENTIAL { - kw=(Token)match(input,45,FOLLOW_17); + this_EXPONENTIAL_5=(Token)match(input,RULE_EXPONENTIAL,FOLLOW_2); - current.merge(kw); - newLeafNode(kw, grammarAccess.getRealAccess().getHyphenMinusKeyword_2_1_2_0()); + current.merge(this_EXPONENTIAL_5); - } - break; - case 2 : - // InternalProblem.g:2344:6: kw= '+' - { - kw=(Token)match(input,33,FOLLOW_17); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getRealAccess().getPlusSignKeyword_2_1_2_1()); + newLeafNode(this_EXPONENTIAL_5, grammarAccess.getRealAccess().getEXPONENTIALTerminalRuleCall_1_1_2_1()); } @@ -6510,13 +6346,6 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } - this_INT_10=(Token)match(input,RULE_INT,FOLLOW_2); - - current.merge(this_INT_10); - - - newLeafNode(this_INT_10, grammarAccess.getRealAccess().getINTTerminalRuleCall_2_1_3()); - } @@ -6542,9 +6371,6 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { appendSkippedTokens(); } finally { - - myHiddenTokenState.restore(); - } return current; } @@ -6552,7 +6378,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleLogicValue" - // InternalProblem.g:2366:1: ruleLogicValue returns [Enumerator current=null] : ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) ) ; + // InternalProblem.g:2313:1: ruleLogicValue returns [Enumerator current=null] : ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) ) ; public final Enumerator ruleLogicValue() throws RecognitionException { Enumerator current = null; @@ -6564,42 +6390,42 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalProblem.g:2372:2: ( ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) ) ) - // InternalProblem.g:2373:2: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) ) + // InternalProblem.g:2319:2: ( ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) ) ) + // InternalProblem.g:2320:2: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) ) { - // InternalProblem.g:2373:2: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) ) - int alt52=3; + // InternalProblem.g:2320:2: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) ) + int alt50=3; switch ( input.LA(1) ) { - case 41: + case 42: { - alt52=1; + alt50=1; } break; - case 42: + case 43: { - alt52=2; + alt50=2; } break; - case 46: + case 45: { - alt52=3; + alt50=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 52, 0, input); + new NoViableAltException("", 50, 0, input); throw nvae; } - switch (alt52) { + switch (alt50) { case 1 : - // InternalProblem.g:2374:3: (enumLiteral_0= 'true' ) + // InternalProblem.g:2321:3: (enumLiteral_0= 'true' ) { - // InternalProblem.g:2374:3: (enumLiteral_0= 'true' ) - // InternalProblem.g:2375:4: enumLiteral_0= 'true' + // InternalProblem.g:2321:3: (enumLiteral_0= 'true' ) + // InternalProblem.g:2322:4: enumLiteral_0= 'true' { - enumLiteral_0=(Token)match(input,41,FOLLOW_2); + enumLiteral_0=(Token)match(input,42,FOLLOW_2); current = grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); @@ -6611,12 +6437,12 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalProblem.g:2382:3: (enumLiteral_1= 'false' ) + // InternalProblem.g:2329:3: (enumLiteral_1= 'false' ) { - // InternalProblem.g:2382:3: (enumLiteral_1= 'false' ) - // InternalProblem.g:2383:4: enumLiteral_1= 'false' + // InternalProblem.g:2329:3: (enumLiteral_1= 'false' ) + // InternalProblem.g:2330:4: enumLiteral_1= 'false' { - enumLiteral_1=(Token)match(input,42,FOLLOW_2); + enumLiteral_1=(Token)match(input,43,FOLLOW_2); current = grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); @@ -6628,12 +6454,12 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } break; case 3 : - // InternalProblem.g:2390:3: (enumLiteral_2= 'unknown' ) + // InternalProblem.g:2337:3: (enumLiteral_2= 'unknown' ) { - // InternalProblem.g:2390:3: (enumLiteral_2= 'unknown' ) - // InternalProblem.g:2391:4: enumLiteral_2= 'unknown' + // InternalProblem.g:2337:3: (enumLiteral_2= 'unknown' ) + // InternalProblem.g:2338:4: enumLiteral_2= 'unknown' { - enumLiteral_2=(Token)match(input,46,FOLLOW_2); + enumLiteral_2=(Token)match(input,45,FOLLOW_2); current = grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_2, grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); @@ -6667,7 +6493,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleShortLogicValue" - // InternalProblem.g:2401:1: ruleShortLogicValue returns [Enumerator current=null] : ( (enumLiteral_0= '!' ) | (enumLiteral_1= '?' ) ) ; + // InternalProblem.g:2348:1: ruleShortLogicValue returns [Enumerator current=null] : ( (enumLiteral_0= '!' ) | (enumLiteral_1= '?' ) ) ; public final Enumerator ruleShortLogicValue() throws RecognitionException { Enumerator current = null; @@ -6678,33 +6504,33 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalProblem.g:2407:2: ( ( (enumLiteral_0= '!' ) | (enumLiteral_1= '?' ) ) ) - // InternalProblem.g:2408:2: ( (enumLiteral_0= '!' ) | (enumLiteral_1= '?' ) ) + // InternalProblem.g:2354:2: ( ( (enumLiteral_0= '!' ) | (enumLiteral_1= '?' ) ) ) + // InternalProblem.g:2355:2: ( (enumLiteral_0= '!' ) | (enumLiteral_1= '?' ) ) { - // InternalProblem.g:2408:2: ( (enumLiteral_0= '!' ) | (enumLiteral_1= '?' ) ) - int alt53=2; - int LA53_0 = input.LA(1); + // InternalProblem.g:2355:2: ( (enumLiteral_0= '!' ) | (enumLiteral_1= '?' ) ) + int alt51=2; + int LA51_0 = input.LA(1); - if ( (LA53_0==32) ) { - alt53=1; + if ( (LA51_0==33) ) { + alt51=1; } - else if ( (LA53_0==47) ) { - alt53=2; + else if ( (LA51_0==46) ) { + alt51=2; } else { NoViableAltException nvae = - new NoViableAltException("", 53, 0, input); + new NoViableAltException("", 51, 0, input); throw nvae; } - switch (alt53) { + switch (alt51) { case 1 : - // InternalProblem.g:2409:3: (enumLiteral_0= '!' ) + // InternalProblem.g:2356:3: (enumLiteral_0= '!' ) { - // InternalProblem.g:2409:3: (enumLiteral_0= '!' ) - // InternalProblem.g:2410:4: enumLiteral_0= '!' + // InternalProblem.g:2356:3: (enumLiteral_0= '!' ) + // InternalProblem.g:2357:4: enumLiteral_0= '!' { - enumLiteral_0=(Token)match(input,32,FOLLOW_2); + enumLiteral_0=(Token)match(input,33,FOLLOW_2); current = grammarAccess.getShortLogicValueAccess().getFALSEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getShortLogicValueAccess().getFALSEEnumLiteralDeclaration_0()); @@ -6716,12 +6542,12 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalProblem.g:2417:3: (enumLiteral_1= '?' ) + // InternalProblem.g:2364:3: (enumLiteral_1= '?' ) { - // InternalProblem.g:2417:3: (enumLiteral_1= '?' ) - // InternalProblem.g:2418:4: enumLiteral_1= '?' + // InternalProblem.g:2364:3: (enumLiteral_1= '?' ) + // InternalProblem.g:2365:4: enumLiteral_1= '?' { - enumLiteral_1=(Token)match(input,47,FOLLOW_2); + enumLiteral_1=(Token)match(input,46,FOLLOW_2); current = grammarAccess.getShortLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getShortLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_1()); @@ -6758,31 +6584,27 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { protected DFA3 dfa3 = new DFA3(this); protected DFA35 dfa35 = new DFA35(this); - static final String dfa_1s = "\23\uffff"; - static final String dfa_2s = "\1\5\3\uffff\6\35\3\uffff\1\5\5\35"; - static final String dfa_3s = "\1\57\3\uffff\1\42\5\50\3\uffff\1\54\5\50"; - static final String dfa_4s = "\1\uffff\1\1\1\2\1\3\6\uffff\1\4\1\6\1\5\6\uffff"; - static final String dfa_5s = "\23\uffff}>"; + static final String dfa_1s = "\17\uffff"; + static final String dfa_2s = "\1\5\3\uffff\4\36\3\uffff\1\5\3\36"; + static final String dfa_3s = "\1\56\3\uffff\1\43\3\51\3\uffff\1\53\3\51"; + static final String dfa_4s = "\1\uffff\1\1\1\2\1\3\4\uffff\1\4\1\6\1\5\4\uffff"; + static final String dfa_5s = "\17\uffff}>"; static final String[] dfa_6s = { - "\1\5\1\uffff\1\4\6\uffff\2\1\5\uffff\1\2\5\uffff\2\3\3\uffff\1\12\2\uffff\1\13\5\uffff\1\6\1\7\1\10\1\11\2\uffff\1\12", + "\1\5\1\uffff\1\4\7\uffff\2\1\5\uffff\1\2\5\uffff\2\3\3\uffff\1\10\2\uffff\1\11\5\uffff\1\6\1\7\2\uffff\1\10", "", "", "", - "\1\12\4\uffff\1\14", - "\1\12\4\uffff\1\14\5\uffff\1\15", - "\1\12\4\uffff\1\14\5\uffff\1\15", - "\1\12\4\uffff\1\14\5\uffff\1\15", - "\1\12\4\uffff\1\14\5\uffff\1\15", - "\1\12\4\uffff\1\14\5\uffff\1\15", + "\1\10\4\uffff\1\12", + "\1\10\4\uffff\1\12\5\uffff\1\13", + "\1\10\4\uffff\1\12\5\uffff\1\13", + "\1\10\4\uffff\1\12\5\uffff\1\13", "", "", "", - "\1\16\43\uffff\1\17\1\20\1\21\1\22", - "\1\12\4\uffff\1\14\5\uffff\1\15", - "\1\12\4\uffff\1\14\5\uffff\1\15", - "\1\12\4\uffff\1\14\5\uffff\1\15", - "\1\12\4\uffff\1\14\5\uffff\1\15", - "\1\12\4\uffff\1\14\5\uffff\1\15" + "\1\14\44\uffff\1\15\1\16", + "\1\10\4\uffff\1\12\5\uffff\1\13", + "\1\10\4\uffff\1\12\5\uffff\1\13", + "\1\10\4\uffff\1\12\5\uffff\1\13" }; static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); @@ -6809,74 +6631,56 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { return "146:2: (this_ClassDeclaration_0= ruleClassDeclaration | this_EnumDeclaration_1= ruleEnumDeclaration | this_PredicateDefinition_2= rulePredicateDefinition | this_Assertion_3= ruleAssertion | this_NodeValueAssertion_4= ruleNodeValueAssertion | this_ScopeDeclaration_5= ruleScopeDeclaration )"; } } - static final String dfa_7s = "\76\uffff"; - static final String dfa_8s = "\1\5\6\35\1\uffff\1\4\1\5\6\21\1\6\1\15\1\21\1\15\5\35\1\4\1\5\3\6\1\uffff\6\21\1\6\1\15\7\21\2\6\1\21\1\5\3\6\6\21\2\6\1\21"; - static final String dfa_9s = "\1\57\1\35\5\50\1\uffff\1\55\1\54\1\36\5\50\1\6\1\54\1\36\1\42\5\50\1\55\1\54\1\6\2\55\1\uffff\1\36\5\50\1\6\1\54\1\36\5\50\1\54\2\6\1\36\1\54\1\6\2\55\5\50\1\54\2\6\1\36"; - static final String dfa_10s = "\7\uffff\1\2\26\uffff\1\1\37\uffff"; - static final String dfa_11s = "\76\uffff}>"; + static final String dfa_7s = "\54\uffff"; + static final String dfa_8s = "\1\5\4\36\1\uffff\1\4\1\5\4\22\1\6\1\22\1\16\1\22\1\16\3\36\1\4\1\5\1\6\1\uffff\4\22\1\6\1\22\1\16\6\22\1\5\1\6\5\22"; + static final String dfa_9s = "\1\56\1\36\3\51\1\uffff\1\54\1\53\1\37\3\51\1\10\3\37\1\43\3\51\1\54\1\53\1\10\1\uffff\1\37\3\51\1\10\3\37\3\51\2\37\1\53\1\10\3\51\2\37"; + static final String dfa_10s = "\5\uffff\1\2\21\uffff\1\1\24\uffff"; + static final String dfa_11s = "\54\uffff}>"; static final String[] dfa_12s = { - "\1\2\1\uffff\1\1\30\uffff\1\7\10\uffff\1\3\1\4\1\5\1\6\2\uffff\1\7", - "\1\10", - "\1\10\12\uffff\1\11", - "\1\10\12\uffff\1\11", - "\1\10\12\uffff\1\11", - "\1\10\12\uffff\1\11", - "\1\10\12\uffff\1\11", + "\1\2\1\uffff\1\1\31\uffff\1\5\10\uffff\1\3\1\4\2\uffff\1\5", + "\1\6", + "\1\6\12\uffff\1\7", + "\1\6\12\uffff\1\7", + "\1\6\12\uffff\1\7", "", - "\1\22\1\13\1\21\1\12\26\uffff\1\23\12\uffff\1\14\1\15\1\16\1\17\1\20", - "\1\24\43\uffff\1\25\1\26\1\27\1\30", - "\1\31\14\uffff\1\23", - "\1\31\14\uffff\1\23\11\uffff\1\32", - "\1\31\14\uffff\1\23\11\uffff\1\32", - "\1\31\14\uffff\1\23\11\uffff\1\32", - "\1\31\14\uffff\1\23\11\uffff\1\32", - "\1\31\14\uffff\1\23\11\uffff\1\32", - "\1\21", - "\1\33\3\uffff\1\31\14\uffff\1\23\14\uffff\1\34\1\35", - "\1\31\14\uffff\1\23", - "\1\7\24\uffff\1\36", - "\1\10\12\uffff\1\11", - "\1\10\12\uffff\1\11", - "\1\10\12\uffff\1\11", - "\1\10\12\uffff\1\11", - "\1\10\12\uffff\1\11", - "\1\47\1\40\1\46\1\37\41\uffff\1\41\1\42\1\43\1\44\1\45", - "\1\50\43\uffff\1\51\1\52\1\53\1\54", - "\1\55", - "\1\60\32\uffff\1\57\13\uffff\1\56", - "\1\60\32\uffff\1\57\13\uffff\1\56", + "\1\17\1\11\1\16\1\10\1\15\26\uffff\1\20\12\uffff\1\12\1\13\1\14", + "\1\21\44\uffff\1\22\1\23", + "\1\24\14\uffff\1\20", + "\1\24\14\uffff\1\20\11\uffff\1\25", + "\1\24\14\uffff\1\20\11\uffff\1\25", + "\1\24\14\uffff\1\20\11\uffff\1\25", + "\1\16\1\uffff\1\15", + "\1\24\14\uffff\1\20", + "\1\26\3\uffff\1\24\14\uffff\1\20", + "\1\24\14\uffff\1\20", + "\1\5\24\uffff\1\27", + "\1\6\12\uffff\1\7", + "\1\6\12\uffff\1\7", + "\1\6\12\uffff\1\7", + "\1\37\1\31\1\36\1\30\1\35\41\uffff\1\32\1\33\1\34", + "\1\40\44\uffff\1\41\1\42", + "\1\43\1\uffff\1\44", "", - "\1\31\14\uffff\1\23", - "\1\31\14\uffff\1\23\11\uffff\1\61", - "\1\31\14\uffff\1\23\11\uffff\1\61", - "\1\31\14\uffff\1\23\11\uffff\1\61", - "\1\31\14\uffff\1\23\11\uffff\1\61", - "\1\31\14\uffff\1\23\11\uffff\1\61", - "\1\46", - "\1\62\3\uffff\1\31\14\uffff\1\23\14\uffff\1\63\1\64", - "\1\31\14\uffff\1\23", - "\1\31\14\uffff\1\23\11\uffff\1\32", - "\1\31\14\uffff\1\23\11\uffff\1\32", - "\1\31\14\uffff\1\23\11\uffff\1\32", - "\1\31\14\uffff\1\23\11\uffff\1\32", - "\1\31\14\uffff\1\23\11\uffff\1\32", - "\1\31\14\uffff\1\23\14\uffff\1\34\1\35", - "\1\60", - "\1\60", - "\1\31\14\uffff\1\23", - "\1\65\43\uffff\1\66\1\67\1\70\1\71", - "\1\72", - "\1\75\32\uffff\1\74\13\uffff\1\73", - "\1\75\32\uffff\1\74\13\uffff\1\73", - "\1\31\14\uffff\1\23\11\uffff\1\61", - "\1\31\14\uffff\1\23\11\uffff\1\61", - "\1\31\14\uffff\1\23\11\uffff\1\61", - "\1\31\14\uffff\1\23\11\uffff\1\61", - "\1\31\14\uffff\1\23\11\uffff\1\61", - "\1\31\14\uffff\1\23\14\uffff\1\63\1\64", - "\1\75", - "\1\75", - "\1\31\14\uffff\1\23" + "\1\24\14\uffff\1\20", + "\1\24\14\uffff\1\20\11\uffff\1\45", + "\1\24\14\uffff\1\20\11\uffff\1\45", + "\1\24\14\uffff\1\20\11\uffff\1\45", + "\1\36\1\uffff\1\35", + "\1\24\14\uffff\1\20", + "\1\46\3\uffff\1\24\14\uffff\1\20", + "\1\24\14\uffff\1\20", + "\1\24\14\uffff\1\20\11\uffff\1\25", + "\1\24\14\uffff\1\20\11\uffff\1\25", + "\1\24\14\uffff\1\20\11\uffff\1\25", + "\1\24\14\uffff\1\20", + "\1\24\14\uffff\1\20", + "\1\47\44\uffff\1\50\1\51", + "\1\52\1\uffff\1\53", + "\1\24\14\uffff\1\20\11\uffff\1\45", + "\1\24\14\uffff\1\20\11\uffff\1\45", + "\1\24\14\uffff\1\20\11\uffff\1\45", + "\1\24\14\uffff\1\20", + "\1\24\14\uffff\1\20" }; static final short[] dfa_7 = DFA.unpackEncodedString(dfa_7s); @@ -6907,44 +6711,42 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { 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[]{0x00001E0000000020L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000002000L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x00009E091820C0A2L}); - public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000008000L}); - public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000052000L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x00001E00000000A0L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000062000L}); - public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x00001E0000D000A0L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x00001E0000D800A0L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000042000L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x00001E0000100020L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x00000000001A0000L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000100000L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x00001E0001000020L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x00000C0000000020L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x00004C12304180A2L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x00000000000A4000L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x00000C00000000A0L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x00000000000C4000L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x00000C0001A000A0L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x00000C0001B000A0L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000084000L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x00000C0000200020L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000340000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x00000C0002000020L}); public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000002000000L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000004000002L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x00001E0010000020L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000020000000L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x00001E00400000A0L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000040020000L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000080002000L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x00001E01000000A0L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000082000L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000020002L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000220000000L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x00003E00400000F0L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x00003E00000000F0L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000460000000000L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000004000000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000008000002L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x00000C0020000020L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000040000000L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x00000C00800000A0L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000080040000L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000100004000L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x00000C02000000A0L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000104000L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000040002L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000440000000L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x00001C00800001F0L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x00001C00000001F0L}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000800000000L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x00002C0000000000L}); public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000022000L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000003000000000L}); - public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000004000000000L}); - public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000008000000040L}); - public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000010000000002L}); - public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000180000002000L}); - public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000180000000000L}); - public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000200200000040L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000044000L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000006000000000L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000010000000040L}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000020000000002L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000000140L}); } \ No newline at end of file diff --git a/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/services/ProblemGrammarAccess.java b/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/services/ProblemGrammarAccess.java index 603f12e3..01188c37 100644 --- a/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/services/ProblemGrammarAccess.java +++ b/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/services/ProblemGrammarAccess.java @@ -1026,22 +1026,22 @@ public class ProblemGrammarAccess extends AbstractElementFinder.AbstractGrammarE public class ConstantElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.Problem.Constant"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cIntConstantParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cRealConstantParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cRealConstantParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cIntConstantParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); private final RuleCall cStringConstantParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); //Constant: - // IntConstant | RealConstant | StringConstant; + // RealConstant | IntConstant | StringConstant; @Override public ParserRule getRule() { return rule; } - //IntConstant | RealConstant | StringConstant + //RealConstant | IntConstant | StringConstant public Alternatives getAlternatives() { return cAlternatives; } - //IntConstant - public RuleCall getIntConstantParserRuleCall_0() { return cIntConstantParserRuleCall_0; } - //RealConstant - public RuleCall getRealConstantParserRuleCall_1() { return cRealConstantParserRuleCall_1; } + public RuleCall getRealConstantParserRuleCall_0() { return cRealConstantParserRuleCall_0; } + + //IntConstant + public RuleCall getIntConstantParserRuleCall_1() { return cIntConstantParserRuleCall_1; } //StringConstant public RuleCall getStringConstantParserRuleCall_2() { return cStringConstantParserRuleCall_2; } @@ -1340,14 +1340,12 @@ public class ProblemGrammarAccess extends AbstractElementFinder.AbstractGrammarE private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final Keyword cTrueKeyword_1 = (Keyword)cAlternatives.eContents().get(1); private final Keyword cFalseKeyword_2 = (Keyword)cAlternatives.eContents().get(2); - private final Keyword cEKeyword_3 = (Keyword)cAlternatives.eContents().get(3); - private final Keyword cEKeyword_4 = (Keyword)cAlternatives.eContents().get(4); //Identifier: - // ID | "true" | "false" | "e" | "E"; + // ID | "true" | "false"; @Override public ParserRule getRule() { return rule; } - //ID | "true" | "false" | "e" | "E" + //ID | "true" | "false" public Alternatives getAlternatives() { return cAlternatives; } //ID @@ -1358,12 +1356,6 @@ public class ProblemGrammarAccess extends AbstractElementFinder.AbstractGrammarE //"false" public Keyword getFalseKeyword_2() { return cFalseKeyword_2; } - - //"e" - public Keyword getEKeyword_3() { return cEKeyword_3; } - - //"E" - public Keyword getEKeyword_4() { return cEKeyword_4; } } public class IntegerElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.Problem.Integer"); @@ -1388,80 +1380,48 @@ public class ProblemGrammarAccess extends AbstractElementFinder.AbstractGrammarE private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.Problem.Real"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1); - private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); - private final Group cGroup_2_0 = (Group)cAlternatives_2.eContents().get(0); - private final Keyword cFullStopKeyword_2_0_0 = (Keyword)cGroup_2_0.eContents().get(0); - private final RuleCall cINTTerminalRuleCall_2_0_1 = (RuleCall)cGroup_2_0.eContents().get(1); - private final Group cGroup_2_1 = (Group)cAlternatives_2.eContents().get(1); - private final Group cGroup_2_1_0 = (Group)cGroup_2_1.eContents().get(0); - private final Keyword cFullStopKeyword_2_1_0_0 = (Keyword)cGroup_2_1_0.eContents().get(0); - private final RuleCall cINTTerminalRuleCall_2_1_0_1 = (RuleCall)cGroup_2_1_0.eContents().get(1); - private final Alternatives cAlternatives_2_1_1 = (Alternatives)cGroup_2_1.eContents().get(1); - private final Keyword cEKeyword_2_1_1_0 = (Keyword)cAlternatives_2_1_1.eContents().get(0); - private final Keyword cEKeyword_2_1_1_1 = (Keyword)cAlternatives_2_1_1.eContents().get(1); - private final Alternatives cAlternatives_2_1_2 = (Alternatives)cGroup_2_1.eContents().get(2); - private final Keyword cHyphenMinusKeyword_2_1_2_0 = (Keyword)cAlternatives_2_1_2.eContents().get(0); - private final Keyword cPlusSignKeyword_2_1_2_1 = (Keyword)cAlternatives_2_1_2.eContents().get(1); - private final RuleCall cINTTerminalRuleCall_2_1_3 = (RuleCall)cGroup_2_1.eContents().get(3); - - //Real returns ecore::EDouble hidden(): - // "-"? INT ("." INT | ("." INT)? ("e" | "E") ("-" | "+")? INT); + private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); + private final RuleCall cEXPONENTIALTerminalRuleCall_1_0 = (RuleCall)cAlternatives_1.eContents().get(0); + private final Group cGroup_1_1 = (Group)cAlternatives_1.eContents().get(1); + private final RuleCall cINTTerminalRuleCall_1_1_0 = (RuleCall)cGroup_1_1.eContents().get(0); + private final Keyword cFullStopKeyword_1_1_1 = (Keyword)cGroup_1_1.eContents().get(1); + private final Alternatives cAlternatives_1_1_2 = (Alternatives)cGroup_1_1.eContents().get(2); + private final RuleCall cINTTerminalRuleCall_1_1_2_0 = (RuleCall)cAlternatives_1_1_2.eContents().get(0); + private final RuleCall cEXPONENTIALTerminalRuleCall_1_1_2_1 = (RuleCall)cAlternatives_1_1_2.eContents().get(1); + + //Real returns ecore::EDouble: + // "-"? (EXPONENTIAL | INT "." (INT | EXPONENTIAL)); @Override public ParserRule getRule() { return rule; } - //"-"? INT ("." INT | ("." INT)? ("e" | "E") ("-" | "+")? INT) + //"-"? (EXPONENTIAL | INT "." (INT | EXPONENTIAL)) public Group getGroup() { return cGroup; } //"-"? public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; } - //INT - public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; } - - //("." INT | ("." INT)? ("e" | "E") ("-" | "+")? INT) - public Alternatives getAlternatives_2() { return cAlternatives_2; } + //(EXPONENTIAL | INT "." (INT | EXPONENTIAL)) + public Alternatives getAlternatives_1() { return cAlternatives_1; } - //"." INT - public Group getGroup_2_0() { return cGroup_2_0; } + //EXPONENTIAL + public RuleCall getEXPONENTIALTerminalRuleCall_1_0() { return cEXPONENTIALTerminalRuleCall_1_0; } - //"." - public Keyword getFullStopKeyword_2_0_0() { return cFullStopKeyword_2_0_0; } + //INT "." (INT | EXPONENTIAL) + public Group getGroup_1_1() { return cGroup_1_1; } //INT - public RuleCall getINTTerminalRuleCall_2_0_1() { return cINTTerminalRuleCall_2_0_1; } - - //("." INT)? ("e" | "E") ("-" | "+")? INT - public Group getGroup_2_1() { return cGroup_2_1; } - - //("." INT)? - public Group getGroup_2_1_0() { return cGroup_2_1_0; } + public RuleCall getINTTerminalRuleCall_1_1_0() { return cINTTerminalRuleCall_1_1_0; } //"." - public Keyword getFullStopKeyword_2_1_0_0() { return cFullStopKeyword_2_1_0_0; } - - //INT - public RuleCall getINTTerminalRuleCall_2_1_0_1() { return cINTTerminalRuleCall_2_1_0_1; } - - //("e" | "E") - public Alternatives getAlternatives_2_1_1() { return cAlternatives_2_1_1; } - - //"e" - public Keyword getEKeyword_2_1_1_0() { return cEKeyword_2_1_1_0; } + public Keyword getFullStopKeyword_1_1_1() { return cFullStopKeyword_1_1_1; } - //"E" - public Keyword getEKeyword_2_1_1_1() { return cEKeyword_2_1_1_1; } - - //("-" | "+")? - public Alternatives getAlternatives_2_1_2() { return cAlternatives_2_1_2; } - - //"-" - public Keyword getHyphenMinusKeyword_2_1_2_0() { return cHyphenMinusKeyword_2_1_2_0; } - - //"+" - public Keyword getPlusSignKeyword_2_1_2_1() { return cPlusSignKeyword_2_1_2_1; } + //(INT | EXPONENTIAL) + public Alternatives getAlternatives_1_1_2() { return cAlternatives_1_1_2; } //INT - public RuleCall getINTTerminalRuleCall_2_1_3() { return cINTTerminalRuleCall_2_1_3; } + public RuleCall getINTTerminalRuleCall_1_1_2_0() { return cINTTerminalRuleCall_1_1_2_0; } + + //EXPONENTIAL + public RuleCall getEXPONENTIALTerminalRuleCall_1_1_2_1() { return cEXPONENTIALTerminalRuleCall_1_1_2_1; } } public class LogicValueElements extends AbstractElementFinder.AbstractEnumRuleElementFinder { @@ -1566,6 +1526,7 @@ public class ProblemGrammarAccess extends AbstractElementFinder.AbstractGrammarE private final IntegerElements pInteger; private final RealElements pReal; private final TerminalRule tID; + private final TerminalRule tEXPONENTIAL; private final TerminalRule tSTRING; private final TerminalRule tQUOTED_ID; private final TerminalRule tSL_COMMENT; @@ -1618,6 +1579,7 @@ public class ProblemGrammarAccess extends AbstractElementFinder.AbstractGrammarE this.pInteger = new IntegerElements(); this.pReal = new RealElements(); this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.Problem.ID"); + this.tEXPONENTIAL = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.Problem.EXPONENTIAL"); this.tSTRING = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.Problem.STRING"); this.tQUOTED_ID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.Problem.QUOTED_ID"); this.tSL_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.Problem.SL_COMMENT"); @@ -1893,7 +1855,7 @@ public class ProblemGrammarAccess extends AbstractElementFinder.AbstractGrammarE } //Constant: - // IntConstant | RealConstant | StringConstant; + // RealConstant | IntConstant | StringConstant; public ConstantElements getConstantAccess() { return pConstant; } @@ -2025,7 +1987,7 @@ public class ProblemGrammarAccess extends AbstractElementFinder.AbstractGrammarE } //Identifier: - // ID | "true" | "false" | "e" | "E"; + // ID | "true" | "false"; public IdentifierElements getIdentifierAccess() { return pIdentifier; } @@ -2044,8 +2006,8 @@ public class ProblemGrammarAccess extends AbstractElementFinder.AbstractGrammarE return getIntegerAccess().getRule(); } - //Real returns ecore::EDouble hidden(): - // "-"? INT ("." INT | ("." INT)? ("e" | "E") ("-" | "+")? INT); + //Real returns ecore::EDouble: + // "-"? (EXPONENTIAL | INT "." (INT | EXPONENTIAL)); public RealElements getRealAccess() { return pReal; } @@ -2061,6 +2023,12 @@ public class ProblemGrammarAccess extends AbstractElementFinder.AbstractGrammarE return tID; } + //terminal EXPONENTIAL: + // INT ("e" | "E") ("+" | "-")? INT; + public TerminalRule getEXPONENTIALRule() { + return tEXPONENTIAL; + } + //@Override //terminal STRING: // '"' ('\\' . /* 'b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\' */ | !('\\' | '"'))* '"'; diff --git a/language/src/test/java/org/eclipse/viatra/solver/language/tests/ProblemParsingTest.xtend b/language/src/test/java/org/eclipse/viatra/solver/language/tests/ProblemParsingTest.xtend index 9b1bb698..7a6eec6a 100644 --- a/language/src/test/java/org/eclipse/viatra/solver/language/tests/ProblemParsingTest.xtend +++ b/language/src/test/java/org/eclipse/viatra/solver/language/tests/ProblemParsingTest.xtend @@ -8,23 +8,55 @@ import org.eclipse.viatra.solver.language.model.problem.Problem import org.eclipse.xtext.testing.InjectWith import org.eclipse.xtext.testing.extensions.InjectionExtension import org.eclipse.xtext.testing.util.ParseHelper -import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Test import org.junit.jupiter.api.^extension.ExtendWith +import static org.hamcrest.MatcherAssert.assertThat +import static org.hamcrest.Matchers.* + @ExtendWith(InjectionExtension) @InjectWith(ProblemInjectorProvider) class ProblemParsingTest { @Inject ParseHelper parseHelper + @Inject + extension ProblemTestUtil + @Test - def void loadModel() { - val result = parseHelper.parse(''' - Hello Xtext! + def void exampleTest() { + val it = parseHelper.parse(''' + class Family { + contains Person[] members + } + + class Person { + Person[0..*] children opposite parent + Person[0..1] parent opposite children + int age + TaxStatus taxStatus + } + + enum TaxStatus { + child, student, adult, retired + } + + % A child cannot have any dependents. + error invalidTaxStatus(Person p) :- + taxStatus(p, child), children(p, _q). + + Family('family'). + members('family', anne): true. + members('family', bob). + members('family', ciri). + children(anne, ciri). + ?children(bob, ciri). + taxStatus(anne, adult). + age(anne, 35). + bobAge: 27. + age(bob, bobAge). + !age(ciri, bobAge). ''') - Assertions.assertNotNull(result) - val errors = result.eResource.errors - Assertions.assertTrue(errors.isEmpty, '''Unexpected errors: «errors.join(", ")»''') + assertThat(errors, empty) } } diff --git a/language/src/test/java/org/eclipse/viatra/solver/language/tests/ProblemScopingTest.xtend b/language/src/test/java/org/eclipse/viatra/solver/language/tests/ProblemScopingTest.xtend index 7872b0f7..7686e39e 100644 --- a/language/src/test/java/org/eclipse/viatra/solver/language/tests/ProblemScopingTest.xtend +++ b/language/src/test/java/org/eclipse/viatra/solver/language/tests/ProblemScopingTest.xtend @@ -27,7 +27,8 @@ class ProblemScopingTest { def void builtInArgumentTypeTest() { val it = parseHelper.parse(''' pred predicate(node a, data b, int c). - ''').assertNoErrors + ''') + assertThat(errors, empty) assertThat(pred('predicate').param(0).parameterType, equalTo(builtin.findClass('node'))) assertThat(pred('predicate').param(1).parameterType, equalTo(builtin.findClass('data'))) assertThat(pred('predicate').param(2).parameterType, equalTo(builtin.findClass('int'))) @@ -37,7 +38,8 @@ class ProblemScopingTest { def void builtiQualifiedArgumentTypeTest() { val it = parseHelper.parse(''' pred predicate(builtin::node a, builtin::data b, builtin::int c). - ''').assertNoErrors + ''') + assertThat(errors, empty) assertThat(pred('predicate').param(0).parameterType, equalTo(builtin.findClass('node'))) assertThat(pred('predicate').param(1).parameterType, equalTo(builtin.findClass('data'))) assertThat(pred('predicate').param(2).parameterType, equalTo(builtin.findClass('int'))) @@ -49,7 +51,8 @@ class ProblemScopingTest { pred predicate(node a, node b). predicate(a, a). ?predicate(a, b). - ''').assertNoErrors + ''') + assertThat(errors, empty) assertThat(nodeNames, hasItems('a', 'b')) assertThat(assertion(0).arg(0).node, equalTo(node('a'))) assertThat(assertion(0).arg(1).node, equalTo(node('a'))) @@ -63,7 +66,8 @@ class ProblemScopingTest { pred predicate(node a, node b). predicate('a', 'a'). ?predicate('a', 'b'). - ''').assertNoErrors + ''') + assertThat(errors, empty) assertThat(nodeNames, hasItems("'a'", "'b'")) assertThat(assertion(0).arg(0).node, equalTo(node("'a'"))) assertThat(assertion(0).arg(1).node, equalTo(node("'a'"))) @@ -76,7 +80,8 @@ class ProblemScopingTest { val it = parseHelper.parse(''' pred predicate(node a). predicate(int::new). - ''').assertNoErrors + ''') + assertThat(errors, empty) assertThat(nodes, empty) assertThat(assertion(0).arg(0).node, equalTo(builtin.findClass('int').newNode)) } @@ -86,7 +91,8 @@ class ProblemScopingTest { val it = parseHelper.parse(''' pred predicate(node a). predicate(builtin::int::new). - ''').assertNoErrors + ''') + assertThat(errors, empty) assertThat(nodes, empty) assertThat(assertion(0).arg(0).node, equalTo(builtin.findClass('int').newNode)) } @@ -97,7 +103,8 @@ class ProblemScopingTest { class Foo. pred predicate(node a). predicate(Foo::new). - ''').assertNoErrors + ''') + assertThat(errors, empty) assertThat(nodes, empty) assertThat(assertion(0).arg(0).node, equalTo(findClass('Foo').newNode)) } @@ -110,7 +117,8 @@ class ProblemScopingTest { class Foo. pred predicate(node a). predicate(test::Foo::new). - ''').assertNoErrors + ''') + assertThat(errors, empty) assertThat(nodes, empty) assertThat(assertion(0).arg(0).node, equalTo(findClass('Foo').newNode)) } @@ -121,7 +129,8 @@ class ProblemScopingTest { class Foo. pred predicate(node a). predicate(new). - ''').assertNoErrors + ''') + assertThat(errors, empty) assertThat(nodeNames, hasItem('new')) assertThat(assertion(0).arg(0).node, not(equalTo(findClass('Foo').newNode))) } @@ -131,7 +140,8 @@ class ProblemScopingTest { val it = parseHelper.parse(''' pred predicate(node a) :- node(b). predicate(b). - ''').assertNoErrors + ''') + assertThat(errors, empty) assertThat(nodeNames, hasItem("b")) assertThat(pred("predicate").conj(0).lit(0).arg(0).node, equalTo(node("b"))) assertThat(assertion(0).arg(0).node, equalTo(node("b"))) @@ -141,7 +151,8 @@ class ProblemScopingTest { def void quotedNodeInPredicateTest() { val it = parseHelper.parse(''' pred predicate(node a) :- node('b'). - ''').assertNoErrors + ''') + assertThat(errors, empty) assertThat(nodeNames, hasItem("'b'")) assertThat(pred("predicate").conj(0).lit(0).arg(0).node, equalTo(node("'b'"))) } diff --git a/language/src/test/java/org/eclipse/viatra/solver/language/tests/ProblemTestUtil.xtend b/language/src/test/java/org/eclipse/viatra/solver/language/tests/ProblemTestUtil.xtend index 98b53675..b16de2b5 100644 --- a/language/src/test/java/org/eclipse/viatra/solver/language/tests/ProblemTestUtil.xtend +++ b/language/src/test/java/org/eclipse/viatra/solver/language/tests/ProblemTestUtil.xtend @@ -1,6 +1,5 @@ package org.eclipse.viatra.solver.language.tests -import org.eclipse.emf.ecore.util.EcoreUtil import org.eclipse.viatra.solver.language.ProblemUtil import org.eclipse.viatra.solver.language.model.problem.Argument import org.eclipse.viatra.solver.language.model.problem.Assertion @@ -17,19 +16,14 @@ import org.eclipse.viatra.solver.language.model.problem.PredicateDefinition import org.eclipse.viatra.solver.language.model.problem.Problem import org.eclipse.viatra.solver.language.model.problem.Variable import org.eclipse.viatra.solver.language.model.problem.VariableOrNodeArgument -import org.junit.jupiter.api.Assertions class ProblemTestUtil { def builtin(Problem it) { ProblemUtil.getBuiltInLibrary(it).get } - def assertNoErrors(Problem it) { - Assertions.assertNotNull(it) - EcoreUtil.resolveAll(it) - val errors = eResource.errors - Assertions.assertTrue(errors.isEmpty, '''Unexpected errors: «errors.join(", ")»''') - it + def errors(Problem it) { + eResource.errors } def nodeNames(Problem it) { -- cgit v1.2.3-54-g00ecf