package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; import org.eclipse.xtext.*; import org.eclipse.xtext.parser.*; import org.eclipse.xtext.parser.impl.*; import org.eclipse.emf.ecore.util.EcoreUtil; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.common.util.Enumerator; import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; import org.eclipse.xtext.parser.antlr.XtextTokenStream; import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; import org.antlr.runtime.*; import java.util.Stack; import java.util.List; import java.util.ArrayList; @SuppressWarnings("all") public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { "", "", "", "", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'reliability'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'at'", "'mtff'", "'objectives'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'+='", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'*'", "'..'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'minimize'", "'maximize'", "'<='", "'>='", "'none'", "'normal'", "'full'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'" }; public static final int T__50=50; public static final int T__19=19; public static final int T__15=15; public static final int T__59=59; public static final int T__16=16; public static final int T__17=17; public static final int T__18=18; public static final int T__11=11; public static final int T__55=55; public static final int T__12=12; public static final int T__56=56; public static final int T__13=13; public static final int T__57=57; public static final int T__14=14; public static final int T__58=58; public static final int T__51=51; public static final int T__52=52; public static final int T__53=53; public static final int T__54=54; public static final int T__60=60; public static final int T__61=61; public static final int RULE_ID=4; public static final int T__26=26; public static final int T__27=27; public static final int T__28=28; public static final int RULE_INT=5; public static final int T__29=29; public static final int T__22=22; public static final int RULE_ML_COMMENT=7; public static final int T__23=23; public static final int T__24=24; public static final int T__25=25; public static final int T__62=62; public static final int T__63=63; public static final int T__20=20; public static final int T__64=64; public static final int T__21=21; public static final int T__65=65; public static final int RULE_STRING=6; public static final int RULE_SL_COMMENT=8; public static final int T__37=37; public static final int T__38=38; public static final int T__39=39; public static final int T__33=33; public static final int T__34=34; public static final int T__35=35; public static final int T__36=36; public static final int EOF=-1; public static final int T__30=30; public static final int T__31=31; public static final int T__32=32; public static final int RULE_WS=9; public static final int RULE_ANY_OTHER=10; public static final int T__48=48; public static final int T__49=49; public static final int T__44=44; public static final int T__45=45; public static final int T__46=46; public static final int T__47=47; public static final int T__40=40; public static final int T__41=41; public static final int T__42=42; public static final int T__43=43; // delegates // delegators public InternalApplicationConfigurationParser(TokenStream input) { this(input, new RecognizerSharedState()); } public InternalApplicationConfigurationParser(TokenStream input, RecognizerSharedState state) { super(input, state); } public String[] getTokenNames() { return InternalApplicationConfigurationParser.tokenNames; } public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } private ApplicationConfigurationGrammarAccess grammarAccess; public InternalApplicationConfigurationParser(TokenStream input, ApplicationConfigurationGrammarAccess grammarAccess) { this(input); this.grammarAccess = grammarAccess; registerRules(grammarAccess.getGrammar()); } @Override protected String getFirstRuleName() { return "ConfigurationScript"; } @Override protected ApplicationConfigurationGrammarAccess getGrammarAccess() { return grammarAccess; } // $ANTLR start "entryRuleConfigurationScript" // InternalApplicationConfiguration.g:65:1: entryRuleConfigurationScript returns [EObject current=null] : iv_ruleConfigurationScript= ruleConfigurationScript EOF ; public final EObject entryRuleConfigurationScript() throws RecognitionException { EObject current = null; EObject iv_ruleConfigurationScript = null; try { // InternalApplicationConfiguration.g:65:60: (iv_ruleConfigurationScript= ruleConfigurationScript EOF ) // InternalApplicationConfiguration.g:66:2: iv_ruleConfigurationScript= ruleConfigurationScript EOF { newCompositeNode(grammarAccess.getConfigurationScriptRule()); pushFollow(FOLLOW_1); iv_ruleConfigurationScript=ruleConfigurationScript(); state._fsp--; current =iv_ruleConfigurationScript; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleConfigurationScript" // $ANTLR start "ruleConfigurationScript" // InternalApplicationConfiguration.g:72:1: ruleConfigurationScript returns [EObject current=null] : ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ; public final EObject ruleConfigurationScript() throws RecognitionException { EObject current = null; EObject lv_imports_0_0 = null; EObject lv_commands_1_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:78:2: ( ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ) // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) { // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* { // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* loop1: do { int alt1=2; int LA1_0 = input.LA(1); if ( (LA1_0==13) ) { alt1=1; } switch (alt1) { case 1 : // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport ) { // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport ) // InternalApplicationConfiguration.g:82:5: lv_imports_0_0= ruleImport { newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); pushFollow(FOLLOW_3); lv_imports_0_0=ruleImport(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); } add( current, "imports", lv_imports_0_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); afterParserOrEnumRuleCall(); } } break; default : break loop1; } } while (true); // InternalApplicationConfiguration.g:99:3: ( (lv_commands_1_0= ruleCommand ) )* loop2: do { int alt2=2; int LA2_0 = input.LA(1); if ( (LA2_0==17||LA2_0==25||(LA2_0>=27 && LA2_0<=28)||(LA2_0>=31 && LA2_0<=32)||(LA2_0>=46 && LA2_0<=47)) ) { alt2=1; } switch (alt2) { case 1 : // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand ) { // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand ) // InternalApplicationConfiguration.g:101:5: lv_commands_1_0= ruleCommand { newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); pushFollow(FOLLOW_4); lv_commands_1_0=ruleCommand(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); } add( current, "commands", lv_commands_1_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); afterParserOrEnumRuleCall(); } } break; default : break loop2; } } while (true); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleConfigurationScript" // $ANTLR start "entryRuleCommand" // InternalApplicationConfiguration.g:122:1: entryRuleCommand returns [EObject current=null] : iv_ruleCommand= ruleCommand EOF ; public final EObject entryRuleCommand() throws RecognitionException { EObject current = null; EObject iv_ruleCommand = null; try { // InternalApplicationConfiguration.g:122:48: (iv_ruleCommand= ruleCommand EOF ) // InternalApplicationConfiguration.g:123:2: iv_ruleCommand= ruleCommand EOF { newCompositeNode(grammarAccess.getCommandRule()); pushFollow(FOLLOW_1); iv_ruleCommand=ruleCommand(); state._fsp--; current =iv_ruleCommand; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleCommand" // $ANTLR start "ruleCommand" // InternalApplicationConfiguration.g:129:1: ruleCommand returns [EObject current=null] : (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ; public final EObject ruleCommand() throws RecognitionException { EObject current = null; EObject this_Declaration_0 = null; EObject this_Task_1 = null; enterRule(); try { // InternalApplicationConfiguration.g:135:2: ( (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ) // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) { // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) int alt3=2; int LA3_0 = input.LA(1); if ( (LA3_0==17||LA3_0==25||(LA3_0>=27 && LA3_0<=28)||(LA3_0>=31 && LA3_0<=32)||LA3_0==46) ) { alt3=1; } else if ( (LA3_0==47) ) { alt3=2; } else { NoViableAltException nvae = new NoViableAltException("", 3, 0, input); throw nvae; } switch (alt3) { case 1 : // InternalApplicationConfiguration.g:137:3: this_Declaration_0= ruleDeclaration { newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); pushFollow(FOLLOW_2); this_Declaration_0=ruleDeclaration(); state._fsp--; current = this_Declaration_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalApplicationConfiguration.g:146:3: this_Task_1= ruleTask { newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); pushFollow(FOLLOW_2); this_Task_1=ruleTask(); state._fsp--; current = this_Task_1; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleCommand" // $ANTLR start "entryRuleQualifiedName" // InternalApplicationConfiguration.g:158:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; public final String entryRuleQualifiedName() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleQualifiedName = null; try { // InternalApplicationConfiguration.g:158:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) // InternalApplicationConfiguration.g:159:2: iv_ruleQualifiedName= ruleQualifiedName EOF { newCompositeNode(grammarAccess.getQualifiedNameRule()); pushFollow(FOLLOW_1); iv_ruleQualifiedName=ruleQualifiedName(); state._fsp--; current =iv_ruleQualifiedName.getText(); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleQualifiedName" // $ANTLR start "ruleQualifiedName" // 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(); Token this_ID_0=null; Token kw=null; Token this_ID_2=null; 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: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); current.merge(this_ID_0); 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) ) { alt4=1; } switch (alt4) { case 1 : // InternalApplicationConfiguration.g:181:4: kw= '.' this_ID_2= RULE_ID { kw=(Token)match(input,11,FOLLOW_6); 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); newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); } break; default : break loop4; } } while (true); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleQualifiedName" // $ANTLR start "entryRuleREALLiteral" // InternalApplicationConfiguration.g:198:1: entryRuleREALLiteral returns [String current=null] : iv_ruleREALLiteral= ruleREALLiteral EOF ; public final String entryRuleREALLiteral() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleREALLiteral = null; try { // InternalApplicationConfiguration.g:198:51: (iv_ruleREALLiteral= ruleREALLiteral EOF ) // InternalApplicationConfiguration.g:199:2: iv_ruleREALLiteral= ruleREALLiteral EOF { newCompositeNode(grammarAccess.getREALLiteralRule()); pushFollow(FOLLOW_1); iv_ruleREALLiteral=ruleREALLiteral(); state._fsp--; current =iv_ruleREALLiteral.getText(); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleREALLiteral" // $ANTLR start "ruleREALLiteral" // InternalApplicationConfiguration.g:205:1: ruleREALLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) ; public final AntlrDatatypeRuleToken ruleREALLiteral() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; Token this_INT_1=null; Token this_INT_3=null; enterRule(); try { // InternalApplicationConfiguration.g:211:2: ( ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) ) // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) { // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) // InternalApplicationConfiguration.g:213:3: (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT { // InternalApplicationConfiguration.g:213:3: (kw= '-' )? int alt5=2; int LA5_0 = input.LA(1); if ( (LA5_0==12) ) { alt5=1; } switch (alt5) { case 1 : // InternalApplicationConfiguration.g:214:4: kw= '-' { kw=(Token)match(input,12,FOLLOW_7); current.merge(kw); newLeafNode(kw, grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); } break; } this_INT_1=(Token)match(input,RULE_INT,FOLLOW_8); current.merge(this_INT_1); newLeafNode(this_INT_1, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); kw=(Token)match(input,11,FOLLOW_7); current.merge(kw); newLeafNode(kw, grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); this_INT_3=(Token)match(input,RULE_INT,FOLLOW_2); current.merge(this_INT_3); newLeafNode(this_INT_3, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleREALLiteral" // $ANTLR start "entryRuleINTLiteral" // InternalApplicationConfiguration.g:243:1: entryRuleINTLiteral returns [String current=null] : iv_ruleINTLiteral= ruleINTLiteral EOF ; public final String entryRuleINTLiteral() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleINTLiteral = null; try { // InternalApplicationConfiguration.g:243:50: (iv_ruleINTLiteral= ruleINTLiteral EOF ) // InternalApplicationConfiguration.g:244:2: iv_ruleINTLiteral= ruleINTLiteral EOF { newCompositeNode(grammarAccess.getINTLiteralRule()); pushFollow(FOLLOW_1); iv_ruleINTLiteral=ruleINTLiteral(); state._fsp--; current =iv_ruleINTLiteral.getText(); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleINTLiteral" // $ANTLR start "ruleINTLiteral" // InternalApplicationConfiguration.g:250:1: ruleINTLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ; public final AntlrDatatypeRuleToken ruleINTLiteral() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; Token this_INT_1=null; enterRule(); try { // InternalApplicationConfiguration.g:256:2: ( ( (kw= '-' )? this_INT_1= RULE_INT ) ) // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT ) { // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT ) // InternalApplicationConfiguration.g:258:3: (kw= '-' )? this_INT_1= RULE_INT { // InternalApplicationConfiguration.g:258:3: (kw= '-' )? int alt6=2; int LA6_0 = input.LA(1); if ( (LA6_0==12) ) { alt6=1; } switch (alt6) { case 1 : // InternalApplicationConfiguration.g:259:4: kw= '-' { kw=(Token)match(input,12,FOLLOW_7); current.merge(kw); newLeafNode(kw, grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); } break; } this_INT_1=(Token)match(input,RULE_INT,FOLLOW_2); current.merge(this_INT_1); newLeafNode(this_INT_1, grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleINTLiteral" // $ANTLR start "entryRuleImport" // InternalApplicationConfiguration.g:276:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; public final EObject entryRuleImport() throws RecognitionException { EObject current = null; EObject iv_ruleImport = null; try { // InternalApplicationConfiguration.g:276:47: (iv_ruleImport= ruleImport EOF ) // InternalApplicationConfiguration.g:277:2: iv_ruleImport= ruleImport EOF { newCompositeNode(grammarAccess.getImportRule()); pushFollow(FOLLOW_1); iv_ruleImport=ruleImport(); state._fsp--; current =iv_ruleImport; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleImport" // $ANTLR start "ruleImport" // InternalApplicationConfiguration.g:283:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport ) ; public final EObject ruleImport() throws RecognitionException { EObject current = null; EObject this_EPackageImport_0 = null; EObject this_ViatraImport_1 = null; EObject this_CftImport_2 = null; enterRule(); try { // InternalApplicationConfiguration.g:289:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport ) ) // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport ) { // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport ) int alt7=3; int LA7_0 = input.LA(1); if ( (LA7_0==13) ) { switch ( input.LA(2) ) { case 14: { alt7=1; } break; case 15: { alt7=2; } break; case 16: { alt7=3; } break; default: NoViableAltException nvae = new NoViableAltException("", 7, 1, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("", 7, 0, input); throw nvae; } switch (alt7) { case 1 : // InternalApplicationConfiguration.g:291:3: this_EPackageImport_0= ruleEPackageImport { newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); pushFollow(FOLLOW_2); this_EPackageImport_0=ruleEPackageImport(); state._fsp--; current = this_EPackageImport_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalApplicationConfiguration.g:300:3: this_ViatraImport_1= ruleViatraImport { newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); pushFollow(FOLLOW_2); this_ViatraImport_1=ruleViatraImport(); state._fsp--; current = this_ViatraImport_1; afterParserOrEnumRuleCall(); } break; case 3 : // InternalApplicationConfiguration.g:309:3: this_CftImport_2= ruleCftImport { newCompositeNode(grammarAccess.getImportAccess().getCftImportParserRuleCall_2()); pushFollow(FOLLOW_2); this_CftImport_2=ruleCftImport(); state._fsp--; current = this_CftImport_2; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleImport" // $ANTLR start "entryRuleEPackageImport" // InternalApplicationConfiguration.g:321:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ; public final EObject entryRuleEPackageImport() throws RecognitionException { EObject current = null; EObject iv_ruleEPackageImport = null; try { // InternalApplicationConfiguration.g:321:55: (iv_ruleEPackageImport= ruleEPackageImport EOF ) // InternalApplicationConfiguration.g:322:2: iv_ruleEPackageImport= ruleEPackageImport EOF { newCompositeNode(grammarAccess.getEPackageImportRule()); pushFollow(FOLLOW_1); iv_ruleEPackageImport=ruleEPackageImport(); state._fsp--; current =iv_ruleEPackageImport; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleEPackageImport" // $ANTLR start "ruleEPackageImport" // InternalApplicationConfiguration.g:328: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; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; enterRule(); try { // InternalApplicationConfiguration.g:334:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ) // InternalApplicationConfiguration.g:335:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) { // InternalApplicationConfiguration.g:335:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) // InternalApplicationConfiguration.g:336:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) { otherlv_0=(Token)match(input,13,FOLLOW_9); newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); otherlv_1=(Token)match(input,14,FOLLOW_10); newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); // InternalApplicationConfiguration.g:344:3: ( (otherlv_2= RULE_STRING ) ) // InternalApplicationConfiguration.g:345:4: (otherlv_2= RULE_STRING ) { // InternalApplicationConfiguration.g:345:4: (otherlv_2= RULE_STRING ) // InternalApplicationConfiguration.g:346:5: otherlv_2= RULE_STRING { if (current==null) { current = createModelElement(grammarAccess.getEPackageImportRule()); } otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleEPackageImport" // $ANTLR start "entryRuleViatraImport" // InternalApplicationConfiguration.g:361:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ; public final EObject entryRuleViatraImport() throws RecognitionException { EObject current = null; EObject iv_ruleViatraImport = null; try { // InternalApplicationConfiguration.g:361:53: (iv_ruleViatraImport= ruleViatraImport EOF ) // InternalApplicationConfiguration.g:362:2: iv_ruleViatraImport= ruleViatraImport EOF { newCompositeNode(grammarAccess.getViatraImportRule()); pushFollow(FOLLOW_1); iv_ruleViatraImport=ruleViatraImport(); state._fsp--; current =iv_ruleViatraImport; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleViatraImport" // $ANTLR start "ruleViatraImport" // InternalApplicationConfiguration.g:368: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; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; enterRule(); try { // InternalApplicationConfiguration.g:374:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ) // InternalApplicationConfiguration.g:375:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) { // InternalApplicationConfiguration.g:375:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) // InternalApplicationConfiguration.g:376:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) { otherlv_0=(Token)match(input,13,FOLLOW_11); newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); otherlv_1=(Token)match(input,15,FOLLOW_10); newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); // InternalApplicationConfiguration.g:384:3: ( (otherlv_2= RULE_STRING ) ) // InternalApplicationConfiguration.g:385:4: (otherlv_2= RULE_STRING ) { // InternalApplicationConfiguration.g:385:4: (otherlv_2= RULE_STRING ) // InternalApplicationConfiguration.g:386:5: otherlv_2= RULE_STRING { if (current==null) { current = createModelElement(grammarAccess.getViatraImportRule()); } otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleViatraImport" // $ANTLR start "entryRuleCftImport" // InternalApplicationConfiguration.g:401:1: entryRuleCftImport returns [EObject current=null] : iv_ruleCftImport= ruleCftImport EOF ; public final EObject entryRuleCftImport() throws RecognitionException { EObject current = null; EObject iv_ruleCftImport = null; try { // InternalApplicationConfiguration.g:401:50: (iv_ruleCftImport= ruleCftImport EOF ) // InternalApplicationConfiguration.g:402:2: iv_ruleCftImport= ruleCftImport EOF { newCompositeNode(grammarAccess.getCftImportRule()); pushFollow(FOLLOW_1); iv_ruleCftImport=ruleCftImport(); state._fsp--; current =iv_ruleCftImport; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleCftImport" // $ANTLR start "ruleCftImport" // InternalApplicationConfiguration.g:408:1: ruleCftImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) ) ; public final EObject ruleCftImport() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; enterRule(); try { // InternalApplicationConfiguration.g:414:2: ( (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) ) ) // InternalApplicationConfiguration.g:415:2: (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) ) { // InternalApplicationConfiguration.g:415:2: (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) ) // InternalApplicationConfiguration.g:416:3: otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) { otherlv_0=(Token)match(input,13,FOLLOW_12); newLeafNode(otherlv_0, grammarAccess.getCftImportAccess().getImportKeyword_0()); otherlv_1=(Token)match(input,16,FOLLOW_10); newLeafNode(otherlv_1, grammarAccess.getCftImportAccess().getReliabilityKeyword_1()); // InternalApplicationConfiguration.g:424:3: ( (otherlv_2= RULE_STRING ) ) // InternalApplicationConfiguration.g:425:4: (otherlv_2= RULE_STRING ) { // InternalApplicationConfiguration.g:425:4: (otherlv_2= RULE_STRING ) // InternalApplicationConfiguration.g:426:5: otherlv_2= RULE_STRING { if (current==null) { current = createModelElement(grammarAccess.getCftImportRule()); } otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); newLeafNode(otherlv_2, grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0()); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleCftImport" // $ANTLR start "entryRuleDeclaration" // InternalApplicationConfiguration.g:441:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ; public final EObject entryRuleDeclaration() throws RecognitionException { EObject current = null; EObject iv_ruleDeclaration = null; try { // InternalApplicationConfiguration.g:441:52: (iv_ruleDeclaration= ruleDeclaration EOF ) // InternalApplicationConfiguration.g:442:2: iv_ruleDeclaration= ruleDeclaration EOF { newCompositeNode(grammarAccess.getDeclarationRule()); pushFollow(FOLLOW_1); iv_ruleDeclaration=ruleDeclaration(); state._fsp--; current =iv_ruleDeclaration; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleDeclaration" // $ANTLR start "ruleDeclaration" // InternalApplicationConfiguration.g:448: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 | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) ; public final EObject ruleDeclaration() throws RecognitionException { EObject current = null; EObject this_FileDeclaration_0 = null; EObject this_MetamodelDeclaration_1 = null; EObject this_PartialModelDeclaration_2 = null; EObject this_GraphPatternDeclaration_3 = null; EObject this_ConfigDeclaration_4 = null; EObject this_ScopeDeclaration_5 = null; EObject this_ObjectiveDeclaration_6 = null; enterRule(); try { // InternalApplicationConfiguration.g:454: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 | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) ) // InternalApplicationConfiguration.g:455: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 | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) { // InternalApplicationConfiguration.g:455: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 | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) int alt8=7; switch ( input.LA(1) ) { case 17: { alt8=1; } break; case 25: { alt8=2; } break; case 27: { alt8=3; } break; case 28: { alt8=4; } break; case 32: { alt8=5; } break; case 46: { alt8=6; } break; case 31: { alt8=7; } break; default: NoViableAltException nvae = new NoViableAltException("", 8, 0, input); throw nvae; } switch (alt8) { case 1 : // InternalApplicationConfiguration.g:456:3: this_FileDeclaration_0= ruleFileDeclaration { newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); pushFollow(FOLLOW_2); this_FileDeclaration_0=ruleFileDeclaration(); state._fsp--; current = this_FileDeclaration_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalApplicationConfiguration.g:465:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration { newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); pushFollow(FOLLOW_2); this_MetamodelDeclaration_1=ruleMetamodelDeclaration(); state._fsp--; current = this_MetamodelDeclaration_1; afterParserOrEnumRuleCall(); } break; case 3 : // InternalApplicationConfiguration.g:474:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration { newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); pushFollow(FOLLOW_2); this_PartialModelDeclaration_2=rulePartialModelDeclaration(); state._fsp--; current = this_PartialModelDeclaration_2; afterParserOrEnumRuleCall(); } break; case 4 : // InternalApplicationConfiguration.g:483:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration { newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); pushFollow(FOLLOW_2); this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration(); state._fsp--; current = this_GraphPatternDeclaration_3; afterParserOrEnumRuleCall(); } break; case 5 : // InternalApplicationConfiguration.g:492:3: this_ConfigDeclaration_4= ruleConfigDeclaration { newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); pushFollow(FOLLOW_2); this_ConfigDeclaration_4=ruleConfigDeclaration(); state._fsp--; current = this_ConfigDeclaration_4; afterParserOrEnumRuleCall(); } break; case 6 : // InternalApplicationConfiguration.g:501:3: this_ScopeDeclaration_5= ruleScopeDeclaration { newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); pushFollow(FOLLOW_2); this_ScopeDeclaration_5=ruleScopeDeclaration(); state._fsp--; current = this_ScopeDeclaration_5; afterParserOrEnumRuleCall(); } break; case 7 : // InternalApplicationConfiguration.g:510:3: this_ObjectiveDeclaration_6= ruleObjectiveDeclaration { newCompositeNode(grammarAccess.getDeclarationAccess().getObjectiveDeclarationParserRuleCall_6()); pushFollow(FOLLOW_2); this_ObjectiveDeclaration_6=ruleObjectiveDeclaration(); state._fsp--; current = this_ObjectiveDeclaration_6; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleDeclaration" // $ANTLR start "entryRuleFileSpecification" // InternalApplicationConfiguration.g:522:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ; public final EObject entryRuleFileSpecification() throws RecognitionException { EObject current = null; EObject iv_ruleFileSpecification = null; try { // InternalApplicationConfiguration.g:522:58: (iv_ruleFileSpecification= ruleFileSpecification EOF ) // InternalApplicationConfiguration.g:523:2: iv_ruleFileSpecification= ruleFileSpecification EOF { newCompositeNode(grammarAccess.getFileSpecificationRule()); pushFollow(FOLLOW_1); iv_ruleFileSpecification=ruleFileSpecification(); state._fsp--; current =iv_ruleFileSpecification; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleFileSpecification" // $ANTLR start "ruleFileSpecification" // InternalApplicationConfiguration.g:529:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ; public final EObject ruleFileSpecification() throws RecognitionException { EObject current = null; Token lv_path_0_0=null; enterRule(); try { // InternalApplicationConfiguration.g:535:2: ( ( (lv_path_0_0= RULE_STRING ) ) ) // InternalApplicationConfiguration.g:536:2: ( (lv_path_0_0= RULE_STRING ) ) { // InternalApplicationConfiguration.g:536:2: ( (lv_path_0_0= RULE_STRING ) ) // InternalApplicationConfiguration.g:537:3: (lv_path_0_0= RULE_STRING ) { // InternalApplicationConfiguration.g:537:3: (lv_path_0_0= RULE_STRING ) // InternalApplicationConfiguration.g:538:4: lv_path_0_0= RULE_STRING { lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); 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"); } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleFileSpecification" // $ANTLR start "entryRuleFileDeclaration" // InternalApplicationConfiguration.g:557:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ; public final EObject entryRuleFileDeclaration() throws RecognitionException { EObject current = null; EObject iv_ruleFileDeclaration = null; try { // InternalApplicationConfiguration.g:557:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF ) // InternalApplicationConfiguration.g:558:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF { newCompositeNode(grammarAccess.getFileDeclarationRule()); pushFollow(FOLLOW_1); iv_ruleFileDeclaration=ruleFileDeclaration(); state._fsp--; current =iv_ruleFileDeclaration; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleFileDeclaration" // $ANTLR start "ruleFileDeclaration" // InternalApplicationConfiguration.g:564: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; Token otherlv_0=null; Token lv_name_1_0=null; Token otherlv_2=null; EObject lv_specification_3_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:570:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ) // InternalApplicationConfiguration.g:571:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) { // InternalApplicationConfiguration.g:571:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) // InternalApplicationConfiguration.g:572:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) { otherlv_0=(Token)match(input,17,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); // InternalApplicationConfiguration.g:576:3: ( (lv_name_1_0= RULE_ID ) ) // InternalApplicationConfiguration.g:577:4: (lv_name_1_0= RULE_ID ) { // InternalApplicationConfiguration.g:577:4: (lv_name_1_0= RULE_ID ) // InternalApplicationConfiguration.g:578:5: lv_name_1_0= RULE_ID { lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_13); 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"); } } otherlv_2=(Token)match(input,18,FOLLOW_10); newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); // InternalApplicationConfiguration.g:598:3: ( (lv_specification_3_0= ruleFileSpecification ) ) // InternalApplicationConfiguration.g:599:4: (lv_specification_3_0= ruleFileSpecification ) { // InternalApplicationConfiguration.g:599:4: (lv_specification_3_0= ruleFileSpecification ) // InternalApplicationConfiguration.g:600:5: lv_specification_3_0= ruleFileSpecification { newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); pushFollow(FOLLOW_2); lv_specification_3_0=ruleFileSpecification(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); } set( current, "specification", lv_specification_3_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); afterParserOrEnumRuleCall(); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleFileDeclaration" // $ANTLR start "entryRuleFileReference" // InternalApplicationConfiguration.g:621:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ; public final EObject entryRuleFileReference() throws RecognitionException { EObject current = null; EObject iv_ruleFileReference = null; try { // InternalApplicationConfiguration.g:621:54: (iv_ruleFileReference= ruleFileReference EOF ) // InternalApplicationConfiguration.g:622:2: iv_ruleFileReference= ruleFileReference EOF { newCompositeNode(grammarAccess.getFileReferenceRule()); pushFollow(FOLLOW_1); iv_ruleFileReference=ruleFileReference(); state._fsp--; current =iv_ruleFileReference; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleFileReference" // $ANTLR start "ruleFileReference" // InternalApplicationConfiguration.g:628:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleFileReference() throws RecognitionException { EObject current = null; Token otherlv_0=null; enterRule(); try { // InternalApplicationConfiguration.g:634:2: ( ( (otherlv_0= RULE_ID ) ) ) // InternalApplicationConfiguration.g:635:2: ( (otherlv_0= RULE_ID ) ) { // InternalApplicationConfiguration.g:635:2: ( (otherlv_0= RULE_ID ) ) // InternalApplicationConfiguration.g:636:3: (otherlv_0= RULE_ID ) { // InternalApplicationConfiguration.g:636:3: (otherlv_0= RULE_ID ) // InternalApplicationConfiguration.g:637:4: otherlv_0= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getFileReferenceRule()); } otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleFileReference" // $ANTLR start "entryRuleFile" // InternalApplicationConfiguration.g:651:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ; public final EObject entryRuleFile() throws RecognitionException { EObject current = null; EObject iv_ruleFile = null; try { // InternalApplicationConfiguration.g:651:45: (iv_ruleFile= ruleFile EOF ) // InternalApplicationConfiguration.g:652:2: iv_ruleFile= ruleFile EOF { newCompositeNode(grammarAccess.getFileRule()); pushFollow(FOLLOW_1); iv_ruleFile=ruleFile(); state._fsp--; current =iv_ruleFile; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleFile" // $ANTLR start "ruleFile" // InternalApplicationConfiguration.g:658:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ; public final EObject ruleFile() throws RecognitionException { EObject current = null; EObject this_FileSpecification_0 = null; EObject this_FileReference_1 = null; enterRule(); try { // InternalApplicationConfiguration.g:664:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ) // InternalApplicationConfiguration.g:665:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) { // InternalApplicationConfiguration.g:665:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) int alt9=2; int LA9_0 = input.LA(1); if ( (LA9_0==RULE_STRING) ) { alt9=1; } else if ( (LA9_0==RULE_ID) ) { alt9=2; } else { NoViableAltException nvae = new NoViableAltException("", 9, 0, input); throw nvae; } switch (alt9) { case 1 : // InternalApplicationConfiguration.g:666:3: this_FileSpecification_0= ruleFileSpecification { newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); pushFollow(FOLLOW_2); this_FileSpecification_0=ruleFileSpecification(); state._fsp--; current = this_FileSpecification_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalApplicationConfiguration.g:675:3: this_FileReference_1= ruleFileReference { newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); pushFollow(FOLLOW_2); this_FileReference_1=ruleFileReference(); state._fsp--; current = this_FileReference_1; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleFile" // $ANTLR start "entryRuleMetamodelSpecification" // InternalApplicationConfiguration.g:687:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ; public final EObject entryRuleMetamodelSpecification() throws RecognitionException { EObject current = null; EObject iv_ruleMetamodelSpecification = null; try { // InternalApplicationConfiguration.g:687:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ) // InternalApplicationConfiguration.g:688:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF { newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); pushFollow(FOLLOW_1); iv_ruleMetamodelSpecification=ruleMetamodelSpecification(); state._fsp--; current =iv_ruleMetamodelSpecification; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleMetamodelSpecification" // $ANTLR start "ruleMetamodelSpecification" // InternalApplicationConfiguration.g:694: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; Token otherlv_0=null; Token otherlv_2=null; Token otherlv_4=null; EObject lv_entries_1_0 = null; EObject lv_entries_3_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:700:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ) // InternalApplicationConfiguration.g:701:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) { // InternalApplicationConfiguration.g:701:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) // InternalApplicationConfiguration.g:702:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' { otherlv_0=(Token)match(input,19,FOLLOW_14); newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); // InternalApplicationConfiguration.g:706:3: ( (lv_entries_1_0= ruleMetamodelEntry ) ) // InternalApplicationConfiguration.g:707:4: (lv_entries_1_0= ruleMetamodelEntry ) { // InternalApplicationConfiguration.g:707:4: (lv_entries_1_0= ruleMetamodelEntry ) // InternalApplicationConfiguration.g:708:5: lv_entries_1_0= ruleMetamodelEntry { newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); pushFollow(FOLLOW_15); lv_entries_1_0=ruleMetamodelEntry(); state._fsp--; 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:725:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* loop10: do { int alt10=2; int LA10_0 = input.LA(1); if ( (LA10_0==20) ) { alt10=1; } switch (alt10) { case 1 : // InternalApplicationConfiguration.g:726:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) { otherlv_2=(Token)match(input,20,FOLLOW_14); newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); // InternalApplicationConfiguration.g:730:4: ( (lv_entries_3_0= ruleMetamodelEntry ) ) // InternalApplicationConfiguration.g:731:5: (lv_entries_3_0= ruleMetamodelEntry ) { // InternalApplicationConfiguration.g:731:5: (lv_entries_3_0= ruleMetamodelEntry ) // InternalApplicationConfiguration.g:732:6: lv_entries_3_0= ruleMetamodelEntry { newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); pushFollow(FOLLOW_15); lv_entries_3_0=ruleMetamodelEntry(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); } add( current, "entries", lv_entries_3_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); afterParserOrEnumRuleCall(); } } } break; default : break loop10; } } while (true); otherlv_4=(Token)match(input,21,FOLLOW_2); newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleMetamodelSpecification" // $ANTLR start "entryRuleMetamodelEntry" // InternalApplicationConfiguration.g:758:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ; public final EObject entryRuleMetamodelEntry() throws RecognitionException { EObject current = null; EObject iv_ruleMetamodelEntry = null; try { // InternalApplicationConfiguration.g:758:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ) // InternalApplicationConfiguration.g:759:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF { newCompositeNode(grammarAccess.getMetamodelEntryRule()); pushFollow(FOLLOW_1); iv_ruleMetamodelEntry=ruleMetamodelEntry(); state._fsp--; current =iv_ruleMetamodelEntry; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleMetamodelEntry" // $ANTLR start "ruleMetamodelEntry" // InternalApplicationConfiguration.g:765:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ; public final EObject ruleMetamodelEntry() throws RecognitionException { EObject current = null; EObject this_MetamodelElement_0 = null; EObject this_AllPackageEntry_1 = null; enterRule(); try { // InternalApplicationConfiguration.g:771:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ) // InternalApplicationConfiguration.g:772:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) { // InternalApplicationConfiguration.g:772:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) int alt11=2; int LA11_0 = input.LA(1); if ( (LA11_0==RULE_ID) ) { alt11=1; } else if ( (LA11_0==22) ) { alt11=2; } else { NoViableAltException nvae = new NoViableAltException("", 11, 0, input); throw nvae; } switch (alt11) { case 1 : // InternalApplicationConfiguration.g:773:3: this_MetamodelElement_0= ruleMetamodelElement { newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); pushFollow(FOLLOW_2); this_MetamodelElement_0=ruleMetamodelElement(); state._fsp--; current = this_MetamodelElement_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalApplicationConfiguration.g:782:3: this_AllPackageEntry_1= ruleAllPackageEntry { newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); pushFollow(FOLLOW_2); this_AllPackageEntry_1=ruleAllPackageEntry(); state._fsp--; current = this_AllPackageEntry_1; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleMetamodelEntry" // $ANTLR start "entryRuleAllPackageEntry" // InternalApplicationConfiguration.g:794:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ; public final EObject entryRuleAllPackageEntry() throws RecognitionException { EObject current = null; EObject iv_ruleAllPackageEntry = null; try { // InternalApplicationConfiguration.g:794:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ) // InternalApplicationConfiguration.g:795:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF { newCompositeNode(grammarAccess.getAllPackageEntryRule()); pushFollow(FOLLOW_1); iv_ruleAllPackageEntry=ruleAllPackageEntry(); state._fsp--; current =iv_ruleAllPackageEntry; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAllPackageEntry" // $ANTLR start "ruleAllPackageEntry" // InternalApplicationConfiguration.g:801: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; Token otherlv_0=null; Token otherlv_2=null; Token otherlv_3=null; Token otherlv_5=null; Token otherlv_7=null; EObject lv_exclusion_4_0 = null; EObject lv_exclusion_6_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:807: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:808: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:808: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:809: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,22,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); // InternalApplicationConfiguration.g:813:3: ( ( ruleQualifiedName ) ) // InternalApplicationConfiguration.g:814:4: ( ruleQualifiedName ) { // InternalApplicationConfiguration.g:814:4: ( ruleQualifiedName ) // InternalApplicationConfiguration.g:815:5: ruleQualifiedName { if (current==null) { current = createModelElement(grammarAccess.getAllPackageEntryRule()); } newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); pushFollow(FOLLOW_16); ruleQualifiedName(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalApplicationConfiguration.g:829:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? int alt13=2; int LA13_0 = input.LA(1); if ( (LA13_0==23) ) { alt13=1; } switch (alt13) { case 1 : // InternalApplicationConfiguration.g:830: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,23,FOLLOW_17); newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); otherlv_3=(Token)match(input,19,FOLLOW_6); newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); // InternalApplicationConfiguration.g:838:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) ) // InternalApplicationConfiguration.g:839:5: (lv_exclusion_4_0= ruleMetamodelElement ) { // InternalApplicationConfiguration.g:839:5: (lv_exclusion_4_0= ruleMetamodelElement ) // InternalApplicationConfiguration.g:840:6: lv_exclusion_4_0= ruleMetamodelElement { newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); pushFollow(FOLLOW_15); lv_exclusion_4_0=ruleMetamodelElement(); state._fsp--; 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:857:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* loop12: do { int alt12=2; int LA12_0 = input.LA(1); if ( (LA12_0==20) ) { alt12=1; } switch (alt12) { case 1 : // InternalApplicationConfiguration.g:858:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) { otherlv_5=(Token)match(input,20,FOLLOW_6); newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); // InternalApplicationConfiguration.g:862:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) ) // InternalApplicationConfiguration.g:863:6: (lv_exclusion_6_0= ruleMetamodelElement ) { // InternalApplicationConfiguration.g:863:6: (lv_exclusion_6_0= ruleMetamodelElement ) // InternalApplicationConfiguration.g:864:7: lv_exclusion_6_0= ruleMetamodelElement { newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); pushFollow(FOLLOW_15); lv_exclusion_6_0=ruleMetamodelElement(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); } add( current, "exclusion", lv_exclusion_6_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); afterParserOrEnumRuleCall(); } } } break; default : break loop12; } } while (true); otherlv_7=(Token)match(input,21,FOLLOW_2); newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); } break; } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAllPackageEntry" // $ANTLR start "entryRuleMetamodelElement" // InternalApplicationConfiguration.g:891:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ; public final EObject entryRuleMetamodelElement() throws RecognitionException { EObject current = null; EObject iv_ruleMetamodelElement = null; try { // InternalApplicationConfiguration.g:891:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF ) // InternalApplicationConfiguration.g:892:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF { newCompositeNode(grammarAccess.getMetamodelElementRule()); pushFollow(FOLLOW_1); iv_ruleMetamodelElement=ruleMetamodelElement(); state._fsp--; current =iv_ruleMetamodelElement; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleMetamodelElement" // $ANTLR start "ruleMetamodelElement" // InternalApplicationConfiguration.g:898: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; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_3=null; Token otherlv_4=null; enterRule(); try { // InternalApplicationConfiguration.g:904:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ) // InternalApplicationConfiguration.g:905:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) { // InternalApplicationConfiguration.g:905:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) // InternalApplicationConfiguration.g:906:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? { // InternalApplicationConfiguration.g:906:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? int alt14=2; int LA14_0 = input.LA(1); if ( (LA14_0==RULE_ID) ) { int LA14_1 = input.LA(2); if ( (LA14_1==11) ) { int LA14_2 = input.LA(3); if ( (LA14_2==RULE_ID) ) { int LA14_5 = input.LA(4); if ( (LA14_5==11||LA14_5==24) ) { alt14=1; } } } else if ( (LA14_1==24) ) { alt14=1; } } switch (alt14) { case 1 : // InternalApplicationConfiguration.g:907:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' { // InternalApplicationConfiguration.g:907:4: ( ( ruleQualifiedName ) ) // InternalApplicationConfiguration.g:908:5: ( ruleQualifiedName ) { // InternalApplicationConfiguration.g:908:5: ( ruleQualifiedName ) // InternalApplicationConfiguration.g:909:6: ruleQualifiedName { if (current==null) { current = createModelElement(grammarAccess.getMetamodelElementRule()); } newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); pushFollow(FOLLOW_18); ruleQualifiedName(); state._fsp--; afterParserOrEnumRuleCall(); } } otherlv_1=(Token)match(input,24,FOLLOW_6); newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); } break; } // InternalApplicationConfiguration.g:928:3: ( (otherlv_2= RULE_ID ) ) // InternalApplicationConfiguration.g:929:4: (otherlv_2= RULE_ID ) { // InternalApplicationConfiguration.g:929:4: (otherlv_2= RULE_ID ) // InternalApplicationConfiguration.g:930:5: otherlv_2= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getMetamodelElementRule()); } otherlv_2=(Token)match(input,RULE_ID,FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); } } // InternalApplicationConfiguration.g:941:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? int alt15=2; int LA15_0 = input.LA(1); if ( (LA15_0==11) ) { alt15=1; } switch (alt15) { case 1 : // InternalApplicationConfiguration.g:942:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) { otherlv_3=(Token)match(input,11,FOLLOW_6); newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); // InternalApplicationConfiguration.g:946:4: ( (otherlv_4= RULE_ID ) ) // InternalApplicationConfiguration.g:947:5: (otherlv_4= RULE_ID ) { // InternalApplicationConfiguration.g:947:5: (otherlv_4= RULE_ID ) // InternalApplicationConfiguration.g:948:6: otherlv_4= RULE_ID { 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()); } } } break; } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleMetamodelElement" // $ANTLR start "entryRuleMetamodelDeclaration" // InternalApplicationConfiguration.g:964:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ; public final EObject entryRuleMetamodelDeclaration() throws RecognitionException { EObject current = null; EObject iv_ruleMetamodelDeclaration = null; try { // InternalApplicationConfiguration.g:964:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ) // InternalApplicationConfiguration.g:965:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF { newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); pushFollow(FOLLOW_1); iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration(); state._fsp--; current =iv_ruleMetamodelDeclaration; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleMetamodelDeclaration" // $ANTLR start "ruleMetamodelDeclaration" // InternalApplicationConfiguration.g:971: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; Token otherlv_0=null; Token lv_name_1_0=null; EObject lv_specification_2_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:977:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ) // InternalApplicationConfiguration.g:978:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) { // InternalApplicationConfiguration.g:978:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) // InternalApplicationConfiguration.g:979:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) { otherlv_0=(Token)match(input,25,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); // InternalApplicationConfiguration.g:983:3: ( (lv_name_1_0= RULE_ID ) ) // InternalApplicationConfiguration.g:984:4: (lv_name_1_0= RULE_ID ) { // InternalApplicationConfiguration.g:984:4: (lv_name_1_0= RULE_ID ) // InternalApplicationConfiguration.g:985:5: lv_name_1_0= RULE_ID { lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); 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"); } } // InternalApplicationConfiguration.g:1001:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) ) // InternalApplicationConfiguration.g:1002:4: (lv_specification_2_0= ruleMetamodelSpecification ) { // InternalApplicationConfiguration.g:1002:4: (lv_specification_2_0= ruleMetamodelSpecification ) // InternalApplicationConfiguration.g:1003:5: lv_specification_2_0= ruleMetamodelSpecification { newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); lv_specification_2_0=ruleMetamodelSpecification(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); } set( current, "specification", lv_specification_2_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); afterParserOrEnumRuleCall(); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleMetamodelDeclaration" // $ANTLR start "entryRuleMetamodelReference" // InternalApplicationConfiguration.g:1024:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ; public final EObject entryRuleMetamodelReference() throws RecognitionException { EObject current = null; EObject iv_ruleMetamodelReference = null; try { // InternalApplicationConfiguration.g:1024:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF ) // InternalApplicationConfiguration.g:1025:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF { newCompositeNode(grammarAccess.getMetamodelReferenceRule()); pushFollow(FOLLOW_1); iv_ruleMetamodelReference=ruleMetamodelReference(); state._fsp--; current =iv_ruleMetamodelReference; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleMetamodelReference" // $ANTLR start "ruleMetamodelReference" // InternalApplicationConfiguration.g:1031:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleMetamodelReference() throws RecognitionException { EObject current = null; Token otherlv_0=null; enterRule(); try { // InternalApplicationConfiguration.g:1037:2: ( ( (otherlv_0= RULE_ID ) ) ) // InternalApplicationConfiguration.g:1038:2: ( (otherlv_0= RULE_ID ) ) { // InternalApplicationConfiguration.g:1038:2: ( (otherlv_0= RULE_ID ) ) // InternalApplicationConfiguration.g:1039:3: (otherlv_0= RULE_ID ) { // InternalApplicationConfiguration.g:1039:3: (otherlv_0= RULE_ID ) // InternalApplicationConfiguration.g:1040:4: otherlv_0= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getMetamodelReferenceRule()); } otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleMetamodelReference" // $ANTLR start "entryRuleMetamodel" // InternalApplicationConfiguration.g:1054:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ; public final EObject entryRuleMetamodel() throws RecognitionException { EObject current = null; EObject iv_ruleMetamodel = null; try { // InternalApplicationConfiguration.g:1054:50: (iv_ruleMetamodel= ruleMetamodel EOF ) // InternalApplicationConfiguration.g:1055:2: iv_ruleMetamodel= ruleMetamodel EOF { newCompositeNode(grammarAccess.getMetamodelRule()); pushFollow(FOLLOW_1); iv_ruleMetamodel=ruleMetamodel(); state._fsp--; current =iv_ruleMetamodel; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleMetamodel" // $ANTLR start "ruleMetamodel" // InternalApplicationConfiguration.g:1061:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ; public final EObject ruleMetamodel() throws RecognitionException { EObject current = null; EObject this_MetamodelReference_0 = null; EObject this_MetamodelSpecification_1 = null; enterRule(); try { // InternalApplicationConfiguration.g:1067:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ) // InternalApplicationConfiguration.g:1068:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) { // InternalApplicationConfiguration.g:1068:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) int alt16=2; int LA16_0 = input.LA(1); if ( (LA16_0==RULE_ID) ) { alt16=1; } else if ( (LA16_0==19) ) { alt16=2; } else { NoViableAltException nvae = new NoViableAltException("", 16, 0, input); throw nvae; } switch (alt16) { case 1 : // InternalApplicationConfiguration.g:1069:3: this_MetamodelReference_0= ruleMetamodelReference { newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); pushFollow(FOLLOW_2); this_MetamodelReference_0=ruleMetamodelReference(); state._fsp--; current = this_MetamodelReference_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalApplicationConfiguration.g:1078:3: this_MetamodelSpecification_1= ruleMetamodelSpecification { newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); pushFollow(FOLLOW_2); this_MetamodelSpecification_1=ruleMetamodelSpecification(); state._fsp--; current = this_MetamodelSpecification_1; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleMetamodel" // $ANTLR start "entryRulePartialModelSpecification" // InternalApplicationConfiguration.g:1090:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ; public final EObject entryRulePartialModelSpecification() throws RecognitionException { EObject current = null; EObject iv_rulePartialModelSpecification = null; try { // InternalApplicationConfiguration.g:1090:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ) // InternalApplicationConfiguration.g:1091:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF { newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); pushFollow(FOLLOW_1); iv_rulePartialModelSpecification=rulePartialModelSpecification(); state._fsp--; current =iv_rulePartialModelSpecification; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRulePartialModelSpecification" // $ANTLR start "rulePartialModelSpecification" // InternalApplicationConfiguration.g:1097: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; Token otherlv_0=null; Token otherlv_2=null; Token otherlv_4=null; EObject lv_entry_1_0 = null; EObject lv_entry_3_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:1103:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ) // InternalApplicationConfiguration.g:1104:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) { // InternalApplicationConfiguration.g:1104:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) // InternalApplicationConfiguration.g:1105:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' { otherlv_0=(Token)match(input,19,FOLLOW_19); newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); // InternalApplicationConfiguration.g:1109:3: ( (lv_entry_1_0= rulePartialModelEntry ) ) // InternalApplicationConfiguration.g:1110:4: (lv_entry_1_0= rulePartialModelEntry ) { // InternalApplicationConfiguration.g:1110:4: (lv_entry_1_0= rulePartialModelEntry ) // InternalApplicationConfiguration.g:1111:5: lv_entry_1_0= rulePartialModelEntry { newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); pushFollow(FOLLOW_15); lv_entry_1_0=rulePartialModelEntry(); state._fsp--; 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:1128:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? int alt17=2; int LA17_0 = input.LA(1); if ( (LA17_0==20) ) { alt17=1; } switch (alt17) { case 1 : // InternalApplicationConfiguration.g:1129:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) { otherlv_2=(Token)match(input,20,FOLLOW_19); newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); // InternalApplicationConfiguration.g:1133:4: ( (lv_entry_3_0= rulePartialModelEntry ) ) // InternalApplicationConfiguration.g:1134:5: (lv_entry_3_0= rulePartialModelEntry ) { // InternalApplicationConfiguration.g:1134:5: (lv_entry_3_0= rulePartialModelEntry ) // InternalApplicationConfiguration.g:1135:6: lv_entry_3_0= rulePartialModelEntry { newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); pushFollow(FOLLOW_20); lv_entry_3_0=rulePartialModelEntry(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); } add( current, "entry", lv_entry_3_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); afterParserOrEnumRuleCall(); } } } break; } otherlv_4=(Token)match(input,21,FOLLOW_2); newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "rulePartialModelSpecification" // $ANTLR start "entryRulePartialModelEntry" // InternalApplicationConfiguration.g:1161:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ; public final EObject entryRulePartialModelEntry() throws RecognitionException { EObject current = null; EObject iv_rulePartialModelEntry = null; try { // InternalApplicationConfiguration.g:1161:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF ) // InternalApplicationConfiguration.g:1162:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF { newCompositeNode(grammarAccess.getPartialModelEntryRule()); pushFollow(FOLLOW_1); iv_rulePartialModelEntry=rulePartialModelEntry(); state._fsp--; current =iv_rulePartialModelEntry; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRulePartialModelEntry" // $ANTLR start "rulePartialModelEntry" // InternalApplicationConfiguration.g:1168:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ; public final EObject rulePartialModelEntry() throws RecognitionException { EObject current = null; EObject this_ModelEntry_0 = null; EObject this_FolderEntry_1 = null; enterRule(); try { // InternalApplicationConfiguration.g:1174:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ) // InternalApplicationConfiguration.g:1175:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) { // InternalApplicationConfiguration.g:1175:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) int alt18=2; int LA18_0 = input.LA(1); if ( (LA18_0==RULE_ID||LA18_0==RULE_STRING) ) { alt18=1; } else if ( (LA18_0==26) ) { alt18=2; } else { NoViableAltException nvae = new NoViableAltException("", 18, 0, input); throw nvae; } switch (alt18) { case 1 : // InternalApplicationConfiguration.g:1176:3: this_ModelEntry_0= ruleModelEntry { newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); pushFollow(FOLLOW_2); this_ModelEntry_0=ruleModelEntry(); state._fsp--; current = this_ModelEntry_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalApplicationConfiguration.g:1185:3: this_FolderEntry_1= ruleFolderEntry { newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); pushFollow(FOLLOW_2); this_FolderEntry_1=ruleFolderEntry(); state._fsp--; current = this_FolderEntry_1; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "rulePartialModelEntry" // $ANTLR start "entryRuleModelEntry" // InternalApplicationConfiguration.g:1197:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ; public final EObject entryRuleModelEntry() throws RecognitionException { EObject current = null; EObject iv_ruleModelEntry = null; try { // InternalApplicationConfiguration.g:1197:51: (iv_ruleModelEntry= ruleModelEntry EOF ) // InternalApplicationConfiguration.g:1198:2: iv_ruleModelEntry= ruleModelEntry EOF { newCompositeNode(grammarAccess.getModelEntryRule()); pushFollow(FOLLOW_1); iv_ruleModelEntry=ruleModelEntry(); state._fsp--; current =iv_ruleModelEntry; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleModelEntry" // $ANTLR start "ruleModelEntry" // InternalApplicationConfiguration.g:1204:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ; public final EObject ruleModelEntry() throws RecognitionException { EObject current = null; EObject lv_path_0_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:1210:2: ( ( (lv_path_0_0= ruleFile ) ) ) // InternalApplicationConfiguration.g:1211:2: ( (lv_path_0_0= ruleFile ) ) { // InternalApplicationConfiguration.g:1211:2: ( (lv_path_0_0= ruleFile ) ) // InternalApplicationConfiguration.g:1212:3: (lv_path_0_0= ruleFile ) { // InternalApplicationConfiguration.g:1212:3: (lv_path_0_0= ruleFile ) // InternalApplicationConfiguration.g:1213:4: lv_path_0_0= ruleFile { newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); pushFollow(FOLLOW_2); lv_path_0_0=ruleFile(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getModelEntryRule()); } set( current, "path", lv_path_0_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); afterParserOrEnumRuleCall(); } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleModelEntry" // $ANTLR start "entryRuleFolderEntry" // InternalApplicationConfiguration.g:1233:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ; public final EObject entryRuleFolderEntry() throws RecognitionException { EObject current = null; EObject iv_ruleFolderEntry = null; try { // InternalApplicationConfiguration.g:1233:52: (iv_ruleFolderEntry= ruleFolderEntry EOF ) // InternalApplicationConfiguration.g:1234:2: iv_ruleFolderEntry= ruleFolderEntry EOF { newCompositeNode(grammarAccess.getFolderEntryRule()); pushFollow(FOLLOW_1); iv_ruleFolderEntry=ruleFolderEntry(); state._fsp--; current =iv_ruleFolderEntry; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleFolderEntry" // $ANTLR start "ruleFolderEntry" // InternalApplicationConfiguration.g:1240: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; Token otherlv_0=null; Token otherlv_2=null; Token otherlv_3=null; Token otherlv_5=null; Token otherlv_7=null; EObject lv_path_1_0 = null; EObject lv_exclusion_4_0 = null; EObject lv_exclusion_6_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:1246: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:1247: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:1247: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:1248: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,26,FOLLOW_21); newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); // InternalApplicationConfiguration.g:1252:3: ( (lv_path_1_0= ruleFile ) ) // InternalApplicationConfiguration.g:1253:4: (lv_path_1_0= ruleFile ) { // InternalApplicationConfiguration.g:1253:4: (lv_path_1_0= ruleFile ) // InternalApplicationConfiguration.g:1254:5: lv_path_1_0= ruleFile { newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); pushFollow(FOLLOW_16); lv_path_1_0=ruleFile(); state._fsp--; 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:1271:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? int alt20=2; int LA20_0 = input.LA(1); if ( (LA20_0==23) ) { alt20=1; } switch (alt20) { case 1 : // InternalApplicationConfiguration.g:1272: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,23,FOLLOW_17); newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); otherlv_3=(Token)match(input,19,FOLLOW_21); newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); // InternalApplicationConfiguration.g:1280:4: ( (lv_exclusion_4_0= ruleModelEntry ) ) // InternalApplicationConfiguration.g:1281:5: (lv_exclusion_4_0= ruleModelEntry ) { // InternalApplicationConfiguration.g:1281:5: (lv_exclusion_4_0= ruleModelEntry ) // InternalApplicationConfiguration.g:1282:6: lv_exclusion_4_0= ruleModelEntry { newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); pushFollow(FOLLOW_15); lv_exclusion_4_0=ruleModelEntry(); state._fsp--; 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:1299:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* loop19: do { int alt19=2; int LA19_0 = input.LA(1); if ( (LA19_0==20) ) { alt19=1; } switch (alt19) { case 1 : // InternalApplicationConfiguration.g:1300:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) { otherlv_5=(Token)match(input,20,FOLLOW_21); newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); // InternalApplicationConfiguration.g:1304:5: ( (lv_exclusion_6_0= ruleModelEntry ) ) // InternalApplicationConfiguration.g:1305:6: (lv_exclusion_6_0= ruleModelEntry ) { // InternalApplicationConfiguration.g:1305:6: (lv_exclusion_6_0= ruleModelEntry ) // InternalApplicationConfiguration.g:1306:7: lv_exclusion_6_0= ruleModelEntry { newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); pushFollow(FOLLOW_15); lv_exclusion_6_0=ruleModelEntry(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFolderEntryRule()); } add( current, "exclusion", lv_exclusion_6_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); afterParserOrEnumRuleCall(); } } } break; default : break loop19; } } while (true); otherlv_7=(Token)match(input,21,FOLLOW_2); newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); } break; } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleFolderEntry" // $ANTLR start "entryRulePartialModelDeclaration" // InternalApplicationConfiguration.g:1333:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ; public final EObject entryRulePartialModelDeclaration() throws RecognitionException { EObject current = null; EObject iv_rulePartialModelDeclaration = null; try { // InternalApplicationConfiguration.g:1333:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ) // InternalApplicationConfiguration.g:1334:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF { newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); pushFollow(FOLLOW_1); iv_rulePartialModelDeclaration=rulePartialModelDeclaration(); state._fsp--; current =iv_rulePartialModelDeclaration; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRulePartialModelDeclaration" // $ANTLR start "rulePartialModelDeclaration" // InternalApplicationConfiguration.g:1340: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; Token otherlv_0=null; Token lv_name_1_0=null; EObject lv_specification_2_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:1346:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ) // InternalApplicationConfiguration.g:1347:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) { // InternalApplicationConfiguration.g:1347:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) // InternalApplicationConfiguration.g:1348:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) { otherlv_0=(Token)match(input,27,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); // InternalApplicationConfiguration.g:1352:3: ( (lv_name_1_0= RULE_ID ) ) // InternalApplicationConfiguration.g:1353:4: (lv_name_1_0= RULE_ID ) { // InternalApplicationConfiguration.g:1353:4: (lv_name_1_0= RULE_ID ) // InternalApplicationConfiguration.g:1354:5: lv_name_1_0= RULE_ID { lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); 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"); } } // InternalApplicationConfiguration.g:1370:3: ( (lv_specification_2_0= rulePartialModelSpecification ) ) // InternalApplicationConfiguration.g:1371:4: (lv_specification_2_0= rulePartialModelSpecification ) { // InternalApplicationConfiguration.g:1371:4: (lv_specification_2_0= rulePartialModelSpecification ) // InternalApplicationConfiguration.g:1372:5: lv_specification_2_0= rulePartialModelSpecification { newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); lv_specification_2_0=rulePartialModelSpecification(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); } set( current, "specification", lv_specification_2_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); afterParserOrEnumRuleCall(); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "rulePartialModelDeclaration" // $ANTLR start "entryRulePartialModelReference" // InternalApplicationConfiguration.g:1393:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ; public final EObject entryRulePartialModelReference() throws RecognitionException { EObject current = null; EObject iv_rulePartialModelReference = null; try { // InternalApplicationConfiguration.g:1393:62: (iv_rulePartialModelReference= rulePartialModelReference EOF ) // InternalApplicationConfiguration.g:1394:2: iv_rulePartialModelReference= rulePartialModelReference EOF { newCompositeNode(grammarAccess.getPartialModelReferenceRule()); pushFollow(FOLLOW_1); iv_rulePartialModelReference=rulePartialModelReference(); state._fsp--; current =iv_rulePartialModelReference; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRulePartialModelReference" // $ANTLR start "rulePartialModelReference" // InternalApplicationConfiguration.g:1400:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject rulePartialModelReference() throws RecognitionException { EObject current = null; Token otherlv_0=null; enterRule(); try { // InternalApplicationConfiguration.g:1406:2: ( ( (otherlv_0= RULE_ID ) ) ) // InternalApplicationConfiguration.g:1407:2: ( (otherlv_0= RULE_ID ) ) { // InternalApplicationConfiguration.g:1407:2: ( (otherlv_0= RULE_ID ) ) // InternalApplicationConfiguration.g:1408:3: (otherlv_0= RULE_ID ) { // InternalApplicationConfiguration.g:1408:3: (otherlv_0= RULE_ID ) // InternalApplicationConfiguration.g:1409:4: otherlv_0= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getPartialModelReferenceRule()); } otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "rulePartialModelReference" // $ANTLR start "entryRulePartialModel" // InternalApplicationConfiguration.g:1423:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ; public final EObject entryRulePartialModel() throws RecognitionException { EObject current = null; EObject iv_rulePartialModel = null; try { // InternalApplicationConfiguration.g:1423:53: (iv_rulePartialModel= rulePartialModel EOF ) // InternalApplicationConfiguration.g:1424:2: iv_rulePartialModel= rulePartialModel EOF { newCompositeNode(grammarAccess.getPartialModelRule()); pushFollow(FOLLOW_1); iv_rulePartialModel=rulePartialModel(); state._fsp--; current =iv_rulePartialModel; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRulePartialModel" // $ANTLR start "rulePartialModel" // InternalApplicationConfiguration.g:1430:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ; public final EObject rulePartialModel() throws RecognitionException { EObject current = null; EObject this_PartialModelSpecification_0 = null; EObject this_PartialModelReference_1 = null; enterRule(); try { // InternalApplicationConfiguration.g:1436:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ) // InternalApplicationConfiguration.g:1437:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) { // InternalApplicationConfiguration.g:1437:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) int alt21=2; int LA21_0 = input.LA(1); if ( (LA21_0==19) ) { alt21=1; } else if ( (LA21_0==RULE_ID) ) { alt21=2; } else { NoViableAltException nvae = new NoViableAltException("", 21, 0, input); throw nvae; } switch (alt21) { case 1 : // InternalApplicationConfiguration.g:1438:3: this_PartialModelSpecification_0= rulePartialModelSpecification { newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); pushFollow(FOLLOW_2); this_PartialModelSpecification_0=rulePartialModelSpecification(); state._fsp--; current = this_PartialModelSpecification_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalApplicationConfiguration.g:1447:3: this_PartialModelReference_1= rulePartialModelReference { newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); pushFollow(FOLLOW_2); this_PartialModelReference_1=rulePartialModelReference(); state._fsp--; current = this_PartialModelReference_1; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "rulePartialModel" // $ANTLR start "entryRulePatternSpecification" // InternalApplicationConfiguration.g:1459:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ; public final EObject entryRulePatternSpecification() throws RecognitionException { EObject current = null; EObject iv_rulePatternSpecification = null; try { // InternalApplicationConfiguration.g:1459:61: (iv_rulePatternSpecification= rulePatternSpecification EOF ) // InternalApplicationConfiguration.g:1460:2: iv_rulePatternSpecification= rulePatternSpecification EOF { newCompositeNode(grammarAccess.getPatternSpecificationRule()); pushFollow(FOLLOW_1); iv_rulePatternSpecification=rulePatternSpecification(); state._fsp--; current =iv_rulePatternSpecification; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRulePatternSpecification" // $ANTLR start "rulePatternSpecification" // InternalApplicationConfiguration.g:1466: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; Token otherlv_0=null; Token otherlv_2=null; Token otherlv_4=null; EObject lv_entries_1_0 = null; EObject lv_entries_3_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:1472:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ) // InternalApplicationConfiguration.g:1473:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) { // InternalApplicationConfiguration.g:1473:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) // InternalApplicationConfiguration.g:1474:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' { otherlv_0=(Token)match(input,19,FOLLOW_14); newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); // InternalApplicationConfiguration.g:1478:3: ( (lv_entries_1_0= rulePatternEntry ) ) // InternalApplicationConfiguration.g:1479:4: (lv_entries_1_0= rulePatternEntry ) { // InternalApplicationConfiguration.g:1479:4: (lv_entries_1_0= rulePatternEntry ) // InternalApplicationConfiguration.g:1480:5: lv_entries_1_0= rulePatternEntry { newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); pushFollow(FOLLOW_15); lv_entries_1_0=rulePatternEntry(); state._fsp--; 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:1497:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* loop22: do { int alt22=2; int LA22_0 = input.LA(1); if ( (LA22_0==20) ) { alt22=1; } switch (alt22) { case 1 : // InternalApplicationConfiguration.g:1498:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) { otherlv_2=(Token)match(input,20,FOLLOW_14); newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); // InternalApplicationConfiguration.g:1502:4: ( (lv_entries_3_0= rulePatternEntry ) ) // InternalApplicationConfiguration.g:1503:5: (lv_entries_3_0= rulePatternEntry ) { // InternalApplicationConfiguration.g:1503:5: (lv_entries_3_0= rulePatternEntry ) // InternalApplicationConfiguration.g:1504:6: lv_entries_3_0= rulePatternEntry { newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); pushFollow(FOLLOW_15); lv_entries_3_0=rulePatternEntry(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); } add( current, "entries", lv_entries_3_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); afterParserOrEnumRuleCall(); } } } break; default : break loop22; } } while (true); otherlv_4=(Token)match(input,21,FOLLOW_2); newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "rulePatternSpecification" // $ANTLR start "entryRulePatternEntry" // InternalApplicationConfiguration.g:1530:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ; public final EObject entryRulePatternEntry() throws RecognitionException { EObject current = null; EObject iv_rulePatternEntry = null; try { // InternalApplicationConfiguration.g:1530:53: (iv_rulePatternEntry= rulePatternEntry EOF ) // InternalApplicationConfiguration.g:1531:2: iv_rulePatternEntry= rulePatternEntry EOF { newCompositeNode(grammarAccess.getPatternEntryRule()); pushFollow(FOLLOW_1); iv_rulePatternEntry=rulePatternEntry(); state._fsp--; current =iv_rulePatternEntry; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRulePatternEntry" // $ANTLR start "rulePatternEntry" // InternalApplicationConfiguration.g:1537:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ; public final EObject rulePatternEntry() throws RecognitionException { EObject current = null; EObject this_PatternElement_0 = null; EObject this_AllPatternEntry_1 = null; enterRule(); try { // InternalApplicationConfiguration.g:1543:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ) // InternalApplicationConfiguration.g:1544:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) { // InternalApplicationConfiguration.g:1544:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) int alt23=2; int LA23_0 = input.LA(1); if ( (LA23_0==RULE_ID) ) { alt23=1; } else if ( (LA23_0==22) ) { alt23=2; } else { NoViableAltException nvae = new NoViableAltException("", 23, 0, input); throw nvae; } switch (alt23) { case 1 : // InternalApplicationConfiguration.g:1545:3: this_PatternElement_0= rulePatternElement { newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); pushFollow(FOLLOW_2); this_PatternElement_0=rulePatternElement(); state._fsp--; current = this_PatternElement_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalApplicationConfiguration.g:1554:3: this_AllPatternEntry_1= ruleAllPatternEntry { newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); pushFollow(FOLLOW_2); this_AllPatternEntry_1=ruleAllPatternEntry(); state._fsp--; current = this_AllPatternEntry_1; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "rulePatternEntry" // $ANTLR start "entryRuleAllPatternEntry" // InternalApplicationConfiguration.g:1566:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ; public final EObject entryRuleAllPatternEntry() throws RecognitionException { EObject current = null; EObject iv_ruleAllPatternEntry = null; try { // InternalApplicationConfiguration.g:1566:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ) // InternalApplicationConfiguration.g:1567:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF { newCompositeNode(grammarAccess.getAllPatternEntryRule()); pushFollow(FOLLOW_1); iv_ruleAllPatternEntry=ruleAllPatternEntry(); state._fsp--; current =iv_ruleAllPatternEntry; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAllPatternEntry" // $ANTLR start "ruleAllPatternEntry" // InternalApplicationConfiguration.g:1573: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; Token otherlv_0=null; Token otherlv_2=null; Token otherlv_3=null; Token otherlv_5=null; Token otherlv_7=null; EObject lv_exclusuion_4_0 = null; EObject lv_exclusuion_6_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:1579: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:1580: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:1580: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:1581: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,22,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); // InternalApplicationConfiguration.g:1585:3: ( ( ruleQualifiedName ) ) // InternalApplicationConfiguration.g:1586:4: ( ruleQualifiedName ) { // InternalApplicationConfiguration.g:1586:4: ( ruleQualifiedName ) // InternalApplicationConfiguration.g:1587:5: ruleQualifiedName { if (current==null) { current = createModelElement(grammarAccess.getAllPatternEntryRule()); } newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); pushFollow(FOLLOW_16); ruleQualifiedName(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalApplicationConfiguration.g:1601:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? int alt25=2; int LA25_0 = input.LA(1); if ( (LA25_0==23) ) { alt25=1; } switch (alt25) { case 1 : // InternalApplicationConfiguration.g:1602: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,23,FOLLOW_17); newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); otherlv_3=(Token)match(input,19,FOLLOW_6); newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); // InternalApplicationConfiguration.g:1610:4: ( (lv_exclusuion_4_0= rulePatternElement ) ) // InternalApplicationConfiguration.g:1611:5: (lv_exclusuion_4_0= rulePatternElement ) { // InternalApplicationConfiguration.g:1611:5: (lv_exclusuion_4_0= rulePatternElement ) // InternalApplicationConfiguration.g:1612:6: lv_exclusuion_4_0= rulePatternElement { newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); pushFollow(FOLLOW_15); lv_exclusuion_4_0=rulePatternElement(); state._fsp--; 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:1629:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* loop24: do { int alt24=2; int LA24_0 = input.LA(1); if ( (LA24_0==20) ) { alt24=1; } switch (alt24) { case 1 : // InternalApplicationConfiguration.g:1630:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) { otherlv_5=(Token)match(input,20,FOLLOW_6); newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); // InternalApplicationConfiguration.g:1634:5: ( (lv_exclusuion_6_0= rulePatternElement ) ) // InternalApplicationConfiguration.g:1635:6: (lv_exclusuion_6_0= rulePatternElement ) { // InternalApplicationConfiguration.g:1635:6: (lv_exclusuion_6_0= rulePatternElement ) // InternalApplicationConfiguration.g:1636:7: lv_exclusuion_6_0= rulePatternElement { newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); pushFollow(FOLLOW_15); lv_exclusuion_6_0=rulePatternElement(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); } add( current, "exclusuion", lv_exclusuion_6_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); afterParserOrEnumRuleCall(); } } } break; default : break loop24; } } while (true); otherlv_7=(Token)match(input,21,FOLLOW_2); newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); } break; } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAllPatternEntry" // $ANTLR start "entryRulePatternElement" // InternalApplicationConfiguration.g:1663:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ; public final EObject entryRulePatternElement() throws RecognitionException { EObject current = null; EObject iv_rulePatternElement = null; try { // InternalApplicationConfiguration.g:1663:55: (iv_rulePatternElement= rulePatternElement EOF ) // InternalApplicationConfiguration.g:1664:2: iv_rulePatternElement= rulePatternElement EOF { newCompositeNode(grammarAccess.getPatternElementRule()); pushFollow(FOLLOW_1); iv_rulePatternElement=rulePatternElement(); state._fsp--; current =iv_rulePatternElement; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRulePatternElement" // $ANTLR start "rulePatternElement" // InternalApplicationConfiguration.g:1670:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ; public final EObject rulePatternElement() throws RecognitionException { EObject current = null; Token otherlv_1=null; Token otherlv_2=null; enterRule(); try { // InternalApplicationConfiguration.g:1676:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ) // InternalApplicationConfiguration.g:1677:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) { // InternalApplicationConfiguration.g:1677:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) // InternalApplicationConfiguration.g:1678:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) { // InternalApplicationConfiguration.g:1678:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? int alt26=2; int LA26_0 = input.LA(1); if ( (LA26_0==RULE_ID) ) { int LA26_1 = input.LA(2); if ( (LA26_1==11||LA26_1==24) ) { alt26=1; } } switch (alt26) { case 1 : // InternalApplicationConfiguration.g:1679:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' { // InternalApplicationConfiguration.g:1679:4: ( ( ruleQualifiedName ) ) // InternalApplicationConfiguration.g:1680:5: ( ruleQualifiedName ) { // InternalApplicationConfiguration.g:1680:5: ( ruleQualifiedName ) // InternalApplicationConfiguration.g:1681:6: ruleQualifiedName { if (current==null) { current = createModelElement(grammarAccess.getPatternElementRule()); } newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); pushFollow(FOLLOW_18); ruleQualifiedName(); state._fsp--; afterParserOrEnumRuleCall(); } } otherlv_1=(Token)match(input,24,FOLLOW_6); newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); } break; } // InternalApplicationConfiguration.g:1700:3: ( (otherlv_2= RULE_ID ) ) // InternalApplicationConfiguration.g:1701:4: (otherlv_2= RULE_ID ) { // InternalApplicationConfiguration.g:1701:4: (otherlv_2= RULE_ID ) // InternalApplicationConfiguration.g:1702:5: otherlv_2= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getPatternElementRule()); } otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "rulePatternElement" // $ANTLR start "entryRuleGraphPatternDeclaration" // InternalApplicationConfiguration.g:1717:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ; public final EObject entryRuleGraphPatternDeclaration() throws RecognitionException { EObject current = null; EObject iv_ruleGraphPatternDeclaration = null; try { // InternalApplicationConfiguration.g:1717:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ) // InternalApplicationConfiguration.g:1718:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF { newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); pushFollow(FOLLOW_1); iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration(); state._fsp--; current =iv_ruleGraphPatternDeclaration; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleGraphPatternDeclaration" // $ANTLR start "ruleGraphPatternDeclaration" // InternalApplicationConfiguration.g:1724:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ; public final EObject ruleGraphPatternDeclaration() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_name_1_0=null; EObject lv_specification_2_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:1730:2: ( (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ) // InternalApplicationConfiguration.g:1731:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) { // InternalApplicationConfiguration.g:1731:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) // InternalApplicationConfiguration.g:1732:3: otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) { otherlv_0=(Token)match(input,28,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); // InternalApplicationConfiguration.g:1736:3: ( (lv_name_1_0= RULE_ID ) ) // InternalApplicationConfiguration.g:1737:4: (lv_name_1_0= RULE_ID ) { // InternalApplicationConfiguration.g:1737:4: (lv_name_1_0= RULE_ID ) // InternalApplicationConfiguration.g:1738:5: lv_name_1_0= RULE_ID { lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); 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"); } } // InternalApplicationConfiguration.g:1754:3: ( (lv_specification_2_0= rulePatternSpecification ) ) // InternalApplicationConfiguration.g:1755:4: (lv_specification_2_0= rulePatternSpecification ) { // InternalApplicationConfiguration.g:1755:4: (lv_specification_2_0= rulePatternSpecification ) // InternalApplicationConfiguration.g:1756:5: lv_specification_2_0= rulePatternSpecification { newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); lv_specification_2_0=rulePatternSpecification(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); } set( current, "specification", lv_specification_2_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); afterParserOrEnumRuleCall(); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleGraphPatternDeclaration" // $ANTLR start "entryRuleGraphPatternReference" // InternalApplicationConfiguration.g:1777:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ; public final EObject entryRuleGraphPatternReference() throws RecognitionException { EObject current = null; EObject iv_ruleGraphPatternReference = null; try { // InternalApplicationConfiguration.g:1777:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ) // InternalApplicationConfiguration.g:1778:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF { newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); pushFollow(FOLLOW_1); iv_ruleGraphPatternReference=ruleGraphPatternReference(); state._fsp--; current =iv_ruleGraphPatternReference; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleGraphPatternReference" // $ANTLR start "ruleGraphPatternReference" // InternalApplicationConfiguration.g:1784:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleGraphPatternReference() throws RecognitionException { EObject current = null; Token otherlv_0=null; enterRule(); try { // InternalApplicationConfiguration.g:1790:2: ( ( (otherlv_0= RULE_ID ) ) ) // InternalApplicationConfiguration.g:1791:2: ( (otherlv_0= RULE_ID ) ) { // InternalApplicationConfiguration.g:1791:2: ( (otherlv_0= RULE_ID ) ) // InternalApplicationConfiguration.g:1792:3: (otherlv_0= RULE_ID ) { // InternalApplicationConfiguration.g:1792:3: (otherlv_0= RULE_ID ) // InternalApplicationConfiguration.g:1793:4: otherlv_0= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); } otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleGraphPatternReference" // $ANTLR start "entryRuleGraphPattern" // InternalApplicationConfiguration.g:1807:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ; public final EObject entryRuleGraphPattern() throws RecognitionException { EObject current = null; EObject iv_ruleGraphPattern = null; try { // InternalApplicationConfiguration.g:1807:53: (iv_ruleGraphPattern= ruleGraphPattern EOF ) // InternalApplicationConfiguration.g:1808:2: iv_ruleGraphPattern= ruleGraphPattern EOF { newCompositeNode(grammarAccess.getGraphPatternRule()); pushFollow(FOLLOW_1); iv_ruleGraphPattern=ruleGraphPattern(); state._fsp--; current =iv_ruleGraphPattern; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleGraphPattern" // $ANTLR start "ruleGraphPattern" // InternalApplicationConfiguration.g:1814:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ; public final EObject ruleGraphPattern() throws RecognitionException { EObject current = null; EObject this_GraphPatternReference_0 = null; EObject this_PatternSpecification_1 = null; enterRule(); try { // InternalApplicationConfiguration.g:1820:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ) // InternalApplicationConfiguration.g:1821:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) { // InternalApplicationConfiguration.g:1821:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) int alt27=2; int LA27_0 = input.LA(1); if ( (LA27_0==RULE_ID) ) { alt27=1; } else if ( (LA27_0==19) ) { alt27=2; } else { NoViableAltException nvae = new NoViableAltException("", 27, 0, input); throw nvae; } switch (alt27) { case 1 : // InternalApplicationConfiguration.g:1822:3: this_GraphPatternReference_0= ruleGraphPatternReference { newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); pushFollow(FOLLOW_2); this_GraphPatternReference_0=ruleGraphPatternReference(); state._fsp--; current = this_GraphPatternReference_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalApplicationConfiguration.g:1831:3: this_PatternSpecification_1= rulePatternSpecification { newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); pushFollow(FOLLOW_2); this_PatternSpecification_1=rulePatternSpecification(); state._fsp--; current = this_PatternSpecification_1; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleGraphPattern" // $ANTLR start "entryRuleObjectiveSpecification" // InternalApplicationConfiguration.g:1843:1: entryRuleObjectiveSpecification returns [EObject current=null] : iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF ; public final EObject entryRuleObjectiveSpecification() throws RecognitionException { EObject current = null; EObject iv_ruleObjectiveSpecification = null; try { // InternalApplicationConfiguration.g:1843:63: (iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF ) // InternalApplicationConfiguration.g:1844:2: iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF { newCompositeNode(grammarAccess.getObjectiveSpecificationRule()); pushFollow(FOLLOW_1); iv_ruleObjectiveSpecification=ruleObjectiveSpecification(); state._fsp--; current =iv_ruleObjectiveSpecification; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleObjectiveSpecification" // $ANTLR start "ruleObjectiveSpecification" // InternalApplicationConfiguration.g:1850:1: ruleObjectiveSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) ; public final EObject ruleObjectiveSpecification() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_2=null; Token otherlv_4=null; EObject lv_entries_1_0 = null; EObject lv_entries_3_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:1856:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) ) // InternalApplicationConfiguration.g:1857:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) { // InternalApplicationConfiguration.g:1857:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) // InternalApplicationConfiguration.g:1858:3: otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' { otherlv_0=(Token)match(input,19,FOLLOW_22); newLeafNode(otherlv_0, grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0()); // InternalApplicationConfiguration.g:1862:3: ( (lv_entries_1_0= ruleObjectiveEntry ) ) // InternalApplicationConfiguration.g:1863:4: (lv_entries_1_0= ruleObjectiveEntry ) { // InternalApplicationConfiguration.g:1863:4: (lv_entries_1_0= ruleObjectiveEntry ) // InternalApplicationConfiguration.g:1864:5: lv_entries_1_0= ruleObjectiveEntry { newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_1_0()); pushFollow(FOLLOW_15); lv_entries_1_0=ruleObjectiveEntry(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule()); } add( current, "entries", lv_entries_1_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry"); afterParserOrEnumRuleCall(); } } // InternalApplicationConfiguration.g:1881:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* loop28: do { int alt28=2; int LA28_0 = input.LA(1); if ( (LA28_0==20) ) { alt28=1; } switch (alt28) { case 1 : // InternalApplicationConfiguration.g:1882:4: otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) { otherlv_2=(Token)match(input,20,FOLLOW_22); newLeafNode(otherlv_2, grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0()); // InternalApplicationConfiguration.g:1886:4: ( (lv_entries_3_0= ruleObjectiveEntry ) ) // InternalApplicationConfiguration.g:1887:5: (lv_entries_3_0= ruleObjectiveEntry ) { // InternalApplicationConfiguration.g:1887:5: (lv_entries_3_0= ruleObjectiveEntry ) // InternalApplicationConfiguration.g:1888:6: lv_entries_3_0= ruleObjectiveEntry { newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_2_1_0()); pushFollow(FOLLOW_15); lv_entries_3_0=ruleObjectiveEntry(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule()); } add( current, "entries", lv_entries_3_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry"); afterParserOrEnumRuleCall(); } } } break; default : break loop28; } } while (true); otherlv_4=(Token)match(input,21,FOLLOW_2); newLeafNode(otherlv_4, grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleObjectiveSpecification" // $ANTLR start "entryRuleObjectiveEntry" // InternalApplicationConfiguration.g:1914:1: entryRuleObjectiveEntry returns [EObject current=null] : iv_ruleObjectiveEntry= ruleObjectiveEntry EOF ; public final EObject entryRuleObjectiveEntry() throws RecognitionException { EObject current = null; EObject iv_ruleObjectiveEntry = null; try { // InternalApplicationConfiguration.g:1914:55: (iv_ruleObjectiveEntry= ruleObjectiveEntry EOF ) // InternalApplicationConfiguration.g:1915:2: iv_ruleObjectiveEntry= ruleObjectiveEntry EOF { newCompositeNode(grammarAccess.getObjectiveEntryRule()); pushFollow(FOLLOW_1); iv_ruleObjectiveEntry=ruleObjectiveEntry(); state._fsp--; current =iv_ruleObjectiveEntry; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleObjectiveEntry" // $ANTLR start "ruleObjectiveEntry" // InternalApplicationConfiguration.g:1921:1: ruleObjectiveEntry returns [EObject current=null] : (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) ; public final EObject ruleObjectiveEntry() throws RecognitionException { EObject current = null; EObject this_OptimizationEntry_0 = null; EObject this_ThresholdEntry_1 = null; enterRule(); try { // InternalApplicationConfiguration.g:1927:2: ( (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) ) // InternalApplicationConfiguration.g:1928:2: (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) { // InternalApplicationConfiguration.g:1928:2: (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) int alt29=2; int LA29_0 = input.LA(1); if ( ((LA29_0>=56 && LA29_0<=57)) ) { alt29=1; } else if ( (LA29_0==16||LA29_0==30) ) { alt29=2; } else { NoViableAltException nvae = new NoViableAltException("", 29, 0, input); throw nvae; } switch (alt29) { case 1 : // InternalApplicationConfiguration.g:1929:3: this_OptimizationEntry_0= ruleOptimizationEntry { newCompositeNode(grammarAccess.getObjectiveEntryAccess().getOptimizationEntryParserRuleCall_0()); pushFollow(FOLLOW_2); this_OptimizationEntry_0=ruleOptimizationEntry(); state._fsp--; current = this_OptimizationEntry_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalApplicationConfiguration.g:1938:3: this_ThresholdEntry_1= ruleThresholdEntry { newCompositeNode(grammarAccess.getObjectiveEntryAccess().getThresholdEntryParserRuleCall_1()); pushFollow(FOLLOW_2); this_ThresholdEntry_1=ruleThresholdEntry(); state._fsp--; current = this_ThresholdEntry_1; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleObjectiveEntry" // $ANTLR start "entryRuleOptimizationEntry" // InternalApplicationConfiguration.g:1950:1: entryRuleOptimizationEntry returns [EObject current=null] : iv_ruleOptimizationEntry= ruleOptimizationEntry EOF ; public final EObject entryRuleOptimizationEntry() throws RecognitionException { EObject current = null; EObject iv_ruleOptimizationEntry = null; try { // InternalApplicationConfiguration.g:1950:58: (iv_ruleOptimizationEntry= ruleOptimizationEntry EOF ) // InternalApplicationConfiguration.g:1951:2: iv_ruleOptimizationEntry= ruleOptimizationEntry EOF { newCompositeNode(grammarAccess.getOptimizationEntryRule()); pushFollow(FOLLOW_1); iv_ruleOptimizationEntry=ruleOptimizationEntry(); state._fsp--; current =iv_ruleOptimizationEntry; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleOptimizationEntry" // $ANTLR start "ruleOptimizationEntry" // InternalApplicationConfiguration.g:1957:1: ruleOptimizationEntry returns [EObject current=null] : ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) ; public final EObject ruleOptimizationEntry() throws RecognitionException { EObject current = null; Enumerator lv_direction_0_0 = null; EObject lv_function_1_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:1963:2: ( ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) ) // InternalApplicationConfiguration.g:1964:2: ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) { // InternalApplicationConfiguration.g:1964:2: ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) // InternalApplicationConfiguration.g:1965:3: ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) { // InternalApplicationConfiguration.g:1965:3: ( (lv_direction_0_0= ruleOptimizationDirection ) ) // InternalApplicationConfiguration.g:1966:4: (lv_direction_0_0= ruleOptimizationDirection ) { // InternalApplicationConfiguration.g:1966:4: (lv_direction_0_0= ruleOptimizationDirection ) // InternalApplicationConfiguration.g:1967:5: lv_direction_0_0= ruleOptimizationDirection { newCompositeNode(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0()); pushFollow(FOLLOW_22); lv_direction_0_0=ruleOptimizationDirection(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOptimizationEntryRule()); } set( current, "direction", lv_direction_0_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.OptimizationDirection"); afterParserOrEnumRuleCall(); } } // InternalApplicationConfiguration.g:1984:3: ( (lv_function_1_0= ruleObjectiveFunction ) ) // InternalApplicationConfiguration.g:1985:4: (lv_function_1_0= ruleObjectiveFunction ) { // InternalApplicationConfiguration.g:1985:4: (lv_function_1_0= ruleObjectiveFunction ) // InternalApplicationConfiguration.g:1986:5: lv_function_1_0= ruleObjectiveFunction { newCompositeNode(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0()); pushFollow(FOLLOW_2); lv_function_1_0=ruleObjectiveFunction(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOptimizationEntryRule()); } set( current, "function", lv_function_1_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction"); afterParserOrEnumRuleCall(); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleOptimizationEntry" // $ANTLR start "entryRuleThresholdEntry" // InternalApplicationConfiguration.g:2007:1: entryRuleThresholdEntry returns [EObject current=null] : iv_ruleThresholdEntry= ruleThresholdEntry EOF ; public final EObject entryRuleThresholdEntry() throws RecognitionException { EObject current = null; EObject iv_ruleThresholdEntry = null; try { // InternalApplicationConfiguration.g:2007:55: (iv_ruleThresholdEntry= ruleThresholdEntry EOF ) // InternalApplicationConfiguration.g:2008:2: iv_ruleThresholdEntry= ruleThresholdEntry EOF { newCompositeNode(grammarAccess.getThresholdEntryRule()); pushFollow(FOLLOW_1); iv_ruleThresholdEntry=ruleThresholdEntry(); state._fsp--; current =iv_ruleThresholdEntry; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleThresholdEntry" // $ANTLR start "ruleThresholdEntry" // InternalApplicationConfiguration.g:2014:1: ruleThresholdEntry returns [EObject current=null] : ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) ; public final EObject ruleThresholdEntry() throws RecognitionException { EObject current = null; EObject lv_function_0_0 = null; Enumerator lv_operator_1_0 = null; AntlrDatatypeRuleToken lv_threshold_2_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:2020:2: ( ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) ) // InternalApplicationConfiguration.g:2021:2: ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) { // InternalApplicationConfiguration.g:2021:2: ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) // InternalApplicationConfiguration.g:2022:3: ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) { // InternalApplicationConfiguration.g:2022:3: ( (lv_function_0_0= ruleObjectiveFunction ) ) // InternalApplicationConfiguration.g:2023:4: (lv_function_0_0= ruleObjectiveFunction ) { // InternalApplicationConfiguration.g:2023:4: (lv_function_0_0= ruleObjectiveFunction ) // InternalApplicationConfiguration.g:2024:5: lv_function_0_0= ruleObjectiveFunction { newCompositeNode(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0()); pushFollow(FOLLOW_23); lv_function_0_0=ruleObjectiveFunction(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getThresholdEntryRule()); } set( current, "function", lv_function_0_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction"); afterParserOrEnumRuleCall(); } } // InternalApplicationConfiguration.g:2041:3: ( (lv_operator_1_0= ruleComparisonOperator ) ) // InternalApplicationConfiguration.g:2042:4: (lv_operator_1_0= ruleComparisonOperator ) { // InternalApplicationConfiguration.g:2042:4: (lv_operator_1_0= ruleComparisonOperator ) // InternalApplicationConfiguration.g:2043:5: lv_operator_1_0= ruleComparisonOperator { newCompositeNode(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0()); pushFollow(FOLLOW_24); lv_operator_1_0=ruleComparisonOperator(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getThresholdEntryRule()); } set( current, "operator", lv_operator_1_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ComparisonOperator"); afterParserOrEnumRuleCall(); } } // InternalApplicationConfiguration.g:2060:3: ( (lv_threshold_2_0= ruleREALLiteral ) ) // InternalApplicationConfiguration.g:2061:4: (lv_threshold_2_0= ruleREALLiteral ) { // InternalApplicationConfiguration.g:2061:4: (lv_threshold_2_0= ruleREALLiteral ) // InternalApplicationConfiguration.g:2062:5: lv_threshold_2_0= ruleREALLiteral { newCompositeNode(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0()); pushFollow(FOLLOW_2); lv_threshold_2_0=ruleREALLiteral(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getThresholdEntryRule()); } set( current, "threshold", lv_threshold_2_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); afterParserOrEnumRuleCall(); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleThresholdEntry" // $ANTLR start "entryRuleObjectiveFunction" // InternalApplicationConfiguration.g:2083:1: entryRuleObjectiveFunction returns [EObject current=null] : iv_ruleObjectiveFunction= ruleObjectiveFunction EOF ; public final EObject entryRuleObjectiveFunction() throws RecognitionException { EObject current = null; EObject iv_ruleObjectiveFunction = null; try { // InternalApplicationConfiguration.g:2083:58: (iv_ruleObjectiveFunction= ruleObjectiveFunction EOF ) // InternalApplicationConfiguration.g:2084:2: iv_ruleObjectiveFunction= ruleObjectiveFunction EOF { newCompositeNode(grammarAccess.getObjectiveFunctionRule()); pushFollow(FOLLOW_1); iv_ruleObjectiveFunction=ruleObjectiveFunction(); state._fsp--; current =iv_ruleObjectiveFunction; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleObjectiveFunction" // $ANTLR start "ruleObjectiveFunction" // InternalApplicationConfiguration.g:2090:1: ruleObjectiveFunction returns [EObject current=null] : this_ReliabilityObjectiveFunction_0= ruleReliabilityObjectiveFunction ; public final EObject ruleObjectiveFunction() throws RecognitionException { EObject current = null; EObject this_ReliabilityObjectiveFunction_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:2096:2: (this_ReliabilityObjectiveFunction_0= ruleReliabilityObjectiveFunction ) // InternalApplicationConfiguration.g:2097:2: this_ReliabilityObjectiveFunction_0= ruleReliabilityObjectiveFunction { newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall()); pushFollow(FOLLOW_2); this_ReliabilityObjectiveFunction_0=ruleReliabilityObjectiveFunction(); state._fsp--; current = this_ReliabilityObjectiveFunction_0; afterParserOrEnumRuleCall(); } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleObjectiveFunction" // $ANTLR start "entryRuleReliabilityObjectiveFunction" // InternalApplicationConfiguration.g:2108:1: entryRuleReliabilityObjectiveFunction returns [EObject current=null] : iv_ruleReliabilityObjectiveFunction= ruleReliabilityObjectiveFunction EOF ; public final EObject entryRuleReliabilityObjectiveFunction() throws RecognitionException { EObject current = null; EObject iv_ruleReliabilityObjectiveFunction = null; try { // InternalApplicationConfiguration.g:2108:69: (iv_ruleReliabilityObjectiveFunction= ruleReliabilityObjectiveFunction EOF ) // InternalApplicationConfiguration.g:2109:2: iv_ruleReliabilityObjectiveFunction= ruleReliabilityObjectiveFunction EOF { newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionRule()); pushFollow(FOLLOW_1); iv_ruleReliabilityObjectiveFunction=ruleReliabilityObjectiveFunction(); state._fsp--; current =iv_ruleReliabilityObjectiveFunction; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleReliabilityObjectiveFunction" // $ANTLR start "ruleReliabilityObjectiveFunction" // InternalApplicationConfiguration.g:2115:1: ruleReliabilityObjectiveFunction returns [EObject current=null] : (this_ReliabiltiyProbability_0= ruleReliabiltiyProbability | this_Mtff_1= ruleMtff ) ; public final EObject ruleReliabilityObjectiveFunction() throws RecognitionException { EObject current = null; EObject this_ReliabiltiyProbability_0 = null; EObject this_Mtff_1 = null; enterRule(); try { // InternalApplicationConfiguration.g:2121:2: ( (this_ReliabiltiyProbability_0= ruleReliabiltiyProbability | this_Mtff_1= ruleMtff ) ) // InternalApplicationConfiguration.g:2122:2: (this_ReliabiltiyProbability_0= ruleReliabiltiyProbability | this_Mtff_1= ruleMtff ) { // InternalApplicationConfiguration.g:2122:2: (this_ReliabiltiyProbability_0= ruleReliabiltiyProbability | this_Mtff_1= ruleMtff ) int alt30=2; int LA30_0 = input.LA(1); if ( (LA30_0==16) ) { alt30=1; } else if ( (LA30_0==30) ) { alt30=2; } else { NoViableAltException nvae = new NoViableAltException("", 30, 0, input); throw nvae; } switch (alt30) { case 1 : // InternalApplicationConfiguration.g:2123:3: this_ReliabiltiyProbability_0= ruleReliabiltiyProbability { newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionAccess().getReliabiltiyProbabilityParserRuleCall_0()); pushFollow(FOLLOW_2); this_ReliabiltiyProbability_0=ruleReliabiltiyProbability(); state._fsp--; current = this_ReliabiltiyProbability_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalApplicationConfiguration.g:2132:3: this_Mtff_1= ruleMtff { newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionAccess().getMtffParserRuleCall_1()); pushFollow(FOLLOW_2); this_Mtff_1=ruleMtff(); state._fsp--; current = this_Mtff_1; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleReliabilityObjectiveFunction" // $ANTLR start "entryRuleReliabiltiyProbability" // InternalApplicationConfiguration.g:2144:1: entryRuleReliabiltiyProbability returns [EObject current=null] : iv_ruleReliabiltiyProbability= ruleReliabiltiyProbability EOF ; public final EObject entryRuleReliabiltiyProbability() throws RecognitionException { EObject current = null; EObject iv_ruleReliabiltiyProbability = null; try { // InternalApplicationConfiguration.g:2144:63: (iv_ruleReliabiltiyProbability= ruleReliabiltiyProbability EOF ) // InternalApplicationConfiguration.g:2145:2: iv_ruleReliabiltiyProbability= ruleReliabiltiyProbability EOF { newCompositeNode(grammarAccess.getReliabiltiyProbabilityRule()); pushFollow(FOLLOW_1); iv_ruleReliabiltiyProbability=ruleReliabiltiyProbability(); state._fsp--; current =iv_ruleReliabiltiyProbability; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleReliabiltiyProbability" // $ANTLR start "ruleReliabiltiyProbability" // InternalApplicationConfiguration.g:2151:1: ruleReliabiltiyProbability returns [EObject current=null] : (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) otherlv_4= 'at' ( (lv_time_5_0= ruleREALLiteral ) ) ) ; public final EObject ruleReliabiltiyProbability() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_2=null; Token otherlv_3=null; Token otherlv_4=null; AntlrDatatypeRuleToken lv_time_5_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:2157:2: ( (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) otherlv_4= 'at' ( (lv_time_5_0= ruleREALLiteral ) ) ) ) // InternalApplicationConfiguration.g:2158:2: (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) otherlv_4= 'at' ( (lv_time_5_0= ruleREALLiteral ) ) ) { // InternalApplicationConfiguration.g:2158:2: (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) otherlv_4= 'at' ( (lv_time_5_0= ruleREALLiteral ) ) ) // InternalApplicationConfiguration.g:2159:3: otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) otherlv_4= 'at' ( (lv_time_5_0= ruleREALLiteral ) ) { otherlv_0=(Token)match(input,16,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getReliabiltiyProbabilityAccess().getReliabilityKeyword_0()); // InternalApplicationConfiguration.g:2163:3: ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? int alt31=2; int LA31_0 = input.LA(1); if ( (LA31_0==RULE_ID) ) { int LA31_1 = input.LA(2); if ( (LA31_1==11||LA31_1==24) ) { alt31=1; } } switch (alt31) { case 1 : // InternalApplicationConfiguration.g:2164:4: ( ( ruleQualifiedName ) ) otherlv_2= '::' { // InternalApplicationConfiguration.g:2164:4: ( ( ruleQualifiedName ) ) // InternalApplicationConfiguration.g:2165:5: ( ruleQualifiedName ) { // InternalApplicationConfiguration.g:2165:5: ( ruleQualifiedName ) // InternalApplicationConfiguration.g:2166:6: ruleQualifiedName { if (current==null) { current = createModelElement(grammarAccess.getReliabiltiyProbabilityRule()); } newCompositeNode(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelCrossReference_1_0_0()); pushFollow(FOLLOW_18); ruleQualifiedName(); state._fsp--; afterParserOrEnumRuleCall(); } } otherlv_2=(Token)match(input,24,FOLLOW_6); newLeafNode(otherlv_2, grammarAccess.getReliabiltiyProbabilityAccess().getColonColonKeyword_1_1()); } break; } // InternalApplicationConfiguration.g:2185:3: ( (otherlv_3= RULE_ID ) ) // InternalApplicationConfiguration.g:2186:4: (otherlv_3= RULE_ID ) { // InternalApplicationConfiguration.g:2186:4: (otherlv_3= RULE_ID ) // InternalApplicationConfiguration.g:2187:5: otherlv_3= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getReliabiltiyProbabilityRule()); } otherlv_3=(Token)match(input,RULE_ID,FOLLOW_25); newLeafNode(otherlv_3, grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } } otherlv_4=(Token)match(input,29,FOLLOW_24); newLeafNode(otherlv_4, grammarAccess.getReliabiltiyProbabilityAccess().getAtKeyword_3()); // InternalApplicationConfiguration.g:2202:3: ( (lv_time_5_0= ruleREALLiteral ) ) // InternalApplicationConfiguration.g:2203:4: (lv_time_5_0= ruleREALLiteral ) { // InternalApplicationConfiguration.g:2203:4: (lv_time_5_0= ruleREALLiteral ) // InternalApplicationConfiguration.g:2204:5: lv_time_5_0= ruleREALLiteral { newCompositeNode(grammarAccess.getReliabiltiyProbabilityAccess().getTimeREALLiteralParserRuleCall_4_0()); pushFollow(FOLLOW_2); lv_time_5_0=ruleREALLiteral(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReliabiltiyProbabilityRule()); } set( current, "time", lv_time_5_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); afterParserOrEnumRuleCall(); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleReliabiltiyProbability" // $ANTLR start "entryRuleMtff" // InternalApplicationConfiguration.g:2225:1: entryRuleMtff returns [EObject current=null] : iv_ruleMtff= ruleMtff EOF ; public final EObject entryRuleMtff() throws RecognitionException { EObject current = null; EObject iv_ruleMtff = null; try { // InternalApplicationConfiguration.g:2225:45: (iv_ruleMtff= ruleMtff EOF ) // InternalApplicationConfiguration.g:2226:2: iv_ruleMtff= ruleMtff EOF { newCompositeNode(grammarAccess.getMtffRule()); pushFollow(FOLLOW_1); iv_ruleMtff=ruleMtff(); state._fsp--; current =iv_ruleMtff; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleMtff" // $ANTLR start "ruleMtff" // InternalApplicationConfiguration.g:2232:1: ruleMtff returns [EObject current=null] : (otherlv_0= 'mtff' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) ; public final EObject ruleMtff() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_2=null; Token otherlv_3=null; enterRule(); try { // InternalApplicationConfiguration.g:2238:2: ( (otherlv_0= 'mtff' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) ) // InternalApplicationConfiguration.g:2239:2: (otherlv_0= 'mtff' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) { // InternalApplicationConfiguration.g:2239:2: (otherlv_0= 'mtff' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) // InternalApplicationConfiguration.g:2240:3: otherlv_0= 'mtff' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) { otherlv_0=(Token)match(input,30,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getMtffAccess().getMtffKeyword_0()); // InternalApplicationConfiguration.g:2244:3: ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? int alt32=2; int LA32_0 = input.LA(1); if ( (LA32_0==RULE_ID) ) { int LA32_1 = input.LA(2); if ( (LA32_1==11||LA32_1==24) ) { alt32=1; } } switch (alt32) { case 1 : // InternalApplicationConfiguration.g:2245:4: ( ( ruleQualifiedName ) ) otherlv_2= '::' { // InternalApplicationConfiguration.g:2245:4: ( ( ruleQualifiedName ) ) // InternalApplicationConfiguration.g:2246:5: ( ruleQualifiedName ) { // InternalApplicationConfiguration.g:2246:5: ( ruleQualifiedName ) // InternalApplicationConfiguration.g:2247:6: ruleQualifiedName { if (current==null) { current = createModelElement(grammarAccess.getMtffRule()); } newCompositeNode(grammarAccess.getMtffAccess().getPackageCftModelCrossReference_1_0_0()); pushFollow(FOLLOW_18); ruleQualifiedName(); state._fsp--; afterParserOrEnumRuleCall(); } } otherlv_2=(Token)match(input,24,FOLLOW_6); newLeafNode(otherlv_2, grammarAccess.getMtffAccess().getColonColonKeyword_1_1()); } break; } // InternalApplicationConfiguration.g:2266:3: ( (otherlv_3= RULE_ID ) ) // InternalApplicationConfiguration.g:2267:4: (otherlv_3= RULE_ID ) { // InternalApplicationConfiguration.g:2267:4: (otherlv_3= RULE_ID ) // InternalApplicationConfiguration.g:2268:5: otherlv_3= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getMtffRule()); } otherlv_3=(Token)match(input,RULE_ID,FOLLOW_2); newLeafNode(otherlv_3, grammarAccess.getMtffAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleMtff" // $ANTLR start "entryRuleObjectiveDeclaration" // InternalApplicationConfiguration.g:2283:1: entryRuleObjectiveDeclaration returns [EObject current=null] : iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ; public final EObject entryRuleObjectiveDeclaration() throws RecognitionException { EObject current = null; EObject iv_ruleObjectiveDeclaration = null; try { // InternalApplicationConfiguration.g:2283:61: (iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ) // InternalApplicationConfiguration.g:2284:2: iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF { newCompositeNode(grammarAccess.getObjectiveDeclarationRule()); pushFollow(FOLLOW_1); iv_ruleObjectiveDeclaration=ruleObjectiveDeclaration(); state._fsp--; current =iv_ruleObjectiveDeclaration; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleObjectiveDeclaration" // $ANTLR start "ruleObjectiveDeclaration" // InternalApplicationConfiguration.g:2290:1: ruleObjectiveDeclaration returns [EObject current=null] : (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) ; public final EObject ruleObjectiveDeclaration() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_name_1_0=null; EObject lv_specification_2_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:2296:2: ( (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) ) // InternalApplicationConfiguration.g:2297:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) { // InternalApplicationConfiguration.g:2297:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) // InternalApplicationConfiguration.g:2298:3: otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) { otherlv_0=(Token)match(input,31,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0()); // InternalApplicationConfiguration.g:2302:3: ( (lv_name_1_0= RULE_ID ) ) // InternalApplicationConfiguration.g:2303:4: (lv_name_1_0= RULE_ID ) { // InternalApplicationConfiguration.g:2303:4: (lv_name_1_0= RULE_ID ) // InternalApplicationConfiguration.g:2304:5: lv_name_1_0= RULE_ID { lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); newLeafNode(lv_name_1_0, grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0()); if (current==null) { current = createModelElement(grammarAccess.getObjectiveDeclarationRule()); } setWithLastConsumed( current, "name", lv_name_1_0, "org.eclipse.xtext.common.Terminals.ID"); } } // InternalApplicationConfiguration.g:2320:3: ( (lv_specification_2_0= ruleObjectiveSpecification ) ) // InternalApplicationConfiguration.g:2321:4: (lv_specification_2_0= ruleObjectiveSpecification ) { // InternalApplicationConfiguration.g:2321:4: (lv_specification_2_0= ruleObjectiveSpecification ) // InternalApplicationConfiguration.g:2322:5: lv_specification_2_0= ruleObjectiveSpecification { newCompositeNode(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); lv_specification_2_0=ruleObjectiveSpecification(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectiveDeclarationRule()); } set( current, "specification", lv_specification_2_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveSpecification"); afterParserOrEnumRuleCall(); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleObjectiveDeclaration" // $ANTLR start "entryRuleObjectiveReference" // InternalApplicationConfiguration.g:2343:1: entryRuleObjectiveReference returns [EObject current=null] : iv_ruleObjectiveReference= ruleObjectiveReference EOF ; public final EObject entryRuleObjectiveReference() throws RecognitionException { EObject current = null; EObject iv_ruleObjectiveReference = null; try { // InternalApplicationConfiguration.g:2343:59: (iv_ruleObjectiveReference= ruleObjectiveReference EOF ) // InternalApplicationConfiguration.g:2344:2: iv_ruleObjectiveReference= ruleObjectiveReference EOF { newCompositeNode(grammarAccess.getObjectiveReferenceRule()); pushFollow(FOLLOW_1); iv_ruleObjectiveReference=ruleObjectiveReference(); state._fsp--; current =iv_ruleObjectiveReference; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleObjectiveReference" // $ANTLR start "ruleObjectiveReference" // InternalApplicationConfiguration.g:2350:1: ruleObjectiveReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleObjectiveReference() throws RecognitionException { EObject current = null; Token otherlv_0=null; enterRule(); try { // InternalApplicationConfiguration.g:2356:2: ( ( (otherlv_0= RULE_ID ) ) ) // InternalApplicationConfiguration.g:2357:2: ( (otherlv_0= RULE_ID ) ) { // InternalApplicationConfiguration.g:2357:2: ( (otherlv_0= RULE_ID ) ) // InternalApplicationConfiguration.g:2358:3: (otherlv_0= RULE_ID ) { // InternalApplicationConfiguration.g:2358:3: (otherlv_0= RULE_ID ) // InternalApplicationConfiguration.g:2359:4: otherlv_0= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getObjectiveReferenceRule()); } otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); newLeafNode(otherlv_0, grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationCrossReference_0()); } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleObjectiveReference" // $ANTLR start "entryRuleObjective" // InternalApplicationConfiguration.g:2373:1: entryRuleObjective returns [EObject current=null] : iv_ruleObjective= ruleObjective EOF ; public final EObject entryRuleObjective() throws RecognitionException { EObject current = null; EObject iv_ruleObjective = null; try { // InternalApplicationConfiguration.g:2373:50: (iv_ruleObjective= ruleObjective EOF ) // InternalApplicationConfiguration.g:2374:2: iv_ruleObjective= ruleObjective EOF { newCompositeNode(grammarAccess.getObjectiveRule()); pushFollow(FOLLOW_1); iv_ruleObjective=ruleObjective(); state._fsp--; current =iv_ruleObjective; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleObjective" // $ANTLR start "ruleObjective" // InternalApplicationConfiguration.g:2380:1: ruleObjective returns [EObject current=null] : (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) ; public final EObject ruleObjective() throws RecognitionException { EObject current = null; EObject this_ObjectiveReference_0 = null; EObject this_ObjectiveSpecification_1 = null; enterRule(); try { // InternalApplicationConfiguration.g:2386:2: ( (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) ) // InternalApplicationConfiguration.g:2387:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) { // InternalApplicationConfiguration.g:2387:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) int alt33=2; int LA33_0 = input.LA(1); if ( (LA33_0==RULE_ID) ) { alt33=1; } else if ( (LA33_0==19) ) { alt33=2; } else { NoViableAltException nvae = new NoViableAltException("", 33, 0, input); throw nvae; } switch (alt33) { case 1 : // InternalApplicationConfiguration.g:2388:3: this_ObjectiveReference_0= ruleObjectiveReference { newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0()); pushFollow(FOLLOW_2); this_ObjectiveReference_0=ruleObjectiveReference(); state._fsp--; current = this_ObjectiveReference_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalApplicationConfiguration.g:2397:3: this_ObjectiveSpecification_1= ruleObjectiveSpecification { newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1()); pushFollow(FOLLOW_2); this_ObjectiveSpecification_1=ruleObjectiveSpecification(); state._fsp--; current = this_ObjectiveSpecification_1; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleObjective" // $ANTLR start "entryRuleConfigSpecification" // InternalApplicationConfiguration.g:2409:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ; public final EObject entryRuleConfigSpecification() throws RecognitionException { EObject current = null; EObject iv_ruleConfigSpecification = null; try { // InternalApplicationConfiguration.g:2409:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) // InternalApplicationConfiguration.g:2410:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF { newCompositeNode(grammarAccess.getConfigSpecificationRule()); pushFollow(FOLLOW_1); iv_ruleConfigSpecification=ruleConfigSpecification(); state._fsp--; current =iv_ruleConfigSpecification; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleConfigSpecification" // $ANTLR start "ruleConfigSpecification" // InternalApplicationConfiguration.g:2416: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; Token otherlv_1=null; Token otherlv_3=null; Token otherlv_5=null; EObject lv_entries_2_0 = null; EObject lv_entries_4_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:2422:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ) // InternalApplicationConfiguration.g:2423:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) { // InternalApplicationConfiguration.g:2423:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) // InternalApplicationConfiguration.g:2424:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' { // InternalApplicationConfiguration.g:2424:3: () // InternalApplicationConfiguration.g:2425:4: { current = forceCreateModelElement( grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), current); } otherlv_1=(Token)match(input,19,FOLLOW_26); newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); // InternalApplicationConfiguration.g:2435:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? int alt35=2; int LA35_0 = input.LA(1); if ( (LA35_0==RULE_STRING||(LA35_0>=33 && LA35_0<=35)) ) { alt35=1; } switch (alt35) { case 1 : // InternalApplicationConfiguration.g:2436:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* { // InternalApplicationConfiguration.g:2436:4: ( (lv_entries_2_0= ruleConfigEntry ) ) // InternalApplicationConfiguration.g:2437:5: (lv_entries_2_0= ruleConfigEntry ) { // InternalApplicationConfiguration.g:2437:5: (lv_entries_2_0= ruleConfigEntry ) // InternalApplicationConfiguration.g:2438:6: lv_entries_2_0= ruleConfigEntry { newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); pushFollow(FOLLOW_15); lv_entries_2_0=ruleConfigEntry(); state._fsp--; 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:2455:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* loop34: do { int alt34=2; int LA34_0 = input.LA(1); if ( (LA34_0==20) ) { alt34=1; } switch (alt34) { case 1 : // InternalApplicationConfiguration.g:2456:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) { otherlv_3=(Token)match(input,20,FOLLOW_27); newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); // InternalApplicationConfiguration.g:2460:5: ( (lv_entries_4_0= ruleConfigEntry ) ) // InternalApplicationConfiguration.g:2461:6: (lv_entries_4_0= ruleConfigEntry ) { // InternalApplicationConfiguration.g:2461:6: (lv_entries_4_0= ruleConfigEntry ) // InternalApplicationConfiguration.g:2462:7: lv_entries_4_0= ruleConfigEntry { newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); pushFollow(FOLLOW_15); lv_entries_4_0=ruleConfigEntry(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); } add( current, "entries", lv_entries_4_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); afterParserOrEnumRuleCall(); } } } break; default : break loop34; } } while (true); } break; } otherlv_5=(Token)match(input,21,FOLLOW_2); newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleConfigSpecification" // $ANTLR start "entryRuleConfigDeclaration" // InternalApplicationConfiguration.g:2489:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ; public final EObject entryRuleConfigDeclaration() throws RecognitionException { EObject current = null; EObject iv_ruleConfigDeclaration = null; try { // InternalApplicationConfiguration.g:2489:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) // InternalApplicationConfiguration.g:2490:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF { newCompositeNode(grammarAccess.getConfigDeclarationRule()); pushFollow(FOLLOW_1); iv_ruleConfigDeclaration=ruleConfigDeclaration(); state._fsp--; current =iv_ruleConfigDeclaration; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleConfigDeclaration" // $ANTLR start "ruleConfigDeclaration" // InternalApplicationConfiguration.g:2496: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; Token otherlv_0=null; Token lv_name_1_0=null; EObject lv_specification_2_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:2502:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ) // InternalApplicationConfiguration.g:2503:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) { // InternalApplicationConfiguration.g:2503:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) // InternalApplicationConfiguration.g:2504:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) { otherlv_0=(Token)match(input,32,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); // InternalApplicationConfiguration.g:2508:3: ( (lv_name_1_0= RULE_ID ) ) // InternalApplicationConfiguration.g:2509:4: (lv_name_1_0= RULE_ID ) { // InternalApplicationConfiguration.g:2509:4: (lv_name_1_0= RULE_ID ) // InternalApplicationConfiguration.g:2510:5: lv_name_1_0= RULE_ID { lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); 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"); } } // InternalApplicationConfiguration.g:2526:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) // InternalApplicationConfiguration.g:2527:4: (lv_specification_2_0= ruleConfigSpecification ) { // InternalApplicationConfiguration.g:2527:4: (lv_specification_2_0= ruleConfigSpecification ) // InternalApplicationConfiguration.g:2528:5: lv_specification_2_0= ruleConfigSpecification { newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); lv_specification_2_0=ruleConfigSpecification(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); } set( current, "specification", lv_specification_2_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); afterParserOrEnumRuleCall(); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleConfigDeclaration" // $ANTLR start "entryRuleConfigEntry" // InternalApplicationConfiguration.g:2549:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ; public final EObject entryRuleConfigEntry() throws RecognitionException { EObject current = null; EObject iv_ruleConfigEntry = null; try { // InternalApplicationConfiguration.g:2549:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) // InternalApplicationConfiguration.g:2550:2: iv_ruleConfigEntry= ruleConfigEntry EOF { newCompositeNode(grammarAccess.getConfigEntryRule()); pushFollow(FOLLOW_1); iv_ruleConfigEntry=ruleConfigEntry(); state._fsp--; current =iv_ruleConfigEntry; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleConfigEntry" // $ANTLR start "ruleConfigEntry" // InternalApplicationConfiguration.g:2556:1: ruleConfigEntry returns [EObject current=null] : (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ; public final EObject ruleConfigEntry() throws RecognitionException { EObject current = null; EObject this_DocumentationEntry_0 = null; EObject this_RuntimeEntry_1 = null; EObject this_MemoryEntry_2 = null; EObject this_CustomEntry_3 = null; enterRule(); try { // InternalApplicationConfiguration.g:2562:2: ( (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ) // InternalApplicationConfiguration.g:2563:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) { // InternalApplicationConfiguration.g:2563:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) int alt36=4; switch ( input.LA(1) ) { case 33: { alt36=1; } break; case 34: { alt36=2; } break; case 35: { alt36=3; } break; case RULE_STRING: { alt36=4; } break; default: NoViableAltException nvae = new NoViableAltException("", 36, 0, input); throw nvae; } switch (alt36) { case 1 : // InternalApplicationConfiguration.g:2564:3: this_DocumentationEntry_0= ruleDocumentationEntry { newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); pushFollow(FOLLOW_2); this_DocumentationEntry_0=ruleDocumentationEntry(); state._fsp--; current = this_DocumentationEntry_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalApplicationConfiguration.g:2573:3: this_RuntimeEntry_1= ruleRuntimeEntry { newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); pushFollow(FOLLOW_2); this_RuntimeEntry_1=ruleRuntimeEntry(); state._fsp--; current = this_RuntimeEntry_1; afterParserOrEnumRuleCall(); } break; case 3 : // InternalApplicationConfiguration.g:2582:3: this_MemoryEntry_2= ruleMemoryEntry { newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); pushFollow(FOLLOW_2); this_MemoryEntry_2=ruleMemoryEntry(); state._fsp--; current = this_MemoryEntry_2; afterParserOrEnumRuleCall(); } break; case 4 : // InternalApplicationConfiguration.g:2591:3: this_CustomEntry_3= ruleCustomEntry { newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); pushFollow(FOLLOW_2); this_CustomEntry_3=ruleCustomEntry(); state._fsp--; current = this_CustomEntry_3; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleConfigEntry" // $ANTLR start "entryRuleDocumentationEntry" // InternalApplicationConfiguration.g:2603:1: entryRuleDocumentationEntry returns [EObject current=null] : iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ; public final EObject entryRuleDocumentationEntry() throws RecognitionException { EObject current = null; EObject iv_ruleDocumentationEntry = null; try { // InternalApplicationConfiguration.g:2603:59: (iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ) // InternalApplicationConfiguration.g:2604:2: iv_ruleDocumentationEntry= ruleDocumentationEntry EOF { newCompositeNode(grammarAccess.getDocumentationEntryRule()); pushFollow(FOLLOW_1); iv_ruleDocumentationEntry=ruleDocumentationEntry(); state._fsp--; current =iv_ruleDocumentationEntry; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleDocumentationEntry" // $ANTLR start "ruleDocumentationEntry" // InternalApplicationConfiguration.g:2610:1: ruleDocumentationEntry returns [EObject current=null] : (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ; public final EObject ruleDocumentationEntry() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Enumerator lv_level_2_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:2616:2: ( (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ) // InternalApplicationConfiguration.g:2617:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) { // InternalApplicationConfiguration.g:2617:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) // InternalApplicationConfiguration.g:2618:3: otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) { otherlv_0=(Token)match(input,33,FOLLOW_13); newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); otherlv_1=(Token)match(input,18,FOLLOW_28); newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); // InternalApplicationConfiguration.g:2626:3: ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) // InternalApplicationConfiguration.g:2627:4: (lv_level_2_0= ruleDocumentLevelSpecification ) { // InternalApplicationConfiguration.g:2627:4: (lv_level_2_0= ruleDocumentLevelSpecification ) // InternalApplicationConfiguration.g:2628:5: lv_level_2_0= ruleDocumentLevelSpecification { newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); pushFollow(FOLLOW_2); lv_level_2_0=ruleDocumentLevelSpecification(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentationEntryRule()); } set( current, "level", lv_level_2_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification"); afterParserOrEnumRuleCall(); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleDocumentationEntry" // $ANTLR start "entryRuleRuntimeEntry" // InternalApplicationConfiguration.g:2649:1: entryRuleRuntimeEntry returns [EObject current=null] : iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ; public final EObject entryRuleRuntimeEntry() throws RecognitionException { EObject current = null; EObject iv_ruleRuntimeEntry = null; try { // InternalApplicationConfiguration.g:2649:53: (iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ) // InternalApplicationConfiguration.g:2650:2: iv_ruleRuntimeEntry= ruleRuntimeEntry EOF { newCompositeNode(grammarAccess.getRuntimeEntryRule()); pushFollow(FOLLOW_1); iv_ruleRuntimeEntry=ruleRuntimeEntry(); state._fsp--; current =iv_ruleRuntimeEntry; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleRuntimeEntry" // $ANTLR start "ruleRuntimeEntry" // InternalApplicationConfiguration.g:2656:1: ruleRuntimeEntry returns [EObject current=null] : (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ; public final EObject ruleRuntimeEntry() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token lv_millisecLimit_2_0=null; enterRule(); try { // InternalApplicationConfiguration.g:2662:2: ( (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ) // InternalApplicationConfiguration.g:2663:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) { // InternalApplicationConfiguration.g:2663:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) // InternalApplicationConfiguration.g:2664:3: otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) { otherlv_0=(Token)match(input,34,FOLLOW_13); newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); otherlv_1=(Token)match(input,18,FOLLOW_7); newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); // InternalApplicationConfiguration.g:2672:3: ( (lv_millisecLimit_2_0= RULE_INT ) ) // InternalApplicationConfiguration.g:2673:4: (lv_millisecLimit_2_0= RULE_INT ) { // InternalApplicationConfiguration.g:2673:4: (lv_millisecLimit_2_0= RULE_INT ) // InternalApplicationConfiguration.g:2674:5: lv_millisecLimit_2_0= RULE_INT { lv_millisecLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); newLeafNode(lv_millisecLimit_2_0, grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); if (current==null) { current = createModelElement(grammarAccess.getRuntimeEntryRule()); } setWithLastConsumed( current, "millisecLimit", lv_millisecLimit_2_0, "org.eclipse.xtext.common.Terminals.INT"); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleRuntimeEntry" // $ANTLR start "entryRuleMemoryEntry" // InternalApplicationConfiguration.g:2694:1: entryRuleMemoryEntry returns [EObject current=null] : iv_ruleMemoryEntry= ruleMemoryEntry EOF ; public final EObject entryRuleMemoryEntry() throws RecognitionException { EObject current = null; EObject iv_ruleMemoryEntry = null; try { // InternalApplicationConfiguration.g:2694:52: (iv_ruleMemoryEntry= ruleMemoryEntry EOF ) // InternalApplicationConfiguration.g:2695:2: iv_ruleMemoryEntry= ruleMemoryEntry EOF { newCompositeNode(grammarAccess.getMemoryEntryRule()); pushFollow(FOLLOW_1); iv_ruleMemoryEntry=ruleMemoryEntry(); state._fsp--; current =iv_ruleMemoryEntry; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleMemoryEntry" // $ANTLR start "ruleMemoryEntry" // InternalApplicationConfiguration.g:2701:1: ruleMemoryEntry returns [EObject current=null] : (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ; public final EObject ruleMemoryEntry() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token lv_megabyteLimit_2_0=null; enterRule(); try { // InternalApplicationConfiguration.g:2707:2: ( (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ) // InternalApplicationConfiguration.g:2708:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) { // InternalApplicationConfiguration.g:2708:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) // InternalApplicationConfiguration.g:2709:3: otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) { otherlv_0=(Token)match(input,35,FOLLOW_13); newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); otherlv_1=(Token)match(input,18,FOLLOW_7); newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); // InternalApplicationConfiguration.g:2717:3: ( (lv_megabyteLimit_2_0= RULE_INT ) ) // InternalApplicationConfiguration.g:2718:4: (lv_megabyteLimit_2_0= RULE_INT ) { // InternalApplicationConfiguration.g:2718:4: (lv_megabyteLimit_2_0= RULE_INT ) // InternalApplicationConfiguration.g:2719:5: lv_megabyteLimit_2_0= RULE_INT { lv_megabyteLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); newLeafNode(lv_megabyteLimit_2_0, grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); if (current==null) { current = createModelElement(grammarAccess.getMemoryEntryRule()); } setWithLastConsumed( current, "megabyteLimit", lv_megabyteLimit_2_0, "org.eclipse.xtext.common.Terminals.INT"); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleMemoryEntry" // $ANTLR start "entryRuleCustomEntry" // InternalApplicationConfiguration.g:2739:1: entryRuleCustomEntry returns [EObject current=null] : iv_ruleCustomEntry= ruleCustomEntry EOF ; public final EObject entryRuleCustomEntry() throws RecognitionException { EObject current = null; EObject iv_ruleCustomEntry = null; try { // InternalApplicationConfiguration.g:2739:52: (iv_ruleCustomEntry= ruleCustomEntry EOF ) // InternalApplicationConfiguration.g:2740:2: iv_ruleCustomEntry= ruleCustomEntry EOF { newCompositeNode(grammarAccess.getCustomEntryRule()); pushFollow(FOLLOW_1); iv_ruleCustomEntry=ruleCustomEntry(); state._fsp--; current =iv_ruleCustomEntry; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleCustomEntry" // $ANTLR start "ruleCustomEntry" // InternalApplicationConfiguration.g:2746:1: ruleCustomEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ; public final EObject ruleCustomEntry() throws RecognitionException { EObject current = null; Token lv_key_0_0=null; Token otherlv_1=null; Token lv_value_2_0=null; enterRule(); try { // InternalApplicationConfiguration.g:2752:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) // InternalApplicationConfiguration.g:2753:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) { // InternalApplicationConfiguration.g:2753:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) // InternalApplicationConfiguration.g:2754:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) { // InternalApplicationConfiguration.g:2754:3: ( (lv_key_0_0= RULE_STRING ) ) // InternalApplicationConfiguration.g:2755:4: (lv_key_0_0= RULE_STRING ) { // InternalApplicationConfiguration.g:2755:4: (lv_key_0_0= RULE_STRING ) // InternalApplicationConfiguration.g:2756:5: lv_key_0_0= RULE_STRING { lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_13); newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); if (current==null) { current = createModelElement(grammarAccess.getCustomEntryRule()); } setWithLastConsumed( current, "key", lv_key_0_0, "org.eclipse.xtext.common.Terminals.STRING"); } } otherlv_1=(Token)match(input,18,FOLLOW_10); newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); // InternalApplicationConfiguration.g:2776:3: ( (lv_value_2_0= RULE_STRING ) ) // InternalApplicationConfiguration.g:2777:4: (lv_value_2_0= RULE_STRING ) { // InternalApplicationConfiguration.g:2777:4: (lv_value_2_0= RULE_STRING ) // InternalApplicationConfiguration.g:2778:5: lv_value_2_0= RULE_STRING { lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); newLeafNode(lv_value_2_0, grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); if (current==null) { current = createModelElement(grammarAccess.getCustomEntryRule()); } setWithLastConsumed( current, "value", lv_value_2_0, "org.eclipse.xtext.common.Terminals.STRING"); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleCustomEntry" // $ANTLR start "entryRuleConfigReference" // InternalApplicationConfiguration.g:2798:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ; public final EObject entryRuleConfigReference() throws RecognitionException { EObject current = null; EObject iv_ruleConfigReference = null; try { // InternalApplicationConfiguration.g:2798:56: (iv_ruleConfigReference= ruleConfigReference EOF ) // InternalApplicationConfiguration.g:2799:2: iv_ruleConfigReference= ruleConfigReference EOF { newCompositeNode(grammarAccess.getConfigReferenceRule()); pushFollow(FOLLOW_1); iv_ruleConfigReference=ruleConfigReference(); state._fsp--; current =iv_ruleConfigReference; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleConfigReference" // $ANTLR start "ruleConfigReference" // InternalApplicationConfiguration.g:2805:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleConfigReference() throws RecognitionException { EObject current = null; Token otherlv_0=null; enterRule(); try { // InternalApplicationConfiguration.g:2811:2: ( ( (otherlv_0= RULE_ID ) ) ) // InternalApplicationConfiguration.g:2812:2: ( (otherlv_0= RULE_ID ) ) { // InternalApplicationConfiguration.g:2812:2: ( (otherlv_0= RULE_ID ) ) // InternalApplicationConfiguration.g:2813:3: (otherlv_0= RULE_ID ) { // InternalApplicationConfiguration.g:2813:3: (otherlv_0= RULE_ID ) // InternalApplicationConfiguration.g:2814:4: otherlv_0= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getConfigReferenceRule()); } otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleConfigReference" // $ANTLR start "entryRuleConfig" // InternalApplicationConfiguration.g:2828:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ; public final EObject entryRuleConfig() throws RecognitionException { EObject current = null; EObject iv_ruleConfig = null; try { // InternalApplicationConfiguration.g:2828:47: (iv_ruleConfig= ruleConfig EOF ) // InternalApplicationConfiguration.g:2829:2: iv_ruleConfig= ruleConfig EOF { newCompositeNode(grammarAccess.getConfigRule()); pushFollow(FOLLOW_1); iv_ruleConfig=ruleConfig(); state._fsp--; current =iv_ruleConfig; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleConfig" // $ANTLR start "ruleConfig" // InternalApplicationConfiguration.g:2835:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ; public final EObject ruleConfig() throws RecognitionException { EObject current = null; EObject this_ConfigSpecification_0 = null; EObject this_ConfigReference_1 = null; enterRule(); try { // InternalApplicationConfiguration.g:2841:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) // InternalApplicationConfiguration.g:2842:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) { // InternalApplicationConfiguration.g:2842:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) int alt37=2; int LA37_0 = input.LA(1); if ( (LA37_0==19) ) { alt37=1; } else if ( (LA37_0==RULE_ID) ) { alt37=2; } else { NoViableAltException nvae = new NoViableAltException("", 37, 0, input); throw nvae; } switch (alt37) { case 1 : // InternalApplicationConfiguration.g:2843:3: this_ConfigSpecification_0= ruleConfigSpecification { newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); pushFollow(FOLLOW_2); this_ConfigSpecification_0=ruleConfigSpecification(); state._fsp--; current = this_ConfigSpecification_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalApplicationConfiguration.g:2852:3: this_ConfigReference_1= ruleConfigReference { newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); pushFollow(FOLLOW_2); this_ConfigReference_1=ruleConfigReference(); state._fsp--; current = this_ConfigReference_1; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleConfig" // $ANTLR start "entryRuleScopeSpecification" // InternalApplicationConfiguration.g:2864:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ; public final EObject entryRuleScopeSpecification() throws RecognitionException { EObject current = null; EObject iv_ruleScopeSpecification = null; try { // InternalApplicationConfiguration.g:2864:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) // InternalApplicationConfiguration.g:2865:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF { newCompositeNode(grammarAccess.getScopeSpecificationRule()); pushFollow(FOLLOW_1); iv_ruleScopeSpecification=ruleScopeSpecification(); state._fsp--; current =iv_ruleScopeSpecification; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleScopeSpecification" // $ANTLR start "ruleScopeSpecification" // InternalApplicationConfiguration.g:2871: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; Token otherlv_1=null; Token otherlv_3=null; Token otherlv_5=null; EObject lv_scopes_2_0 = null; EObject lv_scopes_4_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:2877:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) // InternalApplicationConfiguration.g:2878:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) { // InternalApplicationConfiguration.g:2878:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) // InternalApplicationConfiguration.g:2879:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' { // InternalApplicationConfiguration.g:2879:3: () // InternalApplicationConfiguration.g:2880:4: { current = forceCreateModelElement( grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), current); } otherlv_1=(Token)match(input,19,FOLLOW_29); newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); // InternalApplicationConfiguration.g:2890:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? int alt39=2; int LA39_0 = input.LA(1); if ( (LA39_0==36) ) { alt39=1; } switch (alt39) { case 1 : // InternalApplicationConfiguration.g:2891:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* { // InternalApplicationConfiguration.g:2891:4: ( (lv_scopes_2_0= ruleTypeScope ) ) // InternalApplicationConfiguration.g:2892:5: (lv_scopes_2_0= ruleTypeScope ) { // InternalApplicationConfiguration.g:2892:5: (lv_scopes_2_0= ruleTypeScope ) // InternalApplicationConfiguration.g:2893:6: lv_scopes_2_0= ruleTypeScope { newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); pushFollow(FOLLOW_15); lv_scopes_2_0=ruleTypeScope(); state._fsp--; 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:2910:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* loop38: do { int alt38=2; int LA38_0 = input.LA(1); if ( (LA38_0==20) ) { alt38=1; } switch (alt38) { case 1 : // InternalApplicationConfiguration.g:2911:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) { otherlv_3=(Token)match(input,20,FOLLOW_30); newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); // InternalApplicationConfiguration.g:2915:5: ( (lv_scopes_4_0= ruleTypeScope ) ) // InternalApplicationConfiguration.g:2916:6: (lv_scopes_4_0= ruleTypeScope ) { // InternalApplicationConfiguration.g:2916:6: (lv_scopes_4_0= ruleTypeScope ) // InternalApplicationConfiguration.g:2917:7: lv_scopes_4_0= ruleTypeScope { newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); pushFollow(FOLLOW_15); lv_scopes_4_0=ruleTypeScope(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); } add( current, "scopes", lv_scopes_4_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); afterParserOrEnumRuleCall(); } } } break; default : break loop38; } } while (true); } break; } otherlv_5=(Token)match(input,21,FOLLOW_2); newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleScopeSpecification" // $ANTLR start "entryRuleTypeScope" // InternalApplicationConfiguration.g:2944:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ; public final EObject entryRuleTypeScope() throws RecognitionException { EObject current = null; EObject iv_ruleTypeScope = null; try { // InternalApplicationConfiguration.g:2944:50: (iv_ruleTypeScope= ruleTypeScope EOF ) // InternalApplicationConfiguration.g:2945:2: iv_ruleTypeScope= ruleTypeScope EOF { newCompositeNode(grammarAccess.getTypeScopeRule()); pushFollow(FOLLOW_1); iv_ruleTypeScope=ruleTypeScope(); state._fsp--; current =iv_ruleTypeScope; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleTypeScope" // $ANTLR start "ruleTypeScope" // InternalApplicationConfiguration.g:2951:1: ruleTypeScope returns [EObject current=null] : (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ; public final EObject ruleTypeScope() throws RecognitionException { EObject current = null; EObject this_ClassTypeScope_0 = null; EObject this_ObjectTypeScope_1 = null; EObject this_IntegerTypeScope_2 = null; EObject this_RealTypeScope_3 = null; EObject this_StringTypeScope_4 = null; enterRule(); try { // InternalApplicationConfiguration.g:2957:2: ( (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ) // InternalApplicationConfiguration.g:2958:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) { // InternalApplicationConfiguration.g:2958:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) int alt40=5; int LA40_0 = input.LA(1); if ( (LA40_0==36) ) { switch ( input.LA(2) ) { case 41: { alt40=3; } break; case 42: { alt40=4; } break; case 43: { alt40=5; } break; case 38: { alt40=1; } break; case 40: { alt40=2; } break; default: NoViableAltException nvae = new NoViableAltException("", 40, 1, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("", 40, 0, input); throw nvae; } switch (alt40) { case 1 : // InternalApplicationConfiguration.g:2959:3: this_ClassTypeScope_0= ruleClassTypeScope { newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); pushFollow(FOLLOW_2); this_ClassTypeScope_0=ruleClassTypeScope(); state._fsp--; current = this_ClassTypeScope_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalApplicationConfiguration.g:2968:3: this_ObjectTypeScope_1= ruleObjectTypeScope { newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); pushFollow(FOLLOW_2); this_ObjectTypeScope_1=ruleObjectTypeScope(); state._fsp--; current = this_ObjectTypeScope_1; afterParserOrEnumRuleCall(); } break; case 3 : // InternalApplicationConfiguration.g:2977:3: this_IntegerTypeScope_2= ruleIntegerTypeScope { newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); pushFollow(FOLLOW_2); this_IntegerTypeScope_2=ruleIntegerTypeScope(); state._fsp--; current = this_IntegerTypeScope_2; afterParserOrEnumRuleCall(); } break; case 4 : // InternalApplicationConfiguration.g:2986:3: this_RealTypeScope_3= ruleRealTypeScope { newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); pushFollow(FOLLOW_2); this_RealTypeScope_3=ruleRealTypeScope(); state._fsp--; current = this_RealTypeScope_3; afterParserOrEnumRuleCall(); } break; case 5 : // InternalApplicationConfiguration.g:2995:3: this_StringTypeScope_4= ruleStringTypeScope { newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); pushFollow(FOLLOW_2); this_StringTypeScope_4=ruleStringTypeScope(); state._fsp--; current = this_StringTypeScope_4; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleTypeScope" // $ANTLR start "entryRuleClassTypeScope" // InternalApplicationConfiguration.g:3007:1: entryRuleClassTypeScope returns [EObject current=null] : iv_ruleClassTypeScope= ruleClassTypeScope EOF ; public final EObject entryRuleClassTypeScope() throws RecognitionException { EObject current = null; EObject iv_ruleClassTypeScope = null; try { // InternalApplicationConfiguration.g:3007:55: (iv_ruleClassTypeScope= ruleClassTypeScope EOF ) // InternalApplicationConfiguration.g:3008:2: iv_ruleClassTypeScope= ruleClassTypeScope EOF { newCompositeNode(grammarAccess.getClassTypeScopeRule()); pushFollow(FOLLOW_1); iv_ruleClassTypeScope=ruleClassTypeScope(); state._fsp--; current =iv_ruleClassTypeScope; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleClassTypeScope" // $ANTLR start "ruleClassTypeScope" // InternalApplicationConfiguration.g:3014:1: ruleClassTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; public final EObject ruleClassTypeScope() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_setsNew_2_0=null; Token lv_setsSum_3_0=null; EObject lv_type_1_0 = null; EObject lv_number_4_0 = null; EObject lv_number_5_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:3020:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) // InternalApplicationConfiguration.g:3021:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) { // InternalApplicationConfiguration.g:3021:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) // InternalApplicationConfiguration.g:3022:3: otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) { otherlv_0=(Token)match(input,36,FOLLOW_31); newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); // InternalApplicationConfiguration.g:3026:3: ( (lv_type_1_0= ruleClassReference ) ) // InternalApplicationConfiguration.g:3027:4: (lv_type_1_0= ruleClassReference ) { // InternalApplicationConfiguration.g:3027:4: (lv_type_1_0= ruleClassReference ) // InternalApplicationConfiguration.g:3028:5: lv_type_1_0= ruleClassReference { newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); pushFollow(FOLLOW_32); lv_type_1_0=ruleClassReference(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); } set( current, "type", lv_type_1_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); afterParserOrEnumRuleCall(); } } // InternalApplicationConfiguration.g:3045:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) int alt41=2; int LA41_0 = input.LA(1); if ( (LA41_0==37) ) { alt41=1; } else if ( (LA41_0==18) ) { alt41=2; } else { NoViableAltException nvae = new NoViableAltException("", 41, 0, input); throw nvae; } switch (alt41) { case 1 : // InternalApplicationConfiguration.g:3046:4: ( (lv_setsNew_2_0= '+=' ) ) { // InternalApplicationConfiguration.g:3046:4: ( (lv_setsNew_2_0= '+=' ) ) // InternalApplicationConfiguration.g:3047:5: (lv_setsNew_2_0= '+=' ) { // InternalApplicationConfiguration.g:3047:5: (lv_setsNew_2_0= '+=' ) // InternalApplicationConfiguration.g:3048:6: lv_setsNew_2_0= '+=' { lv_setsNew_2_0=(Token)match(input,37,FOLLOW_33); newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); if (current==null) { current = createModelElement(grammarAccess.getClassTypeScopeRule()); } setWithLastConsumed(current, "setsNew", true, "+="); } } } break; case 2 : // InternalApplicationConfiguration.g:3061:4: ( (lv_setsSum_3_0= '=' ) ) { // InternalApplicationConfiguration.g:3061:4: ( (lv_setsSum_3_0= '=' ) ) // InternalApplicationConfiguration.g:3062:5: (lv_setsSum_3_0= '=' ) { // InternalApplicationConfiguration.g:3062:5: (lv_setsSum_3_0= '=' ) // InternalApplicationConfiguration.g:3063:6: lv_setsSum_3_0= '=' { lv_setsSum_3_0=(Token)match(input,18,FOLLOW_33); newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); if (current==null) { current = createModelElement(grammarAccess.getClassTypeScopeRule()); } setWithLastConsumed(current, "setsSum", true, "="); } } } break; } // InternalApplicationConfiguration.g:3076:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) int alt42=2; int LA42_0 = input.LA(1); if ( (LA42_0==RULE_INT) ) { int LA42_1 = input.LA(2); if ( (LA42_1==45) ) { alt42=2; } else if ( (LA42_1==EOF||(LA42_1>=20 && LA42_1<=21)) ) { alt42=1; } else { NoViableAltException nvae = new NoViableAltException("", 42, 1, input); throw nvae; } } else if ( (LA42_0==44) ) { alt42=1; } else { NoViableAltException nvae = new NoViableAltException("", 42, 0, input); throw nvae; } switch (alt42) { case 1 : // InternalApplicationConfiguration.g:3077:4: ( (lv_number_4_0= ruleExactNumber ) ) { // InternalApplicationConfiguration.g:3077:4: ( (lv_number_4_0= ruleExactNumber ) ) // InternalApplicationConfiguration.g:3078:5: (lv_number_4_0= ruleExactNumber ) { // InternalApplicationConfiguration.g:3078:5: (lv_number_4_0= ruleExactNumber ) // InternalApplicationConfiguration.g:3079:6: lv_number_4_0= ruleExactNumber { newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); lv_number_4_0=ruleExactNumber(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); } set( current, "number", lv_number_4_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); afterParserOrEnumRuleCall(); } } } break; case 2 : // InternalApplicationConfiguration.g:3097:4: ( (lv_number_5_0= ruleIntervallNumber ) ) { // InternalApplicationConfiguration.g:3097:4: ( (lv_number_5_0= ruleIntervallNumber ) ) // InternalApplicationConfiguration.g:3098:5: (lv_number_5_0= ruleIntervallNumber ) { // InternalApplicationConfiguration.g:3098:5: (lv_number_5_0= ruleIntervallNumber ) // InternalApplicationConfiguration.g:3099:6: lv_number_5_0= ruleIntervallNumber { newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); pushFollow(FOLLOW_2); lv_number_5_0=ruleIntervallNumber(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); } set( current, "number", lv_number_5_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); afterParserOrEnumRuleCall(); } } } break; } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleClassTypeScope" // $ANTLR start "entryRuleObjectTypeScope" // InternalApplicationConfiguration.g:3121:1: entryRuleObjectTypeScope returns [EObject current=null] : iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ; public final EObject entryRuleObjectTypeScope() throws RecognitionException { EObject current = null; EObject iv_ruleObjectTypeScope = null; try { // InternalApplicationConfiguration.g:3121:56: (iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ) // InternalApplicationConfiguration.g:3122:2: iv_ruleObjectTypeScope= ruleObjectTypeScope EOF { newCompositeNode(grammarAccess.getObjectTypeScopeRule()); pushFollow(FOLLOW_1); iv_ruleObjectTypeScope=ruleObjectTypeScope(); state._fsp--; current =iv_ruleObjectTypeScope; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleObjectTypeScope" // $ANTLR start "ruleObjectTypeScope" // InternalApplicationConfiguration.g:3128:1: ruleObjectTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; public final EObject ruleObjectTypeScope() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_setsNew_2_0=null; Token lv_setsSum_3_0=null; EObject lv_type_1_0 = null; EObject lv_number_4_0 = null; EObject lv_number_5_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:3134:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) // InternalApplicationConfiguration.g:3135:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) { // InternalApplicationConfiguration.g:3135:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) // InternalApplicationConfiguration.g:3136:3: otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) { otherlv_0=(Token)match(input,36,FOLLOW_34); newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); // InternalApplicationConfiguration.g:3140:3: ( (lv_type_1_0= ruleObjectReference ) ) // InternalApplicationConfiguration.g:3141:4: (lv_type_1_0= ruleObjectReference ) { // InternalApplicationConfiguration.g:3141:4: (lv_type_1_0= ruleObjectReference ) // InternalApplicationConfiguration.g:3142:5: lv_type_1_0= ruleObjectReference { newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); pushFollow(FOLLOW_32); lv_type_1_0=ruleObjectReference(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); } set( current, "type", lv_type_1_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); afterParserOrEnumRuleCall(); } } // InternalApplicationConfiguration.g:3159:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) int alt43=2; int LA43_0 = input.LA(1); if ( (LA43_0==37) ) { alt43=1; } else if ( (LA43_0==18) ) { alt43=2; } else { NoViableAltException nvae = new NoViableAltException("", 43, 0, input); throw nvae; } switch (alt43) { case 1 : // InternalApplicationConfiguration.g:3160:4: ( (lv_setsNew_2_0= '+=' ) ) { // InternalApplicationConfiguration.g:3160:4: ( (lv_setsNew_2_0= '+=' ) ) // InternalApplicationConfiguration.g:3161:5: (lv_setsNew_2_0= '+=' ) { // InternalApplicationConfiguration.g:3161:5: (lv_setsNew_2_0= '+=' ) // InternalApplicationConfiguration.g:3162:6: lv_setsNew_2_0= '+=' { lv_setsNew_2_0=(Token)match(input,37,FOLLOW_33); newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); if (current==null) { current = createModelElement(grammarAccess.getObjectTypeScopeRule()); } setWithLastConsumed(current, "setsNew", true, "+="); } } } break; case 2 : // InternalApplicationConfiguration.g:3175:4: ( (lv_setsSum_3_0= '=' ) ) { // InternalApplicationConfiguration.g:3175:4: ( (lv_setsSum_3_0= '=' ) ) // InternalApplicationConfiguration.g:3176:5: (lv_setsSum_3_0= '=' ) { // InternalApplicationConfiguration.g:3176:5: (lv_setsSum_3_0= '=' ) // InternalApplicationConfiguration.g:3177:6: lv_setsSum_3_0= '=' { lv_setsSum_3_0=(Token)match(input,18,FOLLOW_33); newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); if (current==null) { current = createModelElement(grammarAccess.getObjectTypeScopeRule()); } setWithLastConsumed(current, "setsSum", true, "="); } } } break; } // InternalApplicationConfiguration.g:3190:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) int alt44=2; int LA44_0 = input.LA(1); if ( (LA44_0==RULE_INT) ) { int LA44_1 = input.LA(2); if ( (LA44_1==45) ) { alt44=2; } else if ( (LA44_1==EOF||(LA44_1>=20 && LA44_1<=21)) ) { alt44=1; } else { NoViableAltException nvae = new NoViableAltException("", 44, 1, input); throw nvae; } } else if ( (LA44_0==44) ) { alt44=1; } else { NoViableAltException nvae = new NoViableAltException("", 44, 0, input); throw nvae; } switch (alt44) { case 1 : // InternalApplicationConfiguration.g:3191:4: ( (lv_number_4_0= ruleExactNumber ) ) { // InternalApplicationConfiguration.g:3191:4: ( (lv_number_4_0= ruleExactNumber ) ) // InternalApplicationConfiguration.g:3192:5: (lv_number_4_0= ruleExactNumber ) { // InternalApplicationConfiguration.g:3192:5: (lv_number_4_0= ruleExactNumber ) // InternalApplicationConfiguration.g:3193:6: lv_number_4_0= ruleExactNumber { newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); lv_number_4_0=ruleExactNumber(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); } set( current, "number", lv_number_4_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); afterParserOrEnumRuleCall(); } } } break; case 2 : // InternalApplicationConfiguration.g:3211:4: ( (lv_number_5_0= ruleIntervallNumber ) ) { // InternalApplicationConfiguration.g:3211:4: ( (lv_number_5_0= ruleIntervallNumber ) ) // InternalApplicationConfiguration.g:3212:5: (lv_number_5_0= ruleIntervallNumber ) { // InternalApplicationConfiguration.g:3212:5: (lv_number_5_0= ruleIntervallNumber ) // InternalApplicationConfiguration.g:3213:6: lv_number_5_0= ruleIntervallNumber { newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); pushFollow(FOLLOW_2); lv_number_5_0=ruleIntervallNumber(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); } set( current, "number", lv_number_5_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); afterParserOrEnumRuleCall(); } } } break; } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleObjectTypeScope" // $ANTLR start "entryRuleIntegerTypeScope" // InternalApplicationConfiguration.g:3235:1: entryRuleIntegerTypeScope returns [EObject current=null] : iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ; public final EObject entryRuleIntegerTypeScope() throws RecognitionException { EObject current = null; EObject iv_ruleIntegerTypeScope = null; try { // InternalApplicationConfiguration.g:3235:57: (iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ) // InternalApplicationConfiguration.g:3236:2: iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF { newCompositeNode(grammarAccess.getIntegerTypeScopeRule()); pushFollow(FOLLOW_1); iv_ruleIntegerTypeScope=ruleIntegerTypeScope(); state._fsp--; current =iv_ruleIntegerTypeScope; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIntegerTypeScope" // $ANTLR start "ruleIntegerTypeScope" // InternalApplicationConfiguration.g:3242:1: ruleIntegerTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ; public final EObject ruleIntegerTypeScope() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_setsNew_2_0=null; Token lv_setsSum_3_0=null; EObject lv_type_1_0 = null; EObject lv_number_4_0 = null; EObject lv_number_5_0 = null; EObject lv_number_6_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:3248:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ) // InternalApplicationConfiguration.g:3249:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) { // InternalApplicationConfiguration.g:3249:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) // InternalApplicationConfiguration.g:3250:3: otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) { otherlv_0=(Token)match(input,36,FOLLOW_35); newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); // InternalApplicationConfiguration.g:3254:3: ( (lv_type_1_0= ruleIntegerReference ) ) // InternalApplicationConfiguration.g:3255:4: (lv_type_1_0= ruleIntegerReference ) { // InternalApplicationConfiguration.g:3255:4: (lv_type_1_0= ruleIntegerReference ) // InternalApplicationConfiguration.g:3256:5: lv_type_1_0= ruleIntegerReference { newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); pushFollow(FOLLOW_32); lv_type_1_0=ruleIntegerReference(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); } set( current, "type", lv_type_1_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); afterParserOrEnumRuleCall(); } } // InternalApplicationConfiguration.g:3273:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) int alt45=2; int LA45_0 = input.LA(1); if ( (LA45_0==37) ) { alt45=1; } else if ( (LA45_0==18) ) { alt45=2; } else { NoViableAltException nvae = new NoViableAltException("", 45, 0, input); throw nvae; } switch (alt45) { case 1 : // InternalApplicationConfiguration.g:3274:4: ( (lv_setsNew_2_0= '+=' ) ) { // InternalApplicationConfiguration.g:3274:4: ( (lv_setsNew_2_0= '+=' ) ) // InternalApplicationConfiguration.g:3275:5: (lv_setsNew_2_0= '+=' ) { // InternalApplicationConfiguration.g:3275:5: (lv_setsNew_2_0= '+=' ) // InternalApplicationConfiguration.g:3276:6: lv_setsNew_2_0= '+=' { lv_setsNew_2_0=(Token)match(input,37,FOLLOW_36); newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); if (current==null) { current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); } setWithLastConsumed(current, "setsNew", true, "+="); } } } break; case 2 : // InternalApplicationConfiguration.g:3289:4: ( (lv_setsSum_3_0= '=' ) ) { // InternalApplicationConfiguration.g:3289:4: ( (lv_setsSum_3_0= '=' ) ) // InternalApplicationConfiguration.g:3290:5: (lv_setsSum_3_0= '=' ) { // InternalApplicationConfiguration.g:3290:5: (lv_setsSum_3_0= '=' ) // InternalApplicationConfiguration.g:3291:6: lv_setsSum_3_0= '=' { lv_setsSum_3_0=(Token)match(input,18,FOLLOW_36); newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); if (current==null) { current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); } setWithLastConsumed(current, "setsSum", true, "="); } } } break; } // InternalApplicationConfiguration.g:3304:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) int alt46=3; switch ( input.LA(1) ) { case RULE_INT: { int LA46_1 = input.LA(2); if ( (LA46_1==45) ) { alt46=2; } else if ( (LA46_1==EOF||(LA46_1>=20 && LA46_1<=21)) ) { alt46=1; } else { NoViableAltException nvae = new NoViableAltException("", 46, 1, input); throw nvae; } } break; case 44: { alt46=1; } break; case 19: { alt46=3; } break; default: NoViableAltException nvae = new NoViableAltException("", 46, 0, input); throw nvae; } switch (alt46) { case 1 : // InternalApplicationConfiguration.g:3305:4: ( (lv_number_4_0= ruleExactNumber ) ) { // InternalApplicationConfiguration.g:3305:4: ( (lv_number_4_0= ruleExactNumber ) ) // InternalApplicationConfiguration.g:3306:5: (lv_number_4_0= ruleExactNumber ) { // InternalApplicationConfiguration.g:3306:5: (lv_number_4_0= ruleExactNumber ) // InternalApplicationConfiguration.g:3307:6: lv_number_4_0= ruleExactNumber { newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); lv_number_4_0=ruleExactNumber(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); } set( current, "number", lv_number_4_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); afterParserOrEnumRuleCall(); } } } break; case 2 : // InternalApplicationConfiguration.g:3325:4: ( (lv_number_5_0= ruleIntervallNumber ) ) { // InternalApplicationConfiguration.g:3325:4: ( (lv_number_5_0= ruleIntervallNumber ) ) // InternalApplicationConfiguration.g:3326:5: (lv_number_5_0= ruleIntervallNumber ) { // InternalApplicationConfiguration.g:3326:5: (lv_number_5_0= ruleIntervallNumber ) // InternalApplicationConfiguration.g:3327:6: lv_number_5_0= ruleIntervallNumber { newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); pushFollow(FOLLOW_2); lv_number_5_0=ruleIntervallNumber(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); } set( current, "number", lv_number_5_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); afterParserOrEnumRuleCall(); } } } break; case 3 : // InternalApplicationConfiguration.g:3345:4: ( (lv_number_6_0= ruleIntEnumberation ) ) { // InternalApplicationConfiguration.g:3345:4: ( (lv_number_6_0= ruleIntEnumberation ) ) // InternalApplicationConfiguration.g:3346:5: (lv_number_6_0= ruleIntEnumberation ) { // InternalApplicationConfiguration.g:3346:5: (lv_number_6_0= ruleIntEnumberation ) // InternalApplicationConfiguration.g:3347:6: lv_number_6_0= ruleIntEnumberation { newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); pushFollow(FOLLOW_2); lv_number_6_0=ruleIntEnumberation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); } set( current, "number", lv_number_6_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation"); afterParserOrEnumRuleCall(); } } } break; } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIntegerTypeScope" // $ANTLR start "entryRuleRealTypeScope" // InternalApplicationConfiguration.g:3369:1: entryRuleRealTypeScope returns [EObject current=null] : iv_ruleRealTypeScope= ruleRealTypeScope EOF ; public final EObject entryRuleRealTypeScope() throws RecognitionException { EObject current = null; EObject iv_ruleRealTypeScope = null; try { // InternalApplicationConfiguration.g:3369:54: (iv_ruleRealTypeScope= ruleRealTypeScope EOF ) // InternalApplicationConfiguration.g:3370:2: iv_ruleRealTypeScope= ruleRealTypeScope EOF { newCompositeNode(grammarAccess.getRealTypeScopeRule()); pushFollow(FOLLOW_1); iv_ruleRealTypeScope=ruleRealTypeScope(); state._fsp--; current =iv_ruleRealTypeScope; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleRealTypeScope" // $ANTLR start "ruleRealTypeScope" // InternalApplicationConfiguration.g:3376:1: ruleRealTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ; public final EObject ruleRealTypeScope() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_setsNew_2_0=null; Token lv_setsSum_3_0=null; EObject lv_type_1_0 = null; EObject lv_number_4_0 = null; EObject lv_number_5_0 = null; EObject lv_number_6_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:3382:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ) // InternalApplicationConfiguration.g:3383:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) { // InternalApplicationConfiguration.g:3383:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) // InternalApplicationConfiguration.g:3384:3: otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) { otherlv_0=(Token)match(input,36,FOLLOW_37); newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); // InternalApplicationConfiguration.g:3388:3: ( (lv_type_1_0= ruleRealReference ) ) // InternalApplicationConfiguration.g:3389:4: (lv_type_1_0= ruleRealReference ) { // InternalApplicationConfiguration.g:3389:4: (lv_type_1_0= ruleRealReference ) // InternalApplicationConfiguration.g:3390:5: lv_type_1_0= ruleRealReference { newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); pushFollow(FOLLOW_32); lv_type_1_0=ruleRealReference(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); } set( current, "type", lv_type_1_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); afterParserOrEnumRuleCall(); } } // InternalApplicationConfiguration.g:3407:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) int alt47=2; int LA47_0 = input.LA(1); if ( (LA47_0==37) ) { alt47=1; } else if ( (LA47_0==18) ) { alt47=2; } else { NoViableAltException nvae = new NoViableAltException("", 47, 0, input); throw nvae; } switch (alt47) { case 1 : // InternalApplicationConfiguration.g:3408:4: ( (lv_setsNew_2_0= '+=' ) ) { // InternalApplicationConfiguration.g:3408:4: ( (lv_setsNew_2_0= '+=' ) ) // InternalApplicationConfiguration.g:3409:5: (lv_setsNew_2_0= '+=' ) { // InternalApplicationConfiguration.g:3409:5: (lv_setsNew_2_0= '+=' ) // InternalApplicationConfiguration.g:3410:6: lv_setsNew_2_0= '+=' { lv_setsNew_2_0=(Token)match(input,37,FOLLOW_36); newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); if (current==null) { current = createModelElement(grammarAccess.getRealTypeScopeRule()); } setWithLastConsumed(current, "setsNew", true, "+="); } } } break; case 2 : // InternalApplicationConfiguration.g:3423:4: ( (lv_setsSum_3_0= '=' ) ) { // InternalApplicationConfiguration.g:3423:4: ( (lv_setsSum_3_0= '=' ) ) // InternalApplicationConfiguration.g:3424:5: (lv_setsSum_3_0= '=' ) { // InternalApplicationConfiguration.g:3424:5: (lv_setsSum_3_0= '=' ) // InternalApplicationConfiguration.g:3425:6: lv_setsSum_3_0= '=' { lv_setsSum_3_0=(Token)match(input,18,FOLLOW_36); newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); if (current==null) { current = createModelElement(grammarAccess.getRealTypeScopeRule()); } setWithLastConsumed(current, "setsSum", true, "="); } } } break; } // InternalApplicationConfiguration.g:3438:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) int alt48=3; switch ( input.LA(1) ) { case RULE_INT: { int LA48_1 = input.LA(2); if ( (LA48_1==EOF||(LA48_1>=20 && LA48_1<=21)) ) { alt48=1; } else if ( (LA48_1==45) ) { alt48=2; } else { NoViableAltException nvae = new NoViableAltException("", 48, 1, input); throw nvae; } } break; case 44: { alt48=1; } break; case 19: { alt48=3; } break; default: NoViableAltException nvae = new NoViableAltException("", 48, 0, input); throw nvae; } switch (alt48) { case 1 : // InternalApplicationConfiguration.g:3439:4: ( (lv_number_4_0= ruleExactNumber ) ) { // InternalApplicationConfiguration.g:3439:4: ( (lv_number_4_0= ruleExactNumber ) ) // InternalApplicationConfiguration.g:3440:5: (lv_number_4_0= ruleExactNumber ) { // InternalApplicationConfiguration.g:3440:5: (lv_number_4_0= ruleExactNumber ) // InternalApplicationConfiguration.g:3441:6: lv_number_4_0= ruleExactNumber { newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); lv_number_4_0=ruleExactNumber(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); } set( current, "number", lv_number_4_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); afterParserOrEnumRuleCall(); } } } break; case 2 : // InternalApplicationConfiguration.g:3459:4: ( (lv_number_5_0= ruleIntervallNumber ) ) { // InternalApplicationConfiguration.g:3459:4: ( (lv_number_5_0= ruleIntervallNumber ) ) // InternalApplicationConfiguration.g:3460:5: (lv_number_5_0= ruleIntervallNumber ) { // InternalApplicationConfiguration.g:3460:5: (lv_number_5_0= ruleIntervallNumber ) // InternalApplicationConfiguration.g:3461:6: lv_number_5_0= ruleIntervallNumber { newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); pushFollow(FOLLOW_2); lv_number_5_0=ruleIntervallNumber(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); } set( current, "number", lv_number_5_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); afterParserOrEnumRuleCall(); } } } break; case 3 : // InternalApplicationConfiguration.g:3479:4: ( (lv_number_6_0= ruleRealEnumeration ) ) { // InternalApplicationConfiguration.g:3479:4: ( (lv_number_6_0= ruleRealEnumeration ) ) // InternalApplicationConfiguration.g:3480:5: (lv_number_6_0= ruleRealEnumeration ) { // InternalApplicationConfiguration.g:3480:5: (lv_number_6_0= ruleRealEnumeration ) // InternalApplicationConfiguration.g:3481:6: lv_number_6_0= ruleRealEnumeration { newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); pushFollow(FOLLOW_2); lv_number_6_0=ruleRealEnumeration(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); } set( current, "number", lv_number_6_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration"); afterParserOrEnumRuleCall(); } } } break; } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleRealTypeScope" // $ANTLR start "entryRuleStringTypeScope" // InternalApplicationConfiguration.g:3503:1: entryRuleStringTypeScope returns [EObject current=null] : iv_ruleStringTypeScope= ruleStringTypeScope EOF ; public final EObject entryRuleStringTypeScope() throws RecognitionException { EObject current = null; EObject iv_ruleStringTypeScope = null; try { // InternalApplicationConfiguration.g:3503:56: (iv_ruleStringTypeScope= ruleStringTypeScope EOF ) // InternalApplicationConfiguration.g:3504:2: iv_ruleStringTypeScope= ruleStringTypeScope EOF { newCompositeNode(grammarAccess.getStringTypeScopeRule()); pushFollow(FOLLOW_1); iv_ruleStringTypeScope=ruleStringTypeScope(); state._fsp--; current =iv_ruleStringTypeScope; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleStringTypeScope" // $ANTLR start "ruleStringTypeScope" // InternalApplicationConfiguration.g:3510:1: ruleStringTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ; public final EObject ruleStringTypeScope() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_setsNew_2_0=null; Token lv_setsSum_3_0=null; EObject lv_type_1_0 = null; EObject lv_number_4_0 = null; EObject lv_number_5_0 = null; EObject lv_number_6_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:3516:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ) // InternalApplicationConfiguration.g:3517:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) { // InternalApplicationConfiguration.g:3517:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) // InternalApplicationConfiguration.g:3518:3: otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) { otherlv_0=(Token)match(input,36,FOLLOW_38); newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); // InternalApplicationConfiguration.g:3522:3: ( (lv_type_1_0= ruleStringReference ) ) // InternalApplicationConfiguration.g:3523:4: (lv_type_1_0= ruleStringReference ) { // InternalApplicationConfiguration.g:3523:4: (lv_type_1_0= ruleStringReference ) // InternalApplicationConfiguration.g:3524:5: lv_type_1_0= ruleStringReference { newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); pushFollow(FOLLOW_32); lv_type_1_0=ruleStringReference(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); } set( current, "type", lv_type_1_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); afterParserOrEnumRuleCall(); } } // InternalApplicationConfiguration.g:3541:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) int alt49=2; int LA49_0 = input.LA(1); if ( (LA49_0==37) ) { alt49=1; } else if ( (LA49_0==18) ) { alt49=2; } else { NoViableAltException nvae = new NoViableAltException("", 49, 0, input); throw nvae; } switch (alt49) { case 1 : // InternalApplicationConfiguration.g:3542:4: ( (lv_setsNew_2_0= '+=' ) ) { // InternalApplicationConfiguration.g:3542:4: ( (lv_setsNew_2_0= '+=' ) ) // InternalApplicationConfiguration.g:3543:5: (lv_setsNew_2_0= '+=' ) { // InternalApplicationConfiguration.g:3543:5: (lv_setsNew_2_0= '+=' ) // InternalApplicationConfiguration.g:3544:6: lv_setsNew_2_0= '+=' { lv_setsNew_2_0=(Token)match(input,37,FOLLOW_36); newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); if (current==null) { current = createModelElement(grammarAccess.getStringTypeScopeRule()); } setWithLastConsumed(current, "setsNew", true, "+="); } } } break; case 2 : // InternalApplicationConfiguration.g:3557:4: ( (lv_setsSum_3_0= '=' ) ) { // InternalApplicationConfiguration.g:3557:4: ( (lv_setsSum_3_0= '=' ) ) // InternalApplicationConfiguration.g:3558:5: (lv_setsSum_3_0= '=' ) { // InternalApplicationConfiguration.g:3558:5: (lv_setsSum_3_0= '=' ) // InternalApplicationConfiguration.g:3559:6: lv_setsSum_3_0= '=' { lv_setsSum_3_0=(Token)match(input,18,FOLLOW_36); newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); if (current==null) { current = createModelElement(grammarAccess.getStringTypeScopeRule()); } setWithLastConsumed(current, "setsSum", true, "="); } } } break; } // InternalApplicationConfiguration.g:3572:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) int alt50=3; switch ( input.LA(1) ) { case RULE_INT: { int LA50_1 = input.LA(2); if ( (LA50_1==45) ) { alt50=2; } else if ( (LA50_1==EOF||(LA50_1>=20 && LA50_1<=21)) ) { alt50=1; } else { NoViableAltException nvae = new NoViableAltException("", 50, 1, input); throw nvae; } } break; case 44: { alt50=1; } break; case 19: { alt50=3; } break; default: NoViableAltException nvae = new NoViableAltException("", 50, 0, input); throw nvae; } switch (alt50) { case 1 : // InternalApplicationConfiguration.g:3573:4: ( (lv_number_4_0= ruleExactNumber ) ) { // InternalApplicationConfiguration.g:3573:4: ( (lv_number_4_0= ruleExactNumber ) ) // InternalApplicationConfiguration.g:3574:5: (lv_number_4_0= ruleExactNumber ) { // InternalApplicationConfiguration.g:3574:5: (lv_number_4_0= ruleExactNumber ) // InternalApplicationConfiguration.g:3575:6: lv_number_4_0= ruleExactNumber { newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); lv_number_4_0=ruleExactNumber(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); } set( current, "number", lv_number_4_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); afterParserOrEnumRuleCall(); } } } break; case 2 : // InternalApplicationConfiguration.g:3593:4: ( (lv_number_5_0= ruleIntervallNumber ) ) { // InternalApplicationConfiguration.g:3593:4: ( (lv_number_5_0= ruleIntervallNumber ) ) // InternalApplicationConfiguration.g:3594:5: (lv_number_5_0= ruleIntervallNumber ) { // InternalApplicationConfiguration.g:3594:5: (lv_number_5_0= ruleIntervallNumber ) // InternalApplicationConfiguration.g:3595:6: lv_number_5_0= ruleIntervallNumber { newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); pushFollow(FOLLOW_2); lv_number_5_0=ruleIntervallNumber(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); } set( current, "number", lv_number_5_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); afterParserOrEnumRuleCall(); } } } break; case 3 : // InternalApplicationConfiguration.g:3613:4: ( (lv_number_6_0= ruleStringEnumeration ) ) { // InternalApplicationConfiguration.g:3613:4: ( (lv_number_6_0= ruleStringEnumeration ) ) // InternalApplicationConfiguration.g:3614:5: (lv_number_6_0= ruleStringEnumeration ) { // InternalApplicationConfiguration.g:3614:5: (lv_number_6_0= ruleStringEnumeration ) // InternalApplicationConfiguration.g:3615:6: lv_number_6_0= ruleStringEnumeration { newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); pushFollow(FOLLOW_2); lv_number_6_0=ruleStringEnumeration(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); } set( current, "number", lv_number_6_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration"); afterParserOrEnumRuleCall(); } } } break; } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleStringTypeScope" // $ANTLR start "entryRuleClassReference" // InternalApplicationConfiguration.g:3637:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ; public final EObject entryRuleClassReference() throws RecognitionException { EObject current = null; EObject iv_ruleClassReference = null; try { // InternalApplicationConfiguration.g:3637:55: (iv_ruleClassReference= ruleClassReference EOF ) // InternalApplicationConfiguration.g:3638:2: iv_ruleClassReference= ruleClassReference EOF { newCompositeNode(grammarAccess.getClassReferenceRule()); pushFollow(FOLLOW_1); iv_ruleClassReference=ruleClassReference(); state._fsp--; current =iv_ruleClassReference; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleClassReference" // $ANTLR start "ruleClassReference" // InternalApplicationConfiguration.g:3644:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ; public final EObject ruleClassReference() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_2=null; EObject lv_element_1_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:3650:2: ( (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ) // InternalApplicationConfiguration.g:3651:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) { // InternalApplicationConfiguration.g:3651:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) // InternalApplicationConfiguration.g:3652:3: otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' { otherlv_0=(Token)match(input,38,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); // InternalApplicationConfiguration.g:3656:3: ( (lv_element_1_0= ruleMetamodelElement ) ) // InternalApplicationConfiguration.g:3657:4: (lv_element_1_0= ruleMetamodelElement ) { // InternalApplicationConfiguration.g:3657:4: (lv_element_1_0= ruleMetamodelElement ) // InternalApplicationConfiguration.g:3658:5: lv_element_1_0= ruleMetamodelElement { newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); pushFollow(FOLLOW_39); lv_element_1_0=ruleMetamodelElement(); state._fsp--; 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,39,FOLLOW_2); newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleClassReference" // $ANTLR start "entryRuleObjectReference" // InternalApplicationConfiguration.g:3683:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; public final EObject entryRuleObjectReference() throws RecognitionException { EObject current = null; EObject iv_ruleObjectReference = null; try { // InternalApplicationConfiguration.g:3683:56: (iv_ruleObjectReference= ruleObjectReference EOF ) // InternalApplicationConfiguration.g:3684:2: iv_ruleObjectReference= ruleObjectReference EOF { newCompositeNode(grammarAccess.getObjectReferenceRule()); pushFollow(FOLLOW_1); iv_ruleObjectReference=ruleObjectReference(); state._fsp--; current =iv_ruleObjectReference; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleObjectReference" // $ANTLR start "ruleObjectReference" // InternalApplicationConfiguration.g:3690:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'node' ) ; public final EObject ruleObjectReference() throws RecognitionException { EObject current = null; Token otherlv_1=null; enterRule(); try { // InternalApplicationConfiguration.g:3696:2: ( ( () otherlv_1= 'node' ) ) // InternalApplicationConfiguration.g:3697:2: ( () otherlv_1= 'node' ) { // InternalApplicationConfiguration.g:3697:2: ( () otherlv_1= 'node' ) // InternalApplicationConfiguration.g:3698:3: () otherlv_1= 'node' { // InternalApplicationConfiguration.g:3698:3: () // InternalApplicationConfiguration.g:3699:4: { current = forceCreateModelElement( grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), current); } otherlv_1=(Token)match(input,40,FOLLOW_2); newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleObjectReference" // $ANTLR start "entryRuleIntegerReference" // InternalApplicationConfiguration.g:3713:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; public final EObject entryRuleIntegerReference() throws RecognitionException { EObject current = null; EObject iv_ruleIntegerReference = null; try { // InternalApplicationConfiguration.g:3713:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) // InternalApplicationConfiguration.g:3714:2: iv_ruleIntegerReference= ruleIntegerReference EOF { newCompositeNode(grammarAccess.getIntegerReferenceRule()); pushFollow(FOLLOW_1); iv_ruleIntegerReference=ruleIntegerReference(); state._fsp--; current =iv_ruleIntegerReference; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIntegerReference" // $ANTLR start "ruleIntegerReference" // InternalApplicationConfiguration.g:3720:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; public final EObject ruleIntegerReference() throws RecognitionException { EObject current = null; Token otherlv_1=null; enterRule(); try { // InternalApplicationConfiguration.g:3726:2: ( ( () otherlv_1= 'int' ) ) // InternalApplicationConfiguration.g:3727:2: ( () otherlv_1= 'int' ) { // InternalApplicationConfiguration.g:3727:2: ( () otherlv_1= 'int' ) // InternalApplicationConfiguration.g:3728:3: () otherlv_1= 'int' { // InternalApplicationConfiguration.g:3728:3: () // InternalApplicationConfiguration.g:3729:4: { current = forceCreateModelElement( grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), current); } otherlv_1=(Token)match(input,41,FOLLOW_2); newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIntegerReference" // $ANTLR start "entryRuleRealReference" // InternalApplicationConfiguration.g:3743:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; public final EObject entryRuleRealReference() throws RecognitionException { EObject current = null; EObject iv_ruleRealReference = null; try { // InternalApplicationConfiguration.g:3743:54: (iv_ruleRealReference= ruleRealReference EOF ) // InternalApplicationConfiguration.g:3744:2: iv_ruleRealReference= ruleRealReference EOF { newCompositeNode(grammarAccess.getRealReferenceRule()); pushFollow(FOLLOW_1); iv_ruleRealReference=ruleRealReference(); state._fsp--; current =iv_ruleRealReference; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleRealReference" // $ANTLR start "ruleRealReference" // InternalApplicationConfiguration.g:3750:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; public final EObject ruleRealReference() throws RecognitionException { EObject current = null; Token otherlv_1=null; enterRule(); try { // InternalApplicationConfiguration.g:3756:2: ( ( () otherlv_1= 'real' ) ) // InternalApplicationConfiguration.g:3757:2: ( () otherlv_1= 'real' ) { // InternalApplicationConfiguration.g:3757:2: ( () otherlv_1= 'real' ) // InternalApplicationConfiguration.g:3758:3: () otherlv_1= 'real' { // InternalApplicationConfiguration.g:3758:3: () // InternalApplicationConfiguration.g:3759:4: { current = forceCreateModelElement( grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), current); } otherlv_1=(Token)match(input,42,FOLLOW_2); newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleRealReference" // $ANTLR start "entryRuleStringReference" // InternalApplicationConfiguration.g:3773:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; public final EObject entryRuleStringReference() throws RecognitionException { EObject current = null; EObject iv_ruleStringReference = null; try { // InternalApplicationConfiguration.g:3773:56: (iv_ruleStringReference= ruleStringReference EOF ) // InternalApplicationConfiguration.g:3774:2: iv_ruleStringReference= ruleStringReference EOF { newCompositeNode(grammarAccess.getStringReferenceRule()); pushFollow(FOLLOW_1); iv_ruleStringReference=ruleStringReference(); state._fsp--; current =iv_ruleStringReference; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleStringReference" // $ANTLR start "ruleStringReference" // InternalApplicationConfiguration.g:3780:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ; public final EObject ruleStringReference() throws RecognitionException { EObject current = null; Token otherlv_1=null; enterRule(); try { // InternalApplicationConfiguration.g:3786:2: ( ( () otherlv_1= 'string' ) ) // InternalApplicationConfiguration.g:3787:2: ( () otherlv_1= 'string' ) { // InternalApplicationConfiguration.g:3787:2: ( () otherlv_1= 'string' ) // InternalApplicationConfiguration.g:3788:3: () otherlv_1= 'string' { // InternalApplicationConfiguration.g:3788:3: () // InternalApplicationConfiguration.g:3789:4: { current = forceCreateModelElement( grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), current); } otherlv_1=(Token)match(input,43,FOLLOW_2); newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleStringReference" // $ANTLR start "entryRuleExactNumber" // InternalApplicationConfiguration.g:3803:1: entryRuleExactNumber returns [EObject current=null] : iv_ruleExactNumber= ruleExactNumber EOF ; public final EObject entryRuleExactNumber() throws RecognitionException { EObject current = null; EObject iv_ruleExactNumber = null; try { // InternalApplicationConfiguration.g:3803:52: (iv_ruleExactNumber= ruleExactNumber EOF ) // InternalApplicationConfiguration.g:3804:2: iv_ruleExactNumber= ruleExactNumber EOF { newCompositeNode(grammarAccess.getExactNumberRule()); pushFollow(FOLLOW_1); iv_ruleExactNumber=ruleExactNumber(); state._fsp--; current =iv_ruleExactNumber; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleExactNumber" // $ANTLR start "ruleExactNumber" // InternalApplicationConfiguration.g:3810:1: ruleExactNumber returns [EObject current=null] : ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ; public final EObject ruleExactNumber() throws RecognitionException { EObject current = null; Token lv_exactNumber_0_0=null; Token lv_exactUnlimited_1_0=null; enterRule(); try { // InternalApplicationConfiguration.g:3816:2: ( ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ) // InternalApplicationConfiguration.g:3817:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) { // InternalApplicationConfiguration.g:3817:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) int alt51=2; int LA51_0 = input.LA(1); if ( (LA51_0==RULE_INT) ) { alt51=1; } else if ( (LA51_0==44) ) { alt51=2; } else { NoViableAltException nvae = new NoViableAltException("", 51, 0, input); throw nvae; } switch (alt51) { case 1 : // InternalApplicationConfiguration.g:3818:3: ( (lv_exactNumber_0_0= RULE_INT ) ) { // InternalApplicationConfiguration.g:3818:3: ( (lv_exactNumber_0_0= RULE_INT ) ) // InternalApplicationConfiguration.g:3819:4: (lv_exactNumber_0_0= RULE_INT ) { // InternalApplicationConfiguration.g:3819:4: (lv_exactNumber_0_0= RULE_INT ) // InternalApplicationConfiguration.g:3820:5: lv_exactNumber_0_0= RULE_INT { lv_exactNumber_0_0=(Token)match(input,RULE_INT,FOLLOW_2); newLeafNode(lv_exactNumber_0_0, grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); if (current==null) { current = createModelElement(grammarAccess.getExactNumberRule()); } setWithLastConsumed( current, "exactNumber", lv_exactNumber_0_0, "org.eclipse.xtext.common.Terminals.INT"); } } } break; case 2 : // InternalApplicationConfiguration.g:3837:3: ( (lv_exactUnlimited_1_0= '*' ) ) { // InternalApplicationConfiguration.g:3837:3: ( (lv_exactUnlimited_1_0= '*' ) ) // InternalApplicationConfiguration.g:3838:4: (lv_exactUnlimited_1_0= '*' ) { // InternalApplicationConfiguration.g:3838:4: (lv_exactUnlimited_1_0= '*' ) // InternalApplicationConfiguration.g:3839:5: lv_exactUnlimited_1_0= '*' { lv_exactUnlimited_1_0=(Token)match(input,44,FOLLOW_2); newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); if (current==null) { current = createModelElement(grammarAccess.getExactNumberRule()); } setWithLastConsumed(current, "exactUnlimited", true, "*"); } } } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleExactNumber" // $ANTLR start "entryRuleIntervallNumber" // InternalApplicationConfiguration.g:3855:1: entryRuleIntervallNumber returns [EObject current=null] : iv_ruleIntervallNumber= ruleIntervallNumber EOF ; public final EObject entryRuleIntervallNumber() throws RecognitionException { EObject current = null; EObject iv_ruleIntervallNumber = null; try { // InternalApplicationConfiguration.g:3855:56: (iv_ruleIntervallNumber= ruleIntervallNumber EOF ) // InternalApplicationConfiguration.g:3856:2: iv_ruleIntervallNumber= ruleIntervallNumber EOF { newCompositeNode(grammarAccess.getIntervallNumberRule()); pushFollow(FOLLOW_1); iv_ruleIntervallNumber=ruleIntervallNumber(); state._fsp--; current =iv_ruleIntervallNumber; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIntervallNumber" // $ANTLR start "ruleIntervallNumber" // InternalApplicationConfiguration.g:3862:1: ruleIntervallNumber returns [EObject current=null] : ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ; public final EObject ruleIntervallNumber() throws RecognitionException { EObject current = null; Token lv_min_0_0=null; Token otherlv_1=null; Token lv_maxNumber_2_0=null; Token lv_maxUnlimited_3_0=null; enterRule(); try { // InternalApplicationConfiguration.g:3868:2: ( ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ) // InternalApplicationConfiguration.g:3869:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) { // InternalApplicationConfiguration.g:3869:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) // InternalApplicationConfiguration.g:3870:3: ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) { // InternalApplicationConfiguration.g:3870:3: ( (lv_min_0_0= RULE_INT ) ) // InternalApplicationConfiguration.g:3871:4: (lv_min_0_0= RULE_INT ) { // InternalApplicationConfiguration.g:3871:4: (lv_min_0_0= RULE_INT ) // InternalApplicationConfiguration.g:3872:5: lv_min_0_0= RULE_INT { lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_40); newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); if (current==null) { current = createModelElement(grammarAccess.getIntervallNumberRule()); } setWithLastConsumed( current, "min", lv_min_0_0, "org.eclipse.xtext.common.Terminals.INT"); } } otherlv_1=(Token)match(input,45,FOLLOW_33); newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); // InternalApplicationConfiguration.g:3892:3: ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) int alt52=2; int LA52_0 = input.LA(1); if ( (LA52_0==RULE_INT) ) { alt52=1; } else if ( (LA52_0==44) ) { alt52=2; } else { NoViableAltException nvae = new NoViableAltException("", 52, 0, input); throw nvae; } switch (alt52) { case 1 : // InternalApplicationConfiguration.g:3893:4: ( (lv_maxNumber_2_0= RULE_INT ) ) { // InternalApplicationConfiguration.g:3893:4: ( (lv_maxNumber_2_0= RULE_INT ) ) // InternalApplicationConfiguration.g:3894:5: (lv_maxNumber_2_0= RULE_INT ) { // InternalApplicationConfiguration.g:3894:5: (lv_maxNumber_2_0= RULE_INT ) // InternalApplicationConfiguration.g:3895:6: lv_maxNumber_2_0= RULE_INT { lv_maxNumber_2_0=(Token)match(input,RULE_INT,FOLLOW_2); newLeafNode(lv_maxNumber_2_0, grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); if (current==null) { current = createModelElement(grammarAccess.getIntervallNumberRule()); } setWithLastConsumed( current, "maxNumber", lv_maxNumber_2_0, "org.eclipse.xtext.common.Terminals.INT"); } } } break; case 2 : // InternalApplicationConfiguration.g:3912:4: ( (lv_maxUnlimited_3_0= '*' ) ) { // InternalApplicationConfiguration.g:3912:4: ( (lv_maxUnlimited_3_0= '*' ) ) // InternalApplicationConfiguration.g:3913:5: (lv_maxUnlimited_3_0= '*' ) { // InternalApplicationConfiguration.g:3913:5: (lv_maxUnlimited_3_0= '*' ) // InternalApplicationConfiguration.g:3914:6: lv_maxUnlimited_3_0= '*' { lv_maxUnlimited_3_0=(Token)match(input,44,FOLLOW_2); newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); if (current==null) { current = createModelElement(grammarAccess.getIntervallNumberRule()); } setWithLastConsumed(current, "maxUnlimited", true, "*"); } } } break; } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIntervallNumber" // $ANTLR start "entryRuleIntEnumberation" // InternalApplicationConfiguration.g:3931:1: entryRuleIntEnumberation returns [EObject current=null] : iv_ruleIntEnumberation= ruleIntEnumberation EOF ; public final EObject entryRuleIntEnumberation() throws RecognitionException { EObject current = null; EObject iv_ruleIntEnumberation = null; try { // InternalApplicationConfiguration.g:3931:56: (iv_ruleIntEnumberation= ruleIntEnumberation EOF ) // InternalApplicationConfiguration.g:3932:2: iv_ruleIntEnumberation= ruleIntEnumberation EOF { newCompositeNode(grammarAccess.getIntEnumberationRule()); pushFollow(FOLLOW_1); iv_ruleIntEnumberation=ruleIntEnumberation(); state._fsp--; current =iv_ruleIntEnumberation; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIntEnumberation" // $ANTLR start "ruleIntEnumberation" // InternalApplicationConfiguration.g:3938:1: ruleIntEnumberation returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ; public final EObject ruleIntEnumberation() throws RecognitionException { EObject current = null; Token otherlv_1=null; Token otherlv_3=null; Token otherlv_5=null; AntlrDatatypeRuleToken lv_entry_2_0 = null; AntlrDatatypeRuleToken lv_entry_4_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:3944:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ) // InternalApplicationConfiguration.g:3945:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) { // InternalApplicationConfiguration.g:3945:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) // InternalApplicationConfiguration.g:3946:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' { // InternalApplicationConfiguration.g:3946:3: () // InternalApplicationConfiguration.g:3947:4: { current = forceCreateModelElement( grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(), current); } otherlv_1=(Token)match(input,19,FOLLOW_41); newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); // InternalApplicationConfiguration.g:3957:3: ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? int alt54=2; int LA54_0 = input.LA(1); if ( (LA54_0==RULE_INT||LA54_0==12) ) { alt54=1; } switch (alt54) { case 1 : // InternalApplicationConfiguration.g:3958:4: ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* { // InternalApplicationConfiguration.g:3958:4: ( (lv_entry_2_0= ruleINTLiteral ) ) // InternalApplicationConfiguration.g:3959:5: (lv_entry_2_0= ruleINTLiteral ) { // InternalApplicationConfiguration.g:3959:5: (lv_entry_2_0= ruleINTLiteral ) // InternalApplicationConfiguration.g:3960:6: lv_entry_2_0= ruleINTLiteral { newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); pushFollow(FOLLOW_15); lv_entry_2_0=ruleINTLiteral(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); } add( current, "entry", lv_entry_2_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); afterParserOrEnumRuleCall(); } } // InternalApplicationConfiguration.g:3977:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* loop53: do { int alt53=2; int LA53_0 = input.LA(1); if ( (LA53_0==20) ) { alt53=1; } switch (alt53) { case 1 : // InternalApplicationConfiguration.g:3978:5: otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) { otherlv_3=(Token)match(input,20,FOLLOW_24); newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); // InternalApplicationConfiguration.g:3982:5: ( (lv_entry_4_0= ruleINTLiteral ) ) // InternalApplicationConfiguration.g:3983:6: (lv_entry_4_0= ruleINTLiteral ) { // InternalApplicationConfiguration.g:3983:6: (lv_entry_4_0= ruleINTLiteral ) // InternalApplicationConfiguration.g:3984:7: lv_entry_4_0= ruleINTLiteral { newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); pushFollow(FOLLOW_15); lv_entry_4_0=ruleINTLiteral(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); } add( current, "entry", lv_entry_4_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); afterParserOrEnumRuleCall(); } } } break; default : break loop53; } } while (true); } break; } otherlv_5=(Token)match(input,21,FOLLOW_2); newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIntEnumberation" // $ANTLR start "entryRuleRealEnumeration" // InternalApplicationConfiguration.g:4011:1: entryRuleRealEnumeration returns [EObject current=null] : iv_ruleRealEnumeration= ruleRealEnumeration EOF ; public final EObject entryRuleRealEnumeration() throws RecognitionException { EObject current = null; EObject iv_ruleRealEnumeration = null; try { // InternalApplicationConfiguration.g:4011:56: (iv_ruleRealEnumeration= ruleRealEnumeration EOF ) // InternalApplicationConfiguration.g:4012:2: iv_ruleRealEnumeration= ruleRealEnumeration EOF { newCompositeNode(grammarAccess.getRealEnumerationRule()); pushFollow(FOLLOW_1); iv_ruleRealEnumeration=ruleRealEnumeration(); state._fsp--; current =iv_ruleRealEnumeration; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleRealEnumeration" // $ANTLR start "ruleRealEnumeration" // InternalApplicationConfiguration.g:4018:1: ruleRealEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ; public final EObject ruleRealEnumeration() throws RecognitionException { EObject current = null; Token otherlv_1=null; Token otherlv_3=null; Token otherlv_5=null; AntlrDatatypeRuleToken lv_entry_2_0 = null; AntlrDatatypeRuleToken lv_entry_4_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:4024:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ) // InternalApplicationConfiguration.g:4025:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) { // InternalApplicationConfiguration.g:4025:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) // InternalApplicationConfiguration.g:4026:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' { // InternalApplicationConfiguration.g:4026:3: () // InternalApplicationConfiguration.g:4027:4: { current = forceCreateModelElement( grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(), current); } otherlv_1=(Token)match(input,19,FOLLOW_41); newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); // InternalApplicationConfiguration.g:4037:3: ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? int alt56=2; int LA56_0 = input.LA(1); if ( (LA56_0==RULE_INT||LA56_0==12) ) { alt56=1; } switch (alt56) { case 1 : // InternalApplicationConfiguration.g:4038:4: ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* { // InternalApplicationConfiguration.g:4038:4: ( (lv_entry_2_0= ruleREALLiteral ) ) // InternalApplicationConfiguration.g:4039:5: (lv_entry_2_0= ruleREALLiteral ) { // InternalApplicationConfiguration.g:4039:5: (lv_entry_2_0= ruleREALLiteral ) // InternalApplicationConfiguration.g:4040:6: lv_entry_2_0= ruleREALLiteral { newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); pushFollow(FOLLOW_15); lv_entry_2_0=ruleREALLiteral(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); } add( current, "entry", lv_entry_2_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); afterParserOrEnumRuleCall(); } } // InternalApplicationConfiguration.g:4057:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* loop55: do { int alt55=2; int LA55_0 = input.LA(1); if ( (LA55_0==20) ) { alt55=1; } switch (alt55) { case 1 : // InternalApplicationConfiguration.g:4058:5: otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) { otherlv_3=(Token)match(input,20,FOLLOW_24); newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); // InternalApplicationConfiguration.g:4062:5: ( (lv_entry_4_0= ruleREALLiteral ) ) // InternalApplicationConfiguration.g:4063:6: (lv_entry_4_0= ruleREALLiteral ) { // InternalApplicationConfiguration.g:4063:6: (lv_entry_4_0= ruleREALLiteral ) // InternalApplicationConfiguration.g:4064:7: lv_entry_4_0= ruleREALLiteral { newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); pushFollow(FOLLOW_15); lv_entry_4_0=ruleREALLiteral(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); } add( current, "entry", lv_entry_4_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); afterParserOrEnumRuleCall(); } } } break; default : break loop55; } } while (true); } break; } otherlv_5=(Token)match(input,21,FOLLOW_2); newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleRealEnumeration" // $ANTLR start "entryRuleStringEnumeration" // InternalApplicationConfiguration.g:4091:1: entryRuleStringEnumeration returns [EObject current=null] : iv_ruleStringEnumeration= ruleStringEnumeration EOF ; public final EObject entryRuleStringEnumeration() throws RecognitionException { EObject current = null; EObject iv_ruleStringEnumeration = null; try { // InternalApplicationConfiguration.g:4091:58: (iv_ruleStringEnumeration= ruleStringEnumeration EOF ) // InternalApplicationConfiguration.g:4092:2: iv_ruleStringEnumeration= ruleStringEnumeration EOF { newCompositeNode(grammarAccess.getStringEnumerationRule()); pushFollow(FOLLOW_1); iv_ruleStringEnumeration=ruleStringEnumeration(); state._fsp--; current =iv_ruleStringEnumeration; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleStringEnumeration" // $ANTLR start "ruleStringEnumeration" // InternalApplicationConfiguration.g:4098:1: ruleStringEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ; public final EObject ruleStringEnumeration() throws RecognitionException { EObject current = null; Token otherlv_1=null; Token lv_entry_2_0=null; Token otherlv_3=null; Token lv_entry_4_0=null; Token otherlv_5=null; enterRule(); try { // InternalApplicationConfiguration.g:4104:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ) // InternalApplicationConfiguration.g:4105:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) { // InternalApplicationConfiguration.g:4105:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) // InternalApplicationConfiguration.g:4106:3: () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' { // InternalApplicationConfiguration.g:4106:3: () // InternalApplicationConfiguration.g:4107:4: { current = forceCreateModelElement( grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(), current); } otherlv_1=(Token)match(input,19,FOLLOW_42); newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); // InternalApplicationConfiguration.g:4117:3: ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? int alt58=2; int LA58_0 = input.LA(1); if ( (LA58_0==RULE_STRING) ) { alt58=1; } switch (alt58) { case 1 : // InternalApplicationConfiguration.g:4118:4: ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* { // InternalApplicationConfiguration.g:4118:4: ( (lv_entry_2_0= RULE_STRING ) ) // InternalApplicationConfiguration.g:4119:5: (lv_entry_2_0= RULE_STRING ) { // InternalApplicationConfiguration.g:4119:5: (lv_entry_2_0= RULE_STRING ) // InternalApplicationConfiguration.g:4120:6: lv_entry_2_0= RULE_STRING { lv_entry_2_0=(Token)match(input,RULE_STRING,FOLLOW_15); newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); if (current==null) { current = createModelElement(grammarAccess.getStringEnumerationRule()); } addWithLastConsumed( current, "entry", lv_entry_2_0, "org.eclipse.xtext.common.Terminals.STRING"); } } // InternalApplicationConfiguration.g:4136:4: (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* loop57: do { int alt57=2; int LA57_0 = input.LA(1); if ( (LA57_0==20) ) { alt57=1; } switch (alt57) { case 1 : // InternalApplicationConfiguration.g:4137:5: otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) { otherlv_3=(Token)match(input,20,FOLLOW_10); newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); // InternalApplicationConfiguration.g:4141:5: ( (lv_entry_4_0= RULE_STRING ) ) // InternalApplicationConfiguration.g:4142:6: (lv_entry_4_0= RULE_STRING ) { // InternalApplicationConfiguration.g:4142:6: (lv_entry_4_0= RULE_STRING ) // InternalApplicationConfiguration.g:4143:7: lv_entry_4_0= RULE_STRING { lv_entry_4_0=(Token)match(input,RULE_STRING,FOLLOW_15); newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); if (current==null) { current = createModelElement(grammarAccess.getStringEnumerationRule()); } addWithLastConsumed( current, "entry", lv_entry_4_0, "org.eclipse.xtext.common.Terminals.STRING"); } } } break; default : break loop57; } } while (true); } break; } otherlv_5=(Token)match(input,21,FOLLOW_2); newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleStringEnumeration" // $ANTLR start "entryRuleScopeDeclaration" // InternalApplicationConfiguration.g:4169:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; public final EObject entryRuleScopeDeclaration() throws RecognitionException { EObject current = null; EObject iv_ruleScopeDeclaration = null; try { // InternalApplicationConfiguration.g:4169:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) // InternalApplicationConfiguration.g:4170:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF { newCompositeNode(grammarAccess.getScopeDeclarationRule()); pushFollow(FOLLOW_1); iv_ruleScopeDeclaration=ruleScopeDeclaration(); state._fsp--; current =iv_ruleScopeDeclaration; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleScopeDeclaration" // $ANTLR start "ruleScopeDeclaration" // InternalApplicationConfiguration.g:4176: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; Token otherlv_0=null; Token lv_name_1_0=null; EObject lv_specification_2_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:4182:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) // InternalApplicationConfiguration.g:4183:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) { // InternalApplicationConfiguration.g:4183:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) // InternalApplicationConfiguration.g:4184:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) { otherlv_0=(Token)match(input,46,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); // InternalApplicationConfiguration.g:4188:3: ( (lv_name_1_0= RULE_ID ) ) // InternalApplicationConfiguration.g:4189:4: (lv_name_1_0= RULE_ID ) { // InternalApplicationConfiguration.g:4189:4: (lv_name_1_0= RULE_ID ) // InternalApplicationConfiguration.g:4190:5: lv_name_1_0= RULE_ID { lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); 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"); } } // InternalApplicationConfiguration.g:4206:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) // InternalApplicationConfiguration.g:4207:4: (lv_specification_2_0= ruleScopeSpecification ) { // InternalApplicationConfiguration.g:4207:4: (lv_specification_2_0= ruleScopeSpecification ) // InternalApplicationConfiguration.g:4208:5: lv_specification_2_0= ruleScopeSpecification { newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); lv_specification_2_0=ruleScopeSpecification(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); } set( current, "specification", lv_specification_2_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); afterParserOrEnumRuleCall(); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleScopeDeclaration" // $ANTLR start "entryRuleScopeReference" // InternalApplicationConfiguration.g:4229:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; public final EObject entryRuleScopeReference() throws RecognitionException { EObject current = null; EObject iv_ruleScopeReference = null; try { // InternalApplicationConfiguration.g:4229:55: (iv_ruleScopeReference= ruleScopeReference EOF ) // InternalApplicationConfiguration.g:4230:2: iv_ruleScopeReference= ruleScopeReference EOF { newCompositeNode(grammarAccess.getScopeReferenceRule()); pushFollow(FOLLOW_1); iv_ruleScopeReference=ruleScopeReference(); state._fsp--; current =iv_ruleScopeReference; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleScopeReference" // $ANTLR start "ruleScopeReference" // InternalApplicationConfiguration.g:4236:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleScopeReference() throws RecognitionException { EObject current = null; Token otherlv_0=null; enterRule(); try { // InternalApplicationConfiguration.g:4242:2: ( ( (otherlv_0= RULE_ID ) ) ) // InternalApplicationConfiguration.g:4243:2: ( (otherlv_0= RULE_ID ) ) { // InternalApplicationConfiguration.g:4243:2: ( (otherlv_0= RULE_ID ) ) // InternalApplicationConfiguration.g:4244:3: (otherlv_0= RULE_ID ) { // InternalApplicationConfiguration.g:4244:3: (otherlv_0= RULE_ID ) // InternalApplicationConfiguration.g:4245:4: otherlv_0= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getScopeReferenceRule()); } otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleScopeReference" // $ANTLR start "entryRuleScope" // InternalApplicationConfiguration.g:4259:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; public final EObject entryRuleScope() throws RecognitionException { EObject current = null; EObject iv_ruleScope = null; try { // InternalApplicationConfiguration.g:4259:46: (iv_ruleScope= ruleScope EOF ) // InternalApplicationConfiguration.g:4260:2: iv_ruleScope= ruleScope EOF { newCompositeNode(grammarAccess.getScopeRule()); pushFollow(FOLLOW_1); iv_ruleScope=ruleScope(); state._fsp--; current =iv_ruleScope; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleScope" // $ANTLR start "ruleScope" // InternalApplicationConfiguration.g:4266:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; public final EObject ruleScope() throws RecognitionException { EObject current = null; EObject this_ScopeSpecification_0 = null; EObject this_ScopeReference_1 = null; enterRule(); try { // InternalApplicationConfiguration.g:4272:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) // InternalApplicationConfiguration.g:4273:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) { // InternalApplicationConfiguration.g:4273:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) int alt59=2; int LA59_0 = input.LA(1); if ( (LA59_0==19) ) { alt59=1; } else if ( (LA59_0==RULE_ID) ) { alt59=2; } else { NoViableAltException nvae = new NoViableAltException("", 59, 0, input); throw nvae; } switch (alt59) { case 1 : // InternalApplicationConfiguration.g:4274:3: this_ScopeSpecification_0= ruleScopeSpecification { newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); pushFollow(FOLLOW_2); this_ScopeSpecification_0=ruleScopeSpecification(); state._fsp--; current = this_ScopeSpecification_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalApplicationConfiguration.g:4283:3: this_ScopeReference_1= ruleScopeReference { newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); pushFollow(FOLLOW_2); this_ScopeReference_1=ruleScopeReference(); state._fsp--; current = this_ScopeReference_1; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleScope" // $ANTLR start "entryRuleTask" // InternalApplicationConfiguration.g:4295:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; public final EObject entryRuleTask() throws RecognitionException { EObject current = null; EObject iv_ruleTask = null; try { // InternalApplicationConfiguration.g:4295:45: (iv_ruleTask= ruleTask EOF ) // InternalApplicationConfiguration.g:4296:2: iv_ruleTask= ruleTask EOF { newCompositeNode(grammarAccess.getTaskRule()); pushFollow(FOLLOW_1); iv_ruleTask=ruleTask(); state._fsp--; current =iv_ruleTask; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleTask" // $ANTLR start "ruleTask" // InternalApplicationConfiguration.g:4302:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; public final EObject ruleTask() throws RecognitionException { EObject current = null; EObject this_GenerationTask_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:4308:2: (this_GenerationTask_0= ruleGenerationTask ) // InternalApplicationConfiguration.g:4309:2: this_GenerationTask_0= ruleGenerationTask { newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); pushFollow(FOLLOW_2); this_GenerationTask_0=ruleGenerationTask(); state._fsp--; current = this_GenerationTask_0; afterParserOrEnumRuleCall(); } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleTask" // $ANTLR start "entryRuleGenerationTask" // InternalApplicationConfiguration.g:4320:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; public final EObject entryRuleGenerationTask() throws RecognitionException { EObject current = null; EObject iv_ruleGenerationTask = null; try { // InternalApplicationConfiguration.g:4320:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) // InternalApplicationConfiguration.g:4321:2: iv_ruleGenerationTask= ruleGenerationTask EOF { newCompositeNode(grammarAccess.getGenerationTaskRule()); pushFollow(FOLLOW_1); iv_ruleGenerationTask=ruleGenerationTask(); state._fsp--; current =iv_ruleGenerationTask; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleGenerationTask" // $ANTLR start "ruleGenerationTask" // InternalApplicationConfiguration.g:4327: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) ; public final EObject ruleGenerationTask() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_5=null; Token otherlv_7=null; Token otherlv_8=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_16=null; Token otherlv_17=null; Token lv_numberSpecified_19_0=null; Token otherlv_20=null; Token lv_number_21_0=null; Token lv_runSpecified_22_0=null; Token otherlv_23=null; Token lv_runs_24_0=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_28=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_34=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_40=null; Token otherlv_41=null; Token otherlv_43=null; EObject lv_metamodel_6_0 = null; EObject lv_partialModel_9_0 = null; EObject lv_patterns_12_0 = null; EObject lv_objectives_15_0 = null; EObject lv_scope_18_0 = null; Enumerator lv_solver_27_0 = null; EObject lv_config_30_0 = null; EObject lv_debugFolder_33_0 = null; EObject lv_targetLogFile_36_0 = null; EObject lv_targetStatisticsFile_39_0 = null; EObject lv_tagetFolder_42_0 = null; enterRule(); try { // InternalApplicationConfiguration.g:4333: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) ) // InternalApplicationConfiguration.g:4334: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) { // InternalApplicationConfiguration.g:4334: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) // InternalApplicationConfiguration.g:4335: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' { otherlv_0=(Token)match(input,47,FOLLOW_17); newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); // InternalApplicationConfiguration.g:4339:3: () // InternalApplicationConfiguration.g:4340:4: { current = forceCreateModelElement( grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), current); } otherlv_2=(Token)match(input,19,FOLLOW_43); newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); // InternalApplicationConfiguration.g:4350:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) // InternalApplicationConfiguration.g:4351:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) { // InternalApplicationConfiguration.g:4351:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) // InternalApplicationConfiguration.g:4352:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) { getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); // InternalApplicationConfiguration.g:4355:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) // InternalApplicationConfiguration.g:4356:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* { // InternalApplicationConfiguration.g:4356:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* loop60: do { int alt60=14; alt60 = dfa60.predict(input); switch (alt60) { case 1 : // InternalApplicationConfiguration.g:4357:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) { // InternalApplicationConfiguration.g:4357:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) // InternalApplicationConfiguration.g:4358:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)"); } // InternalApplicationConfiguration.g:4358:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) // InternalApplicationConfiguration.g:4359:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); // InternalApplicationConfiguration.g:4362:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) // InternalApplicationConfiguration.g:4362:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } // InternalApplicationConfiguration.g:4362:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) // InternalApplicationConfiguration.g:4362:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) { otherlv_4=(Token)match(input,25,FOLLOW_13); newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); otherlv_5=(Token)match(input,18,FOLLOW_44); newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); // InternalApplicationConfiguration.g:4370:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) // InternalApplicationConfiguration.g:4371:10: (lv_metamodel_6_0= ruleMetamodel ) { // InternalApplicationConfiguration.g:4371:10: (lv_metamodel_6_0= ruleMetamodel ) // InternalApplicationConfiguration.g:4372:11: lv_metamodel_6_0= ruleMetamodel { newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); pushFollow(FOLLOW_43); lv_metamodel_6_0=ruleMetamodel(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); } set( current, "metamodel", lv_metamodel_6_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); afterParserOrEnumRuleCall(); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } } } break; case 2 : // InternalApplicationConfiguration.g:4395:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) { // InternalApplicationConfiguration.g:4395:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) // InternalApplicationConfiguration.g:4396:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)"); } // InternalApplicationConfiguration.g:4396:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) // InternalApplicationConfiguration.g:4397:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); // InternalApplicationConfiguration.g:4400:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) // InternalApplicationConfiguration.g:4400:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } // InternalApplicationConfiguration.g:4400:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) // InternalApplicationConfiguration.g:4400:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) { otherlv_7=(Token)match(input,48,FOLLOW_13); newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); otherlv_8=(Token)match(input,18,FOLLOW_44); newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); // InternalApplicationConfiguration.g:4408:9: ( (lv_partialModel_9_0= rulePartialModel ) ) // InternalApplicationConfiguration.g:4409:10: (lv_partialModel_9_0= rulePartialModel ) { // InternalApplicationConfiguration.g:4409:10: (lv_partialModel_9_0= rulePartialModel ) // InternalApplicationConfiguration.g:4410:11: lv_partialModel_9_0= rulePartialModel { newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); pushFollow(FOLLOW_43); lv_partialModel_9_0=rulePartialModel(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); } set( current, "partialModel", lv_partialModel_9_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); afterParserOrEnumRuleCall(); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } } } break; case 3 : // InternalApplicationConfiguration.g:4433:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) { // InternalApplicationConfiguration.g:4433:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) // InternalApplicationConfiguration.g:4434:5: {...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)"); } // InternalApplicationConfiguration.g:4434:111: ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) // InternalApplicationConfiguration.g:4435:6: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); // InternalApplicationConfiguration.g:4438:9: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) // InternalApplicationConfiguration.g:4438:10: {...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } // InternalApplicationConfiguration.g:4438:19: (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) // InternalApplicationConfiguration.g:4438:20: otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) { otherlv_10=(Token)match(input,28,FOLLOW_13); newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); otherlv_11=(Token)match(input,18,FOLLOW_44); newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); // InternalApplicationConfiguration.g:4446:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) // InternalApplicationConfiguration.g:4447:10: (lv_patterns_12_0= ruleGraphPattern ) { // InternalApplicationConfiguration.g:4447:10: (lv_patterns_12_0= ruleGraphPattern ) // InternalApplicationConfiguration.g:4448:11: lv_patterns_12_0= ruleGraphPattern { newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); pushFollow(FOLLOW_43); lv_patterns_12_0=ruleGraphPattern(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); } set( current, "patterns", lv_patterns_12_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); afterParserOrEnumRuleCall(); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } } } break; case 4 : // InternalApplicationConfiguration.g:4471:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) { // InternalApplicationConfiguration.g:4471:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) // InternalApplicationConfiguration.g:4472:5: {...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); } // InternalApplicationConfiguration.g:4472:111: ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) // InternalApplicationConfiguration.g:4473:6: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); // InternalApplicationConfiguration.g:4476:9: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) // InternalApplicationConfiguration.g:4476:10: {...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } // InternalApplicationConfiguration.g:4476:19: (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) // InternalApplicationConfiguration.g:4476:20: otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) { otherlv_13=(Token)match(input,31,FOLLOW_13); newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0()); otherlv_14=(Token)match(input,18,FOLLOW_44); newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); // InternalApplicationConfiguration.g:4484:9: ( (lv_objectives_15_0= ruleObjective ) ) // InternalApplicationConfiguration.g:4485:10: (lv_objectives_15_0= ruleObjective ) { // InternalApplicationConfiguration.g:4485:10: (lv_objectives_15_0= ruleObjective ) // InternalApplicationConfiguration.g:4486:11: lv_objectives_15_0= ruleObjective { newCompositeNode(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0()); pushFollow(FOLLOW_43); lv_objectives_15_0=ruleObjective(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); } set( current, "objectives", lv_objectives_15_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Objective"); afterParserOrEnumRuleCall(); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } } } break; case 5 : // InternalApplicationConfiguration.g:4509:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) { // InternalApplicationConfiguration.g:4509:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) // InternalApplicationConfiguration.g:4510:5: {...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); } // InternalApplicationConfiguration.g:4510:111: ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) // InternalApplicationConfiguration.g:4511:6: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); // InternalApplicationConfiguration.g:4514:9: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) // InternalApplicationConfiguration.g:4514:10: {...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } // InternalApplicationConfiguration.g:4514:19: (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) // InternalApplicationConfiguration.g:4514:20: otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) { otherlv_16=(Token)match(input,46,FOLLOW_13); newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0()); otherlv_17=(Token)match(input,18,FOLLOW_44); newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); // InternalApplicationConfiguration.g:4522:9: ( (lv_scope_18_0= ruleScope ) ) // InternalApplicationConfiguration.g:4523:10: (lv_scope_18_0= ruleScope ) { // InternalApplicationConfiguration.g:4523:10: (lv_scope_18_0= ruleScope ) // InternalApplicationConfiguration.g:4524:11: lv_scope_18_0= ruleScope { newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0()); pushFollow(FOLLOW_43); lv_scope_18_0=ruleScope(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); } set( current, "scope", lv_scope_18_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); afterParserOrEnumRuleCall(); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } } } break; case 6 : // InternalApplicationConfiguration.g:4547:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) { // InternalApplicationConfiguration.g:4547:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) // InternalApplicationConfiguration.g:4548:5: {...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)"); } // InternalApplicationConfiguration.g:4548:111: ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) // InternalApplicationConfiguration.g:4549:6: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); // InternalApplicationConfiguration.g:4552:9: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) // InternalApplicationConfiguration.g:4552:10: {...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } // InternalApplicationConfiguration.g:4552:19: ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) // InternalApplicationConfiguration.g:4552:20: ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) { // InternalApplicationConfiguration.g:4552:20: ( (lv_numberSpecified_19_0= 'number' ) ) // InternalApplicationConfiguration.g:4553:10: (lv_numberSpecified_19_0= 'number' ) { // InternalApplicationConfiguration.g:4553:10: (lv_numberSpecified_19_0= 'number' ) // InternalApplicationConfiguration.g:4554:11: lv_numberSpecified_19_0= 'number' { lv_numberSpecified_19_0=(Token)match(input,49,FOLLOW_13); newLeafNode(lv_numberSpecified_19_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); if (current==null) { current = createModelElement(grammarAccess.getGenerationTaskRule()); } setWithLastConsumed(current, "numberSpecified", true, "number"); } } otherlv_20=(Token)match(input,18,FOLLOW_7); newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); // InternalApplicationConfiguration.g:4570:9: ( (lv_number_21_0= RULE_INT ) ) // InternalApplicationConfiguration.g:4571:10: (lv_number_21_0= RULE_INT ) { // InternalApplicationConfiguration.g:4571:10: (lv_number_21_0= RULE_INT ) // InternalApplicationConfiguration.g:4572:11: lv_number_21_0= RULE_INT { lv_number_21_0=(Token)match(input,RULE_INT,FOLLOW_43); newLeafNode(lv_number_21_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_5_2_0()); if (current==null) { current = createModelElement(grammarAccess.getGenerationTaskRule()); } setWithLastConsumed( current, "number", lv_number_21_0, "org.eclipse.xtext.common.Terminals.INT"); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } } } break; case 7 : // InternalApplicationConfiguration.g:4594:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) { // InternalApplicationConfiguration.g:4594:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) // InternalApplicationConfiguration.g:4595:5: {...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); } // InternalApplicationConfiguration.g:4595:111: ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) // InternalApplicationConfiguration.g:4596:6: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); // InternalApplicationConfiguration.g:4599:9: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) // InternalApplicationConfiguration.g:4599:10: {...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } // InternalApplicationConfiguration.g:4599:19: ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) // InternalApplicationConfiguration.g:4599:20: ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) { // InternalApplicationConfiguration.g:4599:20: ( (lv_runSpecified_22_0= 'runs' ) ) // InternalApplicationConfiguration.g:4600:10: (lv_runSpecified_22_0= 'runs' ) { // InternalApplicationConfiguration.g:4600:10: (lv_runSpecified_22_0= 'runs' ) // InternalApplicationConfiguration.g:4601:11: lv_runSpecified_22_0= 'runs' { lv_runSpecified_22_0=(Token)match(input,50,FOLLOW_13); newLeafNode(lv_runSpecified_22_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); if (current==null) { current = createModelElement(grammarAccess.getGenerationTaskRule()); } setWithLastConsumed(current, "runSpecified", true, "runs"); } } otherlv_23=(Token)match(input,18,FOLLOW_7); newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); // InternalApplicationConfiguration.g:4617:9: ( (lv_runs_24_0= RULE_INT ) ) // InternalApplicationConfiguration.g:4618:10: (lv_runs_24_0= RULE_INT ) { // InternalApplicationConfiguration.g:4618:10: (lv_runs_24_0= RULE_INT ) // InternalApplicationConfiguration.g:4619:11: lv_runs_24_0= RULE_INT { lv_runs_24_0=(Token)match(input,RULE_INT,FOLLOW_43); newLeafNode(lv_runs_24_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_6_2_0()); if (current==null) { current = createModelElement(grammarAccess.getGenerationTaskRule()); } setWithLastConsumed( current, "runs", lv_runs_24_0, "org.eclipse.xtext.common.Terminals.INT"); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } } } break; case 8 : // InternalApplicationConfiguration.g:4641:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) { // InternalApplicationConfiguration.g:4641:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) // InternalApplicationConfiguration.g:4642:5: {...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); } // InternalApplicationConfiguration.g:4642:111: ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) // InternalApplicationConfiguration.g:4643:6: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); // InternalApplicationConfiguration.g:4646:9: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) // InternalApplicationConfiguration.g:4646:10: {...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } // InternalApplicationConfiguration.g:4646:19: (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) // InternalApplicationConfiguration.g:4646:20: otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) { otherlv_25=(Token)match(input,51,FOLLOW_13); newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0()); otherlv_26=(Token)match(input,18,FOLLOW_45); newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); // InternalApplicationConfiguration.g:4654:9: ( (lv_solver_27_0= ruleSolver ) ) // InternalApplicationConfiguration.g:4655:10: (lv_solver_27_0= ruleSolver ) { // InternalApplicationConfiguration.g:4655:10: (lv_solver_27_0= ruleSolver ) // InternalApplicationConfiguration.g:4656:11: lv_solver_27_0= ruleSolver { newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0()); pushFollow(FOLLOW_43); lv_solver_27_0=ruleSolver(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); } set( current, "solver", lv_solver_27_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); afterParserOrEnumRuleCall(); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } } } break; case 9 : // InternalApplicationConfiguration.g:4679:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) { // InternalApplicationConfiguration.g:4679:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) // InternalApplicationConfiguration.g:4680:5: {...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); } // InternalApplicationConfiguration.g:4680:111: ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) // InternalApplicationConfiguration.g:4681:6: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); // InternalApplicationConfiguration.g:4684:9: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) // InternalApplicationConfiguration.g:4684:10: {...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } // InternalApplicationConfiguration.g:4684:19: (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) // InternalApplicationConfiguration.g:4684:20: otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) { otherlv_28=(Token)match(input,32,FOLLOW_13); newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0()); otherlv_29=(Token)match(input,18,FOLLOW_44); newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); // InternalApplicationConfiguration.g:4692:9: ( (lv_config_30_0= ruleConfig ) ) // InternalApplicationConfiguration.g:4693:10: (lv_config_30_0= ruleConfig ) { // InternalApplicationConfiguration.g:4693:10: (lv_config_30_0= ruleConfig ) // InternalApplicationConfiguration.g:4694:11: lv_config_30_0= ruleConfig { newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0()); pushFollow(FOLLOW_43); lv_config_30_0=ruleConfig(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); } set( current, "config", lv_config_30_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); afterParserOrEnumRuleCall(); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } } } break; case 10 : // InternalApplicationConfiguration.g:4717:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) { // InternalApplicationConfiguration.g:4717:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) // InternalApplicationConfiguration.g:4718:5: {...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)"); } // InternalApplicationConfiguration.g:4718:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) // InternalApplicationConfiguration.g:4719:6: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); // InternalApplicationConfiguration.g:4722:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) // InternalApplicationConfiguration.g:4722:10: {...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } // InternalApplicationConfiguration.g:4722:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) // InternalApplicationConfiguration.g:4722:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) { otherlv_31=(Token)match(input,52,FOLLOW_13); newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); otherlv_32=(Token)match(input,18,FOLLOW_21); newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); // InternalApplicationConfiguration.g:4730:9: ( (lv_debugFolder_33_0= ruleFile ) ) // InternalApplicationConfiguration.g:4731:10: (lv_debugFolder_33_0= ruleFile ) { // InternalApplicationConfiguration.g:4731:10: (lv_debugFolder_33_0= ruleFile ) // InternalApplicationConfiguration.g:4732:11: lv_debugFolder_33_0= ruleFile { newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); pushFollow(FOLLOW_43); lv_debugFolder_33_0=ruleFile(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); } set( current, "debugFolder", lv_debugFolder_33_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); afterParserOrEnumRuleCall(); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } } } break; case 11 : // InternalApplicationConfiguration.g:4755:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) { // InternalApplicationConfiguration.g:4755:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) // InternalApplicationConfiguration.g:4756:5: {...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)"); } // InternalApplicationConfiguration.g:4756:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) // InternalApplicationConfiguration.g:4757:6: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); // InternalApplicationConfiguration.g:4760:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) // InternalApplicationConfiguration.g:4760:10: {...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } // InternalApplicationConfiguration.g:4760:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) // InternalApplicationConfiguration.g:4760:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) { otherlv_34=(Token)match(input,53,FOLLOW_13); newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); otherlv_35=(Token)match(input,18,FOLLOW_21); newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); // InternalApplicationConfiguration.g:4768:9: ( (lv_targetLogFile_36_0= ruleFile ) ) // InternalApplicationConfiguration.g:4769:10: (lv_targetLogFile_36_0= ruleFile ) { // InternalApplicationConfiguration.g:4769:10: (lv_targetLogFile_36_0= ruleFile ) // InternalApplicationConfiguration.g:4770:11: lv_targetLogFile_36_0= ruleFile { newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); pushFollow(FOLLOW_43); lv_targetLogFile_36_0=ruleFile(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); } set( current, "targetLogFile", lv_targetLogFile_36_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); afterParserOrEnumRuleCall(); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } } } break; case 12 : // InternalApplicationConfiguration.g:4793:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) { // InternalApplicationConfiguration.g:4793:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) // InternalApplicationConfiguration.g:4794:5: {...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)"); } // InternalApplicationConfiguration.g:4794:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) // InternalApplicationConfiguration.g:4795:6: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); // InternalApplicationConfiguration.g:4798:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) // InternalApplicationConfiguration.g:4798:10: {...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } // InternalApplicationConfiguration.g:4798:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) // InternalApplicationConfiguration.g:4798:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) { otherlv_37=(Token)match(input,54,FOLLOW_13); newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); otherlv_38=(Token)match(input,18,FOLLOW_21); newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); // InternalApplicationConfiguration.g:4806:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) ) // InternalApplicationConfiguration.g:4807:10: (lv_targetStatisticsFile_39_0= ruleFile ) { // InternalApplicationConfiguration.g:4807:10: (lv_targetStatisticsFile_39_0= ruleFile ) // InternalApplicationConfiguration.g:4808:11: lv_targetStatisticsFile_39_0= ruleFile { newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); pushFollow(FOLLOW_43); lv_targetStatisticsFile_39_0=ruleFile(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); } set( current, "targetStatisticsFile", lv_targetStatisticsFile_39_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); afterParserOrEnumRuleCall(); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } } } break; case 13 : // InternalApplicationConfiguration.g:4831:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) { // InternalApplicationConfiguration.g:4831:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) // InternalApplicationConfiguration.g:4832:5: {...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12)"); } // InternalApplicationConfiguration.g:4832:112: ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) // InternalApplicationConfiguration.g:4833:6: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12); // InternalApplicationConfiguration.g:4836:9: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) // InternalApplicationConfiguration.g:4836:10: {...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } // InternalApplicationConfiguration.g:4836:19: (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) // InternalApplicationConfiguration.g:4836:20: otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) { otherlv_40=(Token)match(input,55,FOLLOW_13); newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0()); otherlv_41=(Token)match(input,18,FOLLOW_21); newLeafNode(otherlv_41, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1()); // InternalApplicationConfiguration.g:4844:9: ( (lv_tagetFolder_42_0= ruleFile ) ) // InternalApplicationConfiguration.g:4845:10: (lv_tagetFolder_42_0= ruleFile ) { // InternalApplicationConfiguration.g:4845:10: (lv_tagetFolder_42_0= ruleFile ) // InternalApplicationConfiguration.g:4846:11: lv_tagetFolder_42_0= ruleFile { newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0()); pushFollow(FOLLOW_43); lv_tagetFolder_42_0=ruleFile(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); } set( current, "tagetFolder", lv_tagetFolder_42_0, "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); afterParserOrEnumRuleCall(); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } } } break; default : break loop60; } } while (true); } } getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } otherlv_43=(Token)match(input,21,FOLLOW_2); newLeafNode(otherlv_43, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleGenerationTask" // $ANTLR start "ruleOptimizationDirection" // InternalApplicationConfiguration.g:4884:1: ruleOptimizationDirection returns [Enumerator current=null] : ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ; public final Enumerator ruleOptimizationDirection() throws RecognitionException { Enumerator current = null; Token enumLiteral_0=null; Token enumLiteral_1=null; enterRule(); try { // InternalApplicationConfiguration.g:4890:2: ( ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ) // InternalApplicationConfiguration.g:4891:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) { // InternalApplicationConfiguration.g:4891:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) int alt61=2; int LA61_0 = input.LA(1); if ( (LA61_0==56) ) { alt61=1; } else if ( (LA61_0==57) ) { alt61=2; } else { NoViableAltException nvae = new NoViableAltException("", 61, 0, input); throw nvae; } switch (alt61) { case 1 : // InternalApplicationConfiguration.g:4892:3: (enumLiteral_0= 'minimize' ) { // InternalApplicationConfiguration.g:4892:3: (enumLiteral_0= 'minimize' ) // InternalApplicationConfiguration.g:4893:4: enumLiteral_0= 'minimize' { enumLiteral_0=(Token)match(input,56,FOLLOW_2); current = grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0()); } } break; case 2 : // InternalApplicationConfiguration.g:4900:3: (enumLiteral_1= 'maximize' ) { // InternalApplicationConfiguration.g:4900:3: (enumLiteral_1= 'maximize' ) // InternalApplicationConfiguration.g:4901:4: enumLiteral_1= 'maximize' { enumLiteral_1=(Token)match(input,57,FOLLOW_2); current = grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1()); } } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleOptimizationDirection" // $ANTLR start "ruleComparisonOperator" // InternalApplicationConfiguration.g:4911:1: ruleComparisonOperator returns [Enumerator current=null] : ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) ; public final Enumerator ruleComparisonOperator() throws RecognitionException { Enumerator current = null; Token enumLiteral_0=null; Token enumLiteral_1=null; enterRule(); try { // InternalApplicationConfiguration.g:4917:2: ( ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) ) // InternalApplicationConfiguration.g:4918:2: ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) { // InternalApplicationConfiguration.g:4918:2: ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) int alt62=2; int LA62_0 = input.LA(1); if ( (LA62_0==58) ) { alt62=1; } else if ( (LA62_0==59) ) { alt62=2; } else { NoViableAltException nvae = new NoViableAltException("", 62, 0, input); throw nvae; } switch (alt62) { case 1 : // InternalApplicationConfiguration.g:4919:3: (enumLiteral_0= '<=' ) { // InternalApplicationConfiguration.g:4919:3: (enumLiteral_0= '<=' ) // InternalApplicationConfiguration.g:4920:4: enumLiteral_0= '<=' { enumLiteral_0=(Token)match(input,58,FOLLOW_2); current = grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0()); } } break; case 2 : // InternalApplicationConfiguration.g:4927:3: (enumLiteral_1= '>=' ) { // InternalApplicationConfiguration.g:4927:3: (enumLiteral_1= '>=' ) // InternalApplicationConfiguration.g:4928:4: enumLiteral_1= '>=' { enumLiteral_1=(Token)match(input,59,FOLLOW_2); current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1()); } } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleComparisonOperator" // $ANTLR start "ruleDocumentLevelSpecification" // InternalApplicationConfiguration.g:4938:1: ruleDocumentLevelSpecification returns [Enumerator current=null] : ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ; public final Enumerator ruleDocumentLevelSpecification() throws RecognitionException { Enumerator current = null; Token enumLiteral_0=null; Token enumLiteral_1=null; Token enumLiteral_2=null; enterRule(); try { // InternalApplicationConfiguration.g:4944:2: ( ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ) // InternalApplicationConfiguration.g:4945:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) { // InternalApplicationConfiguration.g:4945:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) int alt63=3; switch ( input.LA(1) ) { case 60: { alt63=1; } break; case 61: { alt63=2; } break; case 62: { alt63=3; } break; default: NoViableAltException nvae = new NoViableAltException("", 63, 0, input); throw nvae; } switch (alt63) { case 1 : // InternalApplicationConfiguration.g:4946:3: (enumLiteral_0= 'none' ) { // InternalApplicationConfiguration.g:4946:3: (enumLiteral_0= 'none' ) // InternalApplicationConfiguration.g:4947:4: enumLiteral_0= 'none' { enumLiteral_0=(Token)match(input,60,FOLLOW_2); current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); } } break; case 2 : // InternalApplicationConfiguration.g:4954:3: (enumLiteral_1= 'normal' ) { // InternalApplicationConfiguration.g:4954:3: (enumLiteral_1= 'normal' ) // InternalApplicationConfiguration.g:4955:4: enumLiteral_1= 'normal' { enumLiteral_1=(Token)match(input,61,FOLLOW_2); current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); } } break; case 3 : // InternalApplicationConfiguration.g:4962:3: (enumLiteral_2= 'full' ) { // InternalApplicationConfiguration.g:4962:3: (enumLiteral_2= 'full' ) // InternalApplicationConfiguration.g:4963:4: enumLiteral_2= 'full' { enumLiteral_2=(Token)match(input,62,FOLLOW_2); current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); } } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleDocumentLevelSpecification" // $ANTLR start "ruleSolver" // InternalApplicationConfiguration.g:4973:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; public final Enumerator ruleSolver() throws RecognitionException { Enumerator current = null; Token enumLiteral_0=null; Token enumLiteral_1=null; Token enumLiteral_2=null; enterRule(); try { // InternalApplicationConfiguration.g:4979:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) // InternalApplicationConfiguration.g:4980:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) { // InternalApplicationConfiguration.g:4980:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) int alt64=3; switch ( input.LA(1) ) { case 63: { alt64=1; } break; case 64: { alt64=2; } break; case 65: { alt64=3; } break; default: NoViableAltException nvae = new NoViableAltException("", 64, 0, input); throw nvae; } switch (alt64) { case 1 : // InternalApplicationConfiguration.g:4981:3: (enumLiteral_0= 'SMTSolver' ) { // InternalApplicationConfiguration.g:4981:3: (enumLiteral_0= 'SMTSolver' ) // InternalApplicationConfiguration.g:4982:4: enumLiteral_0= 'SMTSolver' { enumLiteral_0=(Token)match(input,63,FOLLOW_2); current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); } } break; case 2 : // InternalApplicationConfiguration.g:4989:3: (enumLiteral_1= 'AlloySolver' ) { // InternalApplicationConfiguration.g:4989:3: (enumLiteral_1= 'AlloySolver' ) // InternalApplicationConfiguration.g:4990:4: enumLiteral_1= 'AlloySolver' { enumLiteral_1=(Token)match(input,64,FOLLOW_2); current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); } } break; case 3 : // InternalApplicationConfiguration.g:4997:3: (enumLiteral_2= 'ViatraSolver' ) { // InternalApplicationConfiguration.g:4997:3: (enumLiteral_2= 'ViatraSolver' ) // InternalApplicationConfiguration.g:4998:4: enumLiteral_2= 'ViatraSolver' { enumLiteral_2=(Token)match(input,65,FOLLOW_2); current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); } } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleSolver" // Delegated rules protected DFA60 dfa60 = new DFA60(this); static final String dfa_1s = "\17\uffff"; static final String dfa_2s = "\1\25\16\uffff"; static final String dfa_3s = "\1\67\16\uffff"; static final String dfa_4s = "\1\uffff\1\16\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15"; static final String dfa_5s = "\1\0\16\uffff}>"; static final String[] dfa_6s = { "\1\1\3\uffff\1\2\2\uffff\1\4\2\uffff\1\5\1\12\15\uffff\1\6\1\uffff\1\3\1\7\1\10\1\11\1\13\1\14\1\15\1\16", "", "", "", "", "", "", "", "", "", "", "", "", "", "" }; static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s); static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s); static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s); static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); class DFA60 extends DFA { public DFA60(BaseRecognizer recognizer) { this.recognizer = recognizer; this.decisionNumber = 60; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; this.max = dfa_3; this.accept = dfa_4; this.special = dfa_5; this.transition = dfa_6; } public String getDescription() { return "()* loopback of 4356:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )*"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : int LA60_0 = input.LA(1); int index60_0 = input.index(); input.rewind(); s = -1; if ( (LA60_0==21) ) {s = 1;} else if ( LA60_0 == 25 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;} else if ( LA60_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;} else if ( LA60_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;} else if ( LA60_0 == 31 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;} else if ( LA60_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;} else if ( LA60_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;} else if ( LA60_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;} else if ( LA60_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;} else if ( LA60_0 == 32 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;} else if ( LA60_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;} else if ( LA60_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;} else if ( LA60_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;} else if ( LA60_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 14;} input.seek(index60_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = new NoViableAltException(getDescription(), 60, _s, input); error(nvae); throw nvae; } } public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000C0019A022002L}); public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000C0019A020002L}); public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000802L}); public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000010L}); public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000020L}); public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000800L}); public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000004000L}); public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000040L}); public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000008000L}); public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000010000L}); public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000040000L}); public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000400010L}); public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000300000L}); public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000800002L}); public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000080000L}); public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000001000000L}); public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000004000050L}); public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000200000L}); public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000000050L}); public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0300000040010000L}); public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0C00000000000000L}); public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000001020L}); public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000020000000L}); public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000E00200040L}); public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000E00000040L}); public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x7000000000000000L}); public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000001000200000L}); public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000001000000000L}); public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000004000000000L}); public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000002000040000L}); public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000100000000020L}); public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000010000000000L}); public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000020000000000L}); public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000100000080020L}); public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000080000000000L}); public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000008000000000L}); public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000200000000000L}); public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000201020L}); public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000200040L}); public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x00FF400192200000L}); public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000000080010L}); public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x8000000000000000L,0x0000000000000003L}); }