From 777d5ecc6031f02ad3757db1c9736b6aad5ac6f5 Mon Sep 17 00:00:00 2001 From: OszkarSemerath Date: Tue, 30 Jan 2018 01:27:48 +0100 Subject: Scoping + Linking services fixed --- .../application/ApplicationConfiguration.xtextbin | Bin 8957 -> 8942 bytes .../internal/InternalApplicationConfiguration.g | 17 +- .../InternalApplicationConfiguration.tokens | 2 +- .../InternalApplicationConfigurationLexer.java | 307 +- .../InternalApplicationConfigurationParser.java | 5895 ++++++++------------ .../ApplicationConfigurationGrammarAccess.java | 22 +- .../application/ApplicationConfiguration.xtext | 10 +- .../ApplicationConfigurationRuntimeModule.xtend | 19 +- .../application/execution/ModelLoader.xtend | 27 +- .../application/execution/util/VQLParser.xtend | 7 +- .../ApplicationConfigurationLinkingService.xtend | 21 +- .../ApplicationConfigurationScopeProvider.xtend | 32 +- .../dslreasoner/application/validation/.gitignore | 2 + 13 files changed, 2728 insertions(+), 3633 deletions(-) (limited to 'Application/hu.bme.mit.inf.dslreasoner.application') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtextbin b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtextbin index cf190ec9..73402e2a 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtextbin and b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtextbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g index 652983a6..695b7acf 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g @@ -178,14 +178,11 @@ ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleT newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); } ( - ( - ('.')=> - kw='.' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); - } - ) + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); + } this_ID_2=RULE_ID { $current.merge(this_ID_2); @@ -2315,9 +2312,9 @@ ruleObjectReference returns [EObject current=null] $current); } ) - otherlv_1='Object' + otherlv_1='node' { - newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getObjectKeyword_1()); + newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); } ) ; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens index 989df9b4..783a9243 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens @@ -7,7 +7,6 @@ '::'=22 '='=16 'AlloySolver'=49 -'Object'=34 'SMTSolver'=48 'ViatraSolver'=50 '['=32 @@ -24,6 +23,7 @@ 'log'=46 'metamodel'=23 'models'=25 +'node'=34 'number'=41 'output'=44 'package'=20 diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java index d93c5bbe..d885919c 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java @@ -553,10 +553,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__34; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:34:7: ( 'Object' ) - // InternalApplicationConfiguration.g:34:9: 'Object' + // InternalApplicationConfiguration.g:34:7: ( 'node' ) + // InternalApplicationConfiguration.g:34:9: 'node' { - match("Object"); + match("node"); } @@ -910,10 +910,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:3107:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalApplicationConfiguration.g:3107:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalApplicationConfiguration.g:3104:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalApplicationConfiguration.g:3104:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalApplicationConfiguration.g:3107:11: ( '^' )? + // InternalApplicationConfiguration.g:3104:11: ( '^' )? int alt1=2; int LA1_0 = input.LA(1); @@ -922,7 +922,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt1) { case 1 : - // InternalApplicationConfiguration.g:3107:11: '^' + // InternalApplicationConfiguration.g:3104:11: '^' { match('^'); @@ -940,7 +940,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { recover(mse); throw mse;} - // InternalApplicationConfiguration.g:3107:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalApplicationConfiguration.g:3104:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop2: do { int alt2=2; @@ -989,10 +989,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:3109:10: ( ( '0' .. '9' )+ ) - // InternalApplicationConfiguration.g:3109:12: ( '0' .. '9' )+ + // InternalApplicationConfiguration.g:3106:10: ( ( '0' .. '9' )+ ) + // InternalApplicationConfiguration.g:3106:12: ( '0' .. '9' )+ { - // InternalApplicationConfiguration.g:3109:12: ( '0' .. '9' )+ + // InternalApplicationConfiguration.g:3106:12: ( '0' .. '9' )+ int cnt3=0; loop3: do { @@ -1006,7 +1006,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt3) { case 1 : - // InternalApplicationConfiguration.g:3109:13: '0' .. '9' + // InternalApplicationConfiguration.g:3106:13: '0' .. '9' { matchRange('0','9'); @@ -1038,10 +1038,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:3111:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalApplicationConfiguration.g:3111:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalApplicationConfiguration.g:3108:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalApplicationConfiguration.g:3108:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // InternalApplicationConfiguration.g:3111:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalApplicationConfiguration.g:3108:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt6=2; int LA6_0 = input.LA(1); @@ -1059,10 +1059,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt6) { case 1 : - // InternalApplicationConfiguration.g:3111:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalApplicationConfiguration.g:3108:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalApplicationConfiguration.g:3111:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalApplicationConfiguration.g:3108:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop4: do { int alt4=3; @@ -1078,7 +1078,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt4) { case 1 : - // InternalApplicationConfiguration.g:3111:21: '\\\\' . + // InternalApplicationConfiguration.g:3108:21: '\\\\' . { match('\\'); matchAny(); @@ -1086,7 +1086,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:3111:28: ~ ( ( '\\\\' | '\"' ) ) + // InternalApplicationConfiguration.g:3108:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1111,10 +1111,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:3111:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalApplicationConfiguration.g:3108:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalApplicationConfiguration.g:3111:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalApplicationConfiguration.g:3108:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop5: do { int alt5=3; @@ -1130,7 +1130,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt5) { case 1 : - // InternalApplicationConfiguration.g:3111:54: '\\\\' . + // InternalApplicationConfiguration.g:3108:54: '\\\\' . { match('\\'); matchAny(); @@ -1138,7 +1138,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:3111:61: ~ ( ( '\\\\' | '\\'' ) ) + // InternalApplicationConfiguration.g:3108:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1181,12 +1181,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:3113:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalApplicationConfiguration.g:3113:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalApplicationConfiguration.g:3110:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalApplicationConfiguration.g:3110:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalApplicationConfiguration.g:3113:24: ( options {greedy=false; } : . )* + // InternalApplicationConfiguration.g:3110:24: ( options {greedy=false; } : . )* loop7: do { int alt7=2; @@ -1211,7 +1211,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt7) { case 1 : - // InternalApplicationConfiguration.g:3113:52: . + // InternalApplicationConfiguration.g:3110:52: . { matchAny(); @@ -1241,12 +1241,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:3115:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalApplicationConfiguration.g:3115:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalApplicationConfiguration.g:3112:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalApplicationConfiguration.g:3112:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // InternalApplicationConfiguration.g:3115:24: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalApplicationConfiguration.g:3112:24: (~ ( ( '\\n' | '\\r' ) ) )* loop8: do { int alt8=2; @@ -1259,7 +1259,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt8) { case 1 : - // InternalApplicationConfiguration.g:3115:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalApplicationConfiguration.g:3112:24: ~ ( ( '\\n' | '\\r' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1279,7 +1279,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } } while (true); - // InternalApplicationConfiguration.g:3115:40: ( ( '\\r' )? '\\n' )? + // InternalApplicationConfiguration.g:3112:40: ( ( '\\r' )? '\\n' )? int alt10=2; int LA10_0 = input.LA(1); @@ -1288,9 +1288,9 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt10) { case 1 : - // InternalApplicationConfiguration.g:3115:41: ( '\\r' )? '\\n' + // InternalApplicationConfiguration.g:3112:41: ( '\\r' )? '\\n' { - // InternalApplicationConfiguration.g:3115:41: ( '\\r' )? + // InternalApplicationConfiguration.g:3112:41: ( '\\r' )? int alt9=2; int LA9_0 = input.LA(1); @@ -1299,7 +1299,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt9) { case 1 : - // InternalApplicationConfiguration.g:3115:41: '\\r' + // InternalApplicationConfiguration.g:3112:41: '\\r' { match('\r'); @@ -1331,10 +1331,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:3117:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalApplicationConfiguration.g:3117:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalApplicationConfiguration.g:3114:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalApplicationConfiguration.g:3114:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalApplicationConfiguration.g:3117:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalApplicationConfiguration.g:3114:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { @@ -1388,8 +1388,8 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:3119:16: ( . ) - // InternalApplicationConfiguration.g:3119:18: . + // InternalApplicationConfiguration.g:3116:16: ( . ) + // InternalApplicationConfiguration.g:3116:18: . { matchAny(); @@ -1745,38 +1745,38 @@ public class InternalApplicationConfigurationLexer extends Lexer { protected DFA12 dfa12 = new DFA12(this); static final String DFA12_eotS = - "\1\uffff\1\47\4\52\4\uffff\1\52\1\45\2\52\1\uffff\1\45\3\uffff\13\52\1\45\2\uffff\3\45\4\uffff\2\52\1\uffff\5\52\4\uffff\1\52\1\uffff\3\52\5\uffff\16\52\5\uffff\1\52\1\156\26\52\1\u0085\4\52\1\uffff\3\52\1\u008d\10\52\1\u0096\1\u0097\10\52\1\uffff\7\52\1\uffff\10\52\2\uffff\2\52\1\u00b1\4\52\1\u00b6\3\52\1\u00ba\2\52\1\u00bd\1\u00be\4\52\1\u00c3\1\u00c4\1\u00c5\1\u00c6\1\52\1\uffff\1\u00c8\1\52\1\u00ca\1\u00cb\1\uffff\3\52\1\uffff\2\52\2\uffff\1\u00d1\3\52\4\uffff\1\52\1\uffff\1\52\2\uffff\3\52\1\u00da\1\52\1\uffff\1\u00dc\1\uffff\2\52\1\u00df\3\52\1\uffff\1\u00e3\1\uffff\1\u00e4\1\52\1\uffff\1\u00e6\2\52\2\uffff\1\u00e9\1\uffff\2\52\1\uffff\1\u00ec\1\52\1\uffff\1\u00ee\1\uffff"; + "\1\uffff\1\46\4\51\4\uffff\1\51\1\44\2\51\1\uffff\1\44\3\uffff\12\51\1\44\2\uffff\3\44\4\uffff\2\51\1\uffff\5\51\4\uffff\1\51\1\uffff\3\51\5\uffff\16\51\5\uffff\1\51\1\155\26\51\1\u0084\4\51\1\uffff\3\51\1\u008c\7\51\1\u0094\1\51\1\u0096\1\u0097\7\51\1\uffff\7\51\1\uffff\7\51\1\uffff\1\51\2\uffff\2\51\1\u00b0\3\51\1\u00b4\3\51\1\u00b8\2\51\1\u00bb\1\u00bc\4\51\1\u00c1\1\u00c2\1\u00c3\1\u00c4\1\51\1\uffff\1\u00c6\1\51\1\u00c8\1\uffff\3\51\1\uffff\2\51\2\uffff\1\u00ce\3\51\4\uffff\1\51\1\uffff\1\51\1\uffff\3\51\1\u00d7\1\51\1\uffff\1\u00d9\1\uffff\2\51\1\u00dc\3\51\1\uffff\1\u00e0\1\uffff\1\u00e1\1\51\1\uffff\1\u00e3\2\51\2\uffff\1\u00e6\1\uffff\2\51\1\uffff\1\u00e9\1\51\1\uffff\1\u00eb\1\uffff"; static final String DFA12_eofS = - "\u00ef\uffff"; + "\u00ec\uffff"; static final String DFA12_minS = - "\1\0\1\56\1\155\1\160\2\151\4\uffff\1\141\1\72\1\145\1\157\1\uffff\1\75\3\uffff\1\142\1\145\1\143\1\145\2\165\1\145\1\157\1\115\1\154\1\151\1\101\2\uffff\2\0\1\52\4\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\2\154\4\uffff\1\143\1\uffff\1\164\1\144\1\156\5\uffff\1\152\1\141\1\156\1\141\1\157\1\154\1\156\1\155\1\164\1\142\1\147\1\124\1\154\1\141\5\uffff\1\157\1\60\1\143\1\154\1\164\1\145\1\144\1\153\2\164\1\141\1\145\1\146\1\145\1\154\1\163\1\151\1\164\1\160\1\166\1\145\1\142\1\160\1\165\1\60\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\60\1\145\1\141\1\145\1\151\1\155\1\154\1\151\1\143\2\60\1\156\1\151\2\145\1\162\1\145\1\165\1\147\1\uffff\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\147\1\162\1\141\1\157\1\163\1\147\1\164\2\uffff\1\147\1\163\1\60\1\162\1\141\1\162\1\164\1\60\1\154\1\123\1\141\1\60\1\147\1\151\2\60\1\145\1\156\1\154\1\144\4\60\1\164\1\uffff\1\60\1\164\2\60\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\60\1\163\1\55\1\145\4\uffff\1\151\1\uffff\1\145\2\uffff\1\145\1\154\1\157\1\60\1\147\1\uffff\1\60\1\uffff\1\154\1\143\1\60\1\162\1\166\1\154\1\uffff\1\60\1\uffff\1\60\1\163\1\uffff\1\60\1\145\1\166\2\uffff\1\60\1\uffff\1\162\1\145\1\uffff\1\60\1\162\1\uffff\1\60\1\uffff"; + "\1\0\1\56\1\155\1\160\2\151\4\uffff\1\141\1\72\1\145\1\157\1\uffff\1\75\3\uffff\1\157\1\145\1\143\1\145\1\165\1\145\1\157\1\115\1\154\1\151\1\101\2\uffff\2\0\1\52\4\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\2\154\4\uffff\1\143\1\uffff\1\164\1\144\1\156\5\uffff\1\144\1\155\1\141\1\156\1\141\1\157\1\154\1\156\1\164\1\142\1\147\1\124\1\154\1\141\5\uffff\1\157\1\60\1\143\1\154\1\164\1\145\1\144\1\153\2\164\1\141\1\145\1\146\1\145\1\142\1\154\1\163\1\151\1\164\1\160\1\166\1\145\1\160\1\165\1\60\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\60\1\145\1\141\1\145\1\151\1\155\1\154\1\151\1\60\1\145\2\60\1\156\1\151\2\145\1\162\1\165\1\147\1\uffff\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\147\1\162\1\141\1\157\1\163\1\147\1\uffff\1\162\2\uffff\1\147\1\163\1\60\1\162\1\141\1\164\1\60\1\154\1\123\1\141\1\60\1\147\1\151\2\60\1\145\1\156\1\154\1\144\4\60\1\164\1\uffff\1\60\1\164\1\60\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\60\1\163\1\55\1\145\4\uffff\1\151\1\uffff\1\145\1\uffff\1\145\1\154\1\157\1\60\1\147\1\uffff\1\60\1\uffff\1\154\1\143\1\60\1\162\1\166\1\154\1\uffff\1\60\1\uffff\1\60\1\163\1\uffff\1\60\1\145\1\166\2\uffff\1\60\1\uffff\1\162\1\145\1\uffff\1\60\1\162\1\uffff\1\60\1\uffff"; static final String DFA12_maxS = - "\1\uffff\1\56\1\156\1\170\1\151\1\157\4\uffff\1\141\1\72\2\157\1\uffff\1\75\3\uffff\1\142\1\165\1\164\1\145\2\165\1\145\1\157\1\115\1\154\1\151\1\172\2\uffff\2\uffff\1\57\4\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\2\154\4\uffff\1\164\1\uffff\1\164\1\144\1\156\5\uffff\1\152\1\141\1\156\1\162\1\157\1\154\1\156\1\155\1\164\1\142\1\147\1\124\1\154\1\141\5\uffff\1\157\1\172\1\143\1\154\1\164\1\145\1\144\1\153\2\164\1\141\1\145\1\146\1\145\1\154\1\163\1\151\1\164\1\160\1\166\1\145\1\142\1\160\1\165\1\172\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\172\1\145\1\141\1\145\1\151\1\155\1\154\1\151\1\143\2\172\1\156\1\151\2\145\1\162\1\145\1\165\1\147\1\uffff\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\147\1\162\1\141\1\157\1\163\1\147\1\164\2\uffff\1\147\1\163\1\172\1\162\1\141\1\162\1\164\1\172\1\154\1\123\1\141\1\172\1\147\1\151\2\172\1\145\1\156\1\154\1\144\4\172\1\164\1\uffff\1\172\1\164\2\172\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\172\1\163\1\55\1\145\4\uffff\1\151\1\uffff\1\145\2\uffff\1\145\1\154\1\157\1\172\1\147\1\uffff\1\172\1\uffff\1\154\1\143\1\172\1\162\1\166\1\154\1\uffff\1\172\1\uffff\1\172\1\163\1\uffff\1\172\1\145\1\166\2\uffff\1\172\1\uffff\1\162\1\145\1\uffff\1\172\1\162\1\uffff\1\172\1\uffff"; + "\1\uffff\1\56\1\156\1\170\1\151\1\157\4\uffff\1\141\1\72\2\157\1\uffff\1\75\3\uffff\2\165\1\164\1\145\1\165\1\145\1\157\1\115\1\154\1\151\1\172\2\uffff\2\uffff\1\57\4\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\2\154\4\uffff\1\164\1\uffff\1\164\1\144\1\156\5\uffff\1\144\1\155\1\141\1\156\1\162\1\157\1\154\1\156\1\164\1\142\1\147\1\124\1\154\1\141\5\uffff\1\157\1\172\1\143\1\154\1\164\1\145\1\144\1\153\2\164\1\141\1\145\1\146\1\145\1\142\1\154\1\163\1\151\1\164\1\160\1\166\1\145\1\160\1\165\1\172\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\172\1\145\1\141\1\145\1\151\1\155\1\154\1\151\1\172\1\145\2\172\1\156\1\151\2\145\1\162\1\165\1\147\1\uffff\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\147\1\162\1\141\1\157\1\163\1\147\1\uffff\1\162\2\uffff\1\147\1\163\1\172\1\162\1\141\1\164\1\172\1\154\1\123\1\141\1\172\1\147\1\151\2\172\1\145\1\156\1\154\1\144\4\172\1\164\1\uffff\1\172\1\164\1\172\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\172\1\163\1\55\1\145\4\uffff\1\151\1\uffff\1\145\1\uffff\1\145\1\154\1\157\1\172\1\147\1\uffff\1\172\1\uffff\1\154\1\143\1\172\1\162\1\166\1\154\1\uffff\1\172\1\uffff\1\172\1\163\1\uffff\1\172\1\145\1\166\2\uffff\1\172\1\uffff\1\162\1\145\1\uffff\1\172\1\162\1\uffff\1\172\1\uffff"; static final String DFA12_acceptS = - "\6\uffff\1\6\1\7\1\10\1\11\4\uffff\1\22\1\uffff\1\25\1\26\1\27\14\uffff\1\51\1\52\3\uffff\1\56\1\57\1\24\1\1\2\uffff\1\51\5\uffff\1\6\1\7\1\10\1\11\1\uffff\1\14\3\uffff\1\22\1\23\1\25\1\26\1\27\16\uffff\1\52\1\53\1\54\1\55\1\56\35\uffff\1\31\26\uffff\1\44\7\uffff\1\5\10\uffff\1\32\1\40\31\uffff\1\34\4\uffff\1\43\3\uffff\1\2\2\uffff\1\4\1\16\4\uffff\1\17\1\21\1\30\1\33\1\uffff\1\41\1\uffff\1\37\1\42\5\uffff\1\12\1\uffff\1\36\6\uffff\1\3\1\uffff\1\20\2\uffff\1\35\3\uffff\1\13\1\15\1\uffff\1\46\2\uffff\1\45\2\uffff\1\47\1\uffff\1\50"; + "\6\uffff\1\6\1\7\1\10\1\11\4\uffff\1\22\1\uffff\1\25\1\26\1\27\13\uffff\1\51\1\52\3\uffff\1\56\1\57\1\24\1\1\2\uffff\1\51\5\uffff\1\6\1\7\1\10\1\11\1\uffff\1\14\3\uffff\1\22\1\23\1\25\1\26\1\27\16\uffff\1\52\1\53\1\54\1\55\1\56\35\uffff\1\31\26\uffff\1\44\7\uffff\1\5\7\uffff\1\30\1\uffff\1\32\1\40\30\uffff\1\34\3\uffff\1\43\3\uffff\1\2\2\uffff\1\4\1\16\4\uffff\1\17\1\21\1\37\1\33\1\uffff\1\41\1\uffff\1\42\5\uffff\1\12\1\uffff\1\36\6\uffff\1\3\1\uffff\1\20\2\uffff\1\35\3\uffff\1\13\1\15\1\uffff\1\46\2\uffff\1\45\2\uffff\1\47\1\uffff\1\50"; static final String DFA12_specialS = - "\1\2\40\uffff\1\0\1\1\u00cc\uffff}>"; + "\1\1\37\uffff\1\0\1\2\u00ca\uffff}>"; static final String[] DFA12_transitionS = { - "\11\45\2\44\2\45\1\44\22\45\1\44\1\45\1\41\1\16\3\45\1\42\2\45\1\20\1\17\1\10\1\45\1\1\1\43\12\40\1\13\2\45\1\6\3\45\1\34\15\37\1\23\3\37\1\33\2\37\1\35\4\37\1\21\1\45\1\22\1\36\1\37\1\45\2\37\1\15\1\31\1\3\1\5\1\26\1\37\1\2\2\37\1\32\1\14\1\27\1\30\1\12\1\37\1\24\1\25\2\37\1\4\4\37\1\7\1\45\1\11\uff82\45", - "\1\46", - "\1\50\1\51", - "\1\53\7\uffff\1\54", - "\1\55", - "\1\56\5\uffff\1\57", + "\11\44\2\43\2\44\1\43\22\44\1\43\1\44\1\40\1\16\3\44\1\41\2\44\1\20\1\17\1\10\1\44\1\1\1\42\12\37\1\13\2\44\1\6\3\44\1\33\21\36\1\32\2\36\1\34\4\36\1\21\1\44\1\22\1\35\1\36\1\44\2\36\1\15\1\30\1\3\1\5\1\26\1\36\1\2\2\36\1\31\1\14\1\23\1\27\1\12\1\36\1\24\1\25\2\36\1\4\4\36\1\7\1\44\1\11\uff82\44", + "\1\45", + "\1\47\1\50", + "\1\52\7\uffff\1\53", + "\1\54", + "\1\55\5\uffff\1\56", "", "", "", "", + "\1\63", "\1\64", - "\1\65", - "\1\66\11\uffff\1\67", - "\1\70", + "\1\65\11\uffff\1\66", + "\1\67", "", - "\1\72", + "\1\71", "", "", "", - "\1\76", + "\1\75\5\uffff\1\76", "\1\77\17\uffff\1\100", "\1\102\13\uffff\1\103\4\uffff\1\101", "\1\104", @@ -1786,39 +1786,39 @@ public class InternalApplicationConfigurationLexer extends Lexer { "\1\110", "\1\111", "\1\112", - "\1\113", - "\32\52\4\uffff\1\52\1\uffff\32\52", + "\32\51\4\uffff\1\51\1\uffff\32\51", "", "", - "\0\115", - "\0\115", - "\1\116\4\uffff\1\117", + "\0\114", + "\0\114", + "\1\115\4\uffff\1\116", "", "", "", "", + "\1\120", "\1\121", - "\1\122", "", + "\1\122", "\1\123", "\1\124", "\1\125", "\1\126", - "\1\127", "", "", "", "", - "\1\130\16\uffff\1\132\1\uffff\1\131", + "\1\127\16\uffff\1\131\1\uffff\1\130", "", + "\1\132", "\1\133", "\1\134", - "\1\135", "", "", "", "", "", + "\1\135", "\1\136", "\1\137", "\1\140", @@ -1832,14 +1832,14 @@ public class InternalApplicationConfigurationLexer extends Lexer { "\1\151", "\1\152", "\1\153", - "\1\154", "", "", "", "", "", - "\1\155", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\154", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\156", "\1\157", "\1\160", "\1\161", @@ -1861,27 +1861,27 @@ public class InternalApplicationConfigurationLexer extends Lexer { "\1\u0081", "\1\u0082", "\1\u0083", - "\1\u0084", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u0085", "\1\u0086", "\1\u0087", "\1\u0088", - "\1\u0089", "", + "\1\u0089", "\1\u008a", "\1\u008b", - "\1\u008c", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u008d", "\1\u008e", "\1\u008f", "\1\u0090", "\1\u0091", "\1\u0092", "\1\u0093", - "\1\u0094", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", "\1\u0095", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", "\1\u0098", "\1\u0099", "\1\u009a", @@ -1889,112 +1889,109 @@ public class InternalApplicationConfigurationLexer extends Lexer { "\1\u009c", "\1\u009d", "\1\u009e", - "\1\u009f", "", + "\1\u009f", "\1\u00a0", "\1\u00a1", "\1\u00a2", "\1\u00a3", "\1\u00a4", "\1\u00a5", - "\1\u00a6", "", + "\1\u00a6", "\1\u00a7", "\1\u00a8", "\1\u00a9", "\1\u00aa", "\1\u00ab", "\1\u00ac", + "", "\1\u00ad", - "\1\u00ae", "", "", + "\1\u00ae", "\1\u00af", - "\1\u00b0", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00b1", "\1\u00b2", "\1\u00b3", - "\1\u00b4", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", "\1\u00b5", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00b6", "\1\u00b7", - "\1\u00b8", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", "\1\u00b9", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", - "\1\u00bb", - "\1\u00bc", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00ba", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00bd", + "\1\u00be", "\1\u00bf", "\1\u00c0", - "\1\u00c1", - "\1\u00c2", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00c5", + "", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", "\1\u00c7", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", "", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u00c9", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00ca", + "\1\u00cb", "", "\1\u00cc", "\1\u00cd", - "\1\u00ce", "", + "", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", "\1\u00cf", "\1\u00d0", + "\1\u00d1", "", "", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", - "\1\u00d2", - "\1\u00d3", - "\1\u00d4", "", "", + "\1\u00d2", "", + "\1\u00d3", "", + "\1\u00d4", "\1\u00d5", - "", "\1\u00d6", - "", - "", - "\1\u00d7", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", "\1\u00d8", - "\1\u00d9", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", - "\1\u00db", "", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", "", + "\1\u00da", + "\1\u00db", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", "\1\u00dd", "\1\u00de", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", - "\1\u00e0", - "\1\u00e1", - "\1\u00e2", + "\1\u00df", "", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", "", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00e2", + "", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", + "\1\u00e4", "\1\u00e5", "", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", - "\1\u00e7", - "\1\u00e8", "", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", "", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00e7", + "\1\u00e8", "", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", "\1\u00ea", - "\1\u00eb", - "", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", - "\1\u00ed", "", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", "" }; @@ -2035,26 +2032,16 @@ public class InternalApplicationConfigurationLexer extends Lexer { int _s = s; switch ( s ) { case 0 : - int LA12_33 = input.LA(1); + int LA12_32 = input.LA(1); s = -1; - if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 77;} + if ( ((LA12_32>='\u0000' && LA12_32<='\uFFFF')) ) {s = 76;} - else s = 37; + else s = 36; if ( s>=0 ) return s; break; case 1 : - int LA12_34 = input.LA(1); - - s = -1; - if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 77;} - - else s = 37; - - if ( s>=0 ) return s; - break; - case 2 : int LA12_0 = input.LA(1); s = -1; @@ -2094,7 +2081,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { else if ( (LA12_0==']') ) {s = 18;} - else if ( (LA12_0=='O') ) {s = 19;} + else if ( (LA12_0=='n') ) {s = 19;} else if ( (LA12_0=='r') ) {s = 20;} @@ -2102,35 +2089,43 @@ public class InternalApplicationConfigurationLexer extends Lexer { else if ( (LA12_0=='g') ) {s = 22;} - else if ( (LA12_0=='n') ) {s = 23;} + else if ( (LA12_0=='o') ) {s = 23;} + + else if ( (LA12_0=='d') ) {s = 24;} - else if ( (LA12_0=='o') ) {s = 24;} + else if ( (LA12_0=='l') ) {s = 25;} - else if ( (LA12_0=='d') ) {s = 25;} + else if ( (LA12_0=='S') ) {s = 26;} - else if ( (LA12_0=='l') ) {s = 26;} + else if ( (LA12_0=='A') ) {s = 27;} - else if ( (LA12_0=='S') ) {s = 27;} + else if ( (LA12_0=='V') ) {s = 28;} - else if ( (LA12_0=='A') ) {s = 28;} + else if ( (LA12_0=='^') ) {s = 29;} - else if ( (LA12_0=='V') ) {s = 29;} + else if ( ((LA12_0>='B' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='U')||(LA12_0>='W' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='b')||LA12_0=='h'||(LA12_0>='j' && LA12_0<='k')||LA12_0=='q'||(LA12_0>='t' && LA12_0<='u')||(LA12_0>='w' && LA12_0<='z')) ) {s = 30;} - else if ( (LA12_0=='^') ) {s = 30;} + else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 31;} - else if ( ((LA12_0>='B' && LA12_0<='N')||(LA12_0>='P' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='U')||(LA12_0>='W' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='b')||LA12_0=='h'||(LA12_0>='j' && LA12_0<='k')||LA12_0=='q'||(LA12_0>='t' && LA12_0<='u')||(LA12_0>='w' && LA12_0<='z')) ) {s = 31;} + else if ( (LA12_0=='\"') ) {s = 32;} - else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 32;} + else if ( (LA12_0=='\'') ) {s = 33;} - else if ( (LA12_0=='\"') ) {s = 33;} + else if ( (LA12_0=='/') ) {s = 34;} - else if ( (LA12_0=='\'') ) {s = 34;} + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 35;} - else if ( (LA12_0=='/') ) {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=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 36;} - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 36;} + if ( s>=0 ) return s; + break; + case 2 : + int LA12_33 = input.LA(1); + + s = -1; + if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 76;} - 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=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 37;} + else s = 36; if ( s>=0 ) return s; break; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java index be068326..ce82fe1d 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java @@ -18,12 +18,11 @@ import org.antlr.runtime.*; import java.util.Stack; import java.util.List; import java.util.ArrayList; -import java.util.Map; -import java.util.HashMap; + @SuppressWarnings("all") public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'import'", "'epackage'", "'viatra'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'patterns'", "'config'", "'#'", "'+='", "'..'", "'*'", "'['", "']'", "'Object'", "'int'", "'real'", "'string'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'output'", "'debug'", "'log'", "'statistics'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'" + "", "", "", "", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'import'", "'epackage'", "'viatra'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'patterns'", "'config'", "'#'", "'+='", "'..'", "'*'", "'['", "']'", "'node'", "'int'", "'real'", "'string'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'output'", "'debug'", "'log'", "'statistics'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'" }; public static final int T__50=50; public static final int T__19=19; @@ -125,18 +124,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // InternalApplicationConfiguration.g:65:60: (iv_ruleConfigurationScript= ruleConfigurationScript EOF ) // InternalApplicationConfiguration.g:66:2: iv_ruleConfigurationScript= ruleConfigurationScript EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConfigurationScriptRule()); - } + newCompositeNode(grammarAccess.getConfigurationScriptRule()); pushFollow(FOLLOW_1); iv_ruleConfigurationScript=ruleConfigurationScript(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleConfigurationScript; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleConfigurationScript; + match(input,EOF,FOLLOW_2); } @@ -191,29 +186,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport ) // InternalApplicationConfiguration.g:82:5: lv_imports_0_0= ruleImport { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); - - } + newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); + pushFollow(FOLLOW_3); lv_imports_0_0=ruleImport(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); - } - add( - current, - "imports", - lv_imports_0_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); + } + add( + current, + "imports", + lv_imports_0_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); + afterParserOrEnumRuleCall(); + } @@ -244,29 +235,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand ) // InternalApplicationConfiguration.g:101:5: lv_commands_1_0= ruleCommand { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); - - } + newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); + pushFollow(FOLLOW_4); lv_commands_1_0=ruleCommand(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); - } - add( - current, - "commands", - lv_commands_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); + } + add( + current, + "commands", + lv_commands_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); + afterParserOrEnumRuleCall(); + } @@ -285,11 +272,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -315,18 +300,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // InternalApplicationConfiguration.g:122:48: (iv_ruleCommand= ruleCommand EOF ) // InternalApplicationConfiguration.g:123:2: iv_ruleCommand= ruleCommand EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getCommandRule()); - } + newCompositeNode(grammarAccess.getCommandRule()); pushFollow(FOLLOW_1); iv_ruleCommand=ruleCommand(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleCommand; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleCommand; + match(input,EOF,FOLLOW_2); } @@ -371,7 +352,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl alt3=2; } else { - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 3, 0, input); @@ -381,44 +361,36 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl case 1 : // InternalApplicationConfiguration.g:137:3: this_Declaration_0= ruleDeclaration { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); - - } + newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); + pushFollow(FOLLOW_2); this_Declaration_0=ruleDeclaration(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_Declaration_0; - afterParserOrEnumRuleCall(); - - } + + current = this_Declaration_0; + afterParserOrEnumRuleCall(); + } break; case 2 : // InternalApplicationConfiguration.g:146:3: this_Task_1= ruleTask { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); - - } + newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); + pushFollow(FOLLOW_2); this_Task_1=ruleTask(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_Task_1; - afterParserOrEnumRuleCall(); - - } + + current = this_Task_1; + afterParserOrEnumRuleCall(); + } break; @@ -428,11 +400,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -458,18 +428,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // InternalApplicationConfiguration.g:158:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) // InternalApplicationConfiguration.g:159:2: iv_ruleQualifiedName= ruleQualifiedName EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getQualifiedNameRule()); - } + newCompositeNode(grammarAccess.getQualifiedNameRule()); pushFollow(FOLLOW_1); iv_ruleQualifiedName=ruleQualifiedName(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleQualifiedName.getText(); - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleQualifiedName.getText(); + match(input,EOF,FOLLOW_2); } @@ -487,7 +453,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleQualifiedName" - // InternalApplicationConfiguration.g:165:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* ) ; + // InternalApplicationConfiguration.g:165:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -499,62 +465,46 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:171:2: ( (this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* ) ) - // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* ) + // InternalApplicationConfiguration.g:171:2: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) + // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) { - // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* ) - // InternalApplicationConfiguration.g:173:3: this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* + // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + // InternalApplicationConfiguration.g:173:3: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* { - this_ID_0=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current; - if ( state.backtracking==0 ) { + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_5); - current.merge(this_ID_0); - - } - if ( state.backtracking==0 ) { + current.merge(this_ID_0); + - newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); - - } - // InternalApplicationConfiguration.g:180:3: ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* + newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); + + // InternalApplicationConfiguration.g:180:3: (kw= '.' this_ID_2= RULE_ID )* loop4: do { int alt4=2; int LA4_0 = input.LA(1); - if ( (LA4_0==11) && (synpred1_InternalApplicationConfiguration())) { + if ( (LA4_0==11) ) { alt4=1; } switch (alt4) { case 1 : - // InternalApplicationConfiguration.g:181:4: ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID + // InternalApplicationConfiguration.g:181:4: kw= '.' this_ID_2= RULE_ID { - // InternalApplicationConfiguration.g:181:4: ( ( '.' )=>kw= '.' ) - // InternalApplicationConfiguration.g:182:5: ( '.' )=>kw= '.' - { - kw=(Token)match(input,11,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { - - current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); - - } - - } + kw=(Token)match(input,11,FOLLOW_6); - this_ID_2=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current; - if ( state.backtracking==0 ) { + current.merge(kw); + newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); + + this_ID_2=(Token)match(input,RULE_ID,FOLLOW_5); - current.merge(this_ID_2); - - } - if ( state.backtracking==0 ) { + current.merge(this_ID_2); + - newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); - - } + newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); + } break; @@ -570,11 +520,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -589,7 +537,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleImport" - // InternalApplicationConfiguration.g:201:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; + // InternalApplicationConfiguration.g:198:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; public final EObject entryRuleImport() throws RecognitionException { EObject current = null; @@ -597,21 +545,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:201:47: (iv_ruleImport= ruleImport EOF ) - // InternalApplicationConfiguration.g:202:2: iv_ruleImport= ruleImport EOF + // InternalApplicationConfiguration.g:198:47: (iv_ruleImport= ruleImport EOF ) + // InternalApplicationConfiguration.g:199:2: iv_ruleImport= ruleImport EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getImportRule()); - } + newCompositeNode(grammarAccess.getImportRule()); pushFollow(FOLLOW_1); iv_ruleImport=ruleImport(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleImport; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleImport; + match(input,EOF,FOLLOW_2); } @@ -629,7 +573,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleImport" - // InternalApplicationConfiguration.g:208:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ; + // InternalApplicationConfiguration.g:205:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ; public final EObject ruleImport() throws RecognitionException { EObject current = null; @@ -642,10 +586,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:214:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ) - // InternalApplicationConfiguration.g:215:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) + // InternalApplicationConfiguration.g:211:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ) + // InternalApplicationConfiguration.g:212:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) { - // InternalApplicationConfiguration.g:215:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) + // InternalApplicationConfiguration.g:212:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) int alt5=2; int LA5_0 = input.LA(1); @@ -659,7 +603,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl alt5=2; } else { - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 5, 1, input); @@ -667,7 +610,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } } else { - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 5, 0, input); @@ -675,46 +617,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt5) { case 1 : - // InternalApplicationConfiguration.g:216:3: this_EPackageImport_0= ruleEPackageImport + // InternalApplicationConfiguration.g:213:3: this_EPackageImport_0= ruleEPackageImport { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); - - } + newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); + pushFollow(FOLLOW_2); this_EPackageImport_0=ruleEPackageImport(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_EPackageImport_0; - afterParserOrEnumRuleCall(); - - } + + current = this_EPackageImport_0; + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalApplicationConfiguration.g:225:3: this_ViatraImport_1= ruleViatraImport + // InternalApplicationConfiguration.g:222:3: this_ViatraImport_1= ruleViatraImport { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); - - } + newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); + pushFollow(FOLLOW_2); this_ViatraImport_1=ruleViatraImport(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_ViatraImport_1; - afterParserOrEnumRuleCall(); - - } + + current = this_ViatraImport_1; + afterParserOrEnumRuleCall(); + } break; @@ -724,11 +658,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -743,7 +675,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleEPackageImport" - // InternalApplicationConfiguration.g:237:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ; + // InternalApplicationConfiguration.g:234:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ; public final EObject entryRuleEPackageImport() throws RecognitionException { EObject current = null; @@ -751,21 +683,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:237:55: (iv_ruleEPackageImport= ruleEPackageImport EOF ) - // InternalApplicationConfiguration.g:238:2: iv_ruleEPackageImport= ruleEPackageImport EOF + // InternalApplicationConfiguration.g:234:55: (iv_ruleEPackageImport= ruleEPackageImport EOF ) + // InternalApplicationConfiguration.g:235:2: iv_ruleEPackageImport= ruleEPackageImport EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getEPackageImportRule()); - } + newCompositeNode(grammarAccess.getEPackageImportRule()); pushFollow(FOLLOW_1); iv_ruleEPackageImport=ruleEPackageImport(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleEPackageImport; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleEPackageImport; + match(input,EOF,FOLLOW_2); } @@ -783,7 +711,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleEPackageImport" - // InternalApplicationConfiguration.g:244:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ; + // InternalApplicationConfiguration.g:241:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ; public final EObject ruleEPackageImport() throws RecognitionException { EObject current = null; @@ -795,43 +723,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:250:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ) - // InternalApplicationConfiguration.g:251:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:247:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ) + // InternalApplicationConfiguration.g:248:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) { - // InternalApplicationConfiguration.g:251:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:252:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) + // InternalApplicationConfiguration.g:248:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:249:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) { - otherlv_0=(Token)match(input,12,FOLLOW_7); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_0=(Token)match(input,12,FOLLOW_7); - newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); - - } - otherlv_1=(Token)match(input,13,FOLLOW_8); if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); + + otherlv_1=(Token)match(input,13,FOLLOW_8); - newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); - - } - // InternalApplicationConfiguration.g:260:3: ( (otherlv_2= RULE_STRING ) ) - // InternalApplicationConfiguration.g:261:4: (otherlv_2= RULE_STRING ) + newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); + + // InternalApplicationConfiguration.g:257:3: ( (otherlv_2= RULE_STRING ) ) + // InternalApplicationConfiguration.g:258:4: (otherlv_2= RULE_STRING ) { - // InternalApplicationConfiguration.g:261:4: (otherlv_2= RULE_STRING ) - // InternalApplicationConfiguration.g:262:5: otherlv_2= RULE_STRING + // InternalApplicationConfiguration.g:258:4: (otherlv_2= RULE_STRING ) + // InternalApplicationConfiguration.g:259:5: otherlv_2= RULE_STRING { - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getEPackageImportRule()); - } - - } - otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + if (current==null) { + current = createModelElement(grammarAccess.getEPackageImportRule()); + } + + otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); - newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); - - } + newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); + } @@ -844,11 +764,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -863,7 +781,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleViatraImport" - // InternalApplicationConfiguration.g:277:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ; + // InternalApplicationConfiguration.g:274:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ; public final EObject entryRuleViatraImport() throws RecognitionException { EObject current = null; @@ -871,21 +789,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:277:53: (iv_ruleViatraImport= ruleViatraImport EOF ) - // InternalApplicationConfiguration.g:278:2: iv_ruleViatraImport= ruleViatraImport EOF + // InternalApplicationConfiguration.g:274:53: (iv_ruleViatraImport= ruleViatraImport EOF ) + // InternalApplicationConfiguration.g:275:2: iv_ruleViatraImport= ruleViatraImport EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getViatraImportRule()); - } + newCompositeNode(grammarAccess.getViatraImportRule()); pushFollow(FOLLOW_1); iv_ruleViatraImport=ruleViatraImport(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleViatraImport; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleViatraImport; + match(input,EOF,FOLLOW_2); } @@ -903,7 +817,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleViatraImport" - // InternalApplicationConfiguration.g:284:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ; + // InternalApplicationConfiguration.g:281:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ; public final EObject ruleViatraImport() throws RecognitionException { EObject current = null; @@ -915,43 +829,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:290:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ) - // InternalApplicationConfiguration.g:291:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:287:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ) + // InternalApplicationConfiguration.g:288:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) { - // InternalApplicationConfiguration.g:291:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:292:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) + // InternalApplicationConfiguration.g:288:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:289:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) { - otherlv_0=(Token)match(input,12,FOLLOW_9); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_0=(Token)match(input,12,FOLLOW_9); - newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); - - } - otherlv_1=(Token)match(input,14,FOLLOW_8); if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); + + otherlv_1=(Token)match(input,14,FOLLOW_8); - newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); - - } - // InternalApplicationConfiguration.g:300:3: ( (otherlv_2= RULE_STRING ) ) - // InternalApplicationConfiguration.g:301:4: (otherlv_2= RULE_STRING ) + newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); + + // InternalApplicationConfiguration.g:297:3: ( (otherlv_2= RULE_STRING ) ) + // InternalApplicationConfiguration.g:298:4: (otherlv_2= RULE_STRING ) { - // InternalApplicationConfiguration.g:301:4: (otherlv_2= RULE_STRING ) - // InternalApplicationConfiguration.g:302:5: otherlv_2= RULE_STRING + // InternalApplicationConfiguration.g:298:4: (otherlv_2= RULE_STRING ) + // InternalApplicationConfiguration.g:299:5: otherlv_2= RULE_STRING { - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getViatraImportRule()); - } - - } - otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + if (current==null) { + current = createModelElement(grammarAccess.getViatraImportRule()); + } + + otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); - newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); - - } + newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); + } @@ -964,11 +870,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -983,7 +887,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleDeclaration" - // InternalApplicationConfiguration.g:317:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ; + // InternalApplicationConfiguration.g:314:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ; public final EObject entryRuleDeclaration() throws RecognitionException { EObject current = null; @@ -991,21 +895,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:317:52: (iv_ruleDeclaration= ruleDeclaration EOF ) - // InternalApplicationConfiguration.g:318:2: iv_ruleDeclaration= ruleDeclaration EOF + // InternalApplicationConfiguration.g:314:52: (iv_ruleDeclaration= ruleDeclaration EOF ) + // InternalApplicationConfiguration.g:315:2: iv_ruleDeclaration= ruleDeclaration EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getDeclarationRule()); - } + newCompositeNode(grammarAccess.getDeclarationRule()); pushFollow(FOLLOW_1); iv_ruleDeclaration=ruleDeclaration(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleDeclaration; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleDeclaration; + match(input,EOF,FOLLOW_2); } @@ -1023,7 +923,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleDeclaration" - // InternalApplicationConfiguration.g:324:1: ruleDeclaration returns [EObject current=null] : (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ; + // InternalApplicationConfiguration.g:321:1: ruleDeclaration returns [EObject current=null] : (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ; public final EObject ruleDeclaration() throws RecognitionException { EObject current = null; @@ -1044,10 +944,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:330:2: ( (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ) - // InternalApplicationConfiguration.g:331:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) + // InternalApplicationConfiguration.g:327:2: ( (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ) + // InternalApplicationConfiguration.g:328:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) { - // InternalApplicationConfiguration.g:331:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) + // InternalApplicationConfiguration.g:328:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) int alt6=6; switch ( input.LA(1) ) { case 15: @@ -1081,7 +981,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; default: - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 6, 0, input); @@ -1090,134 +989,110 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl switch (alt6) { case 1 : - // InternalApplicationConfiguration.g:332:3: this_FileDeclaration_0= ruleFileDeclaration + // InternalApplicationConfiguration.g:329:3: this_FileDeclaration_0= ruleFileDeclaration { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); - - } + newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); + pushFollow(FOLLOW_2); this_FileDeclaration_0=ruleFileDeclaration(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_FileDeclaration_0; - afterParserOrEnumRuleCall(); - - } + + current = this_FileDeclaration_0; + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalApplicationConfiguration.g:341:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration + // InternalApplicationConfiguration.g:338:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); - - } + newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); + pushFollow(FOLLOW_2); this_MetamodelDeclaration_1=ruleMetamodelDeclaration(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_MetamodelDeclaration_1; - afterParserOrEnumRuleCall(); - - } + + current = this_MetamodelDeclaration_1; + afterParserOrEnumRuleCall(); + } break; case 3 : - // InternalApplicationConfiguration.g:350:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration + // InternalApplicationConfiguration.g:347:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); - - } + newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); + pushFollow(FOLLOW_2); this_PartialModelDeclaration_2=rulePartialModelDeclaration(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_PartialModelDeclaration_2; - afterParserOrEnumRuleCall(); - - } + + current = this_PartialModelDeclaration_2; + afterParserOrEnumRuleCall(); + } break; case 4 : - // InternalApplicationConfiguration.g:359:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration + // InternalApplicationConfiguration.g:356:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); - - } + newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); + pushFollow(FOLLOW_2); this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_GraphPatternDeclaration_3; - afterParserOrEnumRuleCall(); - - } + + current = this_GraphPatternDeclaration_3; + afterParserOrEnumRuleCall(); + } break; case 5 : - // InternalApplicationConfiguration.g:368:3: this_ConfigDeclaration_4= ruleConfigDeclaration + // InternalApplicationConfiguration.g:365:3: this_ConfigDeclaration_4= ruleConfigDeclaration { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); - - } + newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); + pushFollow(FOLLOW_2); this_ConfigDeclaration_4=ruleConfigDeclaration(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_ConfigDeclaration_4; - afterParserOrEnumRuleCall(); - - } + + current = this_ConfigDeclaration_4; + afterParserOrEnumRuleCall(); + } break; case 6 : - // InternalApplicationConfiguration.g:377:3: this_ScopeDeclaration_5= ruleScopeDeclaration + // InternalApplicationConfiguration.g:374:3: this_ScopeDeclaration_5= ruleScopeDeclaration { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); - - } + newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); + pushFollow(FOLLOW_2); this_ScopeDeclaration_5=ruleScopeDeclaration(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_ScopeDeclaration_5; - afterParserOrEnumRuleCall(); - - } + + current = this_ScopeDeclaration_5; + afterParserOrEnumRuleCall(); + } break; @@ -1227,11 +1102,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -1246,7 +1119,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleFileSpecification" - // InternalApplicationConfiguration.g:389:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ; + // InternalApplicationConfiguration.g:386:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ; public final EObject entryRuleFileSpecification() throws RecognitionException { EObject current = null; @@ -1254,21 +1127,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:389:58: (iv_ruleFileSpecification= ruleFileSpecification EOF ) - // InternalApplicationConfiguration.g:390:2: iv_ruleFileSpecification= ruleFileSpecification EOF + // InternalApplicationConfiguration.g:386:58: (iv_ruleFileSpecification= ruleFileSpecification EOF ) + // InternalApplicationConfiguration.g:387:2: iv_ruleFileSpecification= ruleFileSpecification EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getFileSpecificationRule()); - } + newCompositeNode(grammarAccess.getFileSpecificationRule()); pushFollow(FOLLOW_1); iv_ruleFileSpecification=ruleFileSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleFileSpecification; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleFileSpecification; + match(input,EOF,FOLLOW_2); } @@ -1286,7 +1155,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleFileSpecification" - // InternalApplicationConfiguration.g:396:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ; + // InternalApplicationConfiguration.g:393:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ; public final EObject ruleFileSpecification() throws RecognitionException { EObject current = null; @@ -1296,33 +1165,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:402:2: ( ( (lv_path_0_0= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:403:2: ( (lv_path_0_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:399:2: ( ( (lv_path_0_0= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:400:2: ( (lv_path_0_0= RULE_STRING ) ) { - // InternalApplicationConfiguration.g:403:2: ( (lv_path_0_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:404:3: (lv_path_0_0= RULE_STRING ) + // InternalApplicationConfiguration.g:400:2: ( (lv_path_0_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:401:3: (lv_path_0_0= RULE_STRING ) { - // InternalApplicationConfiguration.g:404:3: (lv_path_0_0= RULE_STRING ) - // InternalApplicationConfiguration.g:405:4: lv_path_0_0= RULE_STRING + // InternalApplicationConfiguration.g:401:3: (lv_path_0_0= RULE_STRING ) + // InternalApplicationConfiguration.g:402:4: lv_path_0_0= RULE_STRING { - lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); - newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); - - } - if ( state.backtracking==0 ) { + newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getFileSpecificationRule()); - } - setWithLastConsumed( - current, - "path", - lv_path_0_0, - "org.eclipse.xtext.common.Terminals.STRING"); - - } + if (current==null) { + current = createModelElement(grammarAccess.getFileSpecificationRule()); + } + setWithLastConsumed( + current, + "path", + lv_path_0_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } @@ -1332,11 +1197,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -1351,7 +1214,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleFileDeclaration" - // InternalApplicationConfiguration.g:424:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ; + // InternalApplicationConfiguration.g:421:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ; public final EObject entryRuleFileDeclaration() throws RecognitionException { EObject current = null; @@ -1359,21 +1222,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:424:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF ) - // InternalApplicationConfiguration.g:425:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF + // InternalApplicationConfiguration.g:421:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF ) + // InternalApplicationConfiguration.g:422:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getFileDeclarationRule()); - } + newCompositeNode(grammarAccess.getFileDeclarationRule()); pushFollow(FOLLOW_1); iv_ruleFileDeclaration=ruleFileDeclaration(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleFileDeclaration; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleFileDeclaration; + match(input,EOF,FOLLOW_2); } @@ -1391,7 +1250,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleFileDeclaration" - // InternalApplicationConfiguration.g:431:1: ruleFileDeclaration returns [EObject current=null] : (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ; + // InternalApplicationConfiguration.g:428:1: ruleFileDeclaration returns [EObject current=null] : (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ; public final EObject ruleFileDeclaration() throws RecognitionException { EObject current = null; @@ -1405,83 +1264,71 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:437:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ) - // InternalApplicationConfiguration.g:438:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) + // InternalApplicationConfiguration.g:434:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ) + // InternalApplicationConfiguration.g:435:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) { - // InternalApplicationConfiguration.g:438:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) - // InternalApplicationConfiguration.g:439:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) + // InternalApplicationConfiguration.g:435:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) + // InternalApplicationConfiguration.g:436:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) { - otherlv_0=(Token)match(input,15,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_0=(Token)match(input,15,FOLLOW_6); - newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); - - } - // InternalApplicationConfiguration.g:443:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:444:4: (lv_name_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); + + // InternalApplicationConfiguration.g:440:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:441:4: (lv_name_1_0= RULE_ID ) { - // InternalApplicationConfiguration.g:444:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:445:5: lv_name_1_0= RULE_ID + // InternalApplicationConfiguration.g:441:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:442:5: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_10); if (state.failed) return current; - if ( state.backtracking==0 ) { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_10); - newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - } - if ( state.backtracking==0 ) { + newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getFileDeclarationRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - - } + if (current==null) { + current = createModelElement(grammarAccess.getFileDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - otherlv_2=(Token)match(input,16,FOLLOW_8); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_2=(Token)match(input,16,FOLLOW_8); - newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); - - } - // InternalApplicationConfiguration.g:465:3: ( (lv_specification_3_0= ruleFileSpecification ) ) - // InternalApplicationConfiguration.g:466:4: (lv_specification_3_0= ruleFileSpecification ) + newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); + + // InternalApplicationConfiguration.g:462:3: ( (lv_specification_3_0= ruleFileSpecification ) ) + // InternalApplicationConfiguration.g:463:4: (lv_specification_3_0= ruleFileSpecification ) { - // InternalApplicationConfiguration.g:466:4: (lv_specification_3_0= ruleFileSpecification ) - // InternalApplicationConfiguration.g:467:5: lv_specification_3_0= ruleFileSpecification + // InternalApplicationConfiguration.g:463:4: (lv_specification_3_0= ruleFileSpecification ) + // InternalApplicationConfiguration.g:464:5: lv_specification_3_0= ruleFileSpecification { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); - - } + newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); + pushFollow(FOLLOW_2); lv_specification_3_0=ruleFileSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); - } - set( - current, - "specification", - lv_specification_3_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); - afterParserOrEnumRuleCall(); - - } + + if (current==null) { + current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); + } + set( + current, + "specification", + lv_specification_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); + afterParserOrEnumRuleCall(); + } @@ -1494,11 +1341,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -1513,7 +1358,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleFileReference" - // InternalApplicationConfiguration.g:488:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ; + // InternalApplicationConfiguration.g:485:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ; public final EObject entryRuleFileReference() throws RecognitionException { EObject current = null; @@ -1521,21 +1366,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:488:54: (iv_ruleFileReference= ruleFileReference EOF ) - // InternalApplicationConfiguration.g:489:2: iv_ruleFileReference= ruleFileReference EOF + // InternalApplicationConfiguration.g:485:54: (iv_ruleFileReference= ruleFileReference EOF ) + // InternalApplicationConfiguration.g:486:2: iv_ruleFileReference= ruleFileReference EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getFileReferenceRule()); - } + newCompositeNode(grammarAccess.getFileReferenceRule()); pushFollow(FOLLOW_1); iv_ruleFileReference=ruleFileReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleFileReference; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleFileReference; + match(input,EOF,FOLLOW_2); } @@ -1553,7 +1394,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleFileReference" - // InternalApplicationConfiguration.g:495:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalApplicationConfiguration.g:492:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleFileReference() throws RecognitionException { EObject current = null; @@ -1563,28 +1404,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:501:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:502:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:498:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:499:2: ( (otherlv_0= RULE_ID ) ) { - // InternalApplicationConfiguration.g:502:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:503:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:499:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:500:3: (otherlv_0= RULE_ID ) { - // InternalApplicationConfiguration.g:503:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:504:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:500:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:501:4: otherlv_0= RULE_ID { - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getFileReferenceRule()); - } - - } - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + if (current==null) { + current = createModelElement(grammarAccess.getFileReferenceRule()); + } + + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); - newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); - - } + newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); + } @@ -1594,11 +1431,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -1613,7 +1448,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleFile" - // InternalApplicationConfiguration.g:518:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ; + // InternalApplicationConfiguration.g:515:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ; public final EObject entryRuleFile() throws RecognitionException { EObject current = null; @@ -1621,21 +1456,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:518:45: (iv_ruleFile= ruleFile EOF ) - // InternalApplicationConfiguration.g:519:2: iv_ruleFile= ruleFile EOF + // InternalApplicationConfiguration.g:515:45: (iv_ruleFile= ruleFile EOF ) + // InternalApplicationConfiguration.g:516:2: iv_ruleFile= ruleFile EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getFileRule()); - } + newCompositeNode(grammarAccess.getFileRule()); pushFollow(FOLLOW_1); iv_ruleFile=ruleFile(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleFile; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleFile; + match(input,EOF,FOLLOW_2); } @@ -1653,7 +1484,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleFile" - // InternalApplicationConfiguration.g:525:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ; + // InternalApplicationConfiguration.g:522:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ; public final EObject ruleFile() throws RecognitionException { EObject current = null; @@ -1666,10 +1497,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:531:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ) - // InternalApplicationConfiguration.g:532:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) + // InternalApplicationConfiguration.g:528:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ) + // InternalApplicationConfiguration.g:529:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) { - // InternalApplicationConfiguration.g:532:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) + // InternalApplicationConfiguration.g:529:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) int alt7=2; int LA7_0 = input.LA(1); @@ -1680,7 +1511,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl alt7=2; } else { - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 7, 0, input); @@ -1688,46 +1518,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt7) { case 1 : - // InternalApplicationConfiguration.g:533:3: this_FileSpecification_0= ruleFileSpecification + // InternalApplicationConfiguration.g:530:3: this_FileSpecification_0= ruleFileSpecification { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); - - } + newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); + pushFollow(FOLLOW_2); this_FileSpecification_0=ruleFileSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_FileSpecification_0; - afterParserOrEnumRuleCall(); - - } + + current = this_FileSpecification_0; + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalApplicationConfiguration.g:542:3: this_FileReference_1= ruleFileReference + // InternalApplicationConfiguration.g:539:3: this_FileReference_1= ruleFileReference { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); - - } + newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); + pushFollow(FOLLOW_2); this_FileReference_1=ruleFileReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_FileReference_1; - afterParserOrEnumRuleCall(); - - } + + current = this_FileReference_1; + afterParserOrEnumRuleCall(); + } break; @@ -1737,11 +1559,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -1756,7 +1576,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleMetamodelSpecification" - // InternalApplicationConfiguration.g:554:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ; + // InternalApplicationConfiguration.g:551:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ; public final EObject entryRuleMetamodelSpecification() throws RecognitionException { EObject current = null; @@ -1764,21 +1584,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:554:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ) - // InternalApplicationConfiguration.g:555:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF + // InternalApplicationConfiguration.g:551:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ) + // InternalApplicationConfiguration.g:552:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); - } + newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); pushFollow(FOLLOW_1); iv_ruleMetamodelSpecification=ruleMetamodelSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleMetamodelSpecification; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleMetamodelSpecification; + match(input,EOF,FOLLOW_2); } @@ -1796,7 +1612,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleMetamodelSpecification" - // InternalApplicationConfiguration.g:561:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ; + // InternalApplicationConfiguration.g:558:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ; public final EObject ruleMetamodelSpecification() throws RecognitionException { EObject current = null; @@ -1812,54 +1628,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:567:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ) - // InternalApplicationConfiguration.g:568:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) + // InternalApplicationConfiguration.g:564:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ) + // InternalApplicationConfiguration.g:565:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) { - // InternalApplicationConfiguration.g:568:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) - // InternalApplicationConfiguration.g:569:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' + // InternalApplicationConfiguration.g:565:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) + // InternalApplicationConfiguration.g:566:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' { - otherlv_0=(Token)match(input,17,FOLLOW_11); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_0=(Token)match(input,17,FOLLOW_11); - newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - - } - // InternalApplicationConfiguration.g:573:3: ( (lv_entries_1_0= ruleMetamodelEntry ) ) - // InternalApplicationConfiguration.g:574:4: (lv_entries_1_0= ruleMetamodelEntry ) + newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + + // InternalApplicationConfiguration.g:570:3: ( (lv_entries_1_0= ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:571:4: (lv_entries_1_0= ruleMetamodelEntry ) { - // InternalApplicationConfiguration.g:574:4: (lv_entries_1_0= ruleMetamodelEntry ) - // InternalApplicationConfiguration.g:575:5: lv_entries_1_0= ruleMetamodelEntry + // InternalApplicationConfiguration.g:571:4: (lv_entries_1_0= ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:572:5: lv_entries_1_0= ruleMetamodelEntry { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); - - } + newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); + pushFollow(FOLLOW_12); lv_entries_1_0=ruleMetamodelEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); - } - add( - current, - "entries", - lv_entries_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); - afterParserOrEnumRuleCall(); - - } + + if (current==null) { + current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); + } + add( + current, + "entries", + lv_entries_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); + afterParserOrEnumRuleCall(); + } } - // InternalApplicationConfiguration.g:592:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* + // InternalApplicationConfiguration.g:589:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* loop8: do { int alt8=2; @@ -1872,43 +1682,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl switch (alt8) { case 1 : - // InternalApplicationConfiguration.g:593:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:590:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) { - otherlv_2=(Token)match(input,18,FOLLOW_11); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_2=(Token)match(input,18,FOLLOW_11); - newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); - - } - // InternalApplicationConfiguration.g:597:4: ( (lv_entries_3_0= ruleMetamodelEntry ) ) - // InternalApplicationConfiguration.g:598:5: (lv_entries_3_0= ruleMetamodelEntry ) + newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); + + // InternalApplicationConfiguration.g:594:4: ( (lv_entries_3_0= ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:595:5: (lv_entries_3_0= ruleMetamodelEntry ) { - // InternalApplicationConfiguration.g:598:5: (lv_entries_3_0= ruleMetamodelEntry ) - // InternalApplicationConfiguration.g:599:6: lv_entries_3_0= ruleMetamodelEntry + // InternalApplicationConfiguration.g:595:5: (lv_entries_3_0= ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:596:6: lv_entries_3_0= ruleMetamodelEntry { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); - - } + newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); + pushFollow(FOLLOW_12); lv_entries_3_0=ruleMetamodelEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); - } - add( - current, - "entries", - lv_entries_3_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); + } + add( + current, + "entries", + lv_entries_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); + afterParserOrEnumRuleCall(); + } @@ -1924,23 +1728,19 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } } while (true); - otherlv_4=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_4=(Token)match(input,19,FOLLOW_2); - newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); - - } + newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); + } } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -1955,7 +1755,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleMetamodelEntry" - // InternalApplicationConfiguration.g:625:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ; + // InternalApplicationConfiguration.g:622:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ; public final EObject entryRuleMetamodelEntry() throws RecognitionException { EObject current = null; @@ -1963,21 +1763,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:625:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ) - // InternalApplicationConfiguration.g:626:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF + // InternalApplicationConfiguration.g:622:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ) + // InternalApplicationConfiguration.g:623:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getMetamodelEntryRule()); - } + newCompositeNode(grammarAccess.getMetamodelEntryRule()); pushFollow(FOLLOW_1); iv_ruleMetamodelEntry=ruleMetamodelEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleMetamodelEntry; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleMetamodelEntry; + match(input,EOF,FOLLOW_2); } @@ -1995,7 +1791,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleMetamodelEntry" - // InternalApplicationConfiguration.g:632:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ; + // InternalApplicationConfiguration.g:629:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ; public final EObject ruleMetamodelEntry() throws RecognitionException { EObject current = null; @@ -2008,10 +1804,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:638:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ) - // InternalApplicationConfiguration.g:639:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) + // InternalApplicationConfiguration.g:635:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ) + // InternalApplicationConfiguration.g:636:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) { - // InternalApplicationConfiguration.g:639:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) + // InternalApplicationConfiguration.g:636:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) int alt9=2; int LA9_0 = input.LA(1); @@ -2022,7 +1818,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl alt9=2; } else { - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 9, 0, input); @@ -2030,46 +1825,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt9) { case 1 : - // InternalApplicationConfiguration.g:640:3: this_MetamodelElement_0= ruleMetamodelElement + // InternalApplicationConfiguration.g:637:3: this_MetamodelElement_0= ruleMetamodelElement { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); - - } + newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); + pushFollow(FOLLOW_2); this_MetamodelElement_0=ruleMetamodelElement(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_MetamodelElement_0; - afterParserOrEnumRuleCall(); - - } + + current = this_MetamodelElement_0; + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalApplicationConfiguration.g:649:3: this_AllPackageEntry_1= ruleAllPackageEntry + // InternalApplicationConfiguration.g:646:3: this_AllPackageEntry_1= ruleAllPackageEntry { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); - - } + newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); + pushFollow(FOLLOW_2); this_AllPackageEntry_1=ruleAllPackageEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_AllPackageEntry_1; - afterParserOrEnumRuleCall(); - - } + + current = this_AllPackageEntry_1; + afterParserOrEnumRuleCall(); + } break; @@ -2079,11 +1866,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -2098,7 +1883,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleAllPackageEntry" - // InternalApplicationConfiguration.g:661:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ; + // InternalApplicationConfiguration.g:658:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ; public final EObject entryRuleAllPackageEntry() throws RecognitionException { EObject current = null; @@ -2106,21 +1891,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:661:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ) - // InternalApplicationConfiguration.g:662:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF + // InternalApplicationConfiguration.g:658:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ) + // InternalApplicationConfiguration.g:659:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getAllPackageEntryRule()); - } + newCompositeNode(grammarAccess.getAllPackageEntryRule()); pushFollow(FOLLOW_1); iv_ruleAllPackageEntry=ruleAllPackageEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleAllPackageEntry; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleAllPackageEntry; + match(input,EOF,FOLLOW_2); } @@ -2138,7 +1919,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleAllPackageEntry" - // InternalApplicationConfiguration.g:668:1: ruleAllPackageEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ; + // InternalApplicationConfiguration.g:665:1: ruleAllPackageEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ; public final EObject ruleAllPackageEntry() throws RecognitionException { EObject current = null; @@ -2156,53 +1937,45 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:674:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ) - // InternalApplicationConfiguration.g:675:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:671:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ) + // InternalApplicationConfiguration.g:672:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) { - // InternalApplicationConfiguration.g:675:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) - // InternalApplicationConfiguration.g:676:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? + // InternalApplicationConfiguration.g:672:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:673:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? { - otherlv_0=(Token)match(input,20,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_0=(Token)match(input,20,FOLLOW_6); - newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); - - } - // InternalApplicationConfiguration.g:680:3: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:681:4: ( ruleQualifiedName ) + newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); + + // InternalApplicationConfiguration.g:677:3: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:678:4: ( ruleQualifiedName ) { - // InternalApplicationConfiguration.g:681:4: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:682:5: ruleQualifiedName + // InternalApplicationConfiguration.g:678:4: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:679:5: ruleQualifiedName { - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getAllPackageEntryRule()); - } - - } - if ( state.backtracking==0 ) { + if (current==null) { + current = createModelElement(grammarAccess.getAllPackageEntryRule()); + } + - newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); - - } + newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); + pushFollow(FOLLOW_13); ruleQualifiedName(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - afterParserOrEnumRuleCall(); - - } + + afterParserOrEnumRuleCall(); + } } - // InternalApplicationConfiguration.g:696:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? + // InternalApplicationConfiguration.g:693:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? int alt11=2; int LA11_0 = input.LA(1); @@ -2211,56 +1984,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt11) { case 1 : - // InternalApplicationConfiguration.g:697:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' + // InternalApplicationConfiguration.g:694:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' { - otherlv_2=(Token)match(input,21,FOLLOW_14); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_2=(Token)match(input,21,FOLLOW_14); - newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); - - } - otherlv_3=(Token)match(input,17,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); + + otherlv_3=(Token)match(input,17,FOLLOW_6); - newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); - - } - // InternalApplicationConfiguration.g:705:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:706:5: (lv_exclusion_4_0= ruleMetamodelElement ) + newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); + + // InternalApplicationConfiguration.g:702:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:703:5: (lv_exclusion_4_0= ruleMetamodelElement ) { - // InternalApplicationConfiguration.g:706:5: (lv_exclusion_4_0= ruleMetamodelElement ) - // InternalApplicationConfiguration.g:707:6: lv_exclusion_4_0= ruleMetamodelElement + // InternalApplicationConfiguration.g:703:5: (lv_exclusion_4_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:704:6: lv_exclusion_4_0= ruleMetamodelElement { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); - - } + newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); + pushFollow(FOLLOW_12); lv_exclusion_4_0=ruleMetamodelElement(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); - } - add( - current, - "exclusion", - lv_exclusion_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); + } + add( + current, + "exclusion", + lv_exclusion_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); + afterParserOrEnumRuleCall(); + } } - // InternalApplicationConfiguration.g:724:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* + // InternalApplicationConfiguration.g:721:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* loop10: do { int alt10=2; @@ -2273,43 +2038,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl switch (alt10) { case 1 : - // InternalApplicationConfiguration.g:725:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:722:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) { - otherlv_5=(Token)match(input,18,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_5=(Token)match(input,18,FOLLOW_6); - newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); - - } - // InternalApplicationConfiguration.g:729:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:730:6: (lv_exclusion_6_0= ruleMetamodelElement ) + newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); + + // InternalApplicationConfiguration.g:726:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:727:6: (lv_exclusion_6_0= ruleMetamodelElement ) { - // InternalApplicationConfiguration.g:730:6: (lv_exclusion_6_0= ruleMetamodelElement ) - // InternalApplicationConfiguration.g:731:7: lv_exclusion_6_0= ruleMetamodelElement + // InternalApplicationConfiguration.g:727:6: (lv_exclusion_6_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:728:7: lv_exclusion_6_0= ruleMetamodelElement { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); - - } + newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); + pushFollow(FOLLOW_12); lv_exclusion_6_0=ruleMetamodelElement(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); - } - add( - current, - "exclusion", - lv_exclusion_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); + } + add( + current, + "exclusion", + lv_exclusion_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); + afterParserOrEnumRuleCall(); + } @@ -2325,12 +2084,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } } while (true); - otherlv_7=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_7=(Token)match(input,19,FOLLOW_2); - newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); - - } + newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); + } break; @@ -2343,11 +2100,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -2362,7 +2117,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleMetamodelElement" - // InternalApplicationConfiguration.g:758:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ; + // InternalApplicationConfiguration.g:755:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ; public final EObject entryRuleMetamodelElement() throws RecognitionException { EObject current = null; @@ -2370,21 +2125,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:758:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF ) - // InternalApplicationConfiguration.g:759:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF + // InternalApplicationConfiguration.g:755:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF ) + // InternalApplicationConfiguration.g:756:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getMetamodelElementRule()); - } + newCompositeNode(grammarAccess.getMetamodelElementRule()); pushFollow(FOLLOW_1); iv_ruleMetamodelElement=ruleMetamodelElement(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleMetamodelElement; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleMetamodelElement; + match(input,EOF,FOLLOW_2); } @@ -2402,7 +2153,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleMetamodelElement" - // InternalApplicationConfiguration.g:765:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ; + // InternalApplicationConfiguration.g:762:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ; public final EObject ruleMetamodelElement() throws RecognitionException { EObject current = null; @@ -2415,13 +2166,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:771:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ) - // InternalApplicationConfiguration.g:772:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) + // InternalApplicationConfiguration.g:768:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ) + // InternalApplicationConfiguration.g:769:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) { - // InternalApplicationConfiguration.g:772:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) - // InternalApplicationConfiguration.g:773:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? + // InternalApplicationConfiguration.g:769:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) + // InternalApplicationConfiguration.g:770:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? { - // InternalApplicationConfiguration.g:773:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? + // InternalApplicationConfiguration.g:770:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? int alt12=2; int LA12_0 = input.LA(1); @@ -2445,80 +2196,68 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt12) { case 1 : - // InternalApplicationConfiguration.g:774:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' + // InternalApplicationConfiguration.g:771:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' { - // InternalApplicationConfiguration.g:774:4: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:775:5: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:771:4: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:772:5: ( ruleQualifiedName ) { - // InternalApplicationConfiguration.g:775:5: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:776:6: ruleQualifiedName + // InternalApplicationConfiguration.g:772:5: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:773:6: ruleQualifiedName { - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getMetamodelElementRule()); - } - - } - if ( state.backtracking==0 ) { + if (current==null) { + current = createModelElement(grammarAccess.getMetamodelElementRule()); + } + - newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); - - } + newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); + pushFollow(FOLLOW_15); ruleQualifiedName(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - afterParserOrEnumRuleCall(); - - } + + afterParserOrEnumRuleCall(); + } } - otherlv_1=(Token)match(input,22,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_1=(Token)match(input,22,FOLLOW_6); - newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); - - } + newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); + } break; } - // InternalApplicationConfiguration.g:795:3: ( (otherlv_2= RULE_ID ) ) - // InternalApplicationConfiguration.g:796:4: (otherlv_2= RULE_ID ) + // InternalApplicationConfiguration.g:792:3: ( (otherlv_2= RULE_ID ) ) + // InternalApplicationConfiguration.g:793:4: (otherlv_2= RULE_ID ) { - // InternalApplicationConfiguration.g:796:4: (otherlv_2= RULE_ID ) - // InternalApplicationConfiguration.g:797:5: otherlv_2= RULE_ID + // InternalApplicationConfiguration.g:793:4: (otherlv_2= RULE_ID ) + // InternalApplicationConfiguration.g:794:5: otherlv_2= RULE_ID { - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getMetamodelElementRule()); - } - - } - otherlv_2=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current; - if ( state.backtracking==0 ) { + if (current==null) { + current = createModelElement(grammarAccess.getMetamodelElementRule()); + } + + otherlv_2=(Token)match(input,RULE_ID,FOLLOW_5); - newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); - - } + newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); + } } - // InternalApplicationConfiguration.g:808:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? + // InternalApplicationConfiguration.g:805:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? int alt13=2; int LA13_0 = input.LA(1); @@ -2527,33 +2266,27 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt13) { case 1 : - // InternalApplicationConfiguration.g:809:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) + // InternalApplicationConfiguration.g:806:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) { - otherlv_3=(Token)match(input,11,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_3=(Token)match(input,11,FOLLOW_6); - newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); - - } - // InternalApplicationConfiguration.g:813:4: ( (otherlv_4= RULE_ID ) ) - // InternalApplicationConfiguration.g:814:5: (otherlv_4= RULE_ID ) + newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); + + // InternalApplicationConfiguration.g:810:4: ( (otherlv_4= RULE_ID ) ) + // InternalApplicationConfiguration.g:811:5: (otherlv_4= RULE_ID ) { - // InternalApplicationConfiguration.g:814:5: (otherlv_4= RULE_ID ) - // InternalApplicationConfiguration.g:815:6: otherlv_4= RULE_ID + // InternalApplicationConfiguration.g:811:5: (otherlv_4= RULE_ID ) + // InternalApplicationConfiguration.g:812:6: otherlv_4= RULE_ID { - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getMetamodelElementRule()); - } - - } - otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + if (current==null) { + current = createModelElement(grammarAccess.getMetamodelElementRule()); + } + + otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); - newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); - - } + newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); + } @@ -2572,11 +2305,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -2591,7 +2322,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleMetamodelDeclaration" - // InternalApplicationConfiguration.g:831:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ; + // InternalApplicationConfiguration.g:828:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ; public final EObject entryRuleMetamodelDeclaration() throws RecognitionException { EObject current = null; @@ -2599,21 +2330,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:831:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ) - // InternalApplicationConfiguration.g:832:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF + // InternalApplicationConfiguration.g:828:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ) + // InternalApplicationConfiguration.g:829:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); - } + newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); pushFollow(FOLLOW_1); iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleMetamodelDeclaration; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleMetamodelDeclaration; + match(input,EOF,FOLLOW_2); } @@ -2631,7 +2358,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleMetamodelDeclaration" - // InternalApplicationConfiguration.g:838:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ; + // InternalApplicationConfiguration.g:835:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ; public final EObject ruleMetamodelDeclaration() throws RecognitionException { EObject current = null; @@ -2644,77 +2371,67 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:844:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ) - // InternalApplicationConfiguration.g:845:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) + // InternalApplicationConfiguration.g:841:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ) + // InternalApplicationConfiguration.g:842:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) { - // InternalApplicationConfiguration.g:845:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) - // InternalApplicationConfiguration.g:846:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) + // InternalApplicationConfiguration.g:842:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) + // InternalApplicationConfiguration.g:843:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) { - otherlv_0=(Token)match(input,23,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_0=(Token)match(input,23,FOLLOW_6); - newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); - - } - // InternalApplicationConfiguration.g:850:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:851:4: (lv_name_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); + + // InternalApplicationConfiguration.g:847:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:848:4: (lv_name_1_0= RULE_ID ) { - // InternalApplicationConfiguration.g:851:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:852:5: lv_name_1_0= RULE_ID + // InternalApplicationConfiguration.g:848:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:849:5: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current; - if ( state.backtracking==0 ) { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); - newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - } - if ( state.backtracking==0 ) { + newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getMetamodelDeclarationRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - - } + if (current==null) { + current = createModelElement(grammarAccess.getMetamodelDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalApplicationConfiguration.g:868:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) ) - // InternalApplicationConfiguration.g:869:4: (lv_specification_2_0= ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:865:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) ) + // InternalApplicationConfiguration.g:866:4: (lv_specification_2_0= ruleMetamodelSpecification ) { - // InternalApplicationConfiguration.g:869:4: (lv_specification_2_0= ruleMetamodelSpecification ) - // InternalApplicationConfiguration.g:870:5: lv_specification_2_0= ruleMetamodelSpecification + // InternalApplicationConfiguration.g:866:4: (lv_specification_2_0= ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:867:5: lv_specification_2_0= ruleMetamodelSpecification { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); - - } + newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); + pushFollow(FOLLOW_2); lv_specification_2_0=ruleMetamodelSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); - } - set( - current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); - afterParserOrEnumRuleCall(); - - } + + if (current==null) { + current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); + } + set( + current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); + afterParserOrEnumRuleCall(); + } @@ -2727,11 +2444,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -2746,7 +2461,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleMetamodelReference" - // InternalApplicationConfiguration.g:891:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ; + // InternalApplicationConfiguration.g:888:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ; public final EObject entryRuleMetamodelReference() throws RecognitionException { EObject current = null; @@ -2754,21 +2469,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:891:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF ) - // InternalApplicationConfiguration.g:892:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF + // InternalApplicationConfiguration.g:888:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF ) + // InternalApplicationConfiguration.g:889:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getMetamodelReferenceRule()); - } + newCompositeNode(grammarAccess.getMetamodelReferenceRule()); pushFollow(FOLLOW_1); iv_ruleMetamodelReference=ruleMetamodelReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleMetamodelReference; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleMetamodelReference; + match(input,EOF,FOLLOW_2); } @@ -2786,7 +2497,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleMetamodelReference" - // InternalApplicationConfiguration.g:898:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalApplicationConfiguration.g:895:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleMetamodelReference() throws RecognitionException { EObject current = null; @@ -2796,28 +2507,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:904:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:905:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:901:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:902:2: ( (otherlv_0= RULE_ID ) ) { - // InternalApplicationConfiguration.g:905:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:906:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:902:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:903:3: (otherlv_0= RULE_ID ) { - // InternalApplicationConfiguration.g:906:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:907:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:903:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:904:4: otherlv_0= RULE_ID { - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getMetamodelReferenceRule()); - } - - } - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + if (current==null) { + current = createModelElement(grammarAccess.getMetamodelReferenceRule()); + } + + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); - newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); - - } + newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); + } @@ -2827,11 +2534,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -2846,7 +2551,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleMetamodel" - // InternalApplicationConfiguration.g:921:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ; + // InternalApplicationConfiguration.g:918:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ; public final EObject entryRuleMetamodel() throws RecognitionException { EObject current = null; @@ -2854,21 +2559,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:921:50: (iv_ruleMetamodel= ruleMetamodel EOF ) - // InternalApplicationConfiguration.g:922:2: iv_ruleMetamodel= ruleMetamodel EOF + // InternalApplicationConfiguration.g:918:50: (iv_ruleMetamodel= ruleMetamodel EOF ) + // InternalApplicationConfiguration.g:919:2: iv_ruleMetamodel= ruleMetamodel EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getMetamodelRule()); - } + newCompositeNode(grammarAccess.getMetamodelRule()); pushFollow(FOLLOW_1); iv_ruleMetamodel=ruleMetamodel(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleMetamodel; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleMetamodel; + match(input,EOF,FOLLOW_2); } @@ -2886,7 +2587,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleMetamodel" - // InternalApplicationConfiguration.g:928:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ; + // InternalApplicationConfiguration.g:925:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ; public final EObject ruleMetamodel() throws RecognitionException { EObject current = null; @@ -2899,10 +2600,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:934:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ) - // InternalApplicationConfiguration.g:935:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:931:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ) + // InternalApplicationConfiguration.g:932:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) { - // InternalApplicationConfiguration.g:935:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:932:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) int alt14=2; int LA14_0 = input.LA(1); @@ -2913,7 +2614,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl alt14=2; } else { - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 14, 0, input); @@ -2921,46 +2621,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt14) { case 1 : - // InternalApplicationConfiguration.g:936:3: this_MetamodelReference_0= ruleMetamodelReference + // InternalApplicationConfiguration.g:933:3: this_MetamodelReference_0= ruleMetamodelReference { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); - - } + newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); + pushFollow(FOLLOW_2); this_MetamodelReference_0=ruleMetamodelReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_MetamodelReference_0; - afterParserOrEnumRuleCall(); - - } + + current = this_MetamodelReference_0; + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalApplicationConfiguration.g:945:3: this_MetamodelSpecification_1= ruleMetamodelSpecification + // InternalApplicationConfiguration.g:942:3: this_MetamodelSpecification_1= ruleMetamodelSpecification { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); - - } + newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); + pushFollow(FOLLOW_2); this_MetamodelSpecification_1=ruleMetamodelSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_MetamodelSpecification_1; - afterParserOrEnumRuleCall(); - - } + + current = this_MetamodelSpecification_1; + afterParserOrEnumRuleCall(); + } break; @@ -2970,11 +2662,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -2989,7 +2679,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRulePartialModelSpecification" - // InternalApplicationConfiguration.g:957:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ; + // InternalApplicationConfiguration.g:954:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ; public final EObject entryRulePartialModelSpecification() throws RecognitionException { EObject current = null; @@ -2997,21 +2687,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:957:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ) - // InternalApplicationConfiguration.g:958:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF + // InternalApplicationConfiguration.g:954:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ) + // InternalApplicationConfiguration.g:955:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); - } + newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); pushFollow(FOLLOW_1); iv_rulePartialModelSpecification=rulePartialModelSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_rulePartialModelSpecification; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_rulePartialModelSpecification; + match(input,EOF,FOLLOW_2); } @@ -3029,7 +2715,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "rulePartialModelSpecification" - // InternalApplicationConfiguration.g:964:1: rulePartialModelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ; + // InternalApplicationConfiguration.g:961:1: rulePartialModelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ; public final EObject rulePartialModelSpecification() throws RecognitionException { EObject current = null; @@ -3045,54 +2731,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:970:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ) - // InternalApplicationConfiguration.g:971:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) + // InternalApplicationConfiguration.g:967:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ) + // InternalApplicationConfiguration.g:968:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) { - // InternalApplicationConfiguration.g:971:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) - // InternalApplicationConfiguration.g:972:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' + // InternalApplicationConfiguration.g:968:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) + // InternalApplicationConfiguration.g:969:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' { - otherlv_0=(Token)match(input,17,FOLLOW_16); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_0=(Token)match(input,17,FOLLOW_16); - newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - - } - // InternalApplicationConfiguration.g:976:3: ( (lv_entry_1_0= rulePartialModelEntry ) ) - // InternalApplicationConfiguration.g:977:4: (lv_entry_1_0= rulePartialModelEntry ) + newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + + // InternalApplicationConfiguration.g:973:3: ( (lv_entry_1_0= rulePartialModelEntry ) ) + // InternalApplicationConfiguration.g:974:4: (lv_entry_1_0= rulePartialModelEntry ) { - // InternalApplicationConfiguration.g:977:4: (lv_entry_1_0= rulePartialModelEntry ) - // InternalApplicationConfiguration.g:978:5: lv_entry_1_0= rulePartialModelEntry + // InternalApplicationConfiguration.g:974:4: (lv_entry_1_0= rulePartialModelEntry ) + // InternalApplicationConfiguration.g:975:5: lv_entry_1_0= rulePartialModelEntry { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); - - } + newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); + pushFollow(FOLLOW_12); lv_entry_1_0=rulePartialModelEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); - } - add( - current, - "entry", - lv_entry_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); - afterParserOrEnumRuleCall(); - - } + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); + } + add( + current, + "entry", + lv_entry_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); + afterParserOrEnumRuleCall(); + } } - // InternalApplicationConfiguration.g:995:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? + // InternalApplicationConfiguration.g:992:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? int alt15=2; int LA15_0 = input.LA(1); @@ -3101,43 +2781,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt15) { case 1 : - // InternalApplicationConfiguration.g:996:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) + // InternalApplicationConfiguration.g:993:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) { - otherlv_2=(Token)match(input,18,FOLLOW_16); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_2=(Token)match(input,18,FOLLOW_16); - newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); - - } - // InternalApplicationConfiguration.g:1000:4: ( (lv_entry_3_0= rulePartialModelEntry ) ) - // InternalApplicationConfiguration.g:1001:5: (lv_entry_3_0= rulePartialModelEntry ) + newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); + + // InternalApplicationConfiguration.g:997:4: ( (lv_entry_3_0= rulePartialModelEntry ) ) + // InternalApplicationConfiguration.g:998:5: (lv_entry_3_0= rulePartialModelEntry ) { - // InternalApplicationConfiguration.g:1001:5: (lv_entry_3_0= rulePartialModelEntry ) - // InternalApplicationConfiguration.g:1002:6: lv_entry_3_0= rulePartialModelEntry + // InternalApplicationConfiguration.g:998:5: (lv_entry_3_0= rulePartialModelEntry ) + // InternalApplicationConfiguration.g:999:6: lv_entry_3_0= rulePartialModelEntry { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); - - } + newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); + pushFollow(FOLLOW_17); lv_entry_3_0=rulePartialModelEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); - } - add( - current, - "entry", - lv_entry_3_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); + } + add( + current, + "entry", + lv_entry_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); + afterParserOrEnumRuleCall(); + } @@ -3150,23 +2824,19 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_4=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_4=(Token)match(input,19,FOLLOW_2); - newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); - - } + newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); + } } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -3181,7 +2851,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRulePartialModelEntry" - // InternalApplicationConfiguration.g:1028:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ; + // InternalApplicationConfiguration.g:1025:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ; public final EObject entryRulePartialModelEntry() throws RecognitionException { EObject current = null; @@ -3189,21 +2859,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1028:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF ) - // InternalApplicationConfiguration.g:1029:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF + // InternalApplicationConfiguration.g:1025:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF ) + // InternalApplicationConfiguration.g:1026:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPartialModelEntryRule()); - } + newCompositeNode(grammarAccess.getPartialModelEntryRule()); pushFollow(FOLLOW_1); iv_rulePartialModelEntry=rulePartialModelEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_rulePartialModelEntry; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_rulePartialModelEntry; + match(input,EOF,FOLLOW_2); } @@ -3221,7 +2887,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "rulePartialModelEntry" - // InternalApplicationConfiguration.g:1035:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ; + // InternalApplicationConfiguration.g:1032:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ; public final EObject rulePartialModelEntry() throws RecognitionException { EObject current = null; @@ -3234,10 +2900,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1041:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ) - // InternalApplicationConfiguration.g:1042:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) + // InternalApplicationConfiguration.g:1038:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ) + // InternalApplicationConfiguration.g:1039:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) { - // InternalApplicationConfiguration.g:1042:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) + // InternalApplicationConfiguration.g:1039:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) int alt16=2; int LA16_0 = input.LA(1); @@ -3248,7 +2914,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl alt16=2; } else { - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 16, 0, input); @@ -3256,46 +2921,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt16) { case 1 : - // InternalApplicationConfiguration.g:1043:3: this_ModelEntry_0= ruleModelEntry + // InternalApplicationConfiguration.g:1040:3: this_ModelEntry_0= ruleModelEntry { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); - - } + newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); + pushFollow(FOLLOW_2); this_ModelEntry_0=ruleModelEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_ModelEntry_0; - afterParserOrEnumRuleCall(); - - } + + current = this_ModelEntry_0; + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalApplicationConfiguration.g:1052:3: this_FolderEntry_1= ruleFolderEntry + // InternalApplicationConfiguration.g:1049:3: this_FolderEntry_1= ruleFolderEntry { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); - - } + newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); + pushFollow(FOLLOW_2); this_FolderEntry_1=ruleFolderEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_FolderEntry_1; - afterParserOrEnumRuleCall(); - - } + + current = this_FolderEntry_1; + afterParserOrEnumRuleCall(); + } break; @@ -3305,11 +2962,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -3324,7 +2979,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleModelEntry" - // InternalApplicationConfiguration.g:1064:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ; + // InternalApplicationConfiguration.g:1061:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ; public final EObject entryRuleModelEntry() throws RecognitionException { EObject current = null; @@ -3332,21 +2987,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1064:51: (iv_ruleModelEntry= ruleModelEntry EOF ) - // InternalApplicationConfiguration.g:1065:2: iv_ruleModelEntry= ruleModelEntry EOF + // InternalApplicationConfiguration.g:1061:51: (iv_ruleModelEntry= ruleModelEntry EOF ) + // InternalApplicationConfiguration.g:1062:2: iv_ruleModelEntry= ruleModelEntry EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getModelEntryRule()); - } + newCompositeNode(grammarAccess.getModelEntryRule()); pushFollow(FOLLOW_1); iv_ruleModelEntry=ruleModelEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleModelEntry; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleModelEntry; + match(input,EOF,FOLLOW_2); } @@ -3364,7 +3015,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleModelEntry" - // InternalApplicationConfiguration.g:1071:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ; + // InternalApplicationConfiguration.g:1068:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ; public final EObject ruleModelEntry() throws RecognitionException { EObject current = null; @@ -3375,38 +3026,34 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1077:2: ( ( (lv_path_0_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:1078:2: ( (lv_path_0_0= ruleFile ) ) + // InternalApplicationConfiguration.g:1074:2: ( ( (lv_path_0_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:1075:2: ( (lv_path_0_0= ruleFile ) ) { - // InternalApplicationConfiguration.g:1078:2: ( (lv_path_0_0= ruleFile ) ) - // InternalApplicationConfiguration.g:1079:3: (lv_path_0_0= ruleFile ) + // InternalApplicationConfiguration.g:1075:2: ( (lv_path_0_0= ruleFile ) ) + // InternalApplicationConfiguration.g:1076:3: (lv_path_0_0= ruleFile ) { - // InternalApplicationConfiguration.g:1079:3: (lv_path_0_0= ruleFile ) - // InternalApplicationConfiguration.g:1080:4: lv_path_0_0= ruleFile + // InternalApplicationConfiguration.g:1076:3: (lv_path_0_0= ruleFile ) + // InternalApplicationConfiguration.g:1077:4: lv_path_0_0= ruleFile { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); - - } + newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); + pushFollow(FOLLOW_2); lv_path_0_0=ruleFile(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelEntryRule()); - } - set( - current, - "path", - lv_path_0_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - - } + + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelEntryRule()); + } + set( + current, + "path", + lv_path_0_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } @@ -3416,11 +3063,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -3435,7 +3080,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleFolderEntry" - // InternalApplicationConfiguration.g:1100:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ; + // InternalApplicationConfiguration.g:1097:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ; public final EObject entryRuleFolderEntry() throws RecognitionException { EObject current = null; @@ -3443,21 +3088,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1100:52: (iv_ruleFolderEntry= ruleFolderEntry EOF ) - // InternalApplicationConfiguration.g:1101:2: iv_ruleFolderEntry= ruleFolderEntry EOF + // InternalApplicationConfiguration.g:1097:52: (iv_ruleFolderEntry= ruleFolderEntry EOF ) + // InternalApplicationConfiguration.g:1098:2: iv_ruleFolderEntry= ruleFolderEntry EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getFolderEntryRule()); - } + newCompositeNode(grammarAccess.getFolderEntryRule()); pushFollow(FOLLOW_1); iv_ruleFolderEntry=ruleFolderEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleFolderEntry; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleFolderEntry; + match(input,EOF,FOLLOW_2); } @@ -3475,7 +3116,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleFolderEntry" - // InternalApplicationConfiguration.g:1107:1: ruleFolderEntry returns [EObject current=null] : (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ; + // InternalApplicationConfiguration.g:1104:1: ruleFolderEntry returns [EObject current=null] : (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ; public final EObject ruleFolderEntry() throws RecognitionException { EObject current = null; @@ -3495,54 +3136,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1113:2: ( (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ) - // InternalApplicationConfiguration.g:1114:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:1110:2: ( (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ) + // InternalApplicationConfiguration.g:1111:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) { - // InternalApplicationConfiguration.g:1114:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) - // InternalApplicationConfiguration.g:1115:3: otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? + // InternalApplicationConfiguration.g:1111:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:1112:3: otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? { - otherlv_0=(Token)match(input,24,FOLLOW_18); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_0=(Token)match(input,24,FOLLOW_18); - newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); - - } - // InternalApplicationConfiguration.g:1119:3: ( (lv_path_1_0= ruleFile ) ) - // InternalApplicationConfiguration.g:1120:4: (lv_path_1_0= ruleFile ) + newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); + + // InternalApplicationConfiguration.g:1116:3: ( (lv_path_1_0= ruleFile ) ) + // InternalApplicationConfiguration.g:1117:4: (lv_path_1_0= ruleFile ) { - // InternalApplicationConfiguration.g:1120:4: (lv_path_1_0= ruleFile ) - // InternalApplicationConfiguration.g:1121:5: lv_path_1_0= ruleFile + // InternalApplicationConfiguration.g:1117:4: (lv_path_1_0= ruleFile ) + // InternalApplicationConfiguration.g:1118:5: lv_path_1_0= ruleFile { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); - - } + newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); + pushFollow(FOLLOW_13); lv_path_1_0=ruleFile(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getFolderEntryRule()); - } - set( - current, - "path", - lv_path_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - - } + + if (current==null) { + current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + set( + current, + "path", + lv_path_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } } - // InternalApplicationConfiguration.g:1138:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? + // InternalApplicationConfiguration.g:1135:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? int alt18=2; int LA18_0 = input.LA(1); @@ -3551,56 +3186,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt18) { case 1 : - // InternalApplicationConfiguration.g:1139:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' + // InternalApplicationConfiguration.g:1136:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' { - otherlv_2=(Token)match(input,21,FOLLOW_14); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_2=(Token)match(input,21,FOLLOW_14); - newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); - - } - otherlv_3=(Token)match(input,17,FOLLOW_18); if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); + + otherlv_3=(Token)match(input,17,FOLLOW_18); - newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); - - } - // InternalApplicationConfiguration.g:1147:4: ( (lv_exclusion_4_0= ruleModelEntry ) ) - // InternalApplicationConfiguration.g:1148:5: (lv_exclusion_4_0= ruleModelEntry ) + newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); + + // InternalApplicationConfiguration.g:1144:4: ( (lv_exclusion_4_0= ruleModelEntry ) ) + // InternalApplicationConfiguration.g:1145:5: (lv_exclusion_4_0= ruleModelEntry ) { - // InternalApplicationConfiguration.g:1148:5: (lv_exclusion_4_0= ruleModelEntry ) - // InternalApplicationConfiguration.g:1149:6: lv_exclusion_4_0= ruleModelEntry + // InternalApplicationConfiguration.g:1145:5: (lv_exclusion_4_0= ruleModelEntry ) + // InternalApplicationConfiguration.g:1146:6: lv_exclusion_4_0= ruleModelEntry { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); - - } + newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); + pushFollow(FOLLOW_12); lv_exclusion_4_0=ruleModelEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getFolderEntryRule()); - } - add( - current, - "exclusion", - lv_exclusion_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + add( + current, + "exclusion", + lv_exclusion_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); + afterParserOrEnumRuleCall(); + } } - // InternalApplicationConfiguration.g:1166:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* + // InternalApplicationConfiguration.g:1163:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* loop17: do { int alt17=2; @@ -3613,43 +3240,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl switch (alt17) { case 1 : - // InternalApplicationConfiguration.g:1167:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) + // InternalApplicationConfiguration.g:1164:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) { - otherlv_5=(Token)match(input,18,FOLLOW_18); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_5=(Token)match(input,18,FOLLOW_18); - newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); - - } - // InternalApplicationConfiguration.g:1171:5: ( (lv_exclusion_6_0= ruleModelEntry ) ) - // InternalApplicationConfiguration.g:1172:6: (lv_exclusion_6_0= ruleModelEntry ) + newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); + + // InternalApplicationConfiguration.g:1168:5: ( (lv_exclusion_6_0= ruleModelEntry ) ) + // InternalApplicationConfiguration.g:1169:6: (lv_exclusion_6_0= ruleModelEntry ) { - // InternalApplicationConfiguration.g:1172:6: (lv_exclusion_6_0= ruleModelEntry ) - // InternalApplicationConfiguration.g:1173:7: lv_exclusion_6_0= ruleModelEntry + // InternalApplicationConfiguration.g:1169:6: (lv_exclusion_6_0= ruleModelEntry ) + // InternalApplicationConfiguration.g:1170:7: lv_exclusion_6_0= ruleModelEntry { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); - - } + newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); + pushFollow(FOLLOW_12); lv_exclusion_6_0=ruleModelEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getFolderEntryRule()); - } - add( - current, - "exclusion", - lv_exclusion_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + add( + current, + "exclusion", + lv_exclusion_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); + afterParserOrEnumRuleCall(); + } @@ -3665,12 +3286,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } } while (true); - otherlv_7=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_7=(Token)match(input,19,FOLLOW_2); - newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); - - } + newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); + } break; @@ -3683,11 +3302,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -3702,7 +3319,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRulePartialModelDeclaration" - // InternalApplicationConfiguration.g:1200:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ; + // InternalApplicationConfiguration.g:1197:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ; public final EObject entryRulePartialModelDeclaration() throws RecognitionException { EObject current = null; @@ -3710,21 +3327,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1200:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ) - // InternalApplicationConfiguration.g:1201:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF + // InternalApplicationConfiguration.g:1197:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ) + // InternalApplicationConfiguration.g:1198:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); - } + newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); pushFollow(FOLLOW_1); iv_rulePartialModelDeclaration=rulePartialModelDeclaration(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_rulePartialModelDeclaration; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_rulePartialModelDeclaration; + match(input,EOF,FOLLOW_2); } @@ -3742,7 +3355,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "rulePartialModelDeclaration" - // InternalApplicationConfiguration.g:1207:1: rulePartialModelDeclaration returns [EObject current=null] : (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ; + // InternalApplicationConfiguration.g:1204:1: rulePartialModelDeclaration returns [EObject current=null] : (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ; public final EObject rulePartialModelDeclaration() throws RecognitionException { EObject current = null; @@ -3755,77 +3368,67 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1213:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ) - // InternalApplicationConfiguration.g:1214:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) + // InternalApplicationConfiguration.g:1210:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ) + // InternalApplicationConfiguration.g:1211:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) { - // InternalApplicationConfiguration.g:1214:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) - // InternalApplicationConfiguration.g:1215:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) + // InternalApplicationConfiguration.g:1211:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) + // InternalApplicationConfiguration.g:1212:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) { - otherlv_0=(Token)match(input,25,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_0=(Token)match(input,25,FOLLOW_6); - newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); - - } - // InternalApplicationConfiguration.g:1219:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1220:4: (lv_name_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); + + // InternalApplicationConfiguration.g:1216:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1217:4: (lv_name_1_0= RULE_ID ) { - // InternalApplicationConfiguration.g:1220:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:1221:5: lv_name_1_0= RULE_ID + // InternalApplicationConfiguration.g:1217:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:1218:5: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current; - if ( state.backtracking==0 ) { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); - newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - } - if ( state.backtracking==0 ) { + newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getPartialModelDeclarationRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - - } + if (current==null) { + current = createModelElement(grammarAccess.getPartialModelDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalApplicationConfiguration.g:1237:3: ( (lv_specification_2_0= rulePartialModelSpecification ) ) - // InternalApplicationConfiguration.g:1238:4: (lv_specification_2_0= rulePartialModelSpecification ) + // InternalApplicationConfiguration.g:1234:3: ( (lv_specification_2_0= rulePartialModelSpecification ) ) + // InternalApplicationConfiguration.g:1235:4: (lv_specification_2_0= rulePartialModelSpecification ) { - // InternalApplicationConfiguration.g:1238:4: (lv_specification_2_0= rulePartialModelSpecification ) - // InternalApplicationConfiguration.g:1239:5: lv_specification_2_0= rulePartialModelSpecification + // InternalApplicationConfiguration.g:1235:4: (lv_specification_2_0= rulePartialModelSpecification ) + // InternalApplicationConfiguration.g:1236:5: lv_specification_2_0= rulePartialModelSpecification { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); - - } + newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); + pushFollow(FOLLOW_2); lv_specification_2_0=rulePartialModelSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); - } - set( - current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); - afterParserOrEnumRuleCall(); - - } + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); + } + set( + current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); + afterParserOrEnumRuleCall(); + } @@ -3838,11 +3441,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -3857,7 +3458,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRulePartialModelReference" - // InternalApplicationConfiguration.g:1260:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ; + // InternalApplicationConfiguration.g:1257:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ; public final EObject entryRulePartialModelReference() throws RecognitionException { EObject current = null; @@ -3865,21 +3466,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1260:62: (iv_rulePartialModelReference= rulePartialModelReference EOF ) - // InternalApplicationConfiguration.g:1261:2: iv_rulePartialModelReference= rulePartialModelReference EOF + // InternalApplicationConfiguration.g:1257:62: (iv_rulePartialModelReference= rulePartialModelReference EOF ) + // InternalApplicationConfiguration.g:1258:2: iv_rulePartialModelReference= rulePartialModelReference EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPartialModelReferenceRule()); - } + newCompositeNode(grammarAccess.getPartialModelReferenceRule()); pushFollow(FOLLOW_1); iv_rulePartialModelReference=rulePartialModelReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_rulePartialModelReference; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_rulePartialModelReference; + match(input,EOF,FOLLOW_2); } @@ -3897,7 +3494,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "rulePartialModelReference" - // InternalApplicationConfiguration.g:1267:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalApplicationConfiguration.g:1264:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject rulePartialModelReference() throws RecognitionException { EObject current = null; @@ -3907,28 +3504,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1273:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:1274:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1270:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1271:2: ( (otherlv_0= RULE_ID ) ) { - // InternalApplicationConfiguration.g:1274:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1275:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:1271:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1272:3: (otherlv_0= RULE_ID ) { - // InternalApplicationConfiguration.g:1275:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:1276:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:1272:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:1273:4: otherlv_0= RULE_ID { - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getPartialModelReferenceRule()); - } - - } - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + if (current==null) { + current = createModelElement(grammarAccess.getPartialModelReferenceRule()); + } + + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); - newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); - - } + newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); + } @@ -3938,11 +3531,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -3957,7 +3548,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRulePartialModel" - // InternalApplicationConfiguration.g:1290:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ; + // InternalApplicationConfiguration.g:1287:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ; public final EObject entryRulePartialModel() throws RecognitionException { EObject current = null; @@ -3965,21 +3556,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1290:53: (iv_rulePartialModel= rulePartialModel EOF ) - // InternalApplicationConfiguration.g:1291:2: iv_rulePartialModel= rulePartialModel EOF + // InternalApplicationConfiguration.g:1287:53: (iv_rulePartialModel= rulePartialModel EOF ) + // InternalApplicationConfiguration.g:1288:2: iv_rulePartialModel= rulePartialModel EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPartialModelRule()); - } + newCompositeNode(grammarAccess.getPartialModelRule()); pushFollow(FOLLOW_1); iv_rulePartialModel=rulePartialModel(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_rulePartialModel; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_rulePartialModel; + match(input,EOF,FOLLOW_2); } @@ -3997,7 +3584,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "rulePartialModel" - // InternalApplicationConfiguration.g:1297:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ; + // InternalApplicationConfiguration.g:1294:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ; public final EObject rulePartialModel() throws RecognitionException { EObject current = null; @@ -4010,10 +3597,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1303:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ) - // InternalApplicationConfiguration.g:1304:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) + // InternalApplicationConfiguration.g:1300:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ) + // InternalApplicationConfiguration.g:1301:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) { - // InternalApplicationConfiguration.g:1304:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) + // InternalApplicationConfiguration.g:1301:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) int alt19=2; int LA19_0 = input.LA(1); @@ -4024,7 +3611,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl alt19=2; } else { - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 19, 0, input); @@ -4032,46 +3618,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt19) { case 1 : - // InternalApplicationConfiguration.g:1305:3: this_PartialModelSpecification_0= rulePartialModelSpecification + // InternalApplicationConfiguration.g:1302:3: this_PartialModelSpecification_0= rulePartialModelSpecification { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); - - } + newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); + pushFollow(FOLLOW_2); this_PartialModelSpecification_0=rulePartialModelSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_PartialModelSpecification_0; - afterParserOrEnumRuleCall(); - - } + + current = this_PartialModelSpecification_0; + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalApplicationConfiguration.g:1314:3: this_PartialModelReference_1= rulePartialModelReference + // InternalApplicationConfiguration.g:1311:3: this_PartialModelReference_1= rulePartialModelReference { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); - - } + newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); + pushFollow(FOLLOW_2); this_PartialModelReference_1=rulePartialModelReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_PartialModelReference_1; - afterParserOrEnumRuleCall(); - - } + + current = this_PartialModelReference_1; + afterParserOrEnumRuleCall(); + } break; @@ -4081,11 +3659,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -4100,7 +3676,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRulePatternSpecification" - // InternalApplicationConfiguration.g:1326:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ; + // InternalApplicationConfiguration.g:1323:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ; public final EObject entryRulePatternSpecification() throws RecognitionException { EObject current = null; @@ -4108,21 +3684,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1326:61: (iv_rulePatternSpecification= rulePatternSpecification EOF ) - // InternalApplicationConfiguration.g:1327:2: iv_rulePatternSpecification= rulePatternSpecification EOF + // InternalApplicationConfiguration.g:1323:61: (iv_rulePatternSpecification= rulePatternSpecification EOF ) + // InternalApplicationConfiguration.g:1324:2: iv_rulePatternSpecification= rulePatternSpecification EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPatternSpecificationRule()); - } + newCompositeNode(grammarAccess.getPatternSpecificationRule()); pushFollow(FOLLOW_1); iv_rulePatternSpecification=rulePatternSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_rulePatternSpecification; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_rulePatternSpecification; + match(input,EOF,FOLLOW_2); } @@ -4140,7 +3712,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "rulePatternSpecification" - // InternalApplicationConfiguration.g:1333:1: rulePatternSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ; + // InternalApplicationConfiguration.g:1330:1: rulePatternSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ; public final EObject rulePatternSpecification() throws RecognitionException { EObject current = null; @@ -4156,54 +3728,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1339:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ) - // InternalApplicationConfiguration.g:1340:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) + // InternalApplicationConfiguration.g:1336:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ) + // InternalApplicationConfiguration.g:1337:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) { - // InternalApplicationConfiguration.g:1340:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) - // InternalApplicationConfiguration.g:1341:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' + // InternalApplicationConfiguration.g:1337:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) + // InternalApplicationConfiguration.g:1338:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' { - otherlv_0=(Token)match(input,17,FOLLOW_11); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_0=(Token)match(input,17,FOLLOW_11); - newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); - - } - // InternalApplicationConfiguration.g:1345:3: ( (lv_entries_1_0= rulePatternEntry ) ) - // InternalApplicationConfiguration.g:1346:4: (lv_entries_1_0= rulePatternEntry ) + newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); + + // InternalApplicationConfiguration.g:1342:3: ( (lv_entries_1_0= rulePatternEntry ) ) + // InternalApplicationConfiguration.g:1343:4: (lv_entries_1_0= rulePatternEntry ) { - // InternalApplicationConfiguration.g:1346:4: (lv_entries_1_0= rulePatternEntry ) - // InternalApplicationConfiguration.g:1347:5: lv_entries_1_0= rulePatternEntry + // InternalApplicationConfiguration.g:1343:4: (lv_entries_1_0= rulePatternEntry ) + // InternalApplicationConfiguration.g:1344:5: lv_entries_1_0= rulePatternEntry { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); - - } + newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); + pushFollow(FOLLOW_12); lv_entries_1_0=rulePatternEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); - } - add( - current, - "entries", - lv_entries_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); - afterParserOrEnumRuleCall(); - - } + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); + } + add( + current, + "entries", + lv_entries_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); + afterParserOrEnumRuleCall(); + } } - // InternalApplicationConfiguration.g:1364:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* + // InternalApplicationConfiguration.g:1361:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* loop20: do { int alt20=2; @@ -4216,43 +3782,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl switch (alt20) { case 1 : - // InternalApplicationConfiguration.g:1365:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) + // InternalApplicationConfiguration.g:1362:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) { - otherlv_2=(Token)match(input,18,FOLLOW_11); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_2=(Token)match(input,18,FOLLOW_11); - newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); - - } - // InternalApplicationConfiguration.g:1369:4: ( (lv_entries_3_0= rulePatternEntry ) ) - // InternalApplicationConfiguration.g:1370:5: (lv_entries_3_0= rulePatternEntry ) + newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); + + // InternalApplicationConfiguration.g:1366:4: ( (lv_entries_3_0= rulePatternEntry ) ) + // InternalApplicationConfiguration.g:1367:5: (lv_entries_3_0= rulePatternEntry ) { - // InternalApplicationConfiguration.g:1370:5: (lv_entries_3_0= rulePatternEntry ) - // InternalApplicationConfiguration.g:1371:6: lv_entries_3_0= rulePatternEntry + // InternalApplicationConfiguration.g:1367:5: (lv_entries_3_0= rulePatternEntry ) + // InternalApplicationConfiguration.g:1368:6: lv_entries_3_0= rulePatternEntry { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); - - } + newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); + pushFollow(FOLLOW_12); lv_entries_3_0=rulePatternEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); - } - add( - current, - "entries", - lv_entries_3_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); + } + add( + current, + "entries", + lv_entries_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); + afterParserOrEnumRuleCall(); + } @@ -4268,23 +3828,19 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } } while (true); - otherlv_4=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_4=(Token)match(input,19,FOLLOW_2); - newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); - - } + newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); + } } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -4299,7 +3855,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRulePatternEntry" - // InternalApplicationConfiguration.g:1397:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ; + // InternalApplicationConfiguration.g:1394:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ; public final EObject entryRulePatternEntry() throws RecognitionException { EObject current = null; @@ -4307,21 +3863,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1397:53: (iv_rulePatternEntry= rulePatternEntry EOF ) - // InternalApplicationConfiguration.g:1398:2: iv_rulePatternEntry= rulePatternEntry EOF + // InternalApplicationConfiguration.g:1394:53: (iv_rulePatternEntry= rulePatternEntry EOF ) + // InternalApplicationConfiguration.g:1395:2: iv_rulePatternEntry= rulePatternEntry EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPatternEntryRule()); - } + newCompositeNode(grammarAccess.getPatternEntryRule()); pushFollow(FOLLOW_1); iv_rulePatternEntry=rulePatternEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_rulePatternEntry; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_rulePatternEntry; + match(input,EOF,FOLLOW_2); } @@ -4339,7 +3891,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "rulePatternEntry" - // InternalApplicationConfiguration.g:1404:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ; + // InternalApplicationConfiguration.g:1401:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ; public final EObject rulePatternEntry() throws RecognitionException { EObject current = null; @@ -4352,10 +3904,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1410:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ) - // InternalApplicationConfiguration.g:1411:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) + // InternalApplicationConfiguration.g:1407:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ) + // InternalApplicationConfiguration.g:1408:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) { - // InternalApplicationConfiguration.g:1411:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) + // InternalApplicationConfiguration.g:1408:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) int alt21=2; int LA21_0 = input.LA(1); @@ -4366,7 +3918,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl alt21=2; } else { - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 21, 0, input); @@ -4374,46 +3925,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt21) { case 1 : - // InternalApplicationConfiguration.g:1412:3: this_PatternElement_0= rulePatternElement + // InternalApplicationConfiguration.g:1409:3: this_PatternElement_0= rulePatternElement { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); - - } + newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); + pushFollow(FOLLOW_2); this_PatternElement_0=rulePatternElement(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_PatternElement_0; - afterParserOrEnumRuleCall(); - - } + + current = this_PatternElement_0; + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalApplicationConfiguration.g:1421:3: this_AllPatternEntry_1= ruleAllPatternEntry + // InternalApplicationConfiguration.g:1418:3: this_AllPatternEntry_1= ruleAllPatternEntry { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); - - } + newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); + pushFollow(FOLLOW_2); this_AllPatternEntry_1=ruleAllPatternEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_AllPatternEntry_1; - afterParserOrEnumRuleCall(); - - } + + current = this_AllPatternEntry_1; + afterParserOrEnumRuleCall(); + } break; @@ -4423,11 +3966,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -4442,7 +3983,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleAllPatternEntry" - // InternalApplicationConfiguration.g:1433:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ; + // InternalApplicationConfiguration.g:1430:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ; public final EObject entryRuleAllPatternEntry() throws RecognitionException { EObject current = null; @@ -4450,21 +3991,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1433:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ) - // InternalApplicationConfiguration.g:1434:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF + // InternalApplicationConfiguration.g:1430:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ) + // InternalApplicationConfiguration.g:1431:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getAllPatternEntryRule()); - } + newCompositeNode(grammarAccess.getAllPatternEntryRule()); pushFollow(FOLLOW_1); iv_ruleAllPatternEntry=ruleAllPatternEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleAllPatternEntry; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleAllPatternEntry; + match(input,EOF,FOLLOW_2); } @@ -4482,7 +4019,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleAllPatternEntry" - // InternalApplicationConfiguration.g:1440:1: ruleAllPatternEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ; + // InternalApplicationConfiguration.g:1437:1: ruleAllPatternEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ; public final EObject ruleAllPatternEntry() throws RecognitionException { EObject current = null; @@ -4500,53 +4037,45 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1446:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ) - // InternalApplicationConfiguration.g:1447:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:1443:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ) + // InternalApplicationConfiguration.g:1444:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) { - // InternalApplicationConfiguration.g:1447:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) - // InternalApplicationConfiguration.g:1448:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? + // InternalApplicationConfiguration.g:1444:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:1445:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? { - otherlv_0=(Token)match(input,20,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_0=(Token)match(input,20,FOLLOW_6); - newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); - - } - // InternalApplicationConfiguration.g:1452:3: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:1453:4: ( ruleQualifiedName ) + newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); + + // InternalApplicationConfiguration.g:1449:3: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:1450:4: ( ruleQualifiedName ) { - // InternalApplicationConfiguration.g:1453:4: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:1454:5: ruleQualifiedName + // InternalApplicationConfiguration.g:1450:4: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:1451:5: ruleQualifiedName { - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getAllPatternEntryRule()); - } - - } - if ( state.backtracking==0 ) { + if (current==null) { + current = createModelElement(grammarAccess.getAllPatternEntryRule()); + } + - newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); - - } + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); + pushFollow(FOLLOW_13); ruleQualifiedName(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - afterParserOrEnumRuleCall(); - - } + + afterParserOrEnumRuleCall(); + } } - // InternalApplicationConfiguration.g:1468:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? + // InternalApplicationConfiguration.g:1465:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? int alt23=2; int LA23_0 = input.LA(1); @@ -4555,56 +4084,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt23) { case 1 : - // InternalApplicationConfiguration.g:1469:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' + // InternalApplicationConfiguration.g:1466:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' { - otherlv_2=(Token)match(input,21,FOLLOW_14); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_2=(Token)match(input,21,FOLLOW_14); - newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); - - } - otherlv_3=(Token)match(input,17,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); + + otherlv_3=(Token)match(input,17,FOLLOW_6); - newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); - - } - // InternalApplicationConfiguration.g:1477:4: ( (lv_exclusuion_4_0= rulePatternElement ) ) - // InternalApplicationConfiguration.g:1478:5: (lv_exclusuion_4_0= rulePatternElement ) + newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); + + // InternalApplicationConfiguration.g:1474:4: ( (lv_exclusuion_4_0= rulePatternElement ) ) + // InternalApplicationConfiguration.g:1475:5: (lv_exclusuion_4_0= rulePatternElement ) { - // InternalApplicationConfiguration.g:1478:5: (lv_exclusuion_4_0= rulePatternElement ) - // InternalApplicationConfiguration.g:1479:6: lv_exclusuion_4_0= rulePatternElement + // InternalApplicationConfiguration.g:1475:5: (lv_exclusuion_4_0= rulePatternElement ) + // InternalApplicationConfiguration.g:1476:6: lv_exclusuion_4_0= rulePatternElement { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); - - } + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); + pushFollow(FOLLOW_12); lv_exclusuion_4_0=rulePatternElement(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); - } - add( - current, - "exclusuion", - lv_exclusuion_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); + } + add( + current, + "exclusuion", + lv_exclusuion_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); + afterParserOrEnumRuleCall(); + } } - // InternalApplicationConfiguration.g:1496:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* + // InternalApplicationConfiguration.g:1493:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* loop22: do { int alt22=2; @@ -4617,43 +4138,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl switch (alt22) { case 1 : - // InternalApplicationConfiguration.g:1497:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) + // InternalApplicationConfiguration.g:1494:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) { - otherlv_5=(Token)match(input,18,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_5=(Token)match(input,18,FOLLOW_6); - newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); - - } - // InternalApplicationConfiguration.g:1501:5: ( (lv_exclusuion_6_0= rulePatternElement ) ) - // InternalApplicationConfiguration.g:1502:6: (lv_exclusuion_6_0= rulePatternElement ) + newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); + + // InternalApplicationConfiguration.g:1498:5: ( (lv_exclusuion_6_0= rulePatternElement ) ) + // InternalApplicationConfiguration.g:1499:6: (lv_exclusuion_6_0= rulePatternElement ) { - // InternalApplicationConfiguration.g:1502:6: (lv_exclusuion_6_0= rulePatternElement ) - // InternalApplicationConfiguration.g:1503:7: lv_exclusuion_6_0= rulePatternElement + // InternalApplicationConfiguration.g:1499:6: (lv_exclusuion_6_0= rulePatternElement ) + // InternalApplicationConfiguration.g:1500:7: lv_exclusuion_6_0= rulePatternElement { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); - - } + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); + pushFollow(FOLLOW_12); lv_exclusuion_6_0=rulePatternElement(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); - } - add( - current, - "exclusuion", - lv_exclusuion_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); + } + add( + current, + "exclusuion", + lv_exclusuion_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); + afterParserOrEnumRuleCall(); + } @@ -4669,12 +4184,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } } while (true); - otherlv_7=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_7=(Token)match(input,19,FOLLOW_2); - newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); - - } + newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); + } break; @@ -4687,11 +4200,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -4706,7 +4217,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRulePatternElement" - // InternalApplicationConfiguration.g:1530:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ; + // InternalApplicationConfiguration.g:1527:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ; public final EObject entryRulePatternElement() throws RecognitionException { EObject current = null; @@ -4714,21 +4225,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1530:55: (iv_rulePatternElement= rulePatternElement EOF ) - // InternalApplicationConfiguration.g:1531:2: iv_rulePatternElement= rulePatternElement EOF + // InternalApplicationConfiguration.g:1527:55: (iv_rulePatternElement= rulePatternElement EOF ) + // InternalApplicationConfiguration.g:1528:2: iv_rulePatternElement= rulePatternElement EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getPatternElementRule()); - } + newCompositeNode(grammarAccess.getPatternElementRule()); pushFollow(FOLLOW_1); iv_rulePatternElement=rulePatternElement(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_rulePatternElement; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_rulePatternElement; + match(input,EOF,FOLLOW_2); } @@ -4746,7 +4253,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "rulePatternElement" - // InternalApplicationConfiguration.g:1537:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ; + // InternalApplicationConfiguration.g:1534:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ; public final EObject rulePatternElement() throws RecognitionException { EObject current = null; @@ -4757,13 +4264,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1543:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ) - // InternalApplicationConfiguration.g:1544:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1540:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ) + // InternalApplicationConfiguration.g:1541:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) { - // InternalApplicationConfiguration.g:1544:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:1545:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) + // InternalApplicationConfiguration.g:1541:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1542:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) { - // InternalApplicationConfiguration.g:1545:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? + // InternalApplicationConfiguration.g:1542:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? int alt24=2; int LA24_0 = input.LA(1); @@ -4776,73 +4283,61 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt24) { case 1 : - // InternalApplicationConfiguration.g:1546:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' + // InternalApplicationConfiguration.g:1543:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' { - // InternalApplicationConfiguration.g:1546:4: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:1547:5: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:1543:4: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:1544:5: ( ruleQualifiedName ) { - // InternalApplicationConfiguration.g:1547:5: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:1548:6: ruleQualifiedName + // InternalApplicationConfiguration.g:1544:5: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:1545:6: ruleQualifiedName { - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getPatternElementRule()); - } - - } - if ( state.backtracking==0 ) { + if (current==null) { + current = createModelElement(grammarAccess.getPatternElementRule()); + } + - newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); - - } + newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); + pushFollow(FOLLOW_15); ruleQualifiedName(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - afterParserOrEnumRuleCall(); - - } + + afterParserOrEnumRuleCall(); + } } - otherlv_1=(Token)match(input,22,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_1=(Token)match(input,22,FOLLOW_6); - newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); - - } + newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); + } break; } - // InternalApplicationConfiguration.g:1567:3: ( (otherlv_2= RULE_ID ) ) - // InternalApplicationConfiguration.g:1568:4: (otherlv_2= RULE_ID ) + // InternalApplicationConfiguration.g:1564:3: ( (otherlv_2= RULE_ID ) ) + // InternalApplicationConfiguration.g:1565:4: (otherlv_2= RULE_ID ) { - // InternalApplicationConfiguration.g:1568:4: (otherlv_2= RULE_ID ) - // InternalApplicationConfiguration.g:1569:5: otherlv_2= RULE_ID + // InternalApplicationConfiguration.g:1565:4: (otherlv_2= RULE_ID ) + // InternalApplicationConfiguration.g:1566:5: otherlv_2= RULE_ID { - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getPatternElementRule()); - } - - } - otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + if (current==null) { + current = createModelElement(grammarAccess.getPatternElementRule()); + } + + otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); - newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); - - } + newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); + } @@ -4855,11 +4350,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -4874,7 +4367,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleGraphPatternDeclaration" - // InternalApplicationConfiguration.g:1584:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ; + // InternalApplicationConfiguration.g:1581:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ; public final EObject entryRuleGraphPatternDeclaration() throws RecognitionException { EObject current = null; @@ -4882,21 +4375,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1584:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ) - // InternalApplicationConfiguration.g:1585:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF + // InternalApplicationConfiguration.g:1581:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ) + // InternalApplicationConfiguration.g:1582:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); - } + newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); pushFollow(FOLLOW_1); iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleGraphPatternDeclaration; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleGraphPatternDeclaration; + match(input,EOF,FOLLOW_2); } @@ -4914,7 +4403,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleGraphPatternDeclaration" - // InternalApplicationConfiguration.g:1591:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ; + // InternalApplicationConfiguration.g:1588:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ; public final EObject ruleGraphPatternDeclaration() throws RecognitionException { EObject current = null; @@ -4927,77 +4416,67 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1597:2: ( (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ) - // InternalApplicationConfiguration.g:1598:2: (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) + // InternalApplicationConfiguration.g:1594:2: ( (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ) + // InternalApplicationConfiguration.g:1595:2: (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) { - // InternalApplicationConfiguration.g:1598:2: (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) - // InternalApplicationConfiguration.g:1599:3: otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) + // InternalApplicationConfiguration.g:1595:2: (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) + // InternalApplicationConfiguration.g:1596:3: otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) { - otherlv_0=(Token)match(input,26,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_0=(Token)match(input,26,FOLLOW_6); - newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getPatternsKeyword_0()); - - } - // InternalApplicationConfiguration.g:1603:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1604:4: (lv_name_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getPatternsKeyword_0()); + + // InternalApplicationConfiguration.g:1600:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1601:4: (lv_name_1_0= RULE_ID ) { - // InternalApplicationConfiguration.g:1604:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:1605:5: lv_name_1_0= RULE_ID + // InternalApplicationConfiguration.g:1601:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:1602:5: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current; - if ( state.backtracking==0 ) { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); - newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - } - if ( state.backtracking==0 ) { + newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getGraphPatternDeclarationRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - - } + if (current==null) { + current = createModelElement(grammarAccess.getGraphPatternDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalApplicationConfiguration.g:1621:3: ( (lv_specification_2_0= rulePatternSpecification ) ) - // InternalApplicationConfiguration.g:1622:4: (lv_specification_2_0= rulePatternSpecification ) + // InternalApplicationConfiguration.g:1618:3: ( (lv_specification_2_0= rulePatternSpecification ) ) + // InternalApplicationConfiguration.g:1619:4: (lv_specification_2_0= rulePatternSpecification ) { - // InternalApplicationConfiguration.g:1622:4: (lv_specification_2_0= rulePatternSpecification ) - // InternalApplicationConfiguration.g:1623:5: lv_specification_2_0= rulePatternSpecification + // InternalApplicationConfiguration.g:1619:4: (lv_specification_2_0= rulePatternSpecification ) + // InternalApplicationConfiguration.g:1620:5: lv_specification_2_0= rulePatternSpecification { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); - - } + newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); + pushFollow(FOLLOW_2); lv_specification_2_0=rulePatternSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); - } - set( - current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); - afterParserOrEnumRuleCall(); - - } + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); + } + set( + current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); + afterParserOrEnumRuleCall(); + } @@ -5010,11 +4489,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -5029,7 +4506,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleGraphPatternReference" - // InternalApplicationConfiguration.g:1644:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ; + // InternalApplicationConfiguration.g:1641:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ; public final EObject entryRuleGraphPatternReference() throws RecognitionException { EObject current = null; @@ -5037,21 +4514,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1644:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ) - // InternalApplicationConfiguration.g:1645:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF + // InternalApplicationConfiguration.g:1641:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ) + // InternalApplicationConfiguration.g:1642:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); - } + newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); pushFollow(FOLLOW_1); iv_ruleGraphPatternReference=ruleGraphPatternReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleGraphPatternReference; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleGraphPatternReference; + match(input,EOF,FOLLOW_2); } @@ -5069,7 +4542,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleGraphPatternReference" - // InternalApplicationConfiguration.g:1651:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalApplicationConfiguration.g:1648:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleGraphPatternReference() throws RecognitionException { EObject current = null; @@ -5079,28 +4552,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1657:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:1658:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1654:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1655:2: ( (otherlv_0= RULE_ID ) ) { - // InternalApplicationConfiguration.g:1658:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1659:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:1655:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1656:3: (otherlv_0= RULE_ID ) { - // InternalApplicationConfiguration.g:1659:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:1660:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:1656:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:1657:4: otherlv_0= RULE_ID { - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); - } - - } - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + if (current==null) { + current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); + } + + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); - newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); - - } + newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); + } @@ -5110,11 +4579,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -5129,7 +4596,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleGraphPattern" - // InternalApplicationConfiguration.g:1674:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ; + // InternalApplicationConfiguration.g:1671:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ; public final EObject entryRuleGraphPattern() throws RecognitionException { EObject current = null; @@ -5137,21 +4604,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1674:53: (iv_ruleGraphPattern= ruleGraphPattern EOF ) - // InternalApplicationConfiguration.g:1675:2: iv_ruleGraphPattern= ruleGraphPattern EOF + // InternalApplicationConfiguration.g:1671:53: (iv_ruleGraphPattern= ruleGraphPattern EOF ) + // InternalApplicationConfiguration.g:1672:2: iv_ruleGraphPattern= ruleGraphPattern EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGraphPatternRule()); - } + newCompositeNode(grammarAccess.getGraphPatternRule()); pushFollow(FOLLOW_1); iv_ruleGraphPattern=ruleGraphPattern(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleGraphPattern; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleGraphPattern; + match(input,EOF,FOLLOW_2); } @@ -5169,7 +4632,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleGraphPattern" - // InternalApplicationConfiguration.g:1681:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ; + // InternalApplicationConfiguration.g:1678:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ; public final EObject ruleGraphPattern() throws RecognitionException { EObject current = null; @@ -5182,10 +4645,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1687:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ) - // InternalApplicationConfiguration.g:1688:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) + // InternalApplicationConfiguration.g:1684:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ) + // InternalApplicationConfiguration.g:1685:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) { - // InternalApplicationConfiguration.g:1688:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) + // InternalApplicationConfiguration.g:1685:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) int alt25=2; int LA25_0 = input.LA(1); @@ -5196,7 +4659,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl alt25=2; } else { - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 25, 0, input); @@ -5204,46 +4666,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt25) { case 1 : - // InternalApplicationConfiguration.g:1689:3: this_GraphPatternReference_0= ruleGraphPatternReference + // InternalApplicationConfiguration.g:1686:3: this_GraphPatternReference_0= ruleGraphPatternReference { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); - - } + newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); + pushFollow(FOLLOW_2); this_GraphPatternReference_0=ruleGraphPatternReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_GraphPatternReference_0; - afterParserOrEnumRuleCall(); - - } + + current = this_GraphPatternReference_0; + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalApplicationConfiguration.g:1698:3: this_PatternSpecification_1= rulePatternSpecification + // InternalApplicationConfiguration.g:1695:3: this_PatternSpecification_1= rulePatternSpecification { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); - - } + newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); + pushFollow(FOLLOW_2); this_PatternSpecification_1=rulePatternSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_PatternSpecification_1; - afterParserOrEnumRuleCall(); - - } + + current = this_PatternSpecification_1; + afterParserOrEnumRuleCall(); + } break; @@ -5253,11 +4707,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -5272,7 +4724,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleConfigSpecification" - // InternalApplicationConfiguration.g:1710:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ; + // InternalApplicationConfiguration.g:1707:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ; public final EObject entryRuleConfigSpecification() throws RecognitionException { EObject current = null; @@ -5280,21 +4732,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1710:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) - // InternalApplicationConfiguration.g:1711:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF + // InternalApplicationConfiguration.g:1707:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) + // InternalApplicationConfiguration.g:1708:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConfigSpecificationRule()); - } + newCompositeNode(grammarAccess.getConfigSpecificationRule()); pushFollow(FOLLOW_1); iv_ruleConfigSpecification=ruleConfigSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleConfigSpecification; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleConfigSpecification; + match(input,EOF,FOLLOW_2); } @@ -5312,7 +4760,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleConfigSpecification" - // InternalApplicationConfiguration.g:1717:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ; + // InternalApplicationConfiguration.g:1714:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ; public final EObject ruleConfigSpecification() throws RecognitionException { EObject current = null; @@ -5328,32 +4776,28 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1723:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:1724:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:1720:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:1721:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) { - // InternalApplicationConfiguration.g:1724:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:1725:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' + // InternalApplicationConfiguration.g:1721:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:1722:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' { - // InternalApplicationConfiguration.g:1725:3: () - // InternalApplicationConfiguration.g:1726:4: + // InternalApplicationConfiguration.g:1722:3: () + // InternalApplicationConfiguration.g:1723:4: { - if ( state.backtracking==0 ) { - current = forceCreateModelElement( - grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), - current); - - } + current = forceCreateModelElement( + grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), + current); + } - otherlv_1=(Token)match(input,17,FOLLOW_19); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_1=(Token)match(input,17,FOLLOW_19); - newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); - - } - // InternalApplicationConfiguration.g:1736:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? + newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); + + // InternalApplicationConfiguration.g:1733:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? int alt27=2; int LA27_0 = input.LA(1); @@ -5362,44 +4806,40 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt27) { case 1 : - // InternalApplicationConfiguration.g:1737:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* + // InternalApplicationConfiguration.g:1734:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* { - // InternalApplicationConfiguration.g:1737:4: ( (lv_entries_2_0= ruleConfigEntry ) ) - // InternalApplicationConfiguration.g:1738:5: (lv_entries_2_0= ruleConfigEntry ) + // InternalApplicationConfiguration.g:1734:4: ( (lv_entries_2_0= ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:1735:5: (lv_entries_2_0= ruleConfigEntry ) { - // InternalApplicationConfiguration.g:1738:5: (lv_entries_2_0= ruleConfigEntry ) - // InternalApplicationConfiguration.g:1739:6: lv_entries_2_0= ruleConfigEntry + // InternalApplicationConfiguration.g:1735:5: (lv_entries_2_0= ruleConfigEntry ) + // InternalApplicationConfiguration.g:1736:6: lv_entries_2_0= ruleConfigEntry { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); - - } + newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); + pushFollow(FOLLOW_12); lv_entries_2_0=ruleConfigEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); - } - add( - current, - "entries", - lv_entries_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); + } + add( + current, + "entries", + lv_entries_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); + afterParserOrEnumRuleCall(); + } } - // InternalApplicationConfiguration.g:1756:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* + // InternalApplicationConfiguration.g:1753:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* loop26: do { int alt26=2; @@ -5412,43 +4852,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl switch (alt26) { case 1 : - // InternalApplicationConfiguration.g:1757:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:1754:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) { - otherlv_3=(Token)match(input,18,FOLLOW_8); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_3=(Token)match(input,18,FOLLOW_8); - newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); - - } - // InternalApplicationConfiguration.g:1761:5: ( (lv_entries_4_0= ruleConfigEntry ) ) - // InternalApplicationConfiguration.g:1762:6: (lv_entries_4_0= ruleConfigEntry ) + newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); + + // InternalApplicationConfiguration.g:1758:5: ( (lv_entries_4_0= ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:1759:6: (lv_entries_4_0= ruleConfigEntry ) { - // InternalApplicationConfiguration.g:1762:6: (lv_entries_4_0= ruleConfigEntry ) - // InternalApplicationConfiguration.g:1763:7: lv_entries_4_0= ruleConfigEntry + // InternalApplicationConfiguration.g:1759:6: (lv_entries_4_0= ruleConfigEntry ) + // InternalApplicationConfiguration.g:1760:7: lv_entries_4_0= ruleConfigEntry { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); - - } + newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); + pushFollow(FOLLOW_12); lv_entries_4_0=ruleConfigEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); - } - add( - current, - "entries", - lv_entries_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); + } + add( + current, + "entries", + lv_entries_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); + afterParserOrEnumRuleCall(); + } @@ -5470,23 +4904,19 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_5=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_5=(Token)match(input,19,FOLLOW_2); - newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); - - } + newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); + } } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -5501,7 +4931,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleConfigDeclaration" - // InternalApplicationConfiguration.g:1790:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ; + // InternalApplicationConfiguration.g:1787:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ; public final EObject entryRuleConfigDeclaration() throws RecognitionException { EObject current = null; @@ -5509,21 +4939,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1790:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) - // InternalApplicationConfiguration.g:1791:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF + // InternalApplicationConfiguration.g:1787:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) + // InternalApplicationConfiguration.g:1788:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConfigDeclarationRule()); - } + newCompositeNode(grammarAccess.getConfigDeclarationRule()); pushFollow(FOLLOW_1); iv_ruleConfigDeclaration=ruleConfigDeclaration(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleConfigDeclaration; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleConfigDeclaration; + match(input,EOF,FOLLOW_2); } @@ -5541,7 +4967,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleConfigDeclaration" - // InternalApplicationConfiguration.g:1797:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ; + // InternalApplicationConfiguration.g:1794:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ; public final EObject ruleConfigDeclaration() throws RecognitionException { EObject current = null; @@ -5554,77 +4980,67 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1803:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ) - // InternalApplicationConfiguration.g:1804:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) + // InternalApplicationConfiguration.g:1800:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ) + // InternalApplicationConfiguration.g:1801:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) { - // InternalApplicationConfiguration.g:1804:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) - // InternalApplicationConfiguration.g:1805:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) + // InternalApplicationConfiguration.g:1801:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) + // InternalApplicationConfiguration.g:1802:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) { - otherlv_0=(Token)match(input,27,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_0=(Token)match(input,27,FOLLOW_6); - newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); - - } - // InternalApplicationConfiguration.g:1809:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1810:4: (lv_name_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); + + // InternalApplicationConfiguration.g:1806:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1807:4: (lv_name_1_0= RULE_ID ) { - // InternalApplicationConfiguration.g:1810:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:1811:5: lv_name_1_0= RULE_ID + // InternalApplicationConfiguration.g:1807:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:1808:5: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current; - if ( state.backtracking==0 ) { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); - newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - } - if ( state.backtracking==0 ) { + newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getConfigDeclarationRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - - } + if (current==null) { + current = createModelElement(grammarAccess.getConfigDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalApplicationConfiguration.g:1827:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) - // InternalApplicationConfiguration.g:1828:4: (lv_specification_2_0= ruleConfigSpecification ) + // InternalApplicationConfiguration.g:1824:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) + // InternalApplicationConfiguration.g:1825:4: (lv_specification_2_0= ruleConfigSpecification ) { - // InternalApplicationConfiguration.g:1828:4: (lv_specification_2_0= ruleConfigSpecification ) - // InternalApplicationConfiguration.g:1829:5: lv_specification_2_0= ruleConfigSpecification + // InternalApplicationConfiguration.g:1825:4: (lv_specification_2_0= ruleConfigSpecification ) + // InternalApplicationConfiguration.g:1826:5: lv_specification_2_0= ruleConfigSpecification { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); - - } + newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); + pushFollow(FOLLOW_2); lv_specification_2_0=ruleConfigSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); - } - set( - current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); - afterParserOrEnumRuleCall(); - - } + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); + } + set( + current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); + afterParserOrEnumRuleCall(); + } @@ -5637,11 +5053,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -5656,7 +5070,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleConfigEntry" - // InternalApplicationConfiguration.g:1850:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ; + // InternalApplicationConfiguration.g:1847:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ; public final EObject entryRuleConfigEntry() throws RecognitionException { EObject current = null; @@ -5664,21 +5078,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1850:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) - // InternalApplicationConfiguration.g:1851:2: iv_ruleConfigEntry= ruleConfigEntry EOF + // InternalApplicationConfiguration.g:1847:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) + // InternalApplicationConfiguration.g:1848:2: iv_ruleConfigEntry= ruleConfigEntry EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConfigEntryRule()); - } + newCompositeNode(grammarAccess.getConfigEntryRule()); pushFollow(FOLLOW_1); iv_ruleConfigEntry=ruleConfigEntry(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleConfigEntry; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleConfigEntry; + match(input,EOF,FOLLOW_2); } @@ -5696,7 +5106,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleConfigEntry" - // InternalApplicationConfiguration.g:1857:1: ruleConfigEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ; + // InternalApplicationConfiguration.g:1854:1: ruleConfigEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ; public final EObject ruleConfigEntry() throws RecognitionException { EObject current = null; @@ -5708,72 +5118,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1863:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) - // InternalApplicationConfiguration.g:1864:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:1860:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) + // InternalApplicationConfiguration.g:1861:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) { - // InternalApplicationConfiguration.g:1864:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:1865:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:1861:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:1862:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) { - // InternalApplicationConfiguration.g:1865:3: ( (lv_key_0_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:1866:4: (lv_key_0_0= RULE_STRING ) + // InternalApplicationConfiguration.g:1862:3: ( (lv_key_0_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:1863:4: (lv_key_0_0= RULE_STRING ) { - // InternalApplicationConfiguration.g:1866:4: (lv_key_0_0= RULE_STRING ) - // InternalApplicationConfiguration.g:1867:5: lv_key_0_0= RULE_STRING + // InternalApplicationConfiguration.g:1863:4: (lv_key_0_0= RULE_STRING ) + // InternalApplicationConfiguration.g:1864:5: lv_key_0_0= RULE_STRING { - lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_10); if (state.failed) return current; - if ( state.backtracking==0 ) { + lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_10); - newLeafNode(lv_key_0_0, grammarAccess.getConfigEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); - - } - if ( state.backtracking==0 ) { + newLeafNode(lv_key_0_0, grammarAccess.getConfigEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getConfigEntryRule()); - } - setWithLastConsumed( - current, - "key", - lv_key_0_0, - "org.eclipse.xtext.common.Terminals.STRING"); - - } + if (current==null) { + current = createModelElement(grammarAccess.getConfigEntryRule()); + } + setWithLastConsumed( + current, + "key", + lv_key_0_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } } - otherlv_1=(Token)match(input,16,FOLLOW_8); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_1=(Token)match(input,16,FOLLOW_8); - newLeafNode(otherlv_1, grammarAccess.getConfigEntryAccess().getEqualsSignKeyword_1()); - - } - // InternalApplicationConfiguration.g:1887:3: ( (lv_value_2_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:1888:4: (lv_value_2_0= RULE_STRING ) + newLeafNode(otherlv_1, grammarAccess.getConfigEntryAccess().getEqualsSignKeyword_1()); + + // InternalApplicationConfiguration.g:1884:3: ( (lv_value_2_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:1885:4: (lv_value_2_0= RULE_STRING ) { - // InternalApplicationConfiguration.g:1888:4: (lv_value_2_0= RULE_STRING ) - // InternalApplicationConfiguration.g:1889:5: lv_value_2_0= RULE_STRING + // InternalApplicationConfiguration.g:1885:4: (lv_value_2_0= RULE_STRING ) + // InternalApplicationConfiguration.g:1886:5: lv_value_2_0= RULE_STRING { - lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); - newLeafNode(lv_value_2_0, grammarAccess.getConfigEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); - - } - if ( state.backtracking==0 ) { + newLeafNode(lv_value_2_0, grammarAccess.getConfigEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getConfigEntryRule()); - } - setWithLastConsumed( - current, - "value", - lv_value_2_0, - "org.eclipse.xtext.common.Terminals.STRING"); - - } + if (current==null) { + current = createModelElement(grammarAccess.getConfigEntryRule()); + } + setWithLastConsumed( + current, + "value", + lv_value_2_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } @@ -5786,11 +5186,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -5805,7 +5203,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleConfigReference" - // InternalApplicationConfiguration.g:1909:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ; + // InternalApplicationConfiguration.g:1906:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ; public final EObject entryRuleConfigReference() throws RecognitionException { EObject current = null; @@ -5813,21 +5211,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1909:56: (iv_ruleConfigReference= ruleConfigReference EOF ) - // InternalApplicationConfiguration.g:1910:2: iv_ruleConfigReference= ruleConfigReference EOF + // InternalApplicationConfiguration.g:1906:56: (iv_ruleConfigReference= ruleConfigReference EOF ) + // InternalApplicationConfiguration.g:1907:2: iv_ruleConfigReference= ruleConfigReference EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConfigReferenceRule()); - } + newCompositeNode(grammarAccess.getConfigReferenceRule()); pushFollow(FOLLOW_1); iv_ruleConfigReference=ruleConfigReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleConfigReference; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleConfigReference; + match(input,EOF,FOLLOW_2); } @@ -5845,7 +5239,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleConfigReference" - // InternalApplicationConfiguration.g:1916:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalApplicationConfiguration.g:1913:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleConfigReference() throws RecognitionException { EObject current = null; @@ -5855,28 +5249,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1922:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:1923:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1919:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1920:2: ( (otherlv_0= RULE_ID ) ) { - // InternalApplicationConfiguration.g:1923:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1924:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:1920:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1921:3: (otherlv_0= RULE_ID ) { - // InternalApplicationConfiguration.g:1924:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:1925:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:1921:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:1922:4: otherlv_0= RULE_ID { - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getConfigReferenceRule()); - } - - } - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + if (current==null) { + current = createModelElement(grammarAccess.getConfigReferenceRule()); + } + + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); - newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); - - } + newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); + } @@ -5886,11 +5276,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -5905,7 +5293,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleConfig" - // InternalApplicationConfiguration.g:1939:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ; + // InternalApplicationConfiguration.g:1936:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ; public final EObject entryRuleConfig() throws RecognitionException { EObject current = null; @@ -5913,21 +5301,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1939:47: (iv_ruleConfig= ruleConfig EOF ) - // InternalApplicationConfiguration.g:1940:2: iv_ruleConfig= ruleConfig EOF + // InternalApplicationConfiguration.g:1936:47: (iv_ruleConfig= ruleConfig EOF ) + // InternalApplicationConfiguration.g:1937:2: iv_ruleConfig= ruleConfig EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConfigRule()); - } + newCompositeNode(grammarAccess.getConfigRule()); pushFollow(FOLLOW_1); iv_ruleConfig=ruleConfig(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleConfig; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleConfig; + match(input,EOF,FOLLOW_2); } @@ -5945,7 +5329,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleConfig" - // InternalApplicationConfiguration.g:1946:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ; + // InternalApplicationConfiguration.g:1943:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ; public final EObject ruleConfig() throws RecognitionException { EObject current = null; @@ -5958,10 +5342,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1952:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) - // InternalApplicationConfiguration.g:1953:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) + // InternalApplicationConfiguration.g:1949:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) + // InternalApplicationConfiguration.g:1950:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) { - // InternalApplicationConfiguration.g:1953:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) + // InternalApplicationConfiguration.g:1950:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) int alt28=2; int LA28_0 = input.LA(1); @@ -5972,7 +5356,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl alt28=2; } else { - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 28, 0, input); @@ -5980,46 +5363,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt28) { case 1 : - // InternalApplicationConfiguration.g:1954:3: this_ConfigSpecification_0= ruleConfigSpecification + // InternalApplicationConfiguration.g:1951:3: this_ConfigSpecification_0= ruleConfigSpecification { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); - - } + newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); + pushFollow(FOLLOW_2); this_ConfigSpecification_0=ruleConfigSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_ConfigSpecification_0; - afterParserOrEnumRuleCall(); - - } + + current = this_ConfigSpecification_0; + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalApplicationConfiguration.g:1963:3: this_ConfigReference_1= ruleConfigReference + // InternalApplicationConfiguration.g:1960:3: this_ConfigReference_1= ruleConfigReference { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); - - } + newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); + pushFollow(FOLLOW_2); this_ConfigReference_1=ruleConfigReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_ConfigReference_1; - afterParserOrEnumRuleCall(); - - } + + current = this_ConfigReference_1; + afterParserOrEnumRuleCall(); + } break; @@ -6029,11 +5404,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -6048,7 +5421,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleScopeSpecification" - // InternalApplicationConfiguration.g:1975:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ; + // InternalApplicationConfiguration.g:1972:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ; public final EObject entryRuleScopeSpecification() throws RecognitionException { EObject current = null; @@ -6056,21 +5429,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1975:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) - // InternalApplicationConfiguration.g:1976:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF + // InternalApplicationConfiguration.g:1972:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) + // InternalApplicationConfiguration.g:1973:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getScopeSpecificationRule()); - } + newCompositeNode(grammarAccess.getScopeSpecificationRule()); pushFollow(FOLLOW_1); iv_ruleScopeSpecification=ruleScopeSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleScopeSpecification; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleScopeSpecification; + match(input,EOF,FOLLOW_2); } @@ -6088,7 +5457,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleScopeSpecification" - // InternalApplicationConfiguration.g:1982:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ; + // InternalApplicationConfiguration.g:1979:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ; public final EObject ruleScopeSpecification() throws RecognitionException { EObject current = null; @@ -6104,32 +5473,28 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1988:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:1989:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:1985:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:1986:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) { - // InternalApplicationConfiguration.g:1989:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:1990:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' + // InternalApplicationConfiguration.g:1986:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:1987:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' { - // InternalApplicationConfiguration.g:1990:3: () - // InternalApplicationConfiguration.g:1991:4: + // InternalApplicationConfiguration.g:1987:3: () + // InternalApplicationConfiguration.g:1988:4: { - if ( state.backtracking==0 ) { - current = forceCreateModelElement( - grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), - current); - - } + current = forceCreateModelElement( + grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), + current); + } - otherlv_1=(Token)match(input,17,FOLLOW_20); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_1=(Token)match(input,17,FOLLOW_20); - newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); - - } - // InternalApplicationConfiguration.g:2001:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? + newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); + + // InternalApplicationConfiguration.g:1998:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? int alt30=2; int LA30_0 = input.LA(1); @@ -6138,44 +5503,40 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt30) { case 1 : - // InternalApplicationConfiguration.g:2002:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* + // InternalApplicationConfiguration.g:1999:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* { - // InternalApplicationConfiguration.g:2002:4: ( (lv_scopes_2_0= ruleTypeScope ) ) - // InternalApplicationConfiguration.g:2003:5: (lv_scopes_2_0= ruleTypeScope ) + // InternalApplicationConfiguration.g:1999:4: ( (lv_scopes_2_0= ruleTypeScope ) ) + // InternalApplicationConfiguration.g:2000:5: (lv_scopes_2_0= ruleTypeScope ) { - // InternalApplicationConfiguration.g:2003:5: (lv_scopes_2_0= ruleTypeScope ) - // InternalApplicationConfiguration.g:2004:6: lv_scopes_2_0= ruleTypeScope + // InternalApplicationConfiguration.g:2000:5: (lv_scopes_2_0= ruleTypeScope ) + // InternalApplicationConfiguration.g:2001:6: lv_scopes_2_0= ruleTypeScope { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); - - } + newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); + pushFollow(FOLLOW_12); lv_scopes_2_0=ruleTypeScope(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); - } - add( - current, - "scopes", - lv_scopes_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); + } + add( + current, + "scopes", + lv_scopes_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); + afterParserOrEnumRuleCall(); + } } - // InternalApplicationConfiguration.g:2021:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* + // InternalApplicationConfiguration.g:2018:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* loop29: do { int alt29=2; @@ -6188,43 +5549,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl switch (alt29) { case 1 : - // InternalApplicationConfiguration.g:2022:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) + // InternalApplicationConfiguration.g:2019:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) { - otherlv_3=(Token)match(input,18,FOLLOW_21); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_3=(Token)match(input,18,FOLLOW_21); - newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); - - } - // InternalApplicationConfiguration.g:2026:5: ( (lv_scopes_4_0= ruleTypeScope ) ) - // InternalApplicationConfiguration.g:2027:6: (lv_scopes_4_0= ruleTypeScope ) + newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); + + // InternalApplicationConfiguration.g:2023:5: ( (lv_scopes_4_0= ruleTypeScope ) ) + // InternalApplicationConfiguration.g:2024:6: (lv_scopes_4_0= ruleTypeScope ) { - // InternalApplicationConfiguration.g:2027:6: (lv_scopes_4_0= ruleTypeScope ) - // InternalApplicationConfiguration.g:2028:7: lv_scopes_4_0= ruleTypeScope + // InternalApplicationConfiguration.g:2024:6: (lv_scopes_4_0= ruleTypeScope ) + // InternalApplicationConfiguration.g:2025:7: lv_scopes_4_0= ruleTypeScope { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); - - } + newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); + pushFollow(FOLLOW_12); lv_scopes_4_0=ruleTypeScope(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); - } - add( - current, - "scopes", - lv_scopes_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); + } + add( + current, + "scopes", + lv_scopes_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); + afterParserOrEnumRuleCall(); + } @@ -6246,23 +5601,19 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_5=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_5=(Token)match(input,19,FOLLOW_2); - newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); - - } + newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); + } } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -6277,7 +5628,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleTypeScope" - // InternalApplicationConfiguration.g:2055:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ; + // InternalApplicationConfiguration.g:2052:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ; public final EObject entryRuleTypeScope() throws RecognitionException { EObject current = null; @@ -6285,21 +5636,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2055:50: (iv_ruleTypeScope= ruleTypeScope EOF ) - // InternalApplicationConfiguration.g:2056:2: iv_ruleTypeScope= ruleTypeScope EOF + // InternalApplicationConfiguration.g:2052:50: (iv_ruleTypeScope= ruleTypeScope EOF ) + // InternalApplicationConfiguration.g:2053:2: iv_ruleTypeScope= ruleTypeScope EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getTypeScopeRule()); - } + newCompositeNode(grammarAccess.getTypeScopeRule()); pushFollow(FOLLOW_1); iv_ruleTypeScope=ruleTypeScope(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleTypeScope; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleTypeScope; + match(input,EOF,FOLLOW_2); } @@ -6317,7 +5664,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleTypeScope" - // InternalApplicationConfiguration.g:2062:1: ruleTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) ; + // InternalApplicationConfiguration.g:2059:1: ruleTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) ; public final EObject ruleTypeScope() throws RecognitionException { EObject current = null; @@ -6335,54 +5682,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2068:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) ) - // InternalApplicationConfiguration.g:2069:2: (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) + // InternalApplicationConfiguration.g:2065:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) ) + // InternalApplicationConfiguration.g:2066:2: (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) { - // InternalApplicationConfiguration.g:2069:2: (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) - // InternalApplicationConfiguration.g:2070:3: otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? + // InternalApplicationConfiguration.g:2066:2: (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) + // InternalApplicationConfiguration.g:2067:3: otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? { - otherlv_0=(Token)match(input,28,FOLLOW_22); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_0=(Token)match(input,28,FOLLOW_22); - newLeafNode(otherlv_0, grammarAccess.getTypeScopeAccess().getNumberSignKeyword_0()); - - } - // InternalApplicationConfiguration.g:2074:3: ( (lv_type_1_0= ruleTypeReference ) ) - // InternalApplicationConfiguration.g:2075:4: (lv_type_1_0= ruleTypeReference ) + newLeafNode(otherlv_0, grammarAccess.getTypeScopeAccess().getNumberSignKeyword_0()); + + // InternalApplicationConfiguration.g:2071:3: ( (lv_type_1_0= ruleTypeReference ) ) + // InternalApplicationConfiguration.g:2072:4: (lv_type_1_0= ruleTypeReference ) { - // InternalApplicationConfiguration.g:2075:4: (lv_type_1_0= ruleTypeReference ) - // InternalApplicationConfiguration.g:2076:5: lv_type_1_0= ruleTypeReference + // InternalApplicationConfiguration.g:2072:4: (lv_type_1_0= ruleTypeReference ) + // InternalApplicationConfiguration.g:2073:5: lv_type_1_0= ruleTypeReference { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getTypeScopeAccess().getTypeTypeReferenceParserRuleCall_1_0()); - - } + newCompositeNode(grammarAccess.getTypeScopeAccess().getTypeTypeReferenceParserRuleCall_1_0()); + pushFollow(FOLLOW_23); lv_type_1_0=ruleTypeReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getTypeScopeRule()); - } - set( - current, - "type", - lv_type_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); - afterParserOrEnumRuleCall(); - - } + + if (current==null) { + current = createModelElementForParent(grammarAccess.getTypeScopeRule()); + } + set( + current, + "type", + lv_type_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); + afterParserOrEnumRuleCall(); + } } - // InternalApplicationConfiguration.g:2093:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + // InternalApplicationConfiguration.g:2090:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) int alt31=2; int LA31_0 = input.LA(1); @@ -6393,7 +5734,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl alt31=2; } else { - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 31, 0, input); @@ -6401,28 +5741,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt31) { case 1 : - // InternalApplicationConfiguration.g:2094:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:2091:4: ( (lv_setsNew_2_0= '+=' ) ) { - // InternalApplicationConfiguration.g:2094:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:2095:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:2091:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:2092:5: (lv_setsNew_2_0= '+=' ) { - // InternalApplicationConfiguration.g:2095:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:2096:6: lv_setsNew_2_0= '+=' + // InternalApplicationConfiguration.g:2092:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:2093:6: lv_setsNew_2_0= '+=' { - lv_setsNew_2_0=(Token)match(input,29,FOLLOW_24); if (state.failed) return current; - if ( state.backtracking==0 ) { + lv_setsNew_2_0=(Token)match(input,29,FOLLOW_24); - newLeafNode(lv_setsNew_2_0, grammarAccess.getTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - - } - if ( state.backtracking==0 ) { + newLeafNode(lv_setsNew_2_0, grammarAccess.getTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getTypeScopeRule()); - } - setWithLastConsumed(current, "setsNew", true, "+="); - - } + if (current==null) { + current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed(current, "setsNew", true, "+="); + } @@ -6433,28 +5769,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:2109:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:2106:4: ( (lv_setsSum_3_0= '=' ) ) { - // InternalApplicationConfiguration.g:2109:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:2110:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:2106:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:2107:5: (lv_setsSum_3_0= '=' ) { - // InternalApplicationConfiguration.g:2110:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:2111:6: lv_setsSum_3_0= '=' + // InternalApplicationConfiguration.g:2107:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:2108:6: lv_setsSum_3_0= '=' { - lv_setsSum_3_0=(Token)match(input,16,FOLLOW_24); if (state.failed) return current; - if ( state.backtracking==0 ) { + lv_setsSum_3_0=(Token)match(input,16,FOLLOW_24); - newLeafNode(lv_setsSum_3_0, grammarAccess.getTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - - } - if ( state.backtracking==0 ) { + newLeafNode(lv_setsSum_3_0, grammarAccess.getTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getTypeScopeRule()); - } - setWithLastConsumed(current, "setsSum", true, "="); - - } + if (current==null) { + current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed(current, "setsSum", true, "="); + } @@ -6467,37 +5799,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:2124:3: ( (lv_min_4_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:2125:4: (lv_min_4_0= RULE_INT ) + // InternalApplicationConfiguration.g:2121:3: ( (lv_min_4_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2122:4: (lv_min_4_0= RULE_INT ) { - // InternalApplicationConfiguration.g:2125:4: (lv_min_4_0= RULE_INT ) - // InternalApplicationConfiguration.g:2126:5: lv_min_4_0= RULE_INT + // InternalApplicationConfiguration.g:2122:4: (lv_min_4_0= RULE_INT ) + // InternalApplicationConfiguration.g:2123:5: lv_min_4_0= RULE_INT { - lv_min_4_0=(Token)match(input,RULE_INT,FOLLOW_25); if (state.failed) return current; - if ( state.backtracking==0 ) { + lv_min_4_0=(Token)match(input,RULE_INT,FOLLOW_25); - newLeafNode(lv_min_4_0, grammarAccess.getTypeScopeAccess().getMinINTTerminalRuleCall_3_0()); - - } - if ( state.backtracking==0 ) { + newLeafNode(lv_min_4_0, grammarAccess.getTypeScopeAccess().getMinINTTerminalRuleCall_3_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getTypeScopeRule()); - } - setWithLastConsumed( - current, - "min", - lv_min_4_0, - "org.eclipse.xtext.common.Terminals.INT"); - - } + if (current==null) { + current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed( + current, + "min", + lv_min_4_0, + "org.eclipse.xtext.common.Terminals.INT"); + } } - // InternalApplicationConfiguration.g:2142:3: (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? + // InternalApplicationConfiguration.g:2139:3: (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? int alt33=2; int LA33_0 = input.LA(1); @@ -6506,15 +5834,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt33) { case 1 : - // InternalApplicationConfiguration.g:2143:4: otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2140:4: otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) { - otherlv_5=(Token)match(input,30,FOLLOW_26); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_5=(Token)match(input,30,FOLLOW_26); - newLeafNode(otherlv_5, grammarAccess.getTypeScopeAccess().getFullStopFullStopKeyword_4_0()); - - } - // InternalApplicationConfiguration.g:2147:4: ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) + newLeafNode(otherlv_5, grammarAccess.getTypeScopeAccess().getFullStopFullStopKeyword_4_0()); + + // InternalApplicationConfiguration.g:2144:4: ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) int alt32=2; int LA32_0 = input.LA(1); @@ -6525,7 +5851,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl alt32=2; } else { - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 32, 0, input); @@ -6533,28 +5858,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt32) { case 1 : - // InternalApplicationConfiguration.g:2148:5: ( (lv_maxUnlimited_6_0= '*' ) ) + // InternalApplicationConfiguration.g:2145:5: ( (lv_maxUnlimited_6_0= '*' ) ) { - // InternalApplicationConfiguration.g:2148:5: ( (lv_maxUnlimited_6_0= '*' ) ) - // InternalApplicationConfiguration.g:2149:6: (lv_maxUnlimited_6_0= '*' ) + // InternalApplicationConfiguration.g:2145:5: ( (lv_maxUnlimited_6_0= '*' ) ) + // InternalApplicationConfiguration.g:2146:6: (lv_maxUnlimited_6_0= '*' ) { - // InternalApplicationConfiguration.g:2149:6: (lv_maxUnlimited_6_0= '*' ) - // InternalApplicationConfiguration.g:2150:7: lv_maxUnlimited_6_0= '*' + // InternalApplicationConfiguration.g:2146:6: (lv_maxUnlimited_6_0= '*' ) + // InternalApplicationConfiguration.g:2147:7: lv_maxUnlimited_6_0= '*' { - lv_maxUnlimited_6_0=(Token)match(input,31,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + lv_maxUnlimited_6_0=(Token)match(input,31,FOLLOW_2); - newLeafNode(lv_maxUnlimited_6_0, grammarAccess.getTypeScopeAccess().getMaxUnlimitedAsteriskKeyword_4_1_0_0()); - - } - if ( state.backtracking==0 ) { + newLeafNode(lv_maxUnlimited_6_0, grammarAccess.getTypeScopeAccess().getMaxUnlimitedAsteriskKeyword_4_1_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getTypeScopeRule()); - } - setWithLastConsumed(current, "maxUnlimited", true, "*"); - - } + if (current==null) { + current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed(current, "maxUnlimited", true, "*"); + } @@ -6565,32 +5886,28 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:2163:5: ( (lv_max_7_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2160:5: ( (lv_max_7_0= RULE_INT ) ) { - // InternalApplicationConfiguration.g:2163:5: ( (lv_max_7_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:2164:6: (lv_max_7_0= RULE_INT ) + // InternalApplicationConfiguration.g:2160:5: ( (lv_max_7_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2161:6: (lv_max_7_0= RULE_INT ) { - // InternalApplicationConfiguration.g:2164:6: (lv_max_7_0= RULE_INT ) - // InternalApplicationConfiguration.g:2165:7: lv_max_7_0= RULE_INT + // InternalApplicationConfiguration.g:2161:6: (lv_max_7_0= RULE_INT ) + // InternalApplicationConfiguration.g:2162:7: lv_max_7_0= RULE_INT { - lv_max_7_0=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + lv_max_7_0=(Token)match(input,RULE_INT,FOLLOW_2); - newLeafNode(lv_max_7_0, grammarAccess.getTypeScopeAccess().getMaxINTTerminalRuleCall_4_1_1_0()); - - } - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getTypeScopeRule()); - } - setWithLastConsumed( - current, - "max", - lv_max_7_0, - "org.eclipse.xtext.common.Terminals.INT"); - - } + newLeafNode(lv_max_7_0, grammarAccess.getTypeScopeAccess().getMaxINTTerminalRuleCall_4_1_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed( + current, + "max", + lv_max_7_0, + "org.eclipse.xtext.common.Terminals.INT"); + } @@ -6615,11 +5932,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -6634,7 +5949,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleTypeReference" - // InternalApplicationConfiguration.g:2187:1: entryRuleTypeReference returns [EObject current=null] : iv_ruleTypeReference= ruleTypeReference EOF ; + // InternalApplicationConfiguration.g:2184:1: entryRuleTypeReference returns [EObject current=null] : iv_ruleTypeReference= ruleTypeReference EOF ; public final EObject entryRuleTypeReference() throws RecognitionException { EObject current = null; @@ -6642,21 +5957,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2187:54: (iv_ruleTypeReference= ruleTypeReference EOF ) - // InternalApplicationConfiguration.g:2188:2: iv_ruleTypeReference= ruleTypeReference EOF + // InternalApplicationConfiguration.g:2184:54: (iv_ruleTypeReference= ruleTypeReference EOF ) + // InternalApplicationConfiguration.g:2185:2: iv_ruleTypeReference= ruleTypeReference EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getTypeReferenceRule()); - } + newCompositeNode(grammarAccess.getTypeReferenceRule()); pushFollow(FOLLOW_1); iv_ruleTypeReference=ruleTypeReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleTypeReference; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleTypeReference; + match(input,EOF,FOLLOW_2); } @@ -6674,7 +5985,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleTypeReference" - // InternalApplicationConfiguration.g:2194:1: ruleTypeReference returns [EObject current=null] : (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) ; + // InternalApplicationConfiguration.g:2191:1: ruleTypeReference returns [EObject current=null] : (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) ; public final EObject ruleTypeReference() throws RecognitionException { EObject current = null; @@ -6693,10 +6004,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2200:2: ( (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) ) - // InternalApplicationConfiguration.g:2201:2: (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) + // InternalApplicationConfiguration.g:2197:2: ( (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) ) + // InternalApplicationConfiguration.g:2198:2: (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) { - // InternalApplicationConfiguration.g:2201:2: (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) + // InternalApplicationConfiguration.g:2198:2: (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) int alt34=5; switch ( input.LA(1) ) { case 32: @@ -6725,7 +6036,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; default: - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 34, 0, input); @@ -6734,112 +6044,92 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl switch (alt34) { case 1 : - // InternalApplicationConfiguration.g:2202:3: this_ClassReference_0= ruleClassReference + // InternalApplicationConfiguration.g:2199:3: this_ClassReference_0= ruleClassReference { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getTypeReferenceAccess().getClassReferenceParserRuleCall_0()); - - } + newCompositeNode(grammarAccess.getTypeReferenceAccess().getClassReferenceParserRuleCall_0()); + pushFollow(FOLLOW_2); this_ClassReference_0=ruleClassReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_ClassReference_0; - afterParserOrEnumRuleCall(); - - } + + current = this_ClassReference_0; + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalApplicationConfiguration.g:2211:3: this_ObjectReference_1= ruleObjectReference + // InternalApplicationConfiguration.g:2208:3: this_ObjectReference_1= ruleObjectReference { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getTypeReferenceAccess().getObjectReferenceParserRuleCall_1()); - - } + newCompositeNode(grammarAccess.getTypeReferenceAccess().getObjectReferenceParserRuleCall_1()); + pushFollow(FOLLOW_2); this_ObjectReference_1=ruleObjectReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_ObjectReference_1; - afterParserOrEnumRuleCall(); - - } + + current = this_ObjectReference_1; + afterParserOrEnumRuleCall(); + } break; case 3 : - // InternalApplicationConfiguration.g:2220:3: this_IntegerReference_2= ruleIntegerReference + // InternalApplicationConfiguration.g:2217:3: this_IntegerReference_2= ruleIntegerReference { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getTypeReferenceAccess().getIntegerReferenceParserRuleCall_2()); - - } + newCompositeNode(grammarAccess.getTypeReferenceAccess().getIntegerReferenceParserRuleCall_2()); + pushFollow(FOLLOW_2); this_IntegerReference_2=ruleIntegerReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_IntegerReference_2; - afterParserOrEnumRuleCall(); - - } + + current = this_IntegerReference_2; + afterParserOrEnumRuleCall(); + } break; case 4 : - // InternalApplicationConfiguration.g:2229:3: this_RealReference_3= ruleRealReference + // InternalApplicationConfiguration.g:2226:3: this_RealReference_3= ruleRealReference { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getTypeReferenceAccess().getRealReferenceParserRuleCall_3()); - - } + newCompositeNode(grammarAccess.getTypeReferenceAccess().getRealReferenceParserRuleCall_3()); + pushFollow(FOLLOW_2); this_RealReference_3=ruleRealReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_RealReference_3; - afterParserOrEnumRuleCall(); - - } + + current = this_RealReference_3; + afterParserOrEnumRuleCall(); + } break; case 5 : - // InternalApplicationConfiguration.g:2238:3: this_StringReference_4= ruleStringReference + // InternalApplicationConfiguration.g:2235:3: this_StringReference_4= ruleStringReference { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getTypeReferenceAccess().getStringReferenceParserRuleCall_4()); - - } + newCompositeNode(grammarAccess.getTypeReferenceAccess().getStringReferenceParserRuleCall_4()); + pushFollow(FOLLOW_2); this_StringReference_4=ruleStringReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_StringReference_4; - afterParserOrEnumRuleCall(); - - } + + current = this_StringReference_4; + afterParserOrEnumRuleCall(); + } break; @@ -6849,11 +6139,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -6868,7 +6156,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleClassReference" - // InternalApplicationConfiguration.g:2250:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ; + // InternalApplicationConfiguration.g:2247:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ; public final EObject entryRuleClassReference() throws RecognitionException { EObject current = null; @@ -6876,21 +6164,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2250:55: (iv_ruleClassReference= ruleClassReference EOF ) - // InternalApplicationConfiguration.g:2251:2: iv_ruleClassReference= ruleClassReference EOF + // InternalApplicationConfiguration.g:2247:55: (iv_ruleClassReference= ruleClassReference EOF ) + // InternalApplicationConfiguration.g:2248:2: iv_ruleClassReference= ruleClassReference EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getClassReferenceRule()); - } + newCompositeNode(grammarAccess.getClassReferenceRule()); pushFollow(FOLLOW_1); iv_ruleClassReference=ruleClassReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleClassReference; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleClassReference; + match(input,EOF,FOLLOW_2); } @@ -6908,7 +6192,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleClassReference" - // InternalApplicationConfiguration.g:2257:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) ; + // InternalApplicationConfiguration.g:2254:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) ; public final EObject ruleClassReference() throws RecognitionException { EObject current = null; @@ -6921,70 +6205,60 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2263:2: ( (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) ) - // InternalApplicationConfiguration.g:2264:2: (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) + // InternalApplicationConfiguration.g:2260:2: ( (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) ) + // InternalApplicationConfiguration.g:2261:2: (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) { - // InternalApplicationConfiguration.g:2264:2: (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) - // InternalApplicationConfiguration.g:2265:3: otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' + // InternalApplicationConfiguration.g:2261:2: (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) + // InternalApplicationConfiguration.g:2262:3: otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' { - otherlv_0=(Token)match(input,32,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_0=(Token)match(input,32,FOLLOW_6); - newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLeftSquareBracketKeyword_0()); - - } - // InternalApplicationConfiguration.g:2269:3: ( (lv_element_1_0= ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:2270:4: (lv_element_1_0= ruleMetamodelElement ) + newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLeftSquareBracketKeyword_0()); + + // InternalApplicationConfiguration.g:2266:3: ( (lv_element_1_0= ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:2267:4: (lv_element_1_0= ruleMetamodelElement ) { - // InternalApplicationConfiguration.g:2270:4: (lv_element_1_0= ruleMetamodelElement ) - // InternalApplicationConfiguration.g:2271:5: lv_element_1_0= ruleMetamodelElement + // InternalApplicationConfiguration.g:2267:4: (lv_element_1_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:2268:5: lv_element_1_0= ruleMetamodelElement { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); - - } + newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); + pushFollow(FOLLOW_27); lv_element_1_0=ruleMetamodelElement(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getClassReferenceRule()); - } - set( - current, - "element", - lv_element_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); - afterParserOrEnumRuleCall(); - - } + + if (current==null) { + current = createModelElementForParent(grammarAccess.getClassReferenceRule()); + } + set( + current, + "element", + lv_element_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); + afterParserOrEnumRuleCall(); + } } - otherlv_2=(Token)match(input,33,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_2=(Token)match(input,33,FOLLOW_2); - newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getRightSquareBracketKeyword_2()); - - } + newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getRightSquareBracketKeyword_2()); + } } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -6999,7 +6273,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleObjectReference" - // InternalApplicationConfiguration.g:2296:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; + // InternalApplicationConfiguration.g:2293:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; public final EObject entryRuleObjectReference() throws RecognitionException { EObject current = null; @@ -7007,21 +6281,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2296:56: (iv_ruleObjectReference= ruleObjectReference EOF ) - // InternalApplicationConfiguration.g:2297:2: iv_ruleObjectReference= ruleObjectReference EOF + // InternalApplicationConfiguration.g:2293:56: (iv_ruleObjectReference= ruleObjectReference EOF ) + // InternalApplicationConfiguration.g:2294:2: iv_ruleObjectReference= ruleObjectReference EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getObjectReferenceRule()); - } + newCompositeNode(grammarAccess.getObjectReferenceRule()); pushFollow(FOLLOW_1); iv_ruleObjectReference=ruleObjectReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleObjectReference; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleObjectReference; + match(input,EOF,FOLLOW_2); } @@ -7039,7 +6309,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleObjectReference" - // InternalApplicationConfiguration.g:2303:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'Object' ) ; + // InternalApplicationConfiguration.g:2300:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'node' ) ; public final EObject ruleObjectReference() throws RecognitionException { EObject current = null; @@ -7049,42 +6319,36 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2309:2: ( ( () otherlv_1= 'Object' ) ) - // InternalApplicationConfiguration.g:2310:2: ( () otherlv_1= 'Object' ) + // InternalApplicationConfiguration.g:2306:2: ( ( () otherlv_1= 'node' ) ) + // InternalApplicationConfiguration.g:2307:2: ( () otherlv_1= 'node' ) { - // InternalApplicationConfiguration.g:2310:2: ( () otherlv_1= 'Object' ) - // InternalApplicationConfiguration.g:2311:3: () otherlv_1= 'Object' + // InternalApplicationConfiguration.g:2307:2: ( () otherlv_1= 'node' ) + // InternalApplicationConfiguration.g:2308:3: () otherlv_1= 'node' { - // InternalApplicationConfiguration.g:2311:3: () - // InternalApplicationConfiguration.g:2312:4: + // InternalApplicationConfiguration.g:2308:3: () + // InternalApplicationConfiguration.g:2309:4: { - if ( state.backtracking==0 ) { - current = forceCreateModelElement( - grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), - current); - - } + current = forceCreateModelElement( + grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), + current); + } - otherlv_1=(Token)match(input,34,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_1=(Token)match(input,34,FOLLOW_2); - newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getObjectKeyword_1()); - - } + newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); + } } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -7099,7 +6363,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleIntegerReference" - // InternalApplicationConfiguration.g:2326:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; + // InternalApplicationConfiguration.g:2323:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; public final EObject entryRuleIntegerReference() throws RecognitionException { EObject current = null; @@ -7107,21 +6371,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2326:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) - // InternalApplicationConfiguration.g:2327:2: iv_ruleIntegerReference= ruleIntegerReference EOF + // InternalApplicationConfiguration.g:2323:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) + // InternalApplicationConfiguration.g:2324:2: iv_ruleIntegerReference= ruleIntegerReference EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getIntegerReferenceRule()); - } + newCompositeNode(grammarAccess.getIntegerReferenceRule()); pushFollow(FOLLOW_1); iv_ruleIntegerReference=ruleIntegerReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleIntegerReference; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleIntegerReference; + match(input,EOF,FOLLOW_2); } @@ -7139,7 +6399,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleIntegerReference" - // InternalApplicationConfiguration.g:2333:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; + // InternalApplicationConfiguration.g:2330:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; public final EObject ruleIntegerReference() throws RecognitionException { EObject current = null; @@ -7149,42 +6409,36 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2339:2: ( ( () otherlv_1= 'int' ) ) - // InternalApplicationConfiguration.g:2340:2: ( () otherlv_1= 'int' ) + // InternalApplicationConfiguration.g:2336:2: ( ( () otherlv_1= 'int' ) ) + // InternalApplicationConfiguration.g:2337:2: ( () otherlv_1= 'int' ) { - // InternalApplicationConfiguration.g:2340:2: ( () otherlv_1= 'int' ) - // InternalApplicationConfiguration.g:2341:3: () otherlv_1= 'int' + // InternalApplicationConfiguration.g:2337:2: ( () otherlv_1= 'int' ) + // InternalApplicationConfiguration.g:2338:3: () otherlv_1= 'int' { - // InternalApplicationConfiguration.g:2341:3: () - // InternalApplicationConfiguration.g:2342:4: + // InternalApplicationConfiguration.g:2338:3: () + // InternalApplicationConfiguration.g:2339:4: { - if ( state.backtracking==0 ) { - current = forceCreateModelElement( - grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), - current); - - } + current = forceCreateModelElement( + grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), + current); + } - otherlv_1=(Token)match(input,35,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_1=(Token)match(input,35,FOLLOW_2); - newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); - - } + newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); + } } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -7199,7 +6453,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleRealReference" - // InternalApplicationConfiguration.g:2356:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; + // InternalApplicationConfiguration.g:2353:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; public final EObject entryRuleRealReference() throws RecognitionException { EObject current = null; @@ -7207,21 +6461,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2356:54: (iv_ruleRealReference= ruleRealReference EOF ) - // InternalApplicationConfiguration.g:2357:2: iv_ruleRealReference= ruleRealReference EOF + // InternalApplicationConfiguration.g:2353:54: (iv_ruleRealReference= ruleRealReference EOF ) + // InternalApplicationConfiguration.g:2354:2: iv_ruleRealReference= ruleRealReference EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getRealReferenceRule()); - } + newCompositeNode(grammarAccess.getRealReferenceRule()); pushFollow(FOLLOW_1); iv_ruleRealReference=ruleRealReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleRealReference; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleRealReference; + match(input,EOF,FOLLOW_2); } @@ -7239,7 +6489,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleRealReference" - // InternalApplicationConfiguration.g:2363:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; + // InternalApplicationConfiguration.g:2360:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; public final EObject ruleRealReference() throws RecognitionException { EObject current = null; @@ -7249,42 +6499,36 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2369:2: ( ( () otherlv_1= 'real' ) ) - // InternalApplicationConfiguration.g:2370:2: ( () otherlv_1= 'real' ) + // InternalApplicationConfiguration.g:2366:2: ( ( () otherlv_1= 'real' ) ) + // InternalApplicationConfiguration.g:2367:2: ( () otherlv_1= 'real' ) { - // InternalApplicationConfiguration.g:2370:2: ( () otherlv_1= 'real' ) - // InternalApplicationConfiguration.g:2371:3: () otherlv_1= 'real' + // InternalApplicationConfiguration.g:2367:2: ( () otherlv_1= 'real' ) + // InternalApplicationConfiguration.g:2368:3: () otherlv_1= 'real' { - // InternalApplicationConfiguration.g:2371:3: () - // InternalApplicationConfiguration.g:2372:4: + // InternalApplicationConfiguration.g:2368:3: () + // InternalApplicationConfiguration.g:2369:4: { - if ( state.backtracking==0 ) { - current = forceCreateModelElement( - grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), - current); - - } + current = forceCreateModelElement( + grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), + current); + } - otherlv_1=(Token)match(input,36,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_1=(Token)match(input,36,FOLLOW_2); - newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); - - } + newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); + } } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -7299,7 +6543,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleStringReference" - // InternalApplicationConfiguration.g:2386:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; + // InternalApplicationConfiguration.g:2383:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; public final EObject entryRuleStringReference() throws RecognitionException { EObject current = null; @@ -7307,21 +6551,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2386:56: (iv_ruleStringReference= ruleStringReference EOF ) - // InternalApplicationConfiguration.g:2387:2: iv_ruleStringReference= ruleStringReference EOF + // InternalApplicationConfiguration.g:2383:56: (iv_ruleStringReference= ruleStringReference EOF ) + // InternalApplicationConfiguration.g:2384:2: iv_ruleStringReference= ruleStringReference EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getStringReferenceRule()); - } + newCompositeNode(grammarAccess.getStringReferenceRule()); pushFollow(FOLLOW_1); iv_ruleStringReference=ruleStringReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleStringReference; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleStringReference; + match(input,EOF,FOLLOW_2); } @@ -7339,7 +6579,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleStringReference" - // InternalApplicationConfiguration.g:2393:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ; + // InternalApplicationConfiguration.g:2390:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ; public final EObject ruleStringReference() throws RecognitionException { EObject current = null; @@ -7349,42 +6589,36 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2399:2: ( ( () otherlv_1= 'string' ) ) - // InternalApplicationConfiguration.g:2400:2: ( () otherlv_1= 'string' ) + // InternalApplicationConfiguration.g:2396:2: ( ( () otherlv_1= 'string' ) ) + // InternalApplicationConfiguration.g:2397:2: ( () otherlv_1= 'string' ) { - // InternalApplicationConfiguration.g:2400:2: ( () otherlv_1= 'string' ) - // InternalApplicationConfiguration.g:2401:3: () otherlv_1= 'string' + // InternalApplicationConfiguration.g:2397:2: ( () otherlv_1= 'string' ) + // InternalApplicationConfiguration.g:2398:3: () otherlv_1= 'string' { - // InternalApplicationConfiguration.g:2401:3: () - // InternalApplicationConfiguration.g:2402:4: + // InternalApplicationConfiguration.g:2398:3: () + // InternalApplicationConfiguration.g:2399:4: { - if ( state.backtracking==0 ) { - current = forceCreateModelElement( - grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), - current); - - } + current = forceCreateModelElement( + grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), + current); + } - otherlv_1=(Token)match(input,37,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_1=(Token)match(input,37,FOLLOW_2); - newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); - - } + newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); + } } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -7399,7 +6633,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleScopeDeclaration" - // InternalApplicationConfiguration.g:2416:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; + // InternalApplicationConfiguration.g:2413:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; public final EObject entryRuleScopeDeclaration() throws RecognitionException { EObject current = null; @@ -7407,21 +6641,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2416:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) - // InternalApplicationConfiguration.g:2417:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF + // InternalApplicationConfiguration.g:2413:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) + // InternalApplicationConfiguration.g:2414:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getScopeDeclarationRule()); - } + newCompositeNode(grammarAccess.getScopeDeclarationRule()); pushFollow(FOLLOW_1); iv_ruleScopeDeclaration=ruleScopeDeclaration(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleScopeDeclaration; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleScopeDeclaration; + match(input,EOF,FOLLOW_2); } @@ -7439,7 +6669,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleScopeDeclaration" - // InternalApplicationConfiguration.g:2423:1: ruleScopeDeclaration returns [EObject current=null] : (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ; + // InternalApplicationConfiguration.g:2420:1: ruleScopeDeclaration returns [EObject current=null] : (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ; public final EObject ruleScopeDeclaration() throws RecognitionException { EObject current = null; @@ -7452,77 +6682,67 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2429:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) - // InternalApplicationConfiguration.g:2430:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) + // InternalApplicationConfiguration.g:2426:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) + // InternalApplicationConfiguration.g:2427:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) { - // InternalApplicationConfiguration.g:2430:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) - // InternalApplicationConfiguration.g:2431:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) + // InternalApplicationConfiguration.g:2427:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) + // InternalApplicationConfiguration.g:2428:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) { - otherlv_0=(Token)match(input,38,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_0=(Token)match(input,38,FOLLOW_6); - newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); - - } - // InternalApplicationConfiguration.g:2435:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:2436:4: (lv_name_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); + + // InternalApplicationConfiguration.g:2432:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2433:4: (lv_name_1_0= RULE_ID ) { - // InternalApplicationConfiguration.g:2436:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:2437:5: lv_name_1_0= RULE_ID + // InternalApplicationConfiguration.g:2433:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:2434:5: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current; - if ( state.backtracking==0 ) { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); - newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - } - if ( state.backtracking==0 ) { + newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getScopeDeclarationRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - - } + if (current==null) { + current = createModelElement(grammarAccess.getScopeDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalApplicationConfiguration.g:2453:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) - // InternalApplicationConfiguration.g:2454:4: (lv_specification_2_0= ruleScopeSpecification ) + // InternalApplicationConfiguration.g:2450:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) + // InternalApplicationConfiguration.g:2451:4: (lv_specification_2_0= ruleScopeSpecification ) { - // InternalApplicationConfiguration.g:2454:4: (lv_specification_2_0= ruleScopeSpecification ) - // InternalApplicationConfiguration.g:2455:5: lv_specification_2_0= ruleScopeSpecification + // InternalApplicationConfiguration.g:2451:4: (lv_specification_2_0= ruleScopeSpecification ) + // InternalApplicationConfiguration.g:2452:5: lv_specification_2_0= ruleScopeSpecification { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); - - } + newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); + pushFollow(FOLLOW_2); lv_specification_2_0=ruleScopeSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); - } - set( - current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); - afterParserOrEnumRuleCall(); - - } + + if (current==null) { + current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); + } + set( + current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); + afterParserOrEnumRuleCall(); + } @@ -7535,11 +6755,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -7554,7 +6772,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleScopeReference" - // InternalApplicationConfiguration.g:2476:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; + // InternalApplicationConfiguration.g:2473:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; public final EObject entryRuleScopeReference() throws RecognitionException { EObject current = null; @@ -7562,21 +6780,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2476:55: (iv_ruleScopeReference= ruleScopeReference EOF ) - // InternalApplicationConfiguration.g:2477:2: iv_ruleScopeReference= ruleScopeReference EOF + // InternalApplicationConfiguration.g:2473:55: (iv_ruleScopeReference= ruleScopeReference EOF ) + // InternalApplicationConfiguration.g:2474:2: iv_ruleScopeReference= ruleScopeReference EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getScopeReferenceRule()); - } + newCompositeNode(grammarAccess.getScopeReferenceRule()); pushFollow(FOLLOW_1); iv_ruleScopeReference=ruleScopeReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleScopeReference; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleScopeReference; + match(input,EOF,FOLLOW_2); } @@ -7594,7 +6808,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleScopeReference" - // InternalApplicationConfiguration.g:2483:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalApplicationConfiguration.g:2480:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleScopeReference() throws RecognitionException { EObject current = null; @@ -7604,28 +6818,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2489:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:2490:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2486:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:2487:2: ( (otherlv_0= RULE_ID ) ) { - // InternalApplicationConfiguration.g:2490:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:2491:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:2487:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2488:3: (otherlv_0= RULE_ID ) { - // InternalApplicationConfiguration.g:2491:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:2492:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:2488:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:2489:4: otherlv_0= RULE_ID { - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getScopeReferenceRule()); - } - - } - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + if (current==null) { + current = createModelElement(grammarAccess.getScopeReferenceRule()); + } + + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); - newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); - - } + newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); + } @@ -7635,11 +6845,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -7654,7 +6862,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleScope" - // InternalApplicationConfiguration.g:2506:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; + // InternalApplicationConfiguration.g:2503:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; public final EObject entryRuleScope() throws RecognitionException { EObject current = null; @@ -7662,21 +6870,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2506:46: (iv_ruleScope= ruleScope EOF ) - // InternalApplicationConfiguration.g:2507:2: iv_ruleScope= ruleScope EOF + // InternalApplicationConfiguration.g:2503:46: (iv_ruleScope= ruleScope EOF ) + // InternalApplicationConfiguration.g:2504:2: iv_ruleScope= ruleScope EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getScopeRule()); - } + newCompositeNode(grammarAccess.getScopeRule()); pushFollow(FOLLOW_1); iv_ruleScope=ruleScope(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleScope; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleScope; + match(input,EOF,FOLLOW_2); } @@ -7694,7 +6898,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleScope" - // InternalApplicationConfiguration.g:2513:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; + // InternalApplicationConfiguration.g:2510:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; public final EObject ruleScope() throws RecognitionException { EObject current = null; @@ -7707,10 +6911,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2519:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) - // InternalApplicationConfiguration.g:2520:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) + // InternalApplicationConfiguration.g:2516:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) + // InternalApplicationConfiguration.g:2517:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) { - // InternalApplicationConfiguration.g:2520:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) + // InternalApplicationConfiguration.g:2517:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) int alt35=2; int LA35_0 = input.LA(1); @@ -7721,7 +6925,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl alt35=2; } else { - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 35, 0, input); @@ -7729,46 +6932,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt35) { case 1 : - // InternalApplicationConfiguration.g:2521:3: this_ScopeSpecification_0= ruleScopeSpecification + // InternalApplicationConfiguration.g:2518:3: this_ScopeSpecification_0= ruleScopeSpecification { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); - - } + newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); + pushFollow(FOLLOW_2); this_ScopeSpecification_0=ruleScopeSpecification(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_ScopeSpecification_0; - afterParserOrEnumRuleCall(); - - } + + current = this_ScopeSpecification_0; + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalApplicationConfiguration.g:2530:3: this_ScopeReference_1= ruleScopeReference + // InternalApplicationConfiguration.g:2527:3: this_ScopeReference_1= ruleScopeReference { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); - - } + newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); + pushFollow(FOLLOW_2); this_ScopeReference_1=ruleScopeReference(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_ScopeReference_1; - afterParserOrEnumRuleCall(); - - } + + current = this_ScopeReference_1; + afterParserOrEnumRuleCall(); + } break; @@ -7778,11 +6973,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -7797,7 +6990,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleTask" - // InternalApplicationConfiguration.g:2542:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; + // InternalApplicationConfiguration.g:2539:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; public final EObject entryRuleTask() throws RecognitionException { EObject current = null; @@ -7805,21 +6998,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2542:45: (iv_ruleTask= ruleTask EOF ) - // InternalApplicationConfiguration.g:2543:2: iv_ruleTask= ruleTask EOF + // InternalApplicationConfiguration.g:2539:45: (iv_ruleTask= ruleTask EOF ) + // InternalApplicationConfiguration.g:2540:2: iv_ruleTask= ruleTask EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getTaskRule()); - } + newCompositeNode(grammarAccess.getTaskRule()); pushFollow(FOLLOW_1); iv_ruleTask=ruleTask(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleTask; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleTask; + match(input,EOF,FOLLOW_2); } @@ -7837,7 +7026,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleTask" - // InternalApplicationConfiguration.g:2549:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; + // InternalApplicationConfiguration.g:2546:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; public final EObject ruleTask() throws RecognitionException { EObject current = null; @@ -7848,33 +7037,27 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2555:2: (this_GenerationTask_0= ruleGenerationTask ) - // InternalApplicationConfiguration.g:2556:2: this_GenerationTask_0= ruleGenerationTask + // InternalApplicationConfiguration.g:2552:2: (this_GenerationTask_0= ruleGenerationTask ) + // InternalApplicationConfiguration.g:2553:2: this_GenerationTask_0= ruleGenerationTask { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); - - } + newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); + pushFollow(FOLLOW_2); this_GenerationTask_0=ruleGenerationTask(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_GenerationTask_0; - afterParserOrEnumRuleCall(); - - } + + current = this_GenerationTask_0; + afterParserOrEnumRuleCall(); + } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -7889,7 +7072,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleGenerationTask" - // InternalApplicationConfiguration.g:2567:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; + // InternalApplicationConfiguration.g:2564:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; public final EObject entryRuleGenerationTask() throws RecognitionException { EObject current = null; @@ -7897,21 +7080,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2567:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) - // InternalApplicationConfiguration.g:2568:2: iv_ruleGenerationTask= ruleGenerationTask EOF + // InternalApplicationConfiguration.g:2564:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) + // InternalApplicationConfiguration.g:2565:2: iv_ruleGenerationTask= ruleGenerationTask EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGenerationTaskRule()); - } + newCompositeNode(grammarAccess.getGenerationTaskRule()); pushFollow(FOLLOW_1); iv_ruleGenerationTask=ruleGenerationTask(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleGenerationTask; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleGenerationTask; + match(input,EOF,FOLLOW_2); } @@ -7929,7 +7108,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleGenerationTask" - // InternalApplicationConfiguration.g:2574:1: ruleGenerationTask returns [EObject current=null] : (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ; + // InternalApplicationConfiguration.g:2571:1: ruleGenerationTask returns [EObject current=null] : (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ; public final EObject ruleGenerationTask() throws RecognitionException { EObject current = null; @@ -7987,118 +7166,106 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2580:2: ( (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ) - // InternalApplicationConfiguration.g:2581:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) + // InternalApplicationConfiguration.g:2577:2: ( (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ) + // InternalApplicationConfiguration.g:2578:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) { - // InternalApplicationConfiguration.g:2581:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) - // InternalApplicationConfiguration.g:2582:3: otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' + // InternalApplicationConfiguration.g:2578:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) + // InternalApplicationConfiguration.g:2579:3: otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' { - otherlv_0=(Token)match(input,39,FOLLOW_14); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_0=(Token)match(input,39,FOLLOW_14); - newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); - - } - // InternalApplicationConfiguration.g:2586:3: () - // InternalApplicationConfiguration.g:2587:4: + newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); + + // InternalApplicationConfiguration.g:2583:3: () + // InternalApplicationConfiguration.g:2584:4: { - if ( state.backtracking==0 ) { - current = forceCreateModelElement( - grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), - current); - - } + current = forceCreateModelElement( + grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), + current); + } - otherlv_2=(Token)match(input,17,FOLLOW_28); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_2=(Token)match(input,17,FOLLOW_28); - newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); - - } - // InternalApplicationConfiguration.g:2597:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) - // InternalApplicationConfiguration.g:2598:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) + newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); + + // InternalApplicationConfiguration.g:2594:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) + // InternalApplicationConfiguration.g:2595:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) { - // InternalApplicationConfiguration.g:2598:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) - // InternalApplicationConfiguration.g:2599:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) + // InternalApplicationConfiguration.g:2595:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) + // InternalApplicationConfiguration.g:2596:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) { - getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - // InternalApplicationConfiguration.g:2602:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) - // InternalApplicationConfiguration.g:2603:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* + + getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + // InternalApplicationConfiguration.g:2599:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) + // InternalApplicationConfiguration.g:2600:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* { - // InternalApplicationConfiguration.g:2603:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* + // InternalApplicationConfiguration.g:2600:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* loop36: do { int alt36=13; alt36 = dfa36.predict(input); switch (alt36) { case 1 : - // InternalApplicationConfiguration.g:2604:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2601:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:2604:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) - // InternalApplicationConfiguration.g:2605:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) + // InternalApplicationConfiguration.g:2601:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2602:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)"); } - // InternalApplicationConfiguration.g:2605:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) - // InternalApplicationConfiguration.g:2606:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) + // InternalApplicationConfiguration.g:2602:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) + // InternalApplicationConfiguration.g:2603:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); - // InternalApplicationConfiguration.g:2609:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) - // InternalApplicationConfiguration.g:2609:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); + + // InternalApplicationConfiguration.g:2606:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) + // InternalApplicationConfiguration.g:2606:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) { if ( !((true)) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:2609:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) - // InternalApplicationConfiguration.g:2609:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) + // InternalApplicationConfiguration.g:2606:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) + // InternalApplicationConfiguration.g:2606:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) { - otherlv_4=(Token)match(input,23,FOLLOW_10); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_4=(Token)match(input,23,FOLLOW_10); - newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); - - } - otherlv_5=(Token)match(input,16,FOLLOW_29); if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); + + otherlv_5=(Token)match(input,16,FOLLOW_29); - newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); - - } - // InternalApplicationConfiguration.g:2617:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) - // InternalApplicationConfiguration.g:2618:10: (lv_metamodel_6_0= ruleMetamodel ) + newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); + + // InternalApplicationConfiguration.g:2614:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) + // InternalApplicationConfiguration.g:2615:10: (lv_metamodel_6_0= ruleMetamodel ) { - // InternalApplicationConfiguration.g:2618:10: (lv_metamodel_6_0= ruleMetamodel ) - // InternalApplicationConfiguration.g:2619:11: lv_metamodel_6_0= ruleMetamodel + // InternalApplicationConfiguration.g:2615:10: (lv_metamodel_6_0= ruleMetamodel ) + // InternalApplicationConfiguration.g:2616:11: lv_metamodel_6_0= ruleMetamodel { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); - - } + newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); + pushFollow(FOLLOW_28); lv_metamodel_6_0=ruleMetamodel(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "metamodel", - lv_metamodel_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "metamodel", + lv_metamodel_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); + afterParserOrEnumRuleCall(); + } @@ -8111,7 +7278,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } @@ -8122,70 +7291,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:2642:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2639:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:2642:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) - // InternalApplicationConfiguration.g:2643:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) + // InternalApplicationConfiguration.g:2639:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2640:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)"); } - // InternalApplicationConfiguration.g:2643:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) - // InternalApplicationConfiguration.g:2644:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) + // InternalApplicationConfiguration.g:2640:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) + // InternalApplicationConfiguration.g:2641:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); - // InternalApplicationConfiguration.g:2647:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) - // InternalApplicationConfiguration.g:2647:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); + + // InternalApplicationConfiguration.g:2644:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) + // InternalApplicationConfiguration.g:2644:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) { if ( !((true)) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:2647:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) - // InternalApplicationConfiguration.g:2647:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) + // InternalApplicationConfiguration.g:2644:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) + // InternalApplicationConfiguration.g:2644:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) { - otherlv_7=(Token)match(input,40,FOLLOW_10); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_7=(Token)match(input,40,FOLLOW_10); - newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); - - } - otherlv_8=(Token)match(input,16,FOLLOW_29); if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); + + otherlv_8=(Token)match(input,16,FOLLOW_29); - newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); - - } - // InternalApplicationConfiguration.g:2655:9: ( (lv_partialModel_9_0= rulePartialModel ) ) - // InternalApplicationConfiguration.g:2656:10: (lv_partialModel_9_0= rulePartialModel ) + newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); + + // InternalApplicationConfiguration.g:2652:9: ( (lv_partialModel_9_0= rulePartialModel ) ) + // InternalApplicationConfiguration.g:2653:10: (lv_partialModel_9_0= rulePartialModel ) { - // InternalApplicationConfiguration.g:2656:10: (lv_partialModel_9_0= rulePartialModel ) - // InternalApplicationConfiguration.g:2657:11: lv_partialModel_9_0= rulePartialModel + // InternalApplicationConfiguration.g:2653:10: (lv_partialModel_9_0= rulePartialModel ) + // InternalApplicationConfiguration.g:2654:11: lv_partialModel_9_0= rulePartialModel { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); - - } + newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); + pushFollow(FOLLOW_28); lv_partialModel_9_0=rulePartialModel(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "partialModel", - lv_partialModel_9_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "partialModel", + lv_partialModel_9_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); + afterParserOrEnumRuleCall(); + } @@ -8198,7 +7359,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } @@ -8209,70 +7372,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:2680:4: ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2677:4: ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:2680:4: ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) - // InternalApplicationConfiguration.g:2681:5: {...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) + // InternalApplicationConfiguration.g:2677:4: ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2678:5: {...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)"); } - // InternalApplicationConfiguration.g:2681:111: ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) - // InternalApplicationConfiguration.g:2682:6: ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) + // InternalApplicationConfiguration.g:2678:111: ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) + // InternalApplicationConfiguration.g:2679:6: ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); - // InternalApplicationConfiguration.g:2685:9: ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) - // InternalApplicationConfiguration.g:2685:10: {...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); + + // InternalApplicationConfiguration.g:2682:9: ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) + // InternalApplicationConfiguration.g:2682:10: {...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) { if ( !((true)) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:2685:19: (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) - // InternalApplicationConfiguration.g:2685:20: otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) + // InternalApplicationConfiguration.g:2682:19: (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) + // InternalApplicationConfiguration.g:2682:20: otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) { - otherlv_10=(Token)match(input,26,FOLLOW_10); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_10=(Token)match(input,26,FOLLOW_10); - newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getPatternsKeyword_3_2_0()); - - } - otherlv_11=(Token)match(input,16,FOLLOW_29); if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getPatternsKeyword_3_2_0()); + + otherlv_11=(Token)match(input,16,FOLLOW_29); - newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); - - } - // InternalApplicationConfiguration.g:2693:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) - // InternalApplicationConfiguration.g:2694:10: (lv_patterns_12_0= ruleGraphPattern ) + newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); + + // InternalApplicationConfiguration.g:2690:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) + // InternalApplicationConfiguration.g:2691:10: (lv_patterns_12_0= ruleGraphPattern ) { - // InternalApplicationConfiguration.g:2694:10: (lv_patterns_12_0= ruleGraphPattern ) - // InternalApplicationConfiguration.g:2695:11: lv_patterns_12_0= ruleGraphPattern + // InternalApplicationConfiguration.g:2691:10: (lv_patterns_12_0= ruleGraphPattern ) + // InternalApplicationConfiguration.g:2692:11: lv_patterns_12_0= ruleGraphPattern { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); - - } + newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); + pushFollow(FOLLOW_28); lv_patterns_12_0=ruleGraphPattern(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "patterns", - lv_patterns_12_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "patterns", + lv_patterns_12_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); + afterParserOrEnumRuleCall(); + } @@ -8285,7 +7440,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } @@ -8296,70 +7453,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 4 : - // InternalApplicationConfiguration.g:2718:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2715:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:2718:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) - // InternalApplicationConfiguration.g:2719:5: {...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) + // InternalApplicationConfiguration.g:2715:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2716:5: {...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); } - // InternalApplicationConfiguration.g:2719:111: ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) - // InternalApplicationConfiguration.g:2720:6: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) + // InternalApplicationConfiguration.g:2716:111: ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) + // InternalApplicationConfiguration.g:2717:6: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); - // InternalApplicationConfiguration.g:2723:9: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) - // InternalApplicationConfiguration.g:2723:10: {...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); + + // InternalApplicationConfiguration.g:2720:9: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) + // InternalApplicationConfiguration.g:2720:10: {...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) { if ( !((true)) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:2723:19: (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) - // InternalApplicationConfiguration.g:2723:20: otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) + // InternalApplicationConfiguration.g:2720:19: (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) + // InternalApplicationConfiguration.g:2720:20: otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) { - otherlv_13=(Token)match(input,38,FOLLOW_10); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_13=(Token)match(input,38,FOLLOW_10); - newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); - - } - otherlv_14=(Token)match(input,16,FOLLOW_29); if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); + + otherlv_14=(Token)match(input,16,FOLLOW_29); - newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); - - } - // InternalApplicationConfiguration.g:2731:9: ( (lv_scope_15_0= ruleScope ) ) - // InternalApplicationConfiguration.g:2732:10: (lv_scope_15_0= ruleScope ) + newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); + + // InternalApplicationConfiguration.g:2728:9: ( (lv_scope_15_0= ruleScope ) ) + // InternalApplicationConfiguration.g:2729:10: (lv_scope_15_0= ruleScope ) { - // InternalApplicationConfiguration.g:2732:10: (lv_scope_15_0= ruleScope ) - // InternalApplicationConfiguration.g:2733:11: lv_scope_15_0= ruleScope + // InternalApplicationConfiguration.g:2729:10: (lv_scope_15_0= ruleScope ) + // InternalApplicationConfiguration.g:2730:11: lv_scope_15_0= ruleScope { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); - - } + newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); + pushFollow(FOLLOW_28); lv_scope_15_0=ruleScope(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "scope", - lv_scope_15_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "scope", + lv_scope_15_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); + afterParserOrEnumRuleCall(); + } @@ -8372,7 +7521,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } @@ -8383,65 +7534,57 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 5 : - // InternalApplicationConfiguration.g:2756:4: ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2753:4: ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:2756:4: ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) - // InternalApplicationConfiguration.g:2757:5: {...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:2753:4: ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2754:5: {...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); } - // InternalApplicationConfiguration.g:2757:111: ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) - // InternalApplicationConfiguration.g:2758:6: ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:2754:111: ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:2755:6: ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); - // InternalApplicationConfiguration.g:2761:9: ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:2761:10: {...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); + + // InternalApplicationConfiguration.g:2758:9: ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:2758:10: {...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) { if ( !((true)) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:2761:19: (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:2761:20: otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2758:19: (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2758:20: otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) { - otherlv_16=(Token)match(input,41,FOLLOW_10); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_16=(Token)match(input,41,FOLLOW_10); - newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getNumberKeyword_3_4_0()); - - } - otherlv_17=(Token)match(input,16,FOLLOW_24); if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getNumberKeyword_3_4_0()); + + otherlv_17=(Token)match(input,16,FOLLOW_24); - newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); - - } - // InternalApplicationConfiguration.g:2769:9: ( (lv_number_18_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:2770:10: (lv_number_18_0= RULE_INT ) + newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); + + // InternalApplicationConfiguration.g:2766:9: ( (lv_number_18_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2767:10: (lv_number_18_0= RULE_INT ) { - // InternalApplicationConfiguration.g:2770:10: (lv_number_18_0= RULE_INT ) - // InternalApplicationConfiguration.g:2771:11: lv_number_18_0= RULE_INT + // InternalApplicationConfiguration.g:2767:10: (lv_number_18_0= RULE_INT ) + // InternalApplicationConfiguration.g:2768:11: lv_number_18_0= RULE_INT { - lv_number_18_0=(Token)match(input,RULE_INT,FOLLOW_28); if (state.failed) return current; - if ( state.backtracking==0 ) { + lv_number_18_0=(Token)match(input,RULE_INT,FOLLOW_28); - newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); - - } - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed( - current, - "number", - lv_number_18_0, - "org.eclipse.xtext.common.Terminals.INT"); - - } + newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getGenerationTaskRule()); + } + setWithLastConsumed( + current, + "number", + lv_number_18_0, + "org.eclipse.xtext.common.Terminals.INT"); + } @@ -8454,7 +7597,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } @@ -8465,65 +7610,57 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 6 : - // InternalApplicationConfiguration.g:2793:4: ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2790:4: ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:2793:4: ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) - // InternalApplicationConfiguration.g:2794:5: {...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:2790:4: ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2791:5: {...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)"); } - // InternalApplicationConfiguration.g:2794:111: ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) - // InternalApplicationConfiguration.g:2795:6: ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:2791:111: ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:2792:6: ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); - // InternalApplicationConfiguration.g:2798:9: ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:2798:10: {...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); + + // InternalApplicationConfiguration.g:2795:9: ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:2795:10: {...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) { if ( !((true)) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:2798:19: (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:2798:20: otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2795:19: (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2795:20: otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) { - otherlv_19=(Token)match(input,42,FOLLOW_10); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_19=(Token)match(input,42,FOLLOW_10); - newLeafNode(otherlv_19, grammarAccess.getGenerationTaskAccess().getRunsKeyword_3_5_0()); - - } - otherlv_20=(Token)match(input,16,FOLLOW_24); if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_19, grammarAccess.getGenerationTaskAccess().getRunsKeyword_3_5_0()); + + otherlv_20=(Token)match(input,16,FOLLOW_24); - newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); - - } - // InternalApplicationConfiguration.g:2806:9: ( (lv_runs_21_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:2807:10: (lv_runs_21_0= RULE_INT ) + newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); + + // InternalApplicationConfiguration.g:2803:9: ( (lv_runs_21_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2804:10: (lv_runs_21_0= RULE_INT ) { - // InternalApplicationConfiguration.g:2807:10: (lv_runs_21_0= RULE_INT ) - // InternalApplicationConfiguration.g:2808:11: lv_runs_21_0= RULE_INT + // InternalApplicationConfiguration.g:2804:10: (lv_runs_21_0= RULE_INT ) + // InternalApplicationConfiguration.g:2805:11: lv_runs_21_0= RULE_INT { - lv_runs_21_0=(Token)match(input,RULE_INT,FOLLOW_28); if (state.failed) return current; - if ( state.backtracking==0 ) { + lv_runs_21_0=(Token)match(input,RULE_INT,FOLLOW_28); - newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); - - } - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed( - current, - "runs", - lv_runs_21_0, - "org.eclipse.xtext.common.Terminals.INT"); - - } + newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getGenerationTaskRule()); + } + setWithLastConsumed( + current, + "runs", + lv_runs_21_0, + "org.eclipse.xtext.common.Terminals.INT"); + } @@ -8536,7 +7673,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } @@ -8547,70 +7686,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 7 : - // InternalApplicationConfiguration.g:2830:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2827:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:2830:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) - // InternalApplicationConfiguration.g:2831:5: {...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) + // InternalApplicationConfiguration.g:2827:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2828:5: {...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); } - // InternalApplicationConfiguration.g:2831:111: ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) - // InternalApplicationConfiguration.g:2832:6: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) + // InternalApplicationConfiguration.g:2828:111: ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) + // InternalApplicationConfiguration.g:2829:6: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); - // InternalApplicationConfiguration.g:2835:9: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) - // InternalApplicationConfiguration.g:2835:10: {...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); + + // InternalApplicationConfiguration.g:2832:9: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) + // InternalApplicationConfiguration.g:2832:10: {...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) { if ( !((true)) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:2835:19: (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) - // InternalApplicationConfiguration.g:2835:20: otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) + // InternalApplicationConfiguration.g:2832:19: (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) + // InternalApplicationConfiguration.g:2832:20: otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) { - otherlv_22=(Token)match(input,43,FOLLOW_10); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_22=(Token)match(input,43,FOLLOW_10); - newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); - - } - otherlv_23=(Token)match(input,16,FOLLOW_30); if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); + + otherlv_23=(Token)match(input,16,FOLLOW_30); - newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); - - } - // InternalApplicationConfiguration.g:2843:9: ( (lv_solver_24_0= ruleSolver ) ) - // InternalApplicationConfiguration.g:2844:10: (lv_solver_24_0= ruleSolver ) + newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); + + // InternalApplicationConfiguration.g:2840:9: ( (lv_solver_24_0= ruleSolver ) ) + // InternalApplicationConfiguration.g:2841:10: (lv_solver_24_0= ruleSolver ) { - // InternalApplicationConfiguration.g:2844:10: (lv_solver_24_0= ruleSolver ) - // InternalApplicationConfiguration.g:2845:11: lv_solver_24_0= ruleSolver + // InternalApplicationConfiguration.g:2841:10: (lv_solver_24_0= ruleSolver ) + // InternalApplicationConfiguration.g:2842:11: lv_solver_24_0= ruleSolver { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); - - } + newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); + pushFollow(FOLLOW_28); lv_solver_24_0=ruleSolver(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "solver", - lv_solver_24_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "solver", + lv_solver_24_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); + afterParserOrEnumRuleCall(); + } @@ -8623,7 +7754,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } @@ -8634,70 +7767,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 8 : - // InternalApplicationConfiguration.g:2868:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2865:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:2868:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) - // InternalApplicationConfiguration.g:2869:5: {...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) + // InternalApplicationConfiguration.g:2865:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2866:5: {...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); } - // InternalApplicationConfiguration.g:2869:111: ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) - // InternalApplicationConfiguration.g:2870:6: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) + // InternalApplicationConfiguration.g:2866:111: ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) + // InternalApplicationConfiguration.g:2867:6: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); - // InternalApplicationConfiguration.g:2873:9: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) - // InternalApplicationConfiguration.g:2873:10: {...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); + + // InternalApplicationConfiguration.g:2870:9: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) + // InternalApplicationConfiguration.g:2870:10: {...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) { if ( !((true)) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:2873:19: (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) - // InternalApplicationConfiguration.g:2873:20: otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) + // InternalApplicationConfiguration.g:2870:19: (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) + // InternalApplicationConfiguration.g:2870:20: otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) { - otherlv_25=(Token)match(input,27,FOLLOW_10); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_25=(Token)match(input,27,FOLLOW_10); - newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); - - } - otherlv_26=(Token)match(input,16,FOLLOW_29); if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); + + otherlv_26=(Token)match(input,16,FOLLOW_29); - newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); - - } - // InternalApplicationConfiguration.g:2881:9: ( (lv_config_27_0= ruleConfig ) ) - // InternalApplicationConfiguration.g:2882:10: (lv_config_27_0= ruleConfig ) + newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); + + // InternalApplicationConfiguration.g:2878:9: ( (lv_config_27_0= ruleConfig ) ) + // InternalApplicationConfiguration.g:2879:10: (lv_config_27_0= ruleConfig ) { - // InternalApplicationConfiguration.g:2882:10: (lv_config_27_0= ruleConfig ) - // InternalApplicationConfiguration.g:2883:11: lv_config_27_0= ruleConfig + // InternalApplicationConfiguration.g:2879:10: (lv_config_27_0= ruleConfig ) + // InternalApplicationConfiguration.g:2880:11: lv_config_27_0= ruleConfig { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); - - } + newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); + pushFollow(FOLLOW_28); lv_config_27_0=ruleConfig(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "config", - lv_config_27_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "config", + lv_config_27_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); + afterParserOrEnumRuleCall(); + } @@ -8710,7 +7835,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } @@ -8721,70 +7848,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 9 : - // InternalApplicationConfiguration.g:2906:4: ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2903:4: ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:2906:4: ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:2907:5: {...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:2903:4: ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2904:5: {...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); } - // InternalApplicationConfiguration.g:2907:111: ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:2908:6: ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:2904:111: ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:2905:6: ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); - // InternalApplicationConfiguration.g:2911:9: ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:2911:10: {...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); + + // InternalApplicationConfiguration.g:2908:9: ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:2908:10: {...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) { if ( !((true)) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:2911:19: (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:2911:20: otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) + // InternalApplicationConfiguration.g:2908:19: (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:2908:20: otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) { - otherlv_28=(Token)match(input,44,FOLLOW_10); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_28=(Token)match(input,44,FOLLOW_10); - newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_8_0()); - - } - otherlv_29=(Token)match(input,16,FOLLOW_18); if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_8_0()); + + otherlv_29=(Token)match(input,16,FOLLOW_18); - newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); - - } - // InternalApplicationConfiguration.g:2919:9: ( (lv_tagetFolder_30_0= ruleFile ) ) - // InternalApplicationConfiguration.g:2920:10: (lv_tagetFolder_30_0= ruleFile ) + newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); + + // InternalApplicationConfiguration.g:2916:9: ( (lv_tagetFolder_30_0= ruleFile ) ) + // InternalApplicationConfiguration.g:2917:10: (lv_tagetFolder_30_0= ruleFile ) { - // InternalApplicationConfiguration.g:2920:10: (lv_tagetFolder_30_0= ruleFile ) - // InternalApplicationConfiguration.g:2921:11: lv_tagetFolder_30_0= ruleFile + // InternalApplicationConfiguration.g:2917:10: (lv_tagetFolder_30_0= ruleFile ) + // InternalApplicationConfiguration.g:2918:11: lv_tagetFolder_30_0= ruleFile { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_8_2_0()); - - } + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_8_2_0()); + pushFollow(FOLLOW_28); lv_tagetFolder_30_0=ruleFile(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "tagetFolder", - lv_tagetFolder_30_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "tagetFolder", + lv_tagetFolder_30_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } @@ -8797,7 +7916,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } @@ -8808,70 +7929,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 10 : - // InternalApplicationConfiguration.g:2944:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2941:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:2944:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:2945:5: {...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:2941:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2942:5: {...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)"); } - // InternalApplicationConfiguration.g:2945:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:2946:6: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:2942:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:2943:6: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); - // InternalApplicationConfiguration.g:2949:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:2949:10: {...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); + + // InternalApplicationConfiguration.g:2946:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:2946:10: {...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) { if ( !((true)) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:2949:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:2949:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) + // InternalApplicationConfiguration.g:2946:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:2946:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) { - otherlv_31=(Token)match(input,45,FOLLOW_10); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_31=(Token)match(input,45,FOLLOW_10); - newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); - - } - otherlv_32=(Token)match(input,16,FOLLOW_18); if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); + + otherlv_32=(Token)match(input,16,FOLLOW_18); - newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); - - } - // InternalApplicationConfiguration.g:2957:9: ( (lv_debugFolder_33_0= ruleFile ) ) - // InternalApplicationConfiguration.g:2958:10: (lv_debugFolder_33_0= ruleFile ) + newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); + + // InternalApplicationConfiguration.g:2954:9: ( (lv_debugFolder_33_0= ruleFile ) ) + // InternalApplicationConfiguration.g:2955:10: (lv_debugFolder_33_0= ruleFile ) { - // InternalApplicationConfiguration.g:2958:10: (lv_debugFolder_33_0= ruleFile ) - // InternalApplicationConfiguration.g:2959:11: lv_debugFolder_33_0= ruleFile + // InternalApplicationConfiguration.g:2955:10: (lv_debugFolder_33_0= ruleFile ) + // InternalApplicationConfiguration.g:2956:11: lv_debugFolder_33_0= ruleFile { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); - - } + newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); + pushFollow(FOLLOW_28); lv_debugFolder_33_0=ruleFile(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "debugFolder", - lv_debugFolder_33_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "debugFolder", + lv_debugFolder_33_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } @@ -8884,7 +7997,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } @@ -8895,70 +8010,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 11 : - // InternalApplicationConfiguration.g:2982:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2979:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:2982:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:2983:5: {...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:2979:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2980:5: {...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)"); } - // InternalApplicationConfiguration.g:2983:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:2984:6: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:2980:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:2981:6: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); - // InternalApplicationConfiguration.g:2987:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:2987:10: {...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); + + // InternalApplicationConfiguration.g:2984:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:2984:10: {...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) { if ( !((true)) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:2987:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:2987:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) + // InternalApplicationConfiguration.g:2984:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:2984:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) { - otherlv_34=(Token)match(input,46,FOLLOW_10); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_34=(Token)match(input,46,FOLLOW_10); - newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); - - } - otherlv_35=(Token)match(input,16,FOLLOW_18); if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); + + otherlv_35=(Token)match(input,16,FOLLOW_18); - newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); - - } - // InternalApplicationConfiguration.g:2995:9: ( (lv_targetLogFile_36_0= ruleFile ) ) - // InternalApplicationConfiguration.g:2996:10: (lv_targetLogFile_36_0= ruleFile ) + newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); + + // InternalApplicationConfiguration.g:2992:9: ( (lv_targetLogFile_36_0= ruleFile ) ) + // InternalApplicationConfiguration.g:2993:10: (lv_targetLogFile_36_0= ruleFile ) { - // InternalApplicationConfiguration.g:2996:10: (lv_targetLogFile_36_0= ruleFile ) - // InternalApplicationConfiguration.g:2997:11: lv_targetLogFile_36_0= ruleFile + // InternalApplicationConfiguration.g:2993:10: (lv_targetLogFile_36_0= ruleFile ) + // InternalApplicationConfiguration.g:2994:11: lv_targetLogFile_36_0= ruleFile { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); - - } + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); + pushFollow(FOLLOW_28); lv_targetLogFile_36_0=ruleFile(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "targetLogFile", - lv_targetLogFile_36_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "targetLogFile", + lv_targetLogFile_36_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } @@ -8971,7 +8078,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } @@ -8982,70 +8091,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 12 : - // InternalApplicationConfiguration.g:3020:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:3017:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:3020:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:3021:5: {...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:3017:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:3018:5: {...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)"); } - // InternalApplicationConfiguration.g:3021:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:3022:6: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:3018:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:3019:6: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); - // InternalApplicationConfiguration.g:3025:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:3025:10: {...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); + + // InternalApplicationConfiguration.g:3022:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:3022:10: {...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) { if ( !((true)) ) { - if (state.backtracking>0) {state.failed=true; return current;} throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:3025:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:3025:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) + // InternalApplicationConfiguration.g:3022:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:3022:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) { - otherlv_37=(Token)match(input,47,FOLLOW_10); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_37=(Token)match(input,47,FOLLOW_10); - newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); - - } - otherlv_38=(Token)match(input,16,FOLLOW_18); if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); + + otherlv_38=(Token)match(input,16,FOLLOW_18); - newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); - - } - // InternalApplicationConfiguration.g:3033:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) ) - // InternalApplicationConfiguration.g:3034:10: (lv_targetStatisticsFile_39_0= ruleFile ) + newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); + + // InternalApplicationConfiguration.g:3030:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) ) + // InternalApplicationConfiguration.g:3031:10: (lv_targetStatisticsFile_39_0= ruleFile ) { - // InternalApplicationConfiguration.g:3034:10: (lv_targetStatisticsFile_39_0= ruleFile ) - // InternalApplicationConfiguration.g:3035:11: lv_targetStatisticsFile_39_0= ruleFile + // InternalApplicationConfiguration.g:3031:10: (lv_targetStatisticsFile_39_0= ruleFile ) + // InternalApplicationConfiguration.g:3032:11: lv_targetStatisticsFile_39_0= ruleFile { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); - - } + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); + pushFollow(FOLLOW_28); lv_targetStatisticsFile_39_0=ruleFile(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "targetStatisticsFile", - lv_targetStatisticsFile_39_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "targetStatisticsFile", + lv_targetStatisticsFile_39_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } @@ -9058,7 +8159,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } @@ -9080,27 +8183,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } - otherlv_40=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_40=(Token)match(input,19,FOLLOW_2); - newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); - - } + newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); + } } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -9115,7 +8216,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleSolver" - // InternalApplicationConfiguration.g:3073:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; + // InternalApplicationConfiguration.g:3070:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; public final Enumerator ruleSolver() throws RecognitionException { Enumerator current = null; @@ -9127,10 +8228,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3079:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) - // InternalApplicationConfiguration.g:3080:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) + // InternalApplicationConfiguration.g:3076:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) + // InternalApplicationConfiguration.g:3077:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) { - // InternalApplicationConfiguration.g:3080:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) + // InternalApplicationConfiguration.g:3077:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) int alt37=3; switch ( input.LA(1) ) { case 48: @@ -9149,7 +8250,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; default: - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 37, 0, input); @@ -9158,18 +8258,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl switch (alt37) { case 1 : - // InternalApplicationConfiguration.g:3081:3: (enumLiteral_0= 'SMTSolver' ) + // InternalApplicationConfiguration.g:3078:3: (enumLiteral_0= 'SMTSolver' ) { - // InternalApplicationConfiguration.g:3081:3: (enumLiteral_0= 'SMTSolver' ) - // InternalApplicationConfiguration.g:3082:4: enumLiteral_0= 'SMTSolver' + // InternalApplicationConfiguration.g:3078:3: (enumLiteral_0= 'SMTSolver' ) + // InternalApplicationConfiguration.g:3079:4: enumLiteral_0= 'SMTSolver' { - enumLiteral_0=(Token)match(input,48,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + enumLiteral_0=(Token)match(input,48,FOLLOW_2); - current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); - - } + current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); + } @@ -9177,18 +8275,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3089:3: (enumLiteral_1= 'AlloySolver' ) + // InternalApplicationConfiguration.g:3086:3: (enumLiteral_1= 'AlloySolver' ) { - // InternalApplicationConfiguration.g:3089:3: (enumLiteral_1= 'AlloySolver' ) - // InternalApplicationConfiguration.g:3090:4: enumLiteral_1= 'AlloySolver' + // InternalApplicationConfiguration.g:3086:3: (enumLiteral_1= 'AlloySolver' ) + // InternalApplicationConfiguration.g:3087:4: enumLiteral_1= 'AlloySolver' { - enumLiteral_1=(Token)match(input,49,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + enumLiteral_1=(Token)match(input,49,FOLLOW_2); - current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); - - } + current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); + } @@ -9196,18 +8292,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:3097:3: (enumLiteral_2= 'ViatraSolver' ) + // InternalApplicationConfiguration.g:3094:3: (enumLiteral_2= 'ViatraSolver' ) { - // InternalApplicationConfiguration.g:3097:3: (enumLiteral_2= 'ViatraSolver' ) - // InternalApplicationConfiguration.g:3098:4: enumLiteral_2= 'ViatraSolver' + // InternalApplicationConfiguration.g:3094:3: (enumLiteral_2= 'ViatraSolver' ) + // InternalApplicationConfiguration.g:3095:4: enumLiteral_2= 'ViatraSolver' { - enumLiteral_2=(Token)match(input,50,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + enumLiteral_2=(Token)match(input,50,FOLLOW_2); - current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); - - } + current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); + } @@ -9220,11 +8314,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -9237,34 +8329,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } // $ANTLR end "ruleSolver" - // $ANTLR start synpred1_InternalApplicationConfiguration - public final void synpred1_InternalApplicationConfiguration_fragment() throws RecognitionException { - // InternalApplicationConfiguration.g:182:5: ( '.' ) - // InternalApplicationConfiguration.g:182:6: '.' - { - match(input,11,FOLLOW_2); if (state.failed) return ; - - } - } - // $ANTLR end synpred1_InternalApplicationConfiguration - // Delegated rules - public final boolean synpred1_InternalApplicationConfiguration() { - state.backtracking++; - int start = input.mark(); - try { - synpred1_InternalApplicationConfiguration_fragment(); // can never throw exception - } catch (RecognitionException re) { - System.err.println("impossible: "+re); - } - boolean success = !state.failed; - input.rewind(start); - state.backtracking--; - state.failed=false; - return success; - } - protected DFA36 dfa36 = new DFA36(this); static final String dfa_1s = "\16\uffff"; @@ -9310,7 +8376,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl this.transition = dfa_6; } public String getDescription() { - return "()* loopback of 2603:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )*"; + return "()* loopback of 2600:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )*"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -9354,7 +8420,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl if ( s>=0 ) return s; break; } - if (state.backtracking>0) {state.failed=true; return -1;} NoViableAltException nvae = new NoViableAltException(getDescription(), 36, _s, input); error(nvae); diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java index f13a19a3..a21d65e7 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java @@ -84,19 +84,19 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); //QualifiedName: - // ID (=> '.' ID)*; + // ID ('.' ID)*; @Override public ParserRule getRule() { return rule; } - //ID (=> '.' ID)* + //ID ('.' ID)* public Group getGroup() { return cGroup; } //ID public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } - //(=> '.' ID)* + //('.' ID)* public Group getGroup_1() { return cGroup_1; } - //=> '.' + //'.' public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } //ID @@ -1394,20 +1394,20 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); private final Group cGroup = (Group)rule.eContents().get(1); private final Action cObjectReferenceAction_0 = (Action)cGroup.eContents().get(0); - private final Keyword cObjectKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Keyword cNodeKeyword_1 = (Keyword)cGroup.eContents().get(1); //ObjectReference: - // {ObjectReference} 'Object'; + // {ObjectReference} 'node'; @Override public ParserRule getRule() { return rule; } - //{ObjectReference} 'Object' + //{ObjectReference} 'node' public Group getGroup() { return cGroup; } //{ObjectReference} public Action getObjectReferenceAction_0() { return cObjectReferenceAction_0; } - //'Object' - public Keyword getObjectKeyword_1() { return cObjectKeyword_1; } + //'node' + public Keyword getNodeKeyword_1() { return cNodeKeyword_1; } } public class IntegerReferenceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); @@ -2028,7 +2028,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen } //QualifiedName: - // ID (=> '.' ID)*; + // ID ('.' ID)*; public QualifiedNameElements getQualifiedNameAccess() { return pQualifiedName; } @@ -2459,7 +2459,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen } //ObjectReference: - // {ObjectReference} 'Object'; + // {ObjectReference} 'node'; public ObjectReferenceElements getObjectReferenceAccess() { return pObjectReference; } diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtext b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtext index 2ac81bf6..3efde6ec 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtext +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtext @@ -15,7 +15,7 @@ Command : ; QualifiedName returns ecore::EString: - ID (=>'.' ID)*; + ID ('.' ID)*; /////////////////////////////////////////////////// // Imports @@ -106,10 +106,14 @@ enum Solver: SMTSolver | AlloySolver | ViatraSolver; ScopeSpecification: {ScopeSpecification} '{' (scopes += TypeScope (',' scopes += TypeScope)*)? '}'; -TypeScope: ( min = INT ( greather?='<' | greaterOrEqual?= '<='))? '#' type = TypeReference (( less?='<' | lessOrEqual?= '<=') max = INT)?; +TypeScope: '#' type = TypeReference + (setsNew ?='+=' | setsSum ?= '=') + ( min = INT ) + ('..' (maxUnlimited?='*' | max=INT))? +; TypeReference: ClassReference | ObjectReference | IntegerReference | RealReference | StringReference; ClassReference: '[' element = MetamodelElement ']'; -ObjectReference: {ObjectReference} 'Object'; +ObjectReference: {ObjectReference} 'node'; IntegerReference: {IntegerScope} 'int'; RealReference: {RealScope} 'real'; StringReference: {StringScope} 'string'; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationRuntimeModule.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationRuntimeModule.xtend index 919dd297..59b2f3f8 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationRuntimeModule.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationRuntimeModule.xtend @@ -3,17 +3,18 @@ */ package hu.bme.mit.inf.dslreasoner.application -import hu.bme.mit.inf.dslreasoner.application.linking.ApplicationConfigurationLinkingService import com.google.inject.Binder import com.google.inject.multibindings.Multibinder -import org.eclipse.viatra.query.patternlanguage.emf.scoping.IMetamodelProviderInstance +import hu.bme.mit.inf.dslreasoner.application.linking.ApplicationConfigurationLinkingService +import hu.bme.mit.inf.dslreasoner.application.valueconverter.ApplicationConfigurationValueConverterService import org.apache.log4j.Logger -import org.eclipse.viatra.query.patternlanguage.emf.scoping.IMetamodelProvider +import org.eclipse.viatra.query.patternlanguage.emf.GenmodelExtensionLoader +import org.eclipse.viatra.query.patternlanguage.emf.IGenmodelMappingLoader import org.eclipse.viatra.query.patternlanguage.emf.scoping.CompoundMetamodelProviderService +import org.eclipse.viatra.query.patternlanguage.emf.scoping.IMetamodelProvider +import org.eclipse.viatra.query.patternlanguage.emf.scoping.IMetamodelProviderInstance import org.eclipse.viatra.query.patternlanguage.emf.scoping.MetamodelProviderService import org.eclipse.viatra.query.patternlanguage.emf.scoping.ResourceSetMetamodelProviderService -import org.eclipse.viatra.query.patternlanguage.emf.IGenmodelMappingLoader -import org.eclipse.viatra.query.patternlanguage.emf.GenmodelExtensionLoader /** * Use this class to register components to be used at runtime / without the Equinox extension registry. @@ -40,4 +41,12 @@ class ApplicationConfigurationRuntimeModule extends AbstractApplicationConfigura def Class bindIGenmodelMappingLoader() { GenmodelExtensionLoader } + + override bindIValueConverterService() { + ApplicationConfigurationValueConverterService + } + +// override bindIQualifiedNameProvider() { +// ApplicationConfigurationQualifiedNameProvider +// } } diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/ModelLoader.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/ModelLoader.xtend index 1de7ee22..5fc2cdc5 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/ModelLoader.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/ModelLoader.xtend @@ -1,11 +1,24 @@ package hu.bme.mit.inf.dslreasoner.application.execution +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl +import org.eclipse.emf.common.util.URI + class ModelLoader { - //def loadMetamodels()7 -// val List classes = new LinkedList -// val List references = new LinkedList -// val List attributes = new LinkedList -// val List enums = new LinkedList -// val List literals = new LinkedList -// + def loadModel(String path, Context context) { + var URI uri + try { + uri = URI::createURI(path) + } catch(IllegalArgumentException e) { + context.writeError('''Malformed uri: "«uri»"!''') + return null + } + + val resourceSet = new ResourceSetImpl + val resource = resourceSet.getResource(uri,true) + if(resource === null) { + + } else { + return resource + } + } } \ No newline at end of file diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/util/VQLParser.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/util/VQLParser.xtend index 9b5c538f..6eb9e3c8 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/util/VQLParser.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/util/VQLParser.xtend @@ -3,7 +3,9 @@ package hu.bme.mit.inf.dslreasoner.application.execution.util import com.google.inject.Guice import com.google.inject.Injector import com.google.inject.Module +import hu.bme.mit.inf.dslreasoner.application.execution.Context import java.util.LinkedHashMap +import java.util.List import org.eclipse.emf.common.util.URI import org.eclipse.emf.ecore.resource.Resource import org.eclipse.emf.ecore.resource.ResourceSet @@ -17,11 +19,8 @@ import org.eclipse.viatra.query.patternlanguage.emf.GenmodelExtensionLoader import org.eclipse.viatra.query.patternlanguage.emf.IGenmodelMappingLoader import org.eclipse.viatra.query.patternlanguage.emf.eMFPatternLanguage.PatternModel import org.eclipse.viatra.query.patternlanguage.emf.specification.SpecificationBuilder -import org.eclipse.xtext.resource.XtextResourceSet -import hu.bme.mit.inf.dslreasoner.application.execution.Context -import java.util.List -import java.util.HashMap import org.eclipse.viatra.query.runtime.api.IQuerySpecification +import org.eclipse.xtext.resource.XtextResourceSet class MyModule extends EMFPatternLanguageRuntimeModule implements Module { def public Class bindAnnotationValidatorLoader() { diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/linking/ApplicationConfigurationLinkingService.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/linking/ApplicationConfigurationLinkingService.xtend index 35d4008b..e48b74ba 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/linking/ApplicationConfigurationLinkingService.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/linking/ApplicationConfigurationLinkingService.xtend @@ -2,33 +2,30 @@ package hu.bme.mit.inf.dslreasoner.application.linking import com.google.inject.Inject import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport import java.util.Collections +import java.util.List import java.util.Optional import org.eclipse.emf.common.util.URI import org.eclipse.emf.ecore.EObject import org.eclipse.emf.ecore.EReference +import org.eclipse.emf.ecore.resource.Resource import org.eclipse.viatra.query.patternlanguage.emf.scoping.IMetamodelProvider +import org.eclipse.xtext.EcoreUtil2 import org.eclipse.xtext.conversion.IValueConverterService import org.eclipse.xtext.conversion.ValueConverterException import org.eclipse.xtext.linking.impl.DefaultLinkingService import org.eclipse.xtext.nodemodel.ILeafNode import org.eclipse.xtext.nodemodel.INode -import org.eclipse.emf.ecore.resource.Resource -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry -import org.eclipse.emf.ecore.util.EcoreUtil -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript -import org.eclipse.xtext.EcoreUtil2 -import java.util.List -import org.eclipse.xtext.conversion.impl.QualifiedNameValueConverter class ApplicationConfigurationLinkingService extends DefaultLinkingService{ //@Inject Logger logger @Inject IValueConverterService valueConverterService - @Inject IMetamodelProvider metamodelProvider public static extension ApplicationConfigurationPackage pac = ApplicationConfigurationPackage.eINSTANCE @@ -39,8 +36,8 @@ class ApplicationConfigurationLinkingService extends DefaultLinkingService{ return getEPackage(context as EPackageImport, node as ILeafNode) } } else if(context instanceof ViatraImport) { - if(ref == viatraImport_ImportedViatra && node instanceof ILeafNode) { - return getViatra(context as ViatraImport, node as ILeafNode) + if(ref == viatraImport_ImportedViatra) { + return getViatra(context as ViatraImport, node) } } else if(context instanceof PatternEntry) { if(ref === patternEntry_Package) { @@ -67,7 +64,7 @@ class ApplicationConfigurationLinkingService extends DefaultLinkingService{ ].orElse(emptyList) } - private def getViatra(ViatraImport viatraImport, ILeafNode node) { + private def getViatra(ViatraImport viatraImport, INode node) { val uri = getNSUri(node) if(uri.present) { var URI createdURI @@ -92,7 +89,7 @@ class ApplicationConfigurationLinkingService extends DefaultLinkingService{ } } - private def getNSUri(ILeafNode node) { + private def getNSUri(INode node) { try { val convertedValue = valueConverterService.toValue(node.text, linkingHelper.getRuleNameFrom(node.grammarElement), node) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend index 97cda4a4..ea0e8d1e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend @@ -19,6 +19,9 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEl import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport +import com.google.common.base.Function +import org.eclipse.viatra.query.patternlanguage.patternLanguage.PatternModel +import org.eclipse.xtext.naming.QualifiedName /** * This class contains custom scoping description. @@ -29,21 +32,29 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImp class ApplicationConfigurationScopeProvider extends AbstractApplicationConfigurationScopeProvider { private val language = ApplicationConfigurationPackage.eINSTANCE + protected val nameConverter = new Function() { + override apply(PatternModel input) { + println(input) + val res = QualifiedName.create(input.packageName.split("\\.")) + println(res.toString) + return res + } + } override getScope(EObject context, EReference reference) { val document = EcoreUtil2.getContainerOfType(context,ConfigurationScript) if(context instanceof MetamodelElement) { - context.scopeForMetamodelElement(reference,document) + return context.scopeForMetamodelElement(reference,document) } else if(context instanceof MetamodelSpecification) { - context.scopeForMetamodelSpecification(reference,document) + return context.scopeForMetamodelSpecification(reference,document) } else if(context instanceof AllPackageEntry){ - context.scopeForAllPackageEntry(reference,document) + return context.scopeForAllPackageEntry(reference,document) } else if(context instanceof PatternElement) { - context.scopeForPatternElement(reference,document) + return context.scopeForPatternElement(reference,document) } else if(context instanceof PatternSpecification) { - context.scopeForPatternSpecification(reference,document) + return context.scopeForPatternSpecification(reference,document) } else if(context instanceof AllPatternEntry) { - context.scopeForAllPatternEntry(reference,document) + return context.scopeForAllPatternEntry(reference,document) } else { return super.getScope(context,reference) } @@ -111,11 +122,13 @@ class ApplicationConfigurationScopeProvider extends AbstractApplicationConfigura } } + // Todo [] scope + ////////// protected def scopeForPatternElement(PatternElement context, EReference reference, ConfigurationScript document) { if(reference === language.patternEntry_Package) { - return Scopes.scopeFor(document.allViatraPackages) + return Scopes.scopeFor(document.allViatraPackages,nameConverter,super.getScope(context,reference)) } else if(reference === language.patternElement_Pattern) { if(context.package !== null) { return Scopes.scopeFor(context.package.patterns) @@ -129,7 +142,7 @@ class ApplicationConfigurationScopeProvider extends AbstractApplicationConfigura protected def scopeForPatternSpecification(PatternSpecification context, EReference reference, ConfigurationScript document) { if(reference === language.patternEntry_Package) { - return Scopes.scopeFor(document.allViatraPackages) + return Scopes.scopeFor(document.allViatraPackages,nameConverter,super.getScope(context,reference)) } else if(reference ===language.patternElement_Pattern) { return Scopes.scopeFor(document.allPatterns) } else { @@ -139,7 +152,8 @@ class ApplicationConfigurationScopeProvider extends AbstractApplicationConfigura protected def scopeForAllPatternEntry(AllPatternEntry context, EReference reference, ConfigurationScript document) { if(reference === language.patternEntry_Package) { - return Scopes.scopeFor(document.allViatraPackages) + val res = Scopes.scopeFor(document.allViatraPackages,nameConverter,super.getScope(context,reference)) + return res } else if(reference === language.patternElement_Pattern) { if(context.package === null) { return Scopes.scopeFor(document.allPatterns) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/.gitignore b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/.gitignore index e80f6f0c..78a5a346 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/.gitignore +++ b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/.gitignore @@ -1,3 +1,5 @@ /.ApplicationConfigurationValidator.java._trace /.ApplicationConfigurationValidator.xtendbin /ApplicationConfigurationValidator.java +/.MetamodelValidator.java._trace +/.QueryAndMetamodelValidator.java._trace -- cgit v1.2.3-70-g09d2