From 3f5aaab5025b8eb243f414b1c789085327df04f4 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Wed, 20 Mar 2019 16:09:09 +0100 Subject: Fault tree transformation for partial models WIP --- ...icationConfigurationAntlrTokenFileProvider.java | 32 +- .../antlr/ApplicationConfigurationParser.java | 80 +- .../internal/InternalApplicationConfiguration.g | 9205 +++---- .../InternalApplicationConfiguration.tokens | 214 +- .../InternalApplicationConfigurationLexer.java | 4954 ++-- .../InternalApplicationConfigurationParser.java | 24967 ++++++++++--------- 6 files changed, 20961 insertions(+), 18491 deletions(-) (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationAntlrTokenFileProvider.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationAntlrTokenFileProvider.java index 725ca8fb..baeaefcf 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationAntlrTokenFileProvider.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationAntlrTokenFileProvider.java @@ -1,16 +1,16 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.parser.antlr; - -import java.io.InputStream; -import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; - -public class ApplicationConfigurationAntlrTokenFileProvider implements IAntlrTokenFileProvider { - - @Override - public InputStream getAntlrTokenFile() { - ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens"); - } -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.parser.antlr; + +import java.io.InputStream; +import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; + +public class ApplicationConfigurationAntlrTokenFileProvider implements IAntlrTokenFileProvider { + + @Override + public InputStream getAntlrTokenFile() { + ClassLoader classLoader = getClass().getClassLoader(); + return classLoader.getResourceAsStream("hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens"); + } +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationParser.java index fa6ff883..c1ed7d02 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationParser.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationParser.java @@ -1,40 +1,40 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.parser.antlr; - -import com.google.inject.Inject; -import hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal.InternalApplicationConfigurationParser; -import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; -import org.eclipse.xtext.parser.antlr.AbstractAntlrParser; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; - -public class ApplicationConfigurationParser extends AbstractAntlrParser { - - @Inject - private ApplicationConfigurationGrammarAccess grammarAccess; - - @Override - protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { - tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); - } - - - @Override - protected InternalApplicationConfigurationParser createParser(XtextTokenStream stream) { - return new InternalApplicationConfigurationParser(stream, getGrammarAccess()); - } - - @Override - protected String getDefaultRuleName() { - return "ConfigurationScript"; - } - - public ApplicationConfigurationGrammarAccess getGrammarAccess() { - return this.grammarAccess; - } - - public void setGrammarAccess(ApplicationConfigurationGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.parser.antlr; + +import com.google.inject.Inject; +import hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal.InternalApplicationConfigurationParser; +import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; +import org.eclipse.xtext.parser.antlr.AbstractAntlrParser; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; + +public class ApplicationConfigurationParser extends AbstractAntlrParser { + + @Inject + private ApplicationConfigurationGrammarAccess grammarAccess; + + @Override + protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { + tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); + } + + + @Override + protected InternalApplicationConfigurationParser createParser(XtextTokenStream stream) { + return new InternalApplicationConfigurationParser(stream, getGrammarAccess()); + } + + @Override + protected String getDefaultRuleName() { + return "ConfigurationScript"; + } + + public ApplicationConfigurationGrammarAccess getGrammarAccess() { + return this.grammarAccess; + } + + public void setGrammarAccess(ApplicationConfigurationGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g index 455e7054..370bbe33 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g @@ -1,4303 +1,4902 @@ -/* - * generated by Xtext 2.12.0 - */ -grammar InternalApplicationConfiguration; - -options { - superClass=AbstractInternalAntlrParser; -} - -@lexer::header { -package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; -} - -@parser::header { -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; - -} - -@parser::members { - - 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; - } - -} - -@rulecatch { - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } -} - -// Entry rule entryRuleConfigurationScript -entryRuleConfigurationScript returns [EObject current=null]: - { newCompositeNode(grammarAccess.getConfigurationScriptRule()); } - iv_ruleConfigurationScript=ruleConfigurationScript - { $current=$iv_ruleConfigurationScript.current; } - EOF; - -// Rule ConfigurationScript -ruleConfigurationScript returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - { - newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); - } - lv_imports_0_0=ruleImport - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); - } - add( - $current, - "imports", - lv_imports_0_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); - afterParserOrEnumRuleCall(); - } - ) - )* - ( - ( - { - newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); - } - lv_commands_1_0=ruleCommand - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); - } - add( - $current, - "commands", - lv_commands_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); - afterParserOrEnumRuleCall(); - } - ) - )* - ) -; - -// Entry rule entryRuleCommand -entryRuleCommand returns [EObject current=null]: - { newCompositeNode(grammarAccess.getCommandRule()); } - iv_ruleCommand=ruleCommand - { $current=$iv_ruleCommand.current; } - EOF; - -// Rule Command -ruleCommand returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); - } - this_Declaration_0=ruleDeclaration - { - $current = $this_Declaration_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); - } - this_Task_1=ruleTask - { - $current = $this_Task_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleQualifiedName -entryRuleQualifiedName returns [String current=null]: - { newCompositeNode(grammarAccess.getQualifiedNameRule()); } - iv_ruleQualifiedName=ruleQualifiedName - { $current=$iv_ruleQualifiedName.current.getText(); } - EOF; - -// Rule QualifiedName -ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - this_ID_0=RULE_ID - { - $current.merge(this_ID_0); - } - { - newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); - } - ( - kw='.' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); - } - this_ID_2=RULE_ID - { - $current.merge(this_ID_2); - } - { - newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); - } - )* - ) -; - -// Entry rule entryRuleREALLiteral -entryRuleREALLiteral returns [String current=null]: - { newCompositeNode(grammarAccess.getREALLiteralRule()); } - iv_ruleREALLiteral=ruleREALLiteral - { $current=$iv_ruleREALLiteral.current.getText(); } - EOF; - -// Rule REALLiteral -ruleREALLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - kw='-' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); - } - )? - this_INT_1=RULE_INT - { - $current.merge(this_INT_1); - } - { - newLeafNode(this_INT_1, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); - } - kw='.' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); - } - this_INT_3=RULE_INT - { - $current.merge(this_INT_3); - } - { - newLeafNode(this_INT_3, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); - } - ) -; - -// Entry rule entryRuleINTLiteral -entryRuleINTLiteral returns [String current=null]: - { newCompositeNode(grammarAccess.getINTLiteralRule()); } - iv_ruleINTLiteral=ruleINTLiteral - { $current=$iv_ruleINTLiteral.current.getText(); } - EOF; - -// Rule INTLiteral -ruleINTLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - kw='-' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); - } - )? - this_INT_1=RULE_INT - { - $current.merge(this_INT_1); - } - { - newLeafNode(this_INT_1, grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); - } - ) -; - -// Entry rule entryRuleImport -entryRuleImport returns [EObject current=null]: - { newCompositeNode(grammarAccess.getImportRule()); } - iv_ruleImport=ruleImport - { $current=$iv_ruleImport.current; } - EOF; - -// Rule Import -ruleImport returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); - } - this_EPackageImport_0=ruleEPackageImport - { - $current = $this_EPackageImport_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); - } - this_ViatraImport_1=ruleViatraImport - { - $current = $this_ViatraImport_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleEPackageImport -entryRuleEPackageImport returns [EObject current=null]: - { newCompositeNode(grammarAccess.getEPackageImportRule()); } - iv_ruleEPackageImport=ruleEPackageImport - { $current=$iv_ruleEPackageImport.current; } - EOF; - -// Rule EPackageImport -ruleEPackageImport returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='import' - { - newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); - } - otherlv_1='epackage' - { - newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getEPackageImportRule()); - } - } - otherlv_2=RULE_STRING - { - newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); - } - ) - ) - ) -; - -// Entry rule entryRuleViatraImport -entryRuleViatraImport returns [EObject current=null]: - { newCompositeNode(grammarAccess.getViatraImportRule()); } - iv_ruleViatraImport=ruleViatraImport - { $current=$iv_ruleViatraImport.current; } - EOF; - -// Rule ViatraImport -ruleViatraImport returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='import' - { - newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); - } - otherlv_1='viatra' - { - newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getViatraImportRule()); - } - } - otherlv_2=RULE_STRING - { - newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); - } - ) - ) - ) -; - -// Entry rule entryRuleDeclaration -entryRuleDeclaration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getDeclarationRule()); } - iv_ruleDeclaration=ruleDeclaration - { $current=$iv_ruleDeclaration.current; } - EOF; - -// Rule Declaration -ruleDeclaration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); - } - this_FileDeclaration_0=ruleFileDeclaration - { - $current = $this_FileDeclaration_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); - } - this_MetamodelDeclaration_1=ruleMetamodelDeclaration - { - $current = $this_MetamodelDeclaration_1.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); - } - this_PartialModelDeclaration_2=rulePartialModelDeclaration - { - $current = $this_PartialModelDeclaration_2.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); - } - this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration - { - $current = $this_GraphPatternDeclaration_3.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); - } - this_ConfigDeclaration_4=ruleConfigDeclaration - { - $current = $this_ConfigDeclaration_4.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); - } - this_ScopeDeclaration_5=ruleScopeDeclaration - { - $current = $this_ScopeDeclaration_5.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleFileSpecification -entryRuleFileSpecification returns [EObject current=null]: - { newCompositeNode(grammarAccess.getFileSpecificationRule()); } - iv_ruleFileSpecification=ruleFileSpecification - { $current=$iv_ruleFileSpecification.current; } - EOF; - -// Rule FileSpecification -ruleFileSpecification returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - lv_path_0_0=RULE_STRING - { - 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"); - } - ) - ) -; - -// Entry rule entryRuleFileDeclaration -entryRuleFileDeclaration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getFileDeclarationRule()); } - iv_ruleFileDeclaration=ruleFileDeclaration - { $current=$iv_ruleFileDeclaration.current; } - EOF; - -// Rule FileDeclaration -ruleFileDeclaration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='file' - { - newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); - } - ( - ( - lv_name_1_0=RULE_ID - { - 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='=' - { - newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); - } - ( - ( - { - newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); - } - lv_specification_3_0=ruleFileSpecification - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); - } - set( - $current, - "specification", - lv_specification_3_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleFileReference -entryRuleFileReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getFileReferenceRule()); } - iv_ruleFileReference=ruleFileReference - { $current=$iv_ruleFileReference.current; } - EOF; - -// Rule FileReference -ruleFileReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getFileReferenceRule()); - } - } - otherlv_0=RULE_ID - { - newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); - } - ) - ) -; - -// Entry rule entryRuleFile -entryRuleFile returns [EObject current=null]: - { newCompositeNode(grammarAccess.getFileRule()); } - iv_ruleFile=ruleFile - { $current=$iv_ruleFile.current; } - EOF; - -// Rule File -ruleFile returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); - } - this_FileSpecification_0=ruleFileSpecification - { - $current = $this_FileSpecification_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); - } - this_FileReference_1=ruleFileReference - { - $current = $this_FileReference_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleMetamodelSpecification -entryRuleMetamodelSpecification returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); } - iv_ruleMetamodelSpecification=ruleMetamodelSpecification - { $current=$iv_ruleMetamodelSpecification.current; } - EOF; - -// Rule MetamodelSpecification -ruleMetamodelSpecification returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='{' - { - newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); - } - lv_entries_1_0=ruleMetamodelEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); - } - add( - $current, - "entries", - lv_entries_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_2=',' - { - newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); - } - lv_entries_3_0=ruleMetamodelEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); - } - add( - $current, - "entries", - lv_entries_3_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - otherlv_4='}' - { - newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); - } - ) -; - -// Entry rule entryRuleMetamodelEntry -entryRuleMetamodelEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMetamodelEntryRule()); } - iv_ruleMetamodelEntry=ruleMetamodelEntry - { $current=$iv_ruleMetamodelEntry.current; } - EOF; - -// Rule MetamodelEntry -ruleMetamodelEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); - } - this_MetamodelElement_0=ruleMetamodelElement - { - $current = $this_MetamodelElement_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); - } - this_AllPackageEntry_1=ruleAllPackageEntry - { - $current = $this_AllPackageEntry_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleAllPackageEntry -entryRuleAllPackageEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getAllPackageEntryRule()); } - iv_ruleAllPackageEntry=ruleAllPackageEntry - { $current=$iv_ruleAllPackageEntry.current; } - EOF; - -// Rule AllPackageEntry -ruleAllPackageEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='package' - { - newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAllPackageEntryRule()); - } - } - { - newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_2='excluding' - { - newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); - } - otherlv_3='{' - { - newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); - } - lv_exclusion_4_0=ruleMetamodelElement - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); - } - add( - $current, - "exclusion", - lv_exclusion_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_5=',' - { - newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); - } - lv_exclusion_6_0=ruleMetamodelElement - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); - } - add( - $current, - "exclusion", - lv_exclusion_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - otherlv_7='}' - { - newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); - } - )? - ) -; - -// Entry rule entryRuleMetamodelElement -entryRuleMetamodelElement returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMetamodelElementRule()); } - iv_ruleMetamodelElement=ruleMetamodelElement - { $current=$iv_ruleMetamodelElement.current; } - EOF; - -// Rule MetamodelElement -ruleMetamodelElement returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMetamodelElementRule()); - } - } - { - newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - otherlv_1='::' - { - newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); - } - )? - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMetamodelElementRule()); - } - } - otherlv_2=RULE_ID - { - newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); - } - ) - ) - ( - otherlv_3='.' - { - newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMetamodelElementRule()); - } - } - otherlv_4=RULE_ID - { - newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); - } - ) - ) - )? - ) -; - -// Entry rule entryRuleMetamodelDeclaration -entryRuleMetamodelDeclaration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); } - iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration - { $current=$iv_ruleMetamodelDeclaration.current; } - EOF; - -// Rule MetamodelDeclaration -ruleMetamodelDeclaration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='metamodel' - { - newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); - } - ( - ( - lv_name_1_0=RULE_ID - { - 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"); - } - ) - ) - ( - ( - { - newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); - } - lv_specification_2_0=ruleMetamodelSpecification - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); - } - set( - $current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleMetamodelReference -entryRuleMetamodelReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMetamodelReferenceRule()); } - iv_ruleMetamodelReference=ruleMetamodelReference - { $current=$iv_ruleMetamodelReference.current; } - EOF; - -// Rule MetamodelReference -ruleMetamodelReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMetamodelReferenceRule()); - } - } - otherlv_0=RULE_ID - { - newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); - } - ) - ) -; - -// Entry rule entryRuleMetamodel -entryRuleMetamodel returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMetamodelRule()); } - iv_ruleMetamodel=ruleMetamodel - { $current=$iv_ruleMetamodel.current; } - EOF; - -// Rule Metamodel -ruleMetamodel returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); - } - this_MetamodelReference_0=ruleMetamodelReference - { - $current = $this_MetamodelReference_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); - } - this_MetamodelSpecification_1=ruleMetamodelSpecification - { - $current = $this_MetamodelSpecification_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRulePartialModelSpecification -entryRulePartialModelSpecification returns [EObject current=null]: - { newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); } - iv_rulePartialModelSpecification=rulePartialModelSpecification - { $current=$iv_rulePartialModelSpecification.current; } - EOF; - -// Rule PartialModelSpecification -rulePartialModelSpecification returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='{' - { - newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); - } - lv_entry_1_0=rulePartialModelEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); - } - add( - $current, - "entry", - lv_entry_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_2=',' - { - newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); - } - lv_entry_3_0=rulePartialModelEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); - } - add( - $current, - "entry", - lv_entry_3_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - )? - otherlv_4='}' - { - newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); - } - ) -; - -// Entry rule entryRulePartialModelEntry -entryRulePartialModelEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getPartialModelEntryRule()); } - iv_rulePartialModelEntry=rulePartialModelEntry - { $current=$iv_rulePartialModelEntry.current; } - EOF; - -// Rule PartialModelEntry -rulePartialModelEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); - } - this_ModelEntry_0=ruleModelEntry - { - $current = $this_ModelEntry_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); - } - this_FolderEntry_1=ruleFolderEntry - { - $current = $this_FolderEntry_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleModelEntry -entryRuleModelEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getModelEntryRule()); } - iv_ruleModelEntry=ruleModelEntry - { $current=$iv_ruleModelEntry.current; } - EOF; - -// Rule ModelEntry -ruleModelEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); - } - lv_path_0_0=ruleFile - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelEntryRule()); - } - set( - $current, - "path", - lv_path_0_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - } - ) - ) -; - -// Entry rule entryRuleFolderEntry -entryRuleFolderEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getFolderEntryRule()); } - iv_ruleFolderEntry=ruleFolderEntry - { $current=$iv_ruleFolderEntry.current; } - EOF; - -// Rule FolderEntry -ruleFolderEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='folder' - { - newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); - } - lv_path_1_0=ruleFile - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); - } - set( - $current, - "path", - lv_path_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_2='excluding' - { - newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); - } - otherlv_3='{' - { - newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); - } - lv_exclusion_4_0=ruleModelEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); - } - add( - $current, - "exclusion", - lv_exclusion_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_5=',' - { - newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); - } - lv_exclusion_6_0=ruleModelEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); - } - add( - $current, - "exclusion", - lv_exclusion_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - otherlv_7='}' - { - newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); - } - )? - ) -; - -// Entry rule entryRulePartialModelDeclaration -entryRulePartialModelDeclaration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); } - iv_rulePartialModelDeclaration=rulePartialModelDeclaration - { $current=$iv_rulePartialModelDeclaration.current; } - EOF; - -// Rule PartialModelDeclaration -rulePartialModelDeclaration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='models' - { - newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); - } - ( - ( - lv_name_1_0=RULE_ID - { - 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"); - } - ) - ) - ( - ( - { - newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); - } - lv_specification_2_0=rulePartialModelSpecification - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); - } - set( - $current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRulePartialModelReference -entryRulePartialModelReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getPartialModelReferenceRule()); } - iv_rulePartialModelReference=rulePartialModelReference - { $current=$iv_rulePartialModelReference.current; } - EOF; - -// Rule PartialModelReference -rulePartialModelReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getPartialModelReferenceRule()); - } - } - otherlv_0=RULE_ID - { - newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); - } - ) - ) -; - -// Entry rule entryRulePartialModel -entryRulePartialModel returns [EObject current=null]: - { newCompositeNode(grammarAccess.getPartialModelRule()); } - iv_rulePartialModel=rulePartialModel - { $current=$iv_rulePartialModel.current; } - EOF; - -// Rule PartialModel -rulePartialModel returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); - } - this_PartialModelSpecification_0=rulePartialModelSpecification - { - $current = $this_PartialModelSpecification_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); - } - this_PartialModelReference_1=rulePartialModelReference - { - $current = $this_PartialModelReference_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRulePatternSpecification -entryRulePatternSpecification returns [EObject current=null]: - { newCompositeNode(grammarAccess.getPatternSpecificationRule()); } - iv_rulePatternSpecification=rulePatternSpecification - { $current=$iv_rulePatternSpecification.current; } - EOF; - -// Rule PatternSpecification -rulePatternSpecification returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='{' - { - newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); - } - lv_entries_1_0=rulePatternEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); - } - add( - $current, - "entries", - lv_entries_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_2=',' - { - newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); - } - lv_entries_3_0=rulePatternEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); - } - add( - $current, - "entries", - lv_entries_3_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - otherlv_4='}' - { - newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); - } - ) -; - -// Entry rule entryRulePatternEntry -entryRulePatternEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getPatternEntryRule()); } - iv_rulePatternEntry=rulePatternEntry - { $current=$iv_rulePatternEntry.current; } - EOF; - -// Rule PatternEntry -rulePatternEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); - } - this_PatternElement_0=rulePatternElement - { - $current = $this_PatternElement_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); - } - this_AllPatternEntry_1=ruleAllPatternEntry - { - $current = $this_AllPatternEntry_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleAllPatternEntry -entryRuleAllPatternEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getAllPatternEntryRule()); } - iv_ruleAllPatternEntry=ruleAllPatternEntry - { $current=$iv_ruleAllPatternEntry.current; } - EOF; - -// Rule AllPatternEntry -ruleAllPatternEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='package' - { - newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAllPatternEntryRule()); - } - } - { - newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_2='excluding' - { - newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); - } - otherlv_3='{' - { - newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); - } - lv_exclusuion_4_0=rulePatternElement - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); - } - add( - $current, - "exclusuion", - lv_exclusuion_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_5=',' - { - newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); - } - lv_exclusuion_6_0=rulePatternElement - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); - } - add( - $current, - "exclusuion", - lv_exclusuion_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - otherlv_7='}' - { - newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); - } - )? - ) -; - -// Entry rule entryRulePatternElement -entryRulePatternElement returns [EObject current=null]: - { newCompositeNode(grammarAccess.getPatternElementRule()); } - iv_rulePatternElement=rulePatternElement - { $current=$iv_rulePatternElement.current; } - EOF; - -// Rule PatternElement -rulePatternElement returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getPatternElementRule()); - } - } - { - newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - otherlv_1='::' - { - newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); - } - )? - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getPatternElementRule()); - } - } - otherlv_2=RULE_ID - { - newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); - } - ) - ) - ) -; - -// Entry rule entryRuleGraphPatternDeclaration -entryRuleGraphPatternDeclaration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); } - iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration - { $current=$iv_ruleGraphPatternDeclaration.current; } - EOF; - -// Rule GraphPatternDeclaration -ruleGraphPatternDeclaration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='constraints' - { - newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); - } - ( - ( - lv_name_1_0=RULE_ID - { - 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"); - } - ) - ) - ( - ( - { - newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); - } - lv_specification_2_0=rulePatternSpecification - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); - } - set( - $current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleGraphPatternReference -entryRuleGraphPatternReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); } - iv_ruleGraphPatternReference=ruleGraphPatternReference - { $current=$iv_ruleGraphPatternReference.current; } - EOF; - -// Rule GraphPatternReference -ruleGraphPatternReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); - } - } - otherlv_0=RULE_ID - { - newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); - } - ) - ) -; - -// Entry rule entryRuleGraphPattern -entryRuleGraphPattern returns [EObject current=null]: - { newCompositeNode(grammarAccess.getGraphPatternRule()); } - iv_ruleGraphPattern=ruleGraphPattern - { $current=$iv_ruleGraphPattern.current; } - EOF; - -// Rule GraphPattern -ruleGraphPattern returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); - } - this_GraphPatternReference_0=ruleGraphPatternReference - { - $current = $this_GraphPatternReference_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); - } - this_PatternSpecification_1=rulePatternSpecification - { - $current = $this_PatternSpecification_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleConfigSpecification -entryRuleConfigSpecification returns [EObject current=null]: - { newCompositeNode(grammarAccess.getConfigSpecificationRule()); } - iv_ruleConfigSpecification=ruleConfigSpecification - { $current=$iv_ruleConfigSpecification.current; } - EOF; - -// Rule ConfigSpecification -ruleConfigSpecification returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), - $current); - } - ) - otherlv_1='{' - { - newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); - } - ( - ( - ( - { - newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); - } - lv_entries_2_0=ruleConfigEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); - } - add( - $current, - "entries", - lv_entries_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_3=',' - { - newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); - } - lv_entries_4_0=ruleConfigEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); - } - add( - $current, - "entries", - lv_entries_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - )? - otherlv_5='}' - { - newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); - } - ) -; - -// Entry rule entryRuleConfigDeclaration -entryRuleConfigDeclaration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getConfigDeclarationRule()); } - iv_ruleConfigDeclaration=ruleConfigDeclaration - { $current=$iv_ruleConfigDeclaration.current; } - EOF; - -// Rule ConfigDeclaration -ruleConfigDeclaration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='config' - { - newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); - } - ( - ( - lv_name_1_0=RULE_ID - { - 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"); - } - ) - ) - ( - ( - { - newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); - } - lv_specification_2_0=ruleConfigSpecification - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); - } - set( - $current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleConfigEntry -entryRuleConfigEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getConfigEntryRule()); } - iv_ruleConfigEntry=ruleConfigEntry - { $current=$iv_ruleConfigEntry.current; } - EOF; - -// Rule ConfigEntry -ruleConfigEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); - } - this_DocumentationEntry_0=ruleDocumentationEntry - { - $current = $this_DocumentationEntry_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); - } - this_RuntimeEntry_1=ruleRuntimeEntry - { - $current = $this_RuntimeEntry_1.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); - } - this_MemoryEntry_2=ruleMemoryEntry - { - $current = $this_MemoryEntry_2.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); - } - this_CustomEntry_3=ruleCustomEntry - { - $current = $this_CustomEntry_3.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleDocumentationEntry -entryRuleDocumentationEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getDocumentationEntryRule()); } - iv_ruleDocumentationEntry=ruleDocumentationEntry - { $current=$iv_ruleDocumentationEntry.current; } - EOF; - -// Rule DocumentationEntry -ruleDocumentationEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='log-level' - { - newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); - } - otherlv_1='=' - { - newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); - } - lv_level_2_0=ruleDocumentLevelSpecification - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getDocumentationEntryRule()); - } - set( - $current, - "level", - lv_level_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleRuntimeEntry -entryRuleRuntimeEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getRuntimeEntryRule()); } - iv_ruleRuntimeEntry=ruleRuntimeEntry - { $current=$iv_ruleRuntimeEntry.current; } - EOF; - -// Rule RuntimeEntry -ruleRuntimeEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='runtime' - { - newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); - } - otherlv_1='=' - { - newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); - } - ( - ( - lv_millisecLimit_2_0=RULE_INT - { - 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"); - } - ) - ) - ) -; - -// Entry rule entryRuleMemoryEntry -entryRuleMemoryEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMemoryEntryRule()); } - iv_ruleMemoryEntry=ruleMemoryEntry - { $current=$iv_ruleMemoryEntry.current; } - EOF; - -// Rule MemoryEntry -ruleMemoryEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='memory' - { - newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); - } - otherlv_1='=' - { - newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); - } - ( - ( - lv_megabyteLimit_2_0=RULE_INT - { - 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"); - } - ) - ) - ) -; - -// Entry rule entryRuleCustomEntry -entryRuleCustomEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getCustomEntryRule()); } - iv_ruleCustomEntry=ruleCustomEntry - { $current=$iv_ruleCustomEntry.current; } - EOF; - -// Rule CustomEntry -ruleCustomEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - lv_key_0_0=RULE_STRING - { - 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='=' - { - newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); - } - ( - ( - lv_value_2_0=RULE_STRING - { - 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"); - } - ) - ) - ) -; - -// Entry rule entryRuleConfigReference -entryRuleConfigReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getConfigReferenceRule()); } - iv_ruleConfigReference=ruleConfigReference - { $current=$iv_ruleConfigReference.current; } - EOF; - -// Rule ConfigReference -ruleConfigReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getConfigReferenceRule()); - } - } - otherlv_0=RULE_ID - { - newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); - } - ) - ) -; - -// Entry rule entryRuleConfig -entryRuleConfig returns [EObject current=null]: - { newCompositeNode(grammarAccess.getConfigRule()); } - iv_ruleConfig=ruleConfig - { $current=$iv_ruleConfig.current; } - EOF; - -// Rule Config -ruleConfig returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); - } - this_ConfigSpecification_0=ruleConfigSpecification - { - $current = $this_ConfigSpecification_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); - } - this_ConfigReference_1=ruleConfigReference - { - $current = $this_ConfigReference_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleScopeSpecification -entryRuleScopeSpecification returns [EObject current=null]: - { newCompositeNode(grammarAccess.getScopeSpecificationRule()); } - iv_ruleScopeSpecification=ruleScopeSpecification - { $current=$iv_ruleScopeSpecification.current; } - EOF; - -// Rule ScopeSpecification -ruleScopeSpecification returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), - $current); - } - ) - otherlv_1='{' - { - newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); - } - ( - ( - ( - { - newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); - } - lv_scopes_2_0=ruleTypeScope - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); - } - add( - $current, - "scopes", - lv_scopes_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_3=',' - { - newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); - } - lv_scopes_4_0=ruleTypeScope - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); - } - add( - $current, - "scopes", - lv_scopes_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - )? - otherlv_5='}' - { - newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); - } - ) -; - -// Entry rule entryRuleTypeScope -entryRuleTypeScope returns [EObject current=null]: - { newCompositeNode(grammarAccess.getTypeScopeRule()); } - iv_ruleTypeScope=ruleTypeScope - { $current=$iv_ruleTypeScope.current; } - EOF; - -// Rule TypeScope -ruleTypeScope returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); - } - this_ClassTypeScope_0=ruleClassTypeScope - { - $current = $this_ClassTypeScope_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); - } - this_ObjectTypeScope_1=ruleObjectTypeScope - { - $current = $this_ObjectTypeScope_1.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); - } - this_IntegerTypeScope_2=ruleIntegerTypeScope - { - $current = $this_IntegerTypeScope_2.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); - } - this_RealTypeScope_3=ruleRealTypeScope - { - $current = $this_RealTypeScope_3.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); - } - this_StringTypeScope_4=ruleStringTypeScope - { - $current = $this_StringTypeScope_4.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleClassTypeScope -entryRuleClassTypeScope returns [EObject current=null]: - { newCompositeNode(grammarAccess.getClassTypeScopeRule()); } - iv_ruleClassTypeScope=ruleClassTypeScope - { $current=$iv_ruleClassTypeScope.current; } - EOF; - -// Rule ClassTypeScope -ruleClassTypeScope returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='#' - { - newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); - } - lv_type_1_0=ruleClassReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); - } - set( - $current, - "type", - lv_type_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - ( - lv_setsNew_2_0='+=' - { - newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getClassTypeScopeRule()); - } - setWithLastConsumed($current, "setsNew", true, "+="); - } - ) - ) - | - ( - ( - lv_setsSum_3_0='=' - { - newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getClassTypeScopeRule()); - } - setWithLastConsumed($current, "setsSum", true, "="); - } - ) - ) - ) - ( - ( - ( - { - newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - } - lv_number_4_0=ruleExactNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); - } - set( - $current, - "number", - lv_number_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - } - lv_number_5_0=ruleIntervallNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); - } - set( - $current, - "number", - lv_number_5_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) - ) -; - -// Entry rule entryRuleObjectTypeScope -entryRuleObjectTypeScope returns [EObject current=null]: - { newCompositeNode(grammarAccess.getObjectTypeScopeRule()); } - iv_ruleObjectTypeScope=ruleObjectTypeScope - { $current=$iv_ruleObjectTypeScope.current; } - EOF; - -// Rule ObjectTypeScope -ruleObjectTypeScope returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='#' - { - newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); - } - lv_type_1_0=ruleObjectReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); - } - set( - $current, - "type", - lv_type_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - ( - lv_setsNew_2_0='+=' - { - newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getObjectTypeScopeRule()); - } - setWithLastConsumed($current, "setsNew", true, "+="); - } - ) - ) - | - ( - ( - lv_setsSum_3_0='=' - { - newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getObjectTypeScopeRule()); - } - setWithLastConsumed($current, "setsSum", true, "="); - } - ) - ) - ) - ( - ( - ( - { - newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - } - lv_number_4_0=ruleExactNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); - } - set( - $current, - "number", - lv_number_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - } - lv_number_5_0=ruleIntervallNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); - } - set( - $current, - "number", - lv_number_5_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) - ) -; - -// Entry rule entryRuleIntegerTypeScope -entryRuleIntegerTypeScope returns [EObject current=null]: - { newCompositeNode(grammarAccess.getIntegerTypeScopeRule()); } - iv_ruleIntegerTypeScope=ruleIntegerTypeScope - { $current=$iv_ruleIntegerTypeScope.current; } - EOF; - -// Rule IntegerTypeScope -ruleIntegerTypeScope returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='#' - { - newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); - } - lv_type_1_0=ruleIntegerReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); - } - set( - $current, - "type", - lv_type_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - ( - lv_setsNew_2_0='+=' - { - newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); - } - setWithLastConsumed($current, "setsNew", true, "+="); - } - ) - ) - | - ( - ( - lv_setsSum_3_0='=' - { - newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); - } - setWithLastConsumed($current, "setsSum", true, "="); - } - ) - ) - ) - ( - ( - ( - { - newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - } - lv_number_4_0=ruleExactNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); - } - set( - $current, - "number", - lv_number_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - } - lv_number_5_0=ruleIntervallNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); - } - set( - $current, - "number", - lv_number_5_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); - } - lv_number_6_0=ruleIntEnumberation - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); - } - set( - $current, - "number", - lv_number_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) - ) -; - -// Entry rule entryRuleRealTypeScope -entryRuleRealTypeScope returns [EObject current=null]: - { newCompositeNode(grammarAccess.getRealTypeScopeRule()); } - iv_ruleRealTypeScope=ruleRealTypeScope - { $current=$iv_ruleRealTypeScope.current; } - EOF; - -// Rule RealTypeScope -ruleRealTypeScope returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='#' - { - newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); - } - lv_type_1_0=ruleRealReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); - } - set( - $current, - "type", - lv_type_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - ( - lv_setsNew_2_0='+=' - { - newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getRealTypeScopeRule()); - } - setWithLastConsumed($current, "setsNew", true, "+="); - } - ) - ) - | - ( - ( - lv_setsSum_3_0='=' - { - newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getRealTypeScopeRule()); - } - setWithLastConsumed($current, "setsSum", true, "="); - } - ) - ) - ) - ( - ( - ( - { - newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - } - lv_number_4_0=ruleExactNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); - } - set( - $current, - "number", - lv_number_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - } - lv_number_5_0=ruleIntervallNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); - } - set( - $current, - "number", - lv_number_5_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); - } - lv_number_6_0=ruleRealEnumeration - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); - } - set( - $current, - "number", - lv_number_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) - ) -; - -// Entry rule entryRuleStringTypeScope -entryRuleStringTypeScope returns [EObject current=null]: - { newCompositeNode(grammarAccess.getStringTypeScopeRule()); } - iv_ruleStringTypeScope=ruleStringTypeScope - { $current=$iv_ruleStringTypeScope.current; } - EOF; - -// Rule StringTypeScope -ruleStringTypeScope returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='#' - { - newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); - } - lv_type_1_0=ruleStringReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); - } - set( - $current, - "type", - lv_type_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - ( - lv_setsNew_2_0='+=' - { - newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getStringTypeScopeRule()); - } - setWithLastConsumed($current, "setsNew", true, "+="); - } - ) - ) - | - ( - ( - lv_setsSum_3_0='=' - { - newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getStringTypeScopeRule()); - } - setWithLastConsumed($current, "setsSum", true, "="); - } - ) - ) - ) - ( - ( - ( - { - newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - } - lv_number_4_0=ruleExactNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); - } - set( - $current, - "number", - lv_number_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - } - lv_number_5_0=ruleIntervallNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); - } - set( - $current, - "number", - lv_number_5_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); - } - lv_number_6_0=ruleStringEnumeration - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); - } - set( - $current, - "number", - lv_number_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) - ) -; - -// Entry rule entryRuleClassReference -entryRuleClassReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getClassReferenceRule()); } - iv_ruleClassReference=ruleClassReference - { $current=$iv_ruleClassReference.current; } - EOF; - -// Rule ClassReference -ruleClassReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='<' - { - newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); - } - lv_element_1_0=ruleMetamodelElement - { - 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='>' - { - newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); - } - ) -; - -// Entry rule entryRuleObjectReference -entryRuleObjectReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getObjectReferenceRule()); } - iv_ruleObjectReference=ruleObjectReference - { $current=$iv_ruleObjectReference.current; } - EOF; - -// Rule ObjectReference -ruleObjectReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), - $current); - } - ) - otherlv_1='node' - { - newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); - } - ) -; - -// Entry rule entryRuleIntegerReference -entryRuleIntegerReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getIntegerReferenceRule()); } - iv_ruleIntegerReference=ruleIntegerReference - { $current=$iv_ruleIntegerReference.current; } - EOF; - -// Rule IntegerReference -ruleIntegerReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), - $current); - } - ) - otherlv_1='int' - { - newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); - } - ) -; - -// Entry rule entryRuleRealReference -entryRuleRealReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getRealReferenceRule()); } - iv_ruleRealReference=ruleRealReference - { $current=$iv_ruleRealReference.current; } - EOF; - -// Rule RealReference -ruleRealReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), - $current); - } - ) - otherlv_1='real' - { - newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); - } - ) -; - -// Entry rule entryRuleStringReference -entryRuleStringReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getStringReferenceRule()); } - iv_ruleStringReference=ruleStringReference - { $current=$iv_ruleStringReference.current; } - EOF; - -// Rule StringReference -ruleStringReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), - $current); - } - ) - otherlv_1='string' - { - newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); - } - ) -; - -// Entry rule entryRuleExactNumber -entryRuleExactNumber returns [EObject current=null]: - { newCompositeNode(grammarAccess.getExactNumberRule()); } - iv_ruleExactNumber=ruleExactNumber - { $current=$iv_ruleExactNumber.current; } - EOF; - -// Rule ExactNumber -ruleExactNumber returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - lv_exactNumber_0_0=RULE_INT - { - 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"); - } - ) - ) - | - ( - ( - lv_exactUnlimited_1_0='*' - { - newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getExactNumberRule()); - } - setWithLastConsumed($current, "exactUnlimited", true, "*"); - } - ) - ) - ) -; - -// Entry rule entryRuleIntervallNumber -entryRuleIntervallNumber returns [EObject current=null]: - { newCompositeNode(grammarAccess.getIntervallNumberRule()); } - iv_ruleIntervallNumber=ruleIntervallNumber - { $current=$iv_ruleIntervallNumber.current; } - EOF; - -// Rule IntervallNumber -ruleIntervallNumber returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - lv_min_0_0=RULE_INT - { - 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='..' - { - newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); - } - ( - ( - ( - lv_maxNumber_2_0=RULE_INT - { - 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"); - } - ) - ) - | - ( - ( - lv_maxUnlimited_3_0='*' - { - newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getIntervallNumberRule()); - } - setWithLastConsumed($current, "maxUnlimited", true, "*"); - } - ) - ) - ) - ) -; - -// Entry rule entryRuleIntEnumberation -entryRuleIntEnumberation returns [EObject current=null]: - { newCompositeNode(grammarAccess.getIntEnumberationRule()); } - iv_ruleIntEnumberation=ruleIntEnumberation - { $current=$iv_ruleIntEnumberation.current; } - EOF; - -// Rule IntEnumberation -ruleIntEnumberation returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(), - $current); - } - ) - otherlv_1='{' - { - newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); - } - ( - ( - ( - { - newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); - } - lv_entry_2_0=ruleINTLiteral - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); - } - add( - $current, - "entry", - lv_entry_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_3=',' - { - newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); - } - lv_entry_4_0=ruleINTLiteral - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); - } - add( - $current, - "entry", - lv_entry_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - )? - otherlv_5='}' - { - newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); - } - ) -; - -// Entry rule entryRuleRealEnumeration -entryRuleRealEnumeration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getRealEnumerationRule()); } - iv_ruleRealEnumeration=ruleRealEnumeration - { $current=$iv_ruleRealEnumeration.current; } - EOF; - -// Rule RealEnumeration -ruleRealEnumeration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(), - $current); - } - ) - otherlv_1='{' - { - newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); - } - ( - ( - ( - { - newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); - } - lv_entry_2_0=ruleREALLiteral - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); - } - add( - $current, - "entry", - lv_entry_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_3=',' - { - newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); - } - lv_entry_4_0=ruleREALLiteral - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); - } - add( - $current, - "entry", - lv_entry_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - )? - otherlv_5='}' - { - newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); - } - ) -; - -// Entry rule entryRuleStringEnumeration -entryRuleStringEnumeration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getStringEnumerationRule()); } - iv_ruleStringEnumeration=ruleStringEnumeration - { $current=$iv_ruleStringEnumeration.current; } - EOF; - -// Rule StringEnumeration -ruleStringEnumeration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(), - $current); - } - ) - otherlv_1='{' - { - newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); - } - ( - ( - ( - lv_entry_2_0=RULE_STRING - { - 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"); - } - ) - ) - ( - otherlv_3=',' - { - newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); - } - ( - ( - lv_entry_4_0=RULE_STRING - { - 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"); - } - ) - ) - )* - )? - otherlv_5='}' - { - newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); - } - ) -; - -// Entry rule entryRuleScopeDeclaration -entryRuleScopeDeclaration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getScopeDeclarationRule()); } - iv_ruleScopeDeclaration=ruleScopeDeclaration - { $current=$iv_ruleScopeDeclaration.current; } - EOF; - -// Rule ScopeDeclaration -ruleScopeDeclaration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='scope' - { - newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); - } - ( - ( - lv_name_1_0=RULE_ID - { - 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"); - } - ) - ) - ( - ( - { - newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); - } - lv_specification_2_0=ruleScopeSpecification - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); - } - set( - $current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleScopeReference -entryRuleScopeReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getScopeReferenceRule()); } - iv_ruleScopeReference=ruleScopeReference - { $current=$iv_ruleScopeReference.current; } - EOF; - -// Rule ScopeReference -ruleScopeReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getScopeReferenceRule()); - } - } - otherlv_0=RULE_ID - { - newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); - } - ) - ) -; - -// Entry rule entryRuleScope -entryRuleScope returns [EObject current=null]: - { newCompositeNode(grammarAccess.getScopeRule()); } - iv_ruleScope=ruleScope - { $current=$iv_ruleScope.current; } - EOF; - -// Rule Scope -ruleScope returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); - } - this_ScopeSpecification_0=ruleScopeSpecification - { - $current = $this_ScopeSpecification_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); - } - this_ScopeReference_1=ruleScopeReference - { - $current = $this_ScopeReference_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleTask -entryRuleTask returns [EObject current=null]: - { newCompositeNode(grammarAccess.getTaskRule()); } - iv_ruleTask=ruleTask - { $current=$iv_ruleTask.current; } - EOF; - -// Rule Task -ruleTask returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - { - newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); - } - this_GenerationTask_0=ruleGenerationTask - { - $current = $this_GenerationTask_0.current; - afterParserOrEnumRuleCall(); - } -; - -// Entry rule entryRuleGenerationTask -entryRuleGenerationTask returns [EObject current=null]: - { newCompositeNode(grammarAccess.getGenerationTaskRule()); } - iv_ruleGenerationTask=ruleGenerationTask - { $current=$iv_ruleGenerationTask.current; } - EOF; - -// Rule GenerationTask -ruleGenerationTask returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='generate' - { - newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); - } - ( - { - $current = forceCreateModelElement( - grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), - $current); - } - ) - otherlv_2='{' - { - newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); - } - ( - ( - { - getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ( - ( - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); - } - ({true}?=>(otherlv_4='metamodel' - { - newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); - } - otherlv_5='=' - { - newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); - } - lv_metamodel_6_0=ruleMetamodel - { - 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()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); - } - ({true}?=>(otherlv_7='partial-model' - { - newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); - } - otherlv_8='=' - { - newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); - } - lv_partialModel_9_0=rulePartialModel - { - 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()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); - } - ({true}?=>(otherlv_10='constraints' - { - newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); - } - otherlv_11='=' - { - newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); - } - lv_patterns_12_0=ruleGraphPattern - { - 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()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); - } - ({true}?=>(otherlv_13='scope' - { - newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); - } - otherlv_14='=' - { - newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); - } - lv_scope_15_0=ruleScope - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - $current, - "scope", - lv_scope_15_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); - afterParserOrEnumRuleCall(); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); - } - ({true}?=>(( - ( - lv_numberSpecified_16_0='number' - { - newLeafNode(lv_numberSpecified_16_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed($current, "numberSpecified", true, "number"); - } - ) - ) - otherlv_17='=' - { - newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); - } - ( - ( - lv_number_18_0=RULE_INT - { - newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed( - $current, - "number", - lv_number_18_0, - "org.eclipse.xtext.common.Terminals.INT"); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); - } - ({true}?=>(( - ( - lv_runSpecified_19_0='runs' - { - newLeafNode(lv_runSpecified_19_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed($current, "runSpecified", true, "runs"); - } - ) - ) - otherlv_20='=' - { - newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); - } - ( - ( - lv_runs_21_0=RULE_INT - { - newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed( - $current, - "runs", - lv_runs_21_0, - "org.eclipse.xtext.common.Terminals.INT"); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); - } - ({true}?=>(otherlv_22='solver' - { - newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); - } - otherlv_23='=' - { - newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); - } - lv_solver_24_0=ruleSolver - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - $current, - "solver", - lv_solver_24_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); - afterParserOrEnumRuleCall(); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); - } - ({true}?=>(otherlv_25='config' - { - newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); - } - otherlv_26='=' - { - newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); - } - lv_config_27_0=ruleConfig - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - $current, - "config", - lv_config_27_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); - afterParserOrEnumRuleCall(); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); - } - ({true}?=>(otherlv_28='debug' - { - newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_8_0()); - } - otherlv_29='=' - { - newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_8_2_0()); - } - lv_debugFolder_30_0=ruleFile - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - $current, - "debugFolder", - lv_debugFolder_30_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); - } - ({true}?=>(otherlv_31='log' - { - newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_9_0()); - } - otherlv_32='=' - { - newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_9_2_0()); - } - lv_targetLogFile_33_0=ruleFile - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - $current, - "targetLogFile", - lv_targetLogFile_33_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); - } - ({true}?=>(otherlv_34='statistics' - { - newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_10_0()); - } - otherlv_35='=' - { - newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_10_2_0()); - } - lv_targetStatisticsFile_36_0=ruleFile - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - $current, - "targetStatisticsFile", - lv_targetStatisticsFile_36_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); - } - ({true}?=>(otherlv_37='output' - { - newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_11_0()); - } - otherlv_38='=' - { - newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_11_2_0()); - } - lv_tagetFolder_39_0=ruleFile - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - $current, - "tagetFolder", - lv_tagetFolder_39_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - ) - )* - ) - ) - { - getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - otherlv_40='}' - { - newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); - } - ) -; - -// Rule DocumentLevelSpecification -ruleDocumentLevelSpecification returns [Enumerator current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - enumLiteral_0='none' - { - $current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); - } - ) - | - ( - enumLiteral_1='normal' - { - $current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); - } - ) - | - ( - enumLiteral_2='full' - { - $current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); - } - ) - ) -; - -// Rule Solver -ruleSolver returns [Enumerator current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - enumLiteral_0='SMTSolver' - { - $current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); - } - ) - | - ( - enumLiteral_1='AlloySolver' - { - $current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); - } - ) - | - ( - enumLiteral_2='ViatraSolver' - { - $current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); - } - ) - ) -; - -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; - -RULE_INT : ('0'..'9')+; - -RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\''); - -RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; - -RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; - -RULE_WS : (' '|'\t'|'\r'|'\n')+; - -RULE_ANY_OTHER : .; +/* + * generated by Xtext 2.16.0 + */ +grammar InternalApplicationConfiguration; + +options { + superClass=AbstractInternalAntlrParser; +} + +@lexer::header { +package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.parser.antlr.Lexer; +} + +@parser::header { +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; + +} + +@parser::members { + + 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; + } + +} + +@rulecatch { + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } +} + +// Entry rule entryRuleConfigurationScript +entryRuleConfigurationScript returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConfigurationScriptRule()); } + iv_ruleConfigurationScript=ruleConfigurationScript + { $current=$iv_ruleConfigurationScript.current; } + EOF; + +// Rule ConfigurationScript +ruleConfigurationScript returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); + } + lv_imports_0_0=ruleImport + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); + } + add( + $current, + "imports", + lv_imports_0_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); + afterParserOrEnumRuleCall(); + } + ) + )* + ( + ( + { + newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); + } + lv_commands_1_0=ruleCommand + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); + } + add( + $current, + "commands", + lv_commands_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); + afterParserOrEnumRuleCall(); + } + ) + )* + ) +; + +// Entry rule entryRuleCommand +entryRuleCommand returns [EObject current=null]: + { newCompositeNode(grammarAccess.getCommandRule()); } + iv_ruleCommand=ruleCommand + { $current=$iv_ruleCommand.current; } + EOF; + +// Rule Command +ruleCommand returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); + } + this_Declaration_0=ruleDeclaration + { + $current = $this_Declaration_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); + } + this_Task_1=ruleTask + { + $current = $this_Task_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleQualifiedName +entryRuleQualifiedName returns [String current=null]: + { newCompositeNode(grammarAccess.getQualifiedNameRule()); } + iv_ruleQualifiedName=ruleQualifiedName + { $current=$iv_ruleQualifiedName.current.getText(); } + EOF; + +// Rule QualifiedName +ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + this_ID_0=RULE_ID + { + $current.merge(this_ID_0); + } + { + newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); + } + ( + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); + } + this_ID_2=RULE_ID + { + $current.merge(this_ID_2); + } + { + newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); + } + )* + ) +; + +// Entry rule entryRuleREALLiteral +entryRuleREALLiteral returns [String current=null]: + { newCompositeNode(grammarAccess.getREALLiteralRule()); } + iv_ruleREALLiteral=ruleREALLiteral + { $current=$iv_ruleREALLiteral.current.getText(); } + EOF; + +// Rule REALLiteral +ruleREALLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + kw='-' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); + } + )? + this_INT_1=RULE_INT + { + $current.merge(this_INT_1); + } + { + newLeafNode(this_INT_1, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); + } + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); + } + this_INT_3=RULE_INT + { + $current.merge(this_INT_3); + } + { + newLeafNode(this_INT_3, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); + } + ) +; + +// Entry rule entryRuleINTLiteral +entryRuleINTLiteral returns [String current=null]: + { newCompositeNode(grammarAccess.getINTLiteralRule()); } + iv_ruleINTLiteral=ruleINTLiteral + { $current=$iv_ruleINTLiteral.current.getText(); } + EOF; + +// Rule INTLiteral +ruleINTLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + kw='-' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); + } + )? + this_INT_1=RULE_INT + { + $current.merge(this_INT_1); + } + { + newLeafNode(this_INT_1, grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); + } + ) +; + +// Entry rule entryRuleImport +entryRuleImport returns [EObject current=null]: + { newCompositeNode(grammarAccess.getImportRule()); } + iv_ruleImport=ruleImport + { $current=$iv_ruleImport.current; } + EOF; + +// Rule Import +ruleImport returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); + } + this_EPackageImport_0=ruleEPackageImport + { + $current = $this_EPackageImport_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); + } + this_ViatraImport_1=ruleViatraImport + { + $current = $this_ViatraImport_1.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getImportAccess().getCftImportParserRuleCall_2()); + } + this_CftImport_2=ruleCftImport + { + $current = $this_CftImport_2.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleEPackageImport +entryRuleEPackageImport returns [EObject current=null]: + { newCompositeNode(grammarAccess.getEPackageImportRule()); } + iv_ruleEPackageImport=ruleEPackageImport + { $current=$iv_ruleEPackageImport.current; } + EOF; + +// Rule EPackageImport +ruleEPackageImport returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='import' + { + newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); + } + otherlv_1='epackage' + { + newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEPackageImportRule()); + } + } + otherlv_2=RULE_STRING + { + newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); + } + ) + ) + ) +; + +// Entry rule entryRuleViatraImport +entryRuleViatraImport returns [EObject current=null]: + { newCompositeNode(grammarAccess.getViatraImportRule()); } + iv_ruleViatraImport=ruleViatraImport + { $current=$iv_ruleViatraImport.current; } + EOF; + +// Rule ViatraImport +ruleViatraImport returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='import' + { + newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); + } + otherlv_1='viatra' + { + newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getViatraImportRule()); + } + } + otherlv_2=RULE_STRING + { + newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); + } + ) + ) + ) +; + +// Entry rule entryRuleCftImport +entryRuleCftImport returns [EObject current=null]: + { newCompositeNode(grammarAccess.getCftImportRule()); } + iv_ruleCftImport=ruleCftImport + { $current=$iv_ruleCftImport.current; } + EOF; + +// Rule CftImport +ruleCftImport returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='import' + { + newLeafNode(otherlv_0, grammarAccess.getCftImportAccess().getImportKeyword_0()); + } + otherlv_1='reliability' + { + newLeafNode(otherlv_1, grammarAccess.getCftImportAccess().getReliabilityKeyword_1()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getCftImportRule()); + } + } + otherlv_2=RULE_STRING + { + newLeafNode(otherlv_2, grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0()); + } + ) + ) + ) +; + +// Entry rule entryRuleDeclaration +entryRuleDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getDeclarationRule()); } + iv_ruleDeclaration=ruleDeclaration + { $current=$iv_ruleDeclaration.current; } + EOF; + +// Rule Declaration +ruleDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); + } + this_FileDeclaration_0=ruleFileDeclaration + { + $current = $this_FileDeclaration_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); + } + this_MetamodelDeclaration_1=ruleMetamodelDeclaration + { + $current = $this_MetamodelDeclaration_1.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); + } + this_PartialModelDeclaration_2=rulePartialModelDeclaration + { + $current = $this_PartialModelDeclaration_2.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); + } + this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration + { + $current = $this_GraphPatternDeclaration_3.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); + } + this_ConfigDeclaration_4=ruleConfigDeclaration + { + $current = $this_ConfigDeclaration_4.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); + } + this_ScopeDeclaration_5=ruleScopeDeclaration + { + $current = $this_ScopeDeclaration_5.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getDeclarationAccess().getObjectiveDeclarationParserRuleCall_6()); + } + this_ObjectiveDeclaration_6=ruleObjectiveDeclaration + { + $current = $this_ObjectiveDeclaration_6.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleFileSpecification +entryRuleFileSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getFileSpecificationRule()); } + iv_ruleFileSpecification=ruleFileSpecification + { $current=$iv_ruleFileSpecification.current; } + EOF; + +// Rule FileSpecification +ruleFileSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + lv_path_0_0=RULE_STRING + { + 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"); + } + ) + ) +; + +// Entry rule entryRuleFileDeclaration +entryRuleFileDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getFileDeclarationRule()); } + iv_ruleFileDeclaration=ruleFileDeclaration + { $current=$iv_ruleFileDeclaration.current; } + EOF; + +// Rule FileDeclaration +ruleFileDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='file' + { + newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + 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='=' + { + newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); + } + ( + ( + { + newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); + } + lv_specification_3_0=ruleFileSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleFileReference +entryRuleFileReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getFileReferenceRule()); } + iv_ruleFileReference=ruleFileReference + { $current=$iv_ruleFileReference.current; } + EOF; + +// Rule FileReference +ruleFileReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getFileReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRuleFile +entryRuleFile returns [EObject current=null]: + { newCompositeNode(grammarAccess.getFileRule()); } + iv_ruleFile=ruleFile + { $current=$iv_ruleFile.current; } + EOF; + +// Rule File +ruleFile returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); + } + this_FileSpecification_0=ruleFileSpecification + { + $current = $this_FileSpecification_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); + } + this_FileReference_1=ruleFileReference + { + $current = $this_FileReference_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleMetamodelSpecification +entryRuleMetamodelSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); } + iv_ruleMetamodelSpecification=ruleMetamodelSpecification + { $current=$iv_ruleMetamodelSpecification.current; } + EOF; + +// Rule MetamodelSpecification +ruleMetamodelSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='{' + { + newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); + } + lv_entries_1_0=ruleMetamodelEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2=',' + { + newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); + } + lv_entries_3_0=ruleMetamodelEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_4='}' + { + newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleMetamodelEntry +entryRuleMetamodelEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getMetamodelEntryRule()); } + iv_ruleMetamodelEntry=ruleMetamodelEntry + { $current=$iv_ruleMetamodelEntry.current; } + EOF; + +// Rule MetamodelEntry +ruleMetamodelEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); + } + this_MetamodelElement_0=ruleMetamodelElement + { + $current = $this_MetamodelElement_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); + } + this_AllPackageEntry_1=ruleAllPackageEntry + { + $current = $this_AllPackageEntry_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleAllPackageEntry +entryRuleAllPackageEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getAllPackageEntryRule()); } + iv_ruleAllPackageEntry=ruleAllPackageEntry + { $current=$iv_ruleAllPackageEntry.current; } + EOF; + +// Rule AllPackageEntry +ruleAllPackageEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='package' + { + newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAllPackageEntryRule()); + } + } + { + newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2='excluding' + { + newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); + } + otherlv_3='{' + { + newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); + } + lv_exclusion_4_0=ruleMetamodelElement + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); + } + add( + $current, + "exclusion", + lv_exclusion_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_5=',' + { + newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); + } + lv_exclusion_6_0=ruleMetamodelElement + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); + } + add( + $current, + "exclusion", + lv_exclusion_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_7='}' + { + newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); + } + )? + ) +; + +// Entry rule entryRuleMetamodelElement +entryRuleMetamodelElement returns [EObject current=null]: + { newCompositeNode(grammarAccess.getMetamodelElementRule()); } + iv_ruleMetamodelElement=ruleMetamodelElement + { $current=$iv_ruleMetamodelElement.current; } + EOF; + +// Rule MetamodelElement +ruleMetamodelElement returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMetamodelElementRule()); + } + } + { + newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_1='::' + { + newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); + } + )? + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMetamodelElementRule()); + } + } + otherlv_2=RULE_ID + { + newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); + } + ) + ) + ( + otherlv_3='.' + { + newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMetamodelElementRule()); + } + } + otherlv_4=RULE_ID + { + newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); + } + ) + ) + )? + ) +; + +// Entry rule entryRuleMetamodelDeclaration +entryRuleMetamodelDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); } + iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration + { $current=$iv_ruleMetamodelDeclaration.current; } + EOF; + +// Rule MetamodelDeclaration +ruleMetamodelDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='metamodel' + { + newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + 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"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); + } + lv_specification_2_0=ruleMetamodelSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleMetamodelReference +entryRuleMetamodelReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getMetamodelReferenceRule()); } + iv_ruleMetamodelReference=ruleMetamodelReference + { $current=$iv_ruleMetamodelReference.current; } + EOF; + +// Rule MetamodelReference +ruleMetamodelReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMetamodelReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRuleMetamodel +entryRuleMetamodel returns [EObject current=null]: + { newCompositeNode(grammarAccess.getMetamodelRule()); } + iv_ruleMetamodel=ruleMetamodel + { $current=$iv_ruleMetamodel.current; } + EOF; + +// Rule Metamodel +ruleMetamodel returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); + } + this_MetamodelReference_0=ruleMetamodelReference + { + $current = $this_MetamodelReference_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); + } + this_MetamodelSpecification_1=ruleMetamodelSpecification + { + $current = $this_MetamodelSpecification_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRulePartialModelSpecification +entryRulePartialModelSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); } + iv_rulePartialModelSpecification=rulePartialModelSpecification + { $current=$iv_rulePartialModelSpecification.current; } + EOF; + +// Rule PartialModelSpecification +rulePartialModelSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='{' + { + newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); + } + lv_entry_1_0=rulePartialModelEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); + } + add( + $current, + "entry", + lv_entry_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2=',' + { + newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); + } + lv_entry_3_0=rulePartialModelEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); + } + add( + $current, + "entry", + lv_entry_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + )? + otherlv_4='}' + { + newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRulePartialModelEntry +entryRulePartialModelEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPartialModelEntryRule()); } + iv_rulePartialModelEntry=rulePartialModelEntry + { $current=$iv_rulePartialModelEntry.current; } + EOF; + +// Rule PartialModelEntry +rulePartialModelEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); + } + this_ModelEntry_0=ruleModelEntry + { + $current = $this_ModelEntry_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); + } + this_FolderEntry_1=ruleFolderEntry + { + $current = $this_FolderEntry_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleModelEntry +entryRuleModelEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getModelEntryRule()); } + iv_ruleModelEntry=ruleModelEntry + { $current=$iv_ruleModelEntry.current; } + EOF; + +// Rule ModelEntry +ruleModelEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); + } + lv_path_0_0=ruleFile + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelEntryRule()); + } + set( + $current, + "path", + lv_path_0_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } + ) + ) +; + +// Entry rule entryRuleFolderEntry +entryRuleFolderEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getFolderEntryRule()); } + iv_ruleFolderEntry=ruleFolderEntry + { $current=$iv_ruleFolderEntry.current; } + EOF; + +// Rule FolderEntry +ruleFolderEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='folder' + { + newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); + } + lv_path_1_0=ruleFile + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + set( + $current, + "path", + lv_path_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2='excluding' + { + newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); + } + otherlv_3='{' + { + newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); + } + lv_exclusion_4_0=ruleModelEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + add( + $current, + "exclusion", + lv_exclusion_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_5=',' + { + newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); + } + lv_exclusion_6_0=ruleModelEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + add( + $current, + "exclusion", + lv_exclusion_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_7='}' + { + newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); + } + )? + ) +; + +// Entry rule entryRulePartialModelDeclaration +entryRulePartialModelDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); } + iv_rulePartialModelDeclaration=rulePartialModelDeclaration + { $current=$iv_rulePartialModelDeclaration.current; } + EOF; + +// Rule PartialModelDeclaration +rulePartialModelDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='models' + { + newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + 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"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); + } + lv_specification_2_0=rulePartialModelSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRulePartialModelReference +entryRulePartialModelReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPartialModelReferenceRule()); } + iv_rulePartialModelReference=rulePartialModelReference + { $current=$iv_rulePartialModelReference.current; } + EOF; + +// Rule PartialModelReference +rulePartialModelReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPartialModelReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRulePartialModel +entryRulePartialModel returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPartialModelRule()); } + iv_rulePartialModel=rulePartialModel + { $current=$iv_rulePartialModel.current; } + EOF; + +// Rule PartialModel +rulePartialModel returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); + } + this_PartialModelSpecification_0=rulePartialModelSpecification + { + $current = $this_PartialModelSpecification_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); + } + this_PartialModelReference_1=rulePartialModelReference + { + $current = $this_PartialModelReference_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRulePatternSpecification +entryRulePatternSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPatternSpecificationRule()); } + iv_rulePatternSpecification=rulePatternSpecification + { $current=$iv_rulePatternSpecification.current; } + EOF; + +// Rule PatternSpecification +rulePatternSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='{' + { + newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); + } + lv_entries_1_0=rulePatternEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2=',' + { + newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); + } + lv_entries_3_0=rulePatternEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_4='}' + { + newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRulePatternEntry +entryRulePatternEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPatternEntryRule()); } + iv_rulePatternEntry=rulePatternEntry + { $current=$iv_rulePatternEntry.current; } + EOF; + +// Rule PatternEntry +rulePatternEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); + } + this_PatternElement_0=rulePatternElement + { + $current = $this_PatternElement_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); + } + this_AllPatternEntry_1=ruleAllPatternEntry + { + $current = $this_AllPatternEntry_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleAllPatternEntry +entryRuleAllPatternEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getAllPatternEntryRule()); } + iv_ruleAllPatternEntry=ruleAllPatternEntry + { $current=$iv_ruleAllPatternEntry.current; } + EOF; + +// Rule AllPatternEntry +ruleAllPatternEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='package' + { + newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAllPatternEntryRule()); + } + } + { + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2='excluding' + { + newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); + } + otherlv_3='{' + { + newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); + } + lv_exclusuion_4_0=rulePatternElement + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); + } + add( + $current, + "exclusuion", + lv_exclusuion_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_5=',' + { + newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); + } + lv_exclusuion_6_0=rulePatternElement + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); + } + add( + $current, + "exclusuion", + lv_exclusuion_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_7='}' + { + newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); + } + )? + ) +; + +// Entry rule entryRulePatternElement +entryRulePatternElement returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPatternElementRule()); } + iv_rulePatternElement=rulePatternElement + { $current=$iv_rulePatternElement.current; } + EOF; + +// Rule PatternElement +rulePatternElement returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPatternElementRule()); + } + } + { + newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_1='::' + { + newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); + } + )? + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPatternElementRule()); + } + } + otherlv_2=RULE_ID + { + newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); + } + ) + ) + ) +; + +// Entry rule entryRuleGraphPatternDeclaration +entryRuleGraphPatternDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); } + iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration + { $current=$iv_ruleGraphPatternDeclaration.current; } + EOF; + +// Rule GraphPatternDeclaration +ruleGraphPatternDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='constraints' + { + newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + 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"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); + } + lv_specification_2_0=rulePatternSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleGraphPatternReference +entryRuleGraphPatternReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); } + iv_ruleGraphPatternReference=ruleGraphPatternReference + { $current=$iv_ruleGraphPatternReference.current; } + EOF; + +// Rule GraphPatternReference +ruleGraphPatternReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRuleGraphPattern +entryRuleGraphPattern returns [EObject current=null]: + { newCompositeNode(grammarAccess.getGraphPatternRule()); } + iv_ruleGraphPattern=ruleGraphPattern + { $current=$iv_ruleGraphPattern.current; } + EOF; + +// Rule GraphPattern +ruleGraphPattern returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); + } + this_GraphPatternReference_0=ruleGraphPatternReference + { + $current = $this_GraphPatternReference_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); + } + this_PatternSpecification_1=rulePatternSpecification + { + $current = $this_PatternSpecification_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleObjectiveSpecification +entryRuleObjectiveSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectiveSpecificationRule()); } + iv_ruleObjectiveSpecification=ruleObjectiveSpecification + { $current=$iv_ruleObjectiveSpecification.current; } + EOF; + +// Rule ObjectiveSpecification +ruleObjectiveSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='{' + { + newLeafNode(otherlv_0, grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_1_0()); + } + lv_entries_1_0=ruleObjectiveEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2=',' + { + newLeafNode(otherlv_2, grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_2_1_0()); + } + lv_entries_3_0=ruleObjectiveEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_4='}' + { + newLeafNode(otherlv_4, grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleObjectiveEntry +entryRuleObjectiveEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectiveEntryRule()); } + iv_ruleObjectiveEntry=ruleObjectiveEntry + { $current=$iv_ruleObjectiveEntry.current; } + EOF; + +// Rule ObjectiveEntry +ruleObjectiveEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getObjectiveEntryAccess().getOptimizationEntryParserRuleCall_0()); + } + this_OptimizationEntry_0=ruleOptimizationEntry + { + $current = $this_OptimizationEntry_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getObjectiveEntryAccess().getThresholdEntryParserRuleCall_1()); + } + this_ThresholdEntry_1=ruleThresholdEntry + { + $current = $this_ThresholdEntry_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleOptimizationEntry +entryRuleOptimizationEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getOptimizationEntryRule()); } + iv_ruleOptimizationEntry=ruleOptimizationEntry + { $current=$iv_ruleOptimizationEntry.current; } + EOF; + +// Rule OptimizationEntry +ruleOptimizationEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0()); + } + lv_direction_0_0=ruleOptimizationDirection + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getOptimizationEntryRule()); + } + set( + $current, + "direction", + lv_direction_0_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.OptimizationDirection"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0()); + } + lv_function_1_0=ruleObjectiveFunction + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getOptimizationEntryRule()); + } + set( + $current, + "function", + lv_function_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleThresholdEntry +entryRuleThresholdEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getThresholdEntryRule()); } + iv_ruleThresholdEntry=ruleThresholdEntry + { $current=$iv_ruleThresholdEntry.current; } + EOF; + +// Rule ThresholdEntry +ruleThresholdEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0()); + } + lv_function_0_0=ruleObjectiveFunction + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getThresholdEntryRule()); + } + set( + $current, + "function", + lv_function_0_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0()); + } + lv_operator_1_0=ruleComparisonOperator + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getThresholdEntryRule()); + } + set( + $current, + "operator", + lv_operator_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ComparisonOperator"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0()); + } + lv_threshold_2_0=ruleREALLiteral + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getThresholdEntryRule()); + } + set( + $current, + "threshold", + lv_threshold_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleObjectiveFunction +entryRuleObjectiveFunction returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectiveFunctionRule()); } + iv_ruleObjectiveFunction=ruleObjectiveFunction + { $current=$iv_ruleObjectiveFunction.current; } + EOF; + +// Rule ObjectiveFunction +ruleObjectiveFunction returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + { + newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getReliabiltiyFunctionParserRuleCall()); + } + this_ReliabiltiyFunction_0=ruleReliabiltiyFunction + { + $current = $this_ReliabiltiyFunction_0.current; + afterParserOrEnumRuleCall(); + } +; + +// Entry rule entryRuleReliabiltiyFunction +entryRuleReliabiltiyFunction returns [EObject current=null]: + { newCompositeNode(grammarAccess.getReliabiltiyFunctionRule()); } + iv_ruleReliabiltiyFunction=ruleReliabiltiyFunction + { $current=$iv_ruleReliabiltiyFunction.current; } + EOF; + +// Rule ReliabiltiyFunction +ruleReliabiltiyFunction returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='reliability' + { + newLeafNode(otherlv_0, grammarAccess.getReliabiltiyFunctionAccess().getReliabilityKeyword_0()); + } + ( + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getReliabiltiyFunctionRule()); + } + } + { + newCompositeNode(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelCrossReference_1_0_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_2='::' + { + newLeafNode(otherlv_2, grammarAccess.getReliabiltiyFunctionAccess().getColonColonKeyword_1_1()); + } + )? + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getReliabiltiyFunctionRule()); + } + } + otherlv_3=RULE_ID + { + newLeafNode(otherlv_3, grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionCrossReference_2_0()); + } + ) + ) + ) +; + +// Entry rule entryRuleObjectiveDeclaration +entryRuleObjectiveDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectiveDeclarationRule()); } + iv_ruleObjectiveDeclaration=ruleObjectiveDeclaration + { $current=$iv_ruleObjectiveDeclaration.current; } + EOF; + +// Rule ObjectiveDeclaration +ruleObjectiveDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='objectives' + { + newLeafNode(otherlv_0, grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + 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"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0()); + } + lv_specification_2_0=ruleObjectiveSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getObjectiveDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleObjectiveReference +entryRuleObjectiveReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectiveReferenceRule()); } + iv_ruleObjectiveReference=ruleObjectiveReference + { $current=$iv_ruleObjectiveReference.current; } + EOF; + +// Rule ObjectiveReference +ruleObjectiveReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getObjectiveReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRuleObjective +entryRuleObjective returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectiveRule()); } + iv_ruleObjective=ruleObjective + { $current=$iv_ruleObjective.current; } + EOF; + +// Rule Objective +ruleObjective returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0()); + } + this_ObjectiveReference_0=ruleObjectiveReference + { + $current = $this_ObjectiveReference_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1()); + } + this_ObjectiveSpecification_1=ruleObjectiveSpecification + { + $current = $this_ObjectiveSpecification_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleConfigSpecification +entryRuleConfigSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConfigSpecificationRule()); } + iv_ruleConfigSpecification=ruleConfigSpecification + { $current=$iv_ruleConfigSpecification.current; } + EOF; + +// Rule ConfigSpecification +ruleConfigSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), + $current); + } + ) + otherlv_1='{' + { + newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); + } + lv_entries_2_0=ruleConfigEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_3=',' + { + newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); + } + lv_entries_4_0=ruleConfigEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + )? + otherlv_5='}' + { + newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleConfigDeclaration +entryRuleConfigDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConfigDeclarationRule()); } + iv_ruleConfigDeclaration=ruleConfigDeclaration + { $current=$iv_ruleConfigDeclaration.current; } + EOF; + +// Rule ConfigDeclaration +ruleConfigDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='config' + { + newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + 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"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); + } + lv_specification_2_0=ruleConfigSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleConfigEntry +entryRuleConfigEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConfigEntryRule()); } + iv_ruleConfigEntry=ruleConfigEntry + { $current=$iv_ruleConfigEntry.current; } + EOF; + +// Rule ConfigEntry +ruleConfigEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); + } + this_DocumentationEntry_0=ruleDocumentationEntry + { + $current = $this_DocumentationEntry_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); + } + this_RuntimeEntry_1=ruleRuntimeEntry + { + $current = $this_RuntimeEntry_1.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); + } + this_MemoryEntry_2=ruleMemoryEntry + { + $current = $this_MemoryEntry_2.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); + } + this_CustomEntry_3=ruleCustomEntry + { + $current = $this_CustomEntry_3.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleDocumentationEntry +entryRuleDocumentationEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getDocumentationEntryRule()); } + iv_ruleDocumentationEntry=ruleDocumentationEntry + { $current=$iv_ruleDocumentationEntry.current; } + EOF; + +// Rule DocumentationEntry +ruleDocumentationEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='log-level' + { + newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); + } + otherlv_1='=' + { + newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); + } + lv_level_2_0=ruleDocumentLevelSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getDocumentationEntryRule()); + } + set( + $current, + "level", + lv_level_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleRuntimeEntry +entryRuleRuntimeEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getRuntimeEntryRule()); } + iv_ruleRuntimeEntry=ruleRuntimeEntry + { $current=$iv_ruleRuntimeEntry.current; } + EOF; + +// Rule RuntimeEntry +ruleRuntimeEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='runtime' + { + newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); + } + otherlv_1='=' + { + newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); + } + ( + ( + lv_millisecLimit_2_0=RULE_INT + { + 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"); + } + ) + ) + ) +; + +// Entry rule entryRuleMemoryEntry +entryRuleMemoryEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getMemoryEntryRule()); } + iv_ruleMemoryEntry=ruleMemoryEntry + { $current=$iv_ruleMemoryEntry.current; } + EOF; + +// Rule MemoryEntry +ruleMemoryEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='memory' + { + newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); + } + otherlv_1='=' + { + newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); + } + ( + ( + lv_megabyteLimit_2_0=RULE_INT + { + 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"); + } + ) + ) + ) +; + +// Entry rule entryRuleCustomEntry +entryRuleCustomEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getCustomEntryRule()); } + iv_ruleCustomEntry=ruleCustomEntry + { $current=$iv_ruleCustomEntry.current; } + EOF; + +// Rule CustomEntry +ruleCustomEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + lv_key_0_0=RULE_STRING + { + 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='=' + { + newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); + } + ( + ( + lv_value_2_0=RULE_STRING + { + 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"); + } + ) + ) + ) +; + +// Entry rule entryRuleConfigReference +entryRuleConfigReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConfigReferenceRule()); } + iv_ruleConfigReference=ruleConfigReference + { $current=$iv_ruleConfigReference.current; } + EOF; + +// Rule ConfigReference +ruleConfigReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getConfigReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRuleConfig +entryRuleConfig returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConfigRule()); } + iv_ruleConfig=ruleConfig + { $current=$iv_ruleConfig.current; } + EOF; + +// Rule Config +ruleConfig returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); + } + this_ConfigSpecification_0=ruleConfigSpecification + { + $current = $this_ConfigSpecification_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); + } + this_ConfigReference_1=ruleConfigReference + { + $current = $this_ConfigReference_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleScopeSpecification +entryRuleScopeSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getScopeSpecificationRule()); } + iv_ruleScopeSpecification=ruleScopeSpecification + { $current=$iv_ruleScopeSpecification.current; } + EOF; + +// Rule ScopeSpecification +ruleScopeSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), + $current); + } + ) + otherlv_1='{' + { + newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); + } + lv_scopes_2_0=ruleTypeScope + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); + } + add( + $current, + "scopes", + lv_scopes_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_3=',' + { + newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); + } + lv_scopes_4_0=ruleTypeScope + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); + } + add( + $current, + "scopes", + lv_scopes_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + )? + otherlv_5='}' + { + newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleTypeScope +entryRuleTypeScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getTypeScopeRule()); } + iv_ruleTypeScope=ruleTypeScope + { $current=$iv_ruleTypeScope.current; } + EOF; + +// Rule TypeScope +ruleTypeScope returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); + } + this_ClassTypeScope_0=ruleClassTypeScope + { + $current = $this_ClassTypeScope_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); + } + this_ObjectTypeScope_1=ruleObjectTypeScope + { + $current = $this_ObjectTypeScope_1.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); + } + this_IntegerTypeScope_2=ruleIntegerTypeScope + { + $current = $this_IntegerTypeScope_2.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); + } + this_RealTypeScope_3=ruleRealTypeScope + { + $current = $this_RealTypeScope_3.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); + } + this_StringTypeScope_4=ruleStringTypeScope + { + $current = $this_StringTypeScope_4.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleClassTypeScope +entryRuleClassTypeScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getClassTypeScopeRule()); } + iv_ruleClassTypeScope=ruleClassTypeScope + { $current=$iv_ruleClassTypeScope.current; } + EOF; + +// Rule ClassTypeScope +ruleClassTypeScope returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#' + { + newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); + } + lv_type_1_0=ruleClassReference + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); + } + set( + $current, + "type", + lv_type_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + ( + lv_setsNew_2_0='+=' + { + newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getClassTypeScopeRule()); + } + setWithLastConsumed($current, "setsNew", true, "+="); + } + ) + ) + | + ( + ( + lv_setsSum_3_0='=' + { + newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getClassTypeScopeRule()); + } + setWithLastConsumed($current, "setsSum", true, "="); + } + ) + ) + ) + ( + ( + ( + { + newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + } + lv_number_4_0=ruleExactNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); + } + set( + $current, + "number", + lv_number_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + } + lv_number_5_0=ruleIntervallNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); + } + set( + $current, + "number", + lv_number_5_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) +; + +// Entry rule entryRuleObjectTypeScope +entryRuleObjectTypeScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectTypeScopeRule()); } + iv_ruleObjectTypeScope=ruleObjectTypeScope + { $current=$iv_ruleObjectTypeScope.current; } + EOF; + +// Rule ObjectTypeScope +ruleObjectTypeScope returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#' + { + newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); + } + lv_type_1_0=ruleObjectReference + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); + } + set( + $current, + "type", + lv_type_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + ( + lv_setsNew_2_0='+=' + { + newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getObjectTypeScopeRule()); + } + setWithLastConsumed($current, "setsNew", true, "+="); + } + ) + ) + | + ( + ( + lv_setsSum_3_0='=' + { + newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getObjectTypeScopeRule()); + } + setWithLastConsumed($current, "setsSum", true, "="); + } + ) + ) + ) + ( + ( + ( + { + newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + } + lv_number_4_0=ruleExactNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); + } + set( + $current, + "number", + lv_number_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + } + lv_number_5_0=ruleIntervallNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); + } + set( + $current, + "number", + lv_number_5_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) +; + +// Entry rule entryRuleIntegerTypeScope +entryRuleIntegerTypeScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getIntegerTypeScopeRule()); } + iv_ruleIntegerTypeScope=ruleIntegerTypeScope + { $current=$iv_ruleIntegerTypeScope.current; } + EOF; + +// Rule IntegerTypeScope +ruleIntegerTypeScope returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#' + { + newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); + } + lv_type_1_0=ruleIntegerReference + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); + } + set( + $current, + "type", + lv_type_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + ( + lv_setsNew_2_0='+=' + { + newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); + } + setWithLastConsumed($current, "setsNew", true, "+="); + } + ) + ) + | + ( + ( + lv_setsSum_3_0='=' + { + newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); + } + setWithLastConsumed($current, "setsSum", true, "="); + } + ) + ) + ) + ( + ( + ( + { + newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + } + lv_number_4_0=ruleExactNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); + } + set( + $current, + "number", + lv_number_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + } + lv_number_5_0=ruleIntervallNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); + } + set( + $current, + "number", + lv_number_5_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); + } + lv_number_6_0=ruleIntEnumberation + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); + } + set( + $current, + "number", + lv_number_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) +; + +// Entry rule entryRuleRealTypeScope +entryRuleRealTypeScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getRealTypeScopeRule()); } + iv_ruleRealTypeScope=ruleRealTypeScope + { $current=$iv_ruleRealTypeScope.current; } + EOF; + +// Rule RealTypeScope +ruleRealTypeScope returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#' + { + newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); + } + lv_type_1_0=ruleRealReference + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); + } + set( + $current, + "type", + lv_type_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + ( + lv_setsNew_2_0='+=' + { + newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getRealTypeScopeRule()); + } + setWithLastConsumed($current, "setsNew", true, "+="); + } + ) + ) + | + ( + ( + lv_setsSum_3_0='=' + { + newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getRealTypeScopeRule()); + } + setWithLastConsumed($current, "setsSum", true, "="); + } + ) + ) + ) + ( + ( + ( + { + newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + } + lv_number_4_0=ruleExactNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); + } + set( + $current, + "number", + lv_number_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + } + lv_number_5_0=ruleIntervallNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); + } + set( + $current, + "number", + lv_number_5_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); + } + lv_number_6_0=ruleRealEnumeration + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); + } + set( + $current, + "number", + lv_number_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) +; + +// Entry rule entryRuleStringTypeScope +entryRuleStringTypeScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getStringTypeScopeRule()); } + iv_ruleStringTypeScope=ruleStringTypeScope + { $current=$iv_ruleStringTypeScope.current; } + EOF; + +// Rule StringTypeScope +ruleStringTypeScope returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#' + { + newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); + } + lv_type_1_0=ruleStringReference + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); + } + set( + $current, + "type", + lv_type_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + ( + lv_setsNew_2_0='+=' + { + newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getStringTypeScopeRule()); + } + setWithLastConsumed($current, "setsNew", true, "+="); + } + ) + ) + | + ( + ( + lv_setsSum_3_0='=' + { + newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getStringTypeScopeRule()); + } + setWithLastConsumed($current, "setsSum", true, "="); + } + ) + ) + ) + ( + ( + ( + { + newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + } + lv_number_4_0=ruleExactNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); + } + set( + $current, + "number", + lv_number_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + } + lv_number_5_0=ruleIntervallNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); + } + set( + $current, + "number", + lv_number_5_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); + } + lv_number_6_0=ruleStringEnumeration + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); + } + set( + $current, + "number", + lv_number_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) +; + +// Entry rule entryRuleClassReference +entryRuleClassReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getClassReferenceRule()); } + iv_ruleClassReference=ruleClassReference + { $current=$iv_ruleClassReference.current; } + EOF; + +// Rule ClassReference +ruleClassReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='<' + { + newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); + } + lv_element_1_0=ruleMetamodelElement + { + 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='>' + { + newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); + } + ) +; + +// Entry rule entryRuleObjectReference +entryRuleObjectReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectReferenceRule()); } + iv_ruleObjectReference=ruleObjectReference + { $current=$iv_ruleObjectReference.current; } + EOF; + +// Rule ObjectReference +ruleObjectReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), + $current); + } + ) + otherlv_1='node' + { + newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); + } + ) +; + +// Entry rule entryRuleIntegerReference +entryRuleIntegerReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getIntegerReferenceRule()); } + iv_ruleIntegerReference=ruleIntegerReference + { $current=$iv_ruleIntegerReference.current; } + EOF; + +// Rule IntegerReference +ruleIntegerReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), + $current); + } + ) + otherlv_1='int' + { + newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); + } + ) +; + +// Entry rule entryRuleRealReference +entryRuleRealReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getRealReferenceRule()); } + iv_ruleRealReference=ruleRealReference + { $current=$iv_ruleRealReference.current; } + EOF; + +// Rule RealReference +ruleRealReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), + $current); + } + ) + otherlv_1='real' + { + newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); + } + ) +; + +// Entry rule entryRuleStringReference +entryRuleStringReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getStringReferenceRule()); } + iv_ruleStringReference=ruleStringReference + { $current=$iv_ruleStringReference.current; } + EOF; + +// Rule StringReference +ruleStringReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), + $current); + } + ) + otherlv_1='string' + { + newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); + } + ) +; + +// Entry rule entryRuleExactNumber +entryRuleExactNumber returns [EObject current=null]: + { newCompositeNode(grammarAccess.getExactNumberRule()); } + iv_ruleExactNumber=ruleExactNumber + { $current=$iv_ruleExactNumber.current; } + EOF; + +// Rule ExactNumber +ruleExactNumber returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + lv_exactNumber_0_0=RULE_INT + { + 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"); + } + ) + ) + | + ( + ( + lv_exactUnlimited_1_0='*' + { + newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getExactNumberRule()); + } + setWithLastConsumed($current, "exactUnlimited", true, "*"); + } + ) + ) + ) +; + +// Entry rule entryRuleIntervallNumber +entryRuleIntervallNumber returns [EObject current=null]: + { newCompositeNode(grammarAccess.getIntervallNumberRule()); } + iv_ruleIntervallNumber=ruleIntervallNumber + { $current=$iv_ruleIntervallNumber.current; } + EOF; + +// Rule IntervallNumber +ruleIntervallNumber returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + lv_min_0_0=RULE_INT + { + 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='..' + { + newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); + } + ( + ( + ( + lv_maxNumber_2_0=RULE_INT + { + 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"); + } + ) + ) + | + ( + ( + lv_maxUnlimited_3_0='*' + { + newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getIntervallNumberRule()); + } + setWithLastConsumed($current, "maxUnlimited", true, "*"); + } + ) + ) + ) + ) +; + +// Entry rule entryRuleIntEnumberation +entryRuleIntEnumberation returns [EObject current=null]: + { newCompositeNode(grammarAccess.getIntEnumberationRule()); } + iv_ruleIntEnumberation=ruleIntEnumberation + { $current=$iv_ruleIntEnumberation.current; } + EOF; + +// Rule IntEnumberation +ruleIntEnumberation returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(), + $current); + } + ) + otherlv_1='{' + { + newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); + } + lv_entry_2_0=ruleINTLiteral + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); + } + add( + $current, + "entry", + lv_entry_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_3=',' + { + newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); + } + lv_entry_4_0=ruleINTLiteral + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); + } + add( + $current, + "entry", + lv_entry_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + )? + otherlv_5='}' + { + newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleRealEnumeration +entryRuleRealEnumeration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getRealEnumerationRule()); } + iv_ruleRealEnumeration=ruleRealEnumeration + { $current=$iv_ruleRealEnumeration.current; } + EOF; + +// Rule RealEnumeration +ruleRealEnumeration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(), + $current); + } + ) + otherlv_1='{' + { + newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); + } + lv_entry_2_0=ruleREALLiteral + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); + } + add( + $current, + "entry", + lv_entry_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_3=',' + { + newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); + } + lv_entry_4_0=ruleREALLiteral + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); + } + add( + $current, + "entry", + lv_entry_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + )? + otherlv_5='}' + { + newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleStringEnumeration +entryRuleStringEnumeration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getStringEnumerationRule()); } + iv_ruleStringEnumeration=ruleStringEnumeration + { $current=$iv_ruleStringEnumeration.current; } + EOF; + +// Rule StringEnumeration +ruleStringEnumeration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(), + $current); + } + ) + otherlv_1='{' + { + newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); + } + ( + ( + ( + lv_entry_2_0=RULE_STRING + { + 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"); + } + ) + ) + ( + otherlv_3=',' + { + newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); + } + ( + ( + lv_entry_4_0=RULE_STRING + { + 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"); + } + ) + ) + )* + )? + otherlv_5='}' + { + newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleScopeDeclaration +entryRuleScopeDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getScopeDeclarationRule()); } + iv_ruleScopeDeclaration=ruleScopeDeclaration + { $current=$iv_ruleScopeDeclaration.current; } + EOF; + +// Rule ScopeDeclaration +ruleScopeDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='scope' + { + newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + 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"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); + } + lv_specification_2_0=ruleScopeSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleScopeReference +entryRuleScopeReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getScopeReferenceRule()); } + iv_ruleScopeReference=ruleScopeReference + { $current=$iv_ruleScopeReference.current; } + EOF; + +// Rule ScopeReference +ruleScopeReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getScopeReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRuleScope +entryRuleScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getScopeRule()); } + iv_ruleScope=ruleScope + { $current=$iv_ruleScope.current; } + EOF; + +// Rule Scope +ruleScope returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); + } + this_ScopeSpecification_0=ruleScopeSpecification + { + $current = $this_ScopeSpecification_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); + } + this_ScopeReference_1=ruleScopeReference + { + $current = $this_ScopeReference_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleTask +entryRuleTask returns [EObject current=null]: + { newCompositeNode(grammarAccess.getTaskRule()); } + iv_ruleTask=ruleTask + { $current=$iv_ruleTask.current; } + EOF; + +// Rule Task +ruleTask returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + { + newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); + } + this_GenerationTask_0=ruleGenerationTask + { + $current = $this_GenerationTask_0.current; + afterParserOrEnumRuleCall(); + } +; + +// Entry rule entryRuleGenerationTask +entryRuleGenerationTask returns [EObject current=null]: + { newCompositeNode(grammarAccess.getGenerationTaskRule()); } + iv_ruleGenerationTask=ruleGenerationTask + { $current=$iv_ruleGenerationTask.current; } + EOF; + +// Rule GenerationTask +ruleGenerationTask returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='generate' + { + newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); + } + ( + { + $current = forceCreateModelElement( + grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), + $current); + } + ) + otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); + } + ( + ( + { + getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ( + ( + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); + } + ({true}?=>(otherlv_4='metamodel' + { + newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); + } + otherlv_5='=' + { + newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); + } + lv_metamodel_6_0=ruleMetamodel + { + 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()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); + } + ({true}?=>(otherlv_7='partial-model' + { + newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); + } + otherlv_8='=' + { + newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); + } + lv_partialModel_9_0=rulePartialModel + { + 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()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); + } + ({true}?=>(otherlv_10='constraints' + { + newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); + } + otherlv_11='=' + { + newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); + } + lv_patterns_12_0=ruleGraphPattern + { + 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()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); + } + ({true}?=>(otherlv_13='objectives' + { + newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0()); + } + otherlv_14='=' + { + newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0()); + } + lv_objectives_15_0=ruleObjective + { + 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()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); + } + ({true}?=>(otherlv_16='scope' + { + newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0()); + } + otherlv_17='=' + { + newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0()); + } + lv_scope_18_0=ruleScope + { + 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()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); + } + ({true}?=>(( + ( + lv_numberSpecified_19_0='number' + { + 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='=' + { + newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); + } + ( + ( + lv_number_21_0=RULE_INT + { + 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()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); + } + ({true}?=>(( + ( + lv_runSpecified_22_0='runs' + { + 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='=' + { + newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); + } + ( + ( + lv_runs_24_0=RULE_INT + { + 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()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); + } + ({true}?=>(otherlv_25='solver' + { + newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0()); + } + otherlv_26='=' + { + newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0()); + } + lv_solver_27_0=ruleSolver + { + 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()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); + } + ({true}?=>(otherlv_28='config' + { + newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0()); + } + otherlv_29='=' + { + newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0()); + } + lv_config_30_0=ruleConfig + { + 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()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); + } + ({true}?=>(otherlv_31='debug' + { + newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); + } + otherlv_32='=' + { + newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); + } + lv_debugFolder_33_0=ruleFile + { + 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()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); + } + ({true}?=>(otherlv_34='log' + { + newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); + } + otherlv_35='=' + { + newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); + } + lv_targetLogFile_36_0=ruleFile + { + 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()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); + } + ({true}?=>(otherlv_37='statistics' + { + newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); + } + otherlv_38='=' + { + newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); + } + lv_targetStatisticsFile_39_0=ruleFile + { + 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()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12); + } + ({true}?=>(otherlv_40='output' + { + newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0()); + } + otherlv_41='=' + { + newLeafNode(otherlv_41, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0()); + } + lv_tagetFolder_42_0=ruleFile + { + 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()); + } + ) + ) + )* + ) + ) + { + getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + otherlv_43='}' + { + newLeafNode(otherlv_43, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); + } + ) +; + +// Rule OptimizationDirection +ruleOptimizationDirection returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + enumLiteral_0='minimize' + { + $current = grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0()); + } + ) + | + ( + enumLiteral_1='maximize' + { + $current = grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1()); + } + ) + ) +; + +// Rule ComparisonOperator +ruleComparisonOperator returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + enumLiteral_0='<=' + { + $current = grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0()); + } + ) + | + ( + enumLiteral_1='>=' + { + $current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1()); + } + ) + ) +; + +// Rule DocumentLevelSpecification +ruleDocumentLevelSpecification returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + enumLiteral_0='none' + { + $current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); + } + ) + | + ( + enumLiteral_1='normal' + { + $current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); + } + ) + | + ( + enumLiteral_2='full' + { + $current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); + } + ) + ) +; + +// Rule Solver +ruleSolver returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + enumLiteral_0='SMTSolver' + { + $current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); + } + ) + | + ( + enumLiteral_1='AlloySolver' + { + $current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); + } + ) + | + ( + enumLiteral_2='ViatraSolver' + { + $current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); + } + ) + ) +; + +RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; + +RULE_INT : ('0'..'9')+; + +RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\''); + +RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; + +RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; + +RULE_WS : (' '|'\t'|'\r'|'\n')+; + +RULE_ANY_OTHER : .; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens index 96730dbf..17aa6491 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens @@ -1,101 +1,113 @@ -'#'=32 -'*'=40 -'+='=33 -','=19 -'-'=12 -'.'=11 -'..'=41 -'::'=23 -'<'=34 -'='=17 -'>'=35 -'AlloySolver'=56 -'SMTSolver'=55 -'ViatraSolver'=57 -'config'=28 -'constraints'=27 -'debug'=48 -'epackage'=14 -'excluding'=22 -'file'=16 -'folder'=25 -'full'=54 -'generate'=43 -'import'=13 -'int'=37 -'log'=49 -'log-level'=29 -'memory'=31 -'metamodel'=24 -'models'=26 -'node'=36 -'none'=52 -'normal'=53 -'number'=45 -'output'=51 -'package'=21 -'partial-model'=44 -'real'=38 -'runs'=46 -'runtime'=30 -'scope'=42 -'solver'=47 -'statistics'=50 -'string'=39 -'viatra'=15 -'{'=18 -'}'=20 -RULE_ANY_OTHER=10 -RULE_ID=4 -RULE_INT=5 -RULE_ML_COMMENT=7 -RULE_SL_COMMENT=8 -RULE_STRING=6 -RULE_WS=9 -T__11=11 -T__12=12 -T__13=13 -T__14=14 -T__15=15 -T__16=16 -T__17=17 -T__18=18 -T__19=19 -T__20=20 -T__21=21 -T__22=22 -T__23=23 -T__24=24 -T__25=25 -T__26=26 -T__27=27 -T__28=28 -T__29=29 -T__30=30 -T__31=31 -T__32=32 -T__33=33 -T__34=34 -T__35=35 -T__36=36 -T__37=37 -T__38=38 -T__39=39 -T__40=40 -T__41=41 -T__42=42 -T__43=43 -T__44=44 -T__45=45 -T__46=46 -T__47=47 -T__48=48 -T__49=49 -T__50=50 -T__51=51 -T__52=52 -T__53=53 -T__54=54 -T__55=55 -T__56=56 -T__57=57 +'#'=34 +'*'=42 +'+='=35 +','=20 +'-'=12 +'.'=11 +'..'=43 +'::'=24 +'<'=36 +'<='=56 +'='=18 +'>'=37 +'>='=57 +'AlloySolver'=62 +'SMTSolver'=61 +'ViatraSolver'=63 +'config'=30 +'constraints'=28 +'debug'=50 +'epackage'=14 +'excluding'=23 +'file'=17 +'folder'=26 +'full'=60 +'generate'=45 +'import'=13 +'int'=39 +'log'=51 +'log-level'=31 +'maximize'=55 +'memory'=33 +'metamodel'=25 +'minimize'=54 +'models'=27 +'node'=38 +'none'=58 +'normal'=59 +'number'=47 +'objectives'=29 +'output'=53 +'package'=22 +'partial-model'=46 +'real'=40 +'reliability'=16 +'runs'=48 +'runtime'=32 +'scope'=44 +'solver'=49 +'statistics'=52 +'string'=41 +'viatra'=15 +'{'=19 +'}'=21 +RULE_ANY_OTHER=10 +RULE_ID=4 +RULE_INT=5 +RULE_ML_COMMENT=7 +RULE_SL_COMMENT=8 +RULE_STRING=6 +RULE_WS=9 +T__11=11 +T__12=12 +T__13=13 +T__14=14 +T__15=15 +T__16=16 +T__17=17 +T__18=18 +T__19=19 +T__20=20 +T__21=21 +T__22=22 +T__23=23 +T__24=24 +T__25=25 +T__26=26 +T__27=27 +T__28=28 +T__29=29 +T__30=30 +T__31=31 +T__32=32 +T__33=33 +T__34=34 +T__35=35 +T__36=36 +T__37=37 +T__38=38 +T__39=39 +T__40=40 +T__41=41 +T__42=42 +T__43=43 +T__44=44 +T__45=45 +T__46=46 +T__47=47 +T__48=48 +T__49=49 +T__50=50 +T__51=51 +T__52=52 +T__53=53 +T__54=54 +T__55=55 +T__56=56 +T__57=57 +T__58=58 +T__59=59 +T__60=60 +T__61=61 +T__62=62 +T__63=63 diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java index 6e214569..175d43ba 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java @@ -1,2372 +1,2584 @@ -package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalApplicationConfigurationLexer extends Lexer { - 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__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__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 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__20=20; - public static final int T__21=21; - 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 InternalApplicationConfigurationLexer() {;} - public InternalApplicationConfigurationLexer(CharStream input) { - this(input, new RecognizerSharedState()); - } - public InternalApplicationConfigurationLexer(CharStream input, RecognizerSharedState state) { - super(input,state); - - } - public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } - - // $ANTLR start "T__11" - public final void mT__11() throws RecognitionException { - try { - int _type = T__11; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:11:7: ( '.' ) - // InternalApplicationConfiguration.g:11:9: '.' - { - match('.'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__11" - - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { - try { - int _type = T__12; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:12:7: ( '-' ) - // InternalApplicationConfiguration.g:12:9: '-' - { - match('-'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__12" - - // $ANTLR start "T__13" - public final void mT__13() throws RecognitionException { - try { - int _type = T__13; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:13:7: ( 'import' ) - // InternalApplicationConfiguration.g:13:9: 'import' - { - match("import"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__13" - - // $ANTLR start "T__14" - public final void mT__14() throws RecognitionException { - try { - int _type = T__14; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:14:7: ( 'epackage' ) - // InternalApplicationConfiguration.g:14:9: 'epackage' - { - match("epackage"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__14" - - // $ANTLR start "T__15" - public final void mT__15() throws RecognitionException { - try { - int _type = T__15; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:15:7: ( 'viatra' ) - // InternalApplicationConfiguration.g:15:9: 'viatra' - { - match("viatra"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__15" - - // $ANTLR start "T__16" - public final void mT__16() throws RecognitionException { - try { - int _type = T__16; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:16:7: ( 'file' ) - // InternalApplicationConfiguration.g:16:9: 'file' - { - match("file"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__16" - - // $ANTLR start "T__17" - public final void mT__17() throws RecognitionException { - try { - int _type = T__17; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:17:7: ( '=' ) - // InternalApplicationConfiguration.g:17:9: '=' - { - match('='); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__17" - - // $ANTLR start "T__18" - public final void mT__18() throws RecognitionException { - try { - int _type = T__18; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:18:7: ( '{' ) - // InternalApplicationConfiguration.g:18:9: '{' - { - match('{'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__18" - - // $ANTLR start "T__19" - public final void mT__19() throws RecognitionException { - try { - int _type = T__19; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:19:7: ( ',' ) - // InternalApplicationConfiguration.g:19:9: ',' - { - match(','); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__19" - - // $ANTLR start "T__20" - public final void mT__20() throws RecognitionException { - try { - int _type = T__20; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:20:7: ( '}' ) - // InternalApplicationConfiguration.g:20:9: '}' - { - match('}'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__20" - - // $ANTLR start "T__21" - public final void mT__21() throws RecognitionException { - try { - int _type = T__21; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:21:7: ( 'package' ) - // InternalApplicationConfiguration.g:21:9: 'package' - { - match("package"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__21" - - // $ANTLR start "T__22" - public final void mT__22() throws RecognitionException { - try { - int _type = T__22; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:22:7: ( 'excluding' ) - // InternalApplicationConfiguration.g:22:9: 'excluding' - { - match("excluding"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__22" - - // $ANTLR start "T__23" - public final void mT__23() throws RecognitionException { - try { - int _type = T__23; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:23:7: ( '::' ) - // InternalApplicationConfiguration.g:23:9: '::' - { - match("::"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__23" - - // $ANTLR start "T__24" - public final void mT__24() throws RecognitionException { - try { - int _type = T__24; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:24:7: ( 'metamodel' ) - // InternalApplicationConfiguration.g:24:9: 'metamodel' - { - match("metamodel"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__24" - - // $ANTLR start "T__25" - public final void mT__25() throws RecognitionException { - try { - int _type = T__25; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:25:7: ( 'folder' ) - // InternalApplicationConfiguration.g:25:9: 'folder' - { - match("folder"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__25" - - // $ANTLR start "T__26" - public final void mT__26() throws RecognitionException { - try { - int _type = T__26; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:26:7: ( 'models' ) - // InternalApplicationConfiguration.g:26:9: 'models' - { - match("models"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__26" - - // $ANTLR start "T__27" - public final void mT__27() throws RecognitionException { - try { - int _type = T__27; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:27:7: ( 'constraints' ) - // InternalApplicationConfiguration.g:27:9: 'constraints' - { - match("constraints"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__27" - - // $ANTLR start "T__28" - public final void mT__28() throws RecognitionException { - try { - int _type = T__28; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:28:7: ( 'config' ) - // InternalApplicationConfiguration.g:28:9: 'config' - { - match("config"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__28" - - // $ANTLR start "T__29" - public final void mT__29() throws RecognitionException { - try { - int _type = T__29; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:29:7: ( 'log-level' ) - // InternalApplicationConfiguration.g:29:9: 'log-level' - { - match("log-level"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__29" - - // $ANTLR start "T__30" - public final void mT__30() throws RecognitionException { - try { - int _type = T__30; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:30:7: ( 'runtime' ) - // InternalApplicationConfiguration.g:30:9: 'runtime' - { - match("runtime"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__30" - - // $ANTLR start "T__31" - public final void mT__31() throws RecognitionException { - try { - int _type = T__31; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:31:7: ( 'memory' ) - // InternalApplicationConfiguration.g:31:9: 'memory' - { - match("memory"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__31" - - // $ANTLR start "T__32" - public final void mT__32() throws RecognitionException { - try { - int _type = T__32; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:32:7: ( '#' ) - // InternalApplicationConfiguration.g:32:9: '#' - { - match('#'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__32" - - // $ANTLR start "T__33" - public final void mT__33() throws RecognitionException { - try { - int _type = T__33; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:33:7: ( '+=' ) - // InternalApplicationConfiguration.g:33:9: '+=' - { - match("+="); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__33" - - // $ANTLR start "T__34" - public final void mT__34() throws RecognitionException { - try { - int _type = T__34; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:34:7: ( '<' ) - // InternalApplicationConfiguration.g:34:9: '<' - { - match('<'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__34" - - // $ANTLR start "T__35" - public final void mT__35() throws RecognitionException { - try { - int _type = T__35; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:35:7: ( '>' ) - // InternalApplicationConfiguration.g:35:9: '>' - { - match('>'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__35" - - // $ANTLR start "T__36" - public final void mT__36() throws RecognitionException { - try { - int _type = T__36; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:36:7: ( 'node' ) - // InternalApplicationConfiguration.g:36:9: 'node' - { - match("node"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__36" - - // $ANTLR start "T__37" - public final void mT__37() throws RecognitionException { - try { - int _type = T__37; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:37:7: ( 'int' ) - // InternalApplicationConfiguration.g:37:9: 'int' - { - match("int"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__37" - - // $ANTLR start "T__38" - public final void mT__38() throws RecognitionException { - try { - int _type = T__38; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:38:7: ( 'real' ) - // InternalApplicationConfiguration.g:38:9: 'real' - { - match("real"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__38" - - // $ANTLR start "T__39" - public final void mT__39() throws RecognitionException { - try { - int _type = T__39; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:39:7: ( 'string' ) - // InternalApplicationConfiguration.g:39:9: 'string' - { - match("string"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__39" - - // $ANTLR start "T__40" - public final void mT__40() throws RecognitionException { - try { - int _type = T__40; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:40:7: ( '*' ) - // InternalApplicationConfiguration.g:40:9: '*' - { - match('*'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__40" - - // $ANTLR start "T__41" - public final void mT__41() throws RecognitionException { - try { - int _type = T__41; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:41:7: ( '..' ) - // InternalApplicationConfiguration.g:41:9: '..' - { - match(".."); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__41" - - // $ANTLR start "T__42" - public final void mT__42() throws RecognitionException { - try { - int _type = T__42; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:42:7: ( 'scope' ) - // InternalApplicationConfiguration.g:42:9: 'scope' - { - match("scope"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__42" - - // $ANTLR start "T__43" - public final void mT__43() throws RecognitionException { - try { - int _type = T__43; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:43:7: ( 'generate' ) - // InternalApplicationConfiguration.g:43:9: 'generate' - { - match("generate"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__43" - - // $ANTLR start "T__44" - public final void mT__44() throws RecognitionException { - try { - int _type = T__44; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:44:7: ( 'partial-model' ) - // InternalApplicationConfiguration.g:44:9: 'partial-model' - { - match("partial-model"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__44" - - // $ANTLR start "T__45" - public final void mT__45() throws RecognitionException { - try { - int _type = T__45; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:45:7: ( 'number' ) - // InternalApplicationConfiguration.g:45:9: 'number' - { - match("number"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__45" - - // $ANTLR start "T__46" - public final void mT__46() throws RecognitionException { - try { - int _type = T__46; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:46:7: ( 'runs' ) - // InternalApplicationConfiguration.g:46:9: 'runs' - { - match("runs"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__46" - - // $ANTLR start "T__47" - public final void mT__47() throws RecognitionException { - try { - int _type = T__47; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:47:7: ( 'solver' ) - // InternalApplicationConfiguration.g:47:9: 'solver' - { - match("solver"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__47" - - // $ANTLR start "T__48" - public final void mT__48() throws RecognitionException { - try { - int _type = T__48; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:48:7: ( 'debug' ) - // InternalApplicationConfiguration.g:48:9: 'debug' - { - match("debug"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__48" - - // $ANTLR start "T__49" - public final void mT__49() throws RecognitionException { - try { - int _type = T__49; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:49:7: ( 'log' ) - // InternalApplicationConfiguration.g:49:9: 'log' - { - match("log"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__49" - - // $ANTLR start "T__50" - public final void mT__50() throws RecognitionException { - try { - int _type = T__50; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:50:7: ( 'statistics' ) - // InternalApplicationConfiguration.g:50:9: 'statistics' - { - match("statistics"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__50" - - // $ANTLR start "T__51" - public final void mT__51() throws RecognitionException { - try { - int _type = T__51; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:51:7: ( 'output' ) - // InternalApplicationConfiguration.g:51:9: 'output' - { - match("output"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__51" - - // $ANTLR start "T__52" - public final void mT__52() throws RecognitionException { - try { - int _type = T__52; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:52:7: ( 'none' ) - // InternalApplicationConfiguration.g:52:9: 'none' - { - match("none"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__52" - - // $ANTLR start "T__53" - public final void mT__53() throws RecognitionException { - try { - int _type = T__53; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:53:7: ( 'normal' ) - // InternalApplicationConfiguration.g:53:9: 'normal' - { - match("normal"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__53" - - // $ANTLR start "T__54" - public final void mT__54() throws RecognitionException { - try { - int _type = T__54; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:54:7: ( 'full' ) - // InternalApplicationConfiguration.g:54:9: 'full' - { - match("full"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__54" - - // $ANTLR start "T__55" - public final void mT__55() throws RecognitionException { - try { - int _type = T__55; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:55:7: ( 'SMTSolver' ) - // InternalApplicationConfiguration.g:55:9: 'SMTSolver' - { - match("SMTSolver"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__55" - - // $ANTLR start "T__56" - public final void mT__56() throws RecognitionException { - try { - int _type = T__56; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:56:7: ( 'AlloySolver' ) - // InternalApplicationConfiguration.g:56:9: 'AlloySolver' - { - match("AlloySolver"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__56" - - // $ANTLR start "T__57" - public final void mT__57() throws RecognitionException { - try { - int _type = T__57; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:57:7: ( 'ViatraSolver' ) - // InternalApplicationConfiguration.g:57:9: 'ViatraSolver' - { - match("ViatraSolver"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__57" - - // $ANTLR start "RULE_ID" - public final void mRULE_ID() throws RecognitionException { - try { - int _type = RULE_ID; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4291:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalApplicationConfiguration.g:4291:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - { - // InternalApplicationConfiguration.g:4291:11: ( '^' )? - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0=='^') ) { - alt1=1; - } - switch (alt1) { - case 1 : - // InternalApplicationConfiguration.g:4291:11: '^' - { - match('^'); - - } - break; - - } - - if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - // InternalApplicationConfiguration.g:4291:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // InternalApplicationConfiguration.g: - { - if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop2; - } - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ID" - - // $ANTLR start "RULE_INT" - public final void mRULE_INT() throws RecognitionException { - try { - int _type = RULE_INT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4293:10: ( ( '0' .. '9' )+ ) - // InternalApplicationConfiguration.g:4293:12: ( '0' .. '9' )+ - { - // InternalApplicationConfiguration.g:4293:12: ( '0' .. '9' )+ - int cnt3=0; - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( ((LA3_0>='0' && LA3_0<='9')) ) { - alt3=1; - } - - - switch (alt3) { - case 1 : - // InternalApplicationConfiguration.g:4293:13: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt3 >= 1 ) break loop3; - EarlyExitException eee = - new EarlyExitException(3, input); - throw eee; - } - cnt3++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_INT" - - // $ANTLR start "RULE_STRING" - public final void mRULE_STRING() throws RecognitionException { - try { - int _type = RULE_STRING; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4295:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalApplicationConfiguration.g:4295:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - { - // InternalApplicationConfiguration.g:4295:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0=='\"') ) { - alt6=1; - } - else if ( (LA6_0=='\'') ) { - alt6=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 6, 0, input); - - throw nvae; - } - switch (alt6) { - case 1 : - // InternalApplicationConfiguration.g:4295:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' - { - match('\"'); - // InternalApplicationConfiguration.g:4295:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* - loop4: - do { - int alt4=3; - int LA4_0 = input.LA(1); - - if ( (LA4_0=='\\') ) { - alt4=1; - } - else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) { - alt4=2; - } - - - switch (alt4) { - case 1 : - // InternalApplicationConfiguration.g:4295:21: '\\\\' . - { - match('\\'); - matchAny(); - - } - break; - case 2 : - // InternalApplicationConfiguration.g:4295:28: ~ ( ( '\\\\' | '\"' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop4; - } - } while (true); - - match('\"'); - - } - break; - case 2 : - // InternalApplicationConfiguration.g:4295:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' - { - match('\''); - // InternalApplicationConfiguration.g:4295:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* - loop5: - do { - int alt5=3; - int LA5_0 = input.LA(1); - - if ( (LA5_0=='\\') ) { - alt5=1; - } - else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { - alt5=2; - } - - - switch (alt5) { - case 1 : - // InternalApplicationConfiguration.g:4295:54: '\\\\' . - { - match('\\'); - matchAny(); - - } - break; - case 2 : - // InternalApplicationConfiguration.g:4295:61: ~ ( ( '\\\\' | '\\'' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop5; - } - } while (true); - - match('\''); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_STRING" - - // $ANTLR start "RULE_ML_COMMENT" - public final void mRULE_ML_COMMENT() throws RecognitionException { - try { - int _type = RULE_ML_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4297:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalApplicationConfiguration.g:4297:19: '/*' ( options {greedy=false; } : . )* '*/' - { - match("/*"); - - // InternalApplicationConfiguration.g:4297:24: ( options {greedy=false; } : . )* - loop7: - do { - int alt7=2; - int LA7_0 = input.LA(1); - - if ( (LA7_0=='*') ) { - int LA7_1 = input.LA(2); - - if ( (LA7_1=='/') ) { - alt7=2; - } - else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) { - alt7=1; - } - - - } - else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) { - alt7=1; - } - - - switch (alt7) { - case 1 : - // InternalApplicationConfiguration.g:4297:52: . - { - matchAny(); - - } - break; - - default : - break loop7; - } - } while (true); - - match("*/"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ML_COMMENT" - - // $ANTLR start "RULE_SL_COMMENT" - public final void mRULE_SL_COMMENT() throws RecognitionException { - try { - int _type = RULE_SL_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4299:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalApplicationConfiguration.g:4299:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? - { - match("//"); - - // InternalApplicationConfiguration.g:4299:24: (~ ( ( '\\n' | '\\r' ) ) )* - loop8: - do { - int alt8=2; - int LA8_0 = input.LA(1); - - if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) { - alt8=1; - } - - - switch (alt8) { - case 1 : - // InternalApplicationConfiguration.g:4299:24: ~ ( ( '\\n' | '\\r' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop8; - } - } while (true); - - // InternalApplicationConfiguration.g:4299:40: ( ( '\\r' )? '\\n' )? - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0=='\n'||LA10_0=='\r') ) { - alt10=1; - } - switch (alt10) { - case 1 : - // InternalApplicationConfiguration.g:4299:41: ( '\\r' )? '\\n' - { - // InternalApplicationConfiguration.g:4299:41: ( '\\r' )? - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0=='\r') ) { - alt9=1; - } - switch (alt9) { - case 1 : - // InternalApplicationConfiguration.g:4299:41: '\\r' - { - match('\r'); - - } - break; - - } - - match('\n'); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_SL_COMMENT" - - // $ANTLR start "RULE_WS" - public final void mRULE_WS() throws RecognitionException { - try { - int _type = RULE_WS; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4301:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalApplicationConfiguration.g:4301:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - { - // InternalApplicationConfiguration.g:4301:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt11=0; - loop11: - do { - int alt11=2; - int LA11_0 = input.LA(1); - - if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { - alt11=1; - } - - - switch (alt11) { - case 1 : - // InternalApplicationConfiguration.g: - { - if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - if ( cnt11 >= 1 ) break loop11; - EarlyExitException eee = - new EarlyExitException(11, input); - throw eee; - } - cnt11++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_WS" - - // $ANTLR start "RULE_ANY_OTHER" - public final void mRULE_ANY_OTHER() throws RecognitionException { - try { - int _type = RULE_ANY_OTHER; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4303:16: ( . ) - // InternalApplicationConfiguration.g:4303:18: . - { - matchAny(); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ANY_OTHER" - - public void mTokens() throws RecognitionException { - // InternalApplicationConfiguration.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt12=54; - alt12 = dfa12.predict(input); - switch (alt12) { - case 1 : - // InternalApplicationConfiguration.g:1:10: T__11 - { - mT__11(); - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1:16: T__12 - { - mT__12(); - - } - break; - case 3 : - // InternalApplicationConfiguration.g:1:22: T__13 - { - mT__13(); - - } - break; - case 4 : - // InternalApplicationConfiguration.g:1:28: T__14 - { - mT__14(); - - } - break; - case 5 : - // InternalApplicationConfiguration.g:1:34: T__15 - { - mT__15(); - - } - break; - case 6 : - // InternalApplicationConfiguration.g:1:40: T__16 - { - mT__16(); - - } - break; - case 7 : - // InternalApplicationConfiguration.g:1:46: T__17 - { - mT__17(); - - } - break; - case 8 : - // InternalApplicationConfiguration.g:1:52: T__18 - { - mT__18(); - - } - break; - case 9 : - // InternalApplicationConfiguration.g:1:58: T__19 - { - mT__19(); - - } - break; - case 10 : - // InternalApplicationConfiguration.g:1:64: T__20 - { - mT__20(); - - } - break; - case 11 : - // InternalApplicationConfiguration.g:1:70: T__21 - { - mT__21(); - - } - break; - case 12 : - // InternalApplicationConfiguration.g:1:76: T__22 - { - mT__22(); - - } - break; - case 13 : - // InternalApplicationConfiguration.g:1:82: T__23 - { - mT__23(); - - } - break; - case 14 : - // InternalApplicationConfiguration.g:1:88: T__24 - { - mT__24(); - - } - break; - case 15 : - // InternalApplicationConfiguration.g:1:94: T__25 - { - mT__25(); - - } - break; - case 16 : - // InternalApplicationConfiguration.g:1:100: T__26 - { - mT__26(); - - } - break; - case 17 : - // InternalApplicationConfiguration.g:1:106: T__27 - { - mT__27(); - - } - break; - case 18 : - // InternalApplicationConfiguration.g:1:112: T__28 - { - mT__28(); - - } - break; - case 19 : - // InternalApplicationConfiguration.g:1:118: T__29 - { - mT__29(); - - } - break; - case 20 : - // InternalApplicationConfiguration.g:1:124: T__30 - { - mT__30(); - - } - break; - case 21 : - // InternalApplicationConfiguration.g:1:130: T__31 - { - mT__31(); - - } - break; - case 22 : - // InternalApplicationConfiguration.g:1:136: T__32 - { - mT__32(); - - } - break; - case 23 : - // InternalApplicationConfiguration.g:1:142: T__33 - { - mT__33(); - - } - break; - case 24 : - // InternalApplicationConfiguration.g:1:148: T__34 - { - mT__34(); - - } - break; - case 25 : - // InternalApplicationConfiguration.g:1:154: T__35 - { - mT__35(); - - } - break; - case 26 : - // InternalApplicationConfiguration.g:1:160: T__36 - { - mT__36(); - - } - break; - case 27 : - // InternalApplicationConfiguration.g:1:166: T__37 - { - mT__37(); - - } - break; - case 28 : - // InternalApplicationConfiguration.g:1:172: T__38 - { - mT__38(); - - } - break; - case 29 : - // InternalApplicationConfiguration.g:1:178: T__39 - { - mT__39(); - - } - break; - case 30 : - // InternalApplicationConfiguration.g:1:184: T__40 - { - mT__40(); - - } - break; - case 31 : - // InternalApplicationConfiguration.g:1:190: T__41 - { - mT__41(); - - } - break; - case 32 : - // InternalApplicationConfiguration.g:1:196: T__42 - { - mT__42(); - - } - break; - case 33 : - // InternalApplicationConfiguration.g:1:202: T__43 - { - mT__43(); - - } - break; - case 34 : - // InternalApplicationConfiguration.g:1:208: T__44 - { - mT__44(); - - } - break; - case 35 : - // InternalApplicationConfiguration.g:1:214: T__45 - { - mT__45(); - - } - break; - case 36 : - // InternalApplicationConfiguration.g:1:220: T__46 - { - mT__46(); - - } - break; - case 37 : - // InternalApplicationConfiguration.g:1:226: T__47 - { - mT__47(); - - } - break; - case 38 : - // InternalApplicationConfiguration.g:1:232: T__48 - { - mT__48(); - - } - break; - case 39 : - // InternalApplicationConfiguration.g:1:238: T__49 - { - mT__49(); - - } - break; - case 40 : - // InternalApplicationConfiguration.g:1:244: T__50 - { - mT__50(); - - } - break; - case 41 : - // InternalApplicationConfiguration.g:1:250: T__51 - { - mT__51(); - - } - break; - case 42 : - // InternalApplicationConfiguration.g:1:256: T__52 - { - mT__52(); - - } - break; - case 43 : - // InternalApplicationConfiguration.g:1:262: T__53 - { - mT__53(); - - } - break; - case 44 : - // InternalApplicationConfiguration.g:1:268: T__54 - { - mT__54(); - - } - break; - case 45 : - // InternalApplicationConfiguration.g:1:274: T__55 - { - mT__55(); - - } - break; - case 46 : - // InternalApplicationConfiguration.g:1:280: T__56 - { - mT__56(); - - } - break; - case 47 : - // InternalApplicationConfiguration.g:1:286: T__57 - { - mT__57(); - - } - break; - case 48 : - // InternalApplicationConfiguration.g:1:292: RULE_ID - { - mRULE_ID(); - - } - break; - case 49 : - // InternalApplicationConfiguration.g:1:300: RULE_INT - { - mRULE_INT(); - - } - break; - case 50 : - // InternalApplicationConfiguration.g:1:309: RULE_STRING - { - mRULE_STRING(); - - } - break; - case 51 : - // InternalApplicationConfiguration.g:1:321: RULE_ML_COMMENT - { - mRULE_ML_COMMENT(); - - } - break; - case 52 : - // InternalApplicationConfiguration.g:1:337: RULE_SL_COMMENT - { - mRULE_SL_COMMENT(); - - } - break; - case 53 : - // InternalApplicationConfiguration.g:1:353: RULE_WS - { - mRULE_WS(); - - } - break; - case 54 : - // InternalApplicationConfiguration.g:1:361: RULE_ANY_OTHER - { - mRULE_ANY_OTHER(); - - } - break; - - } - - } - - - protected DFA12 dfa12 = new DFA12(this); - static final String DFA12_eotS = - "\1\uffff\1\47\1\uffff\4\53\4\uffff\1\53\1\45\4\53\1\uffff\1\45\2\uffff\2\53\1\uffff\6\53\1\45\2\uffff\3\45\5\uffff\2\53\1\uffff\6\53\4\uffff\1\53\1\uffff\6\53\4\uffff\5\53\1\uffff\6\53\5\uffff\1\53\1\163\14\53\1\u0082\21\53\1\uffff\3\53\1\u0098\1\53\1\u009a\7\53\2\uffff\1\53\1\u00a3\1\u00a4\1\u00a5\1\u00a6\20\53\1\uffff\1\53\1\uffff\10\53\4\uffff\4\53\1\u00c4\2\53\1\u00c7\4\53\1\u00cc\2\53\1\u00cf\1\u00d0\3\53\1\u00d4\1\u00d5\1\53\1\u00d7\1\53\1\u00d9\1\u00da\1\u00db\1\53\1\uffff\1\u00dd\1\53\1\uffff\1\u00df\3\53\1\uffff\2\53\2\uffff\1\u00e5\2\53\2\uffff\1\53\1\uffff\1\u00e9\3\uffff\1\53\1\uffff\1\53\1\uffff\3\53\1\u00ef\1\53\2\uffff\2\53\1\uffff\1\53\1\u00f4\3\53\1\uffff\1\u00f8\1\u00f9\2\53\1\uffff\1\u00fc\2\53\2\uffff\1\53\1\u0100\1\uffff\2\53\1\u0103\1\uffff\1\u0104\1\53\2\uffff\1\u0106\1\uffff"; - static final String DFA12_eofS = - "\u0107\uffff"; - static final String DFA12_minS = - "\1\0\1\56\1\uffff\1\155\1\160\2\151\4\uffff\1\141\1\72\1\145\2\157\1\145\1\uffff\1\75\2\uffff\1\157\1\143\1\uffff\2\145\1\165\1\115\1\154\1\151\1\101\2\uffff\2\0\1\52\5\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\3\154\4\uffff\1\143\1\uffff\1\155\1\144\1\156\1\147\1\156\1\141\4\uffff\1\144\1\155\1\141\1\157\1\154\1\uffff\1\156\1\142\1\164\1\124\1\154\1\141\5\uffff\1\157\1\60\1\143\1\154\1\164\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\1\146\1\55\1\163\1\154\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\160\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\60\1\145\1\60\1\141\1\151\1\155\1\162\1\154\1\164\1\151\2\uffff\1\151\4\60\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\165\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\1\162\1\147\1\155\4\uffff\1\154\1\162\1\147\1\163\1\60\1\162\1\141\1\60\1\164\1\154\1\123\1\141\1\60\1\147\1\151\2\60\1\145\1\154\1\144\2\60\1\141\1\60\1\145\3\60\1\164\1\uffff\1\60\1\164\1\uffff\1\60\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\60\1\55\1\145\2\uffff\1\151\1\uffff\1\60\3\uffff\1\151\1\uffff\1\145\1\uffff\1\145\1\154\1\157\1\60\1\147\2\uffff\1\154\1\156\1\uffff\1\143\1\60\1\162\1\166\1\154\1\uffff\2\60\1\164\1\163\1\uffff\1\60\1\145\1\166\2\uffff\1\163\1\60\1\uffff\1\162\1\145\1\60\1\uffff\1\60\1\162\2\uffff\1\60\1\uffff"; - static final String DFA12_maxS = - "\1\uffff\1\56\1\uffff\1\156\1\170\1\151\1\165\4\uffff\1\141\1\72\3\157\1\165\1\uffff\1\75\2\uffff\1\165\1\164\1\uffff\2\145\1\165\1\115\1\154\1\151\1\172\2\uffff\2\uffff\1\57\5\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\3\154\4\uffff\1\162\1\uffff\1\164\1\144\1\156\1\147\1\156\1\141\4\uffff\1\162\1\155\1\162\1\157\1\154\1\uffff\1\156\1\142\1\164\1\124\1\154\1\141\5\uffff\1\157\1\172\1\143\1\154\1\164\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\1\163\1\172\1\164\1\154\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\160\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\172\1\145\1\172\1\141\1\151\1\155\1\162\1\154\1\164\1\151\2\uffff\1\151\4\172\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\165\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\1\162\1\147\1\155\4\uffff\1\154\1\162\1\147\1\163\1\172\1\162\1\141\1\172\1\164\1\154\1\123\1\141\1\172\1\147\1\151\2\172\1\145\1\154\1\144\2\172\1\141\1\172\1\145\3\172\1\164\1\uffff\1\172\1\164\1\uffff\1\172\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\172\1\55\1\145\2\uffff\1\151\1\uffff\1\172\3\uffff\1\151\1\uffff\1\145\1\uffff\1\145\1\154\1\157\1\172\1\147\2\uffff\1\154\1\156\1\uffff\1\143\1\172\1\162\1\166\1\154\1\uffff\2\172\1\164\1\163\1\uffff\1\172\1\145\1\166\2\uffff\1\163\1\172\1\uffff\1\162\1\145\1\172\1\uffff\1\172\1\162\2\uffff\1\172\1\uffff"; - static final String DFA12_acceptS = - "\2\uffff\1\2\4\uffff\1\7\1\10\1\11\1\12\6\uffff\1\26\1\uffff\1\30\1\31\2\uffff\1\36\7\uffff\1\60\1\61\3\uffff\1\65\1\66\1\37\1\1\1\2\2\uffff\1\60\6\uffff\1\7\1\10\1\11\1\12\1\uffff\1\15\6\uffff\1\26\1\27\1\30\1\31\5\uffff\1\36\6\uffff\1\61\1\62\1\63\1\64\1\65\40\uffff\1\33\15\uffff\1\23\1\47\25\uffff\1\6\1\uffff\1\54\10\uffff\1\44\1\34\1\32\1\52\35\uffff\1\40\2\uffff\1\46\4\uffff\1\3\2\uffff\1\5\1\17\3\uffff\1\25\1\20\1\uffff\1\22\1\uffff\1\53\1\43\1\35\1\uffff\1\45\1\uffff\1\51\5\uffff\1\13\1\42\2\uffff\1\24\5\uffff\1\4\4\uffff\1\41\3\uffff\1\14\1\16\2\uffff\1\55\3\uffff\1\50\2\uffff\1\21\1\56\1\uffff\1\57"; - static final String DFA12_specialS = - "\1\1\40\uffff\1\2\1\0\u00e4\uffff}>"; - static final String[] DFA12_transitionS = { - "\11\45\2\44\2\45\1\44\22\45\1\44\1\45\1\41\1\21\3\45\1\42\2\45\1\27\1\22\1\11\1\2\1\1\1\43\12\40\1\14\1\45\1\23\1\7\1\24\2\45\1\34\21\37\1\33\2\37\1\35\4\37\3\45\1\36\1\37\1\45\2\37\1\16\1\31\1\4\1\6\1\30\1\37\1\3\2\37\1\17\1\15\1\25\1\32\1\13\1\37\1\20\1\26\2\37\1\5\4\37\1\10\1\45\1\12\uff82\45", - "\1\46", - "", - "\1\51\1\52", - "\1\54\7\uffff\1\55", - "\1\56", - "\1\57\5\uffff\1\60\5\uffff\1\61", - "", - "", - "", - "", - "\1\66", - "\1\67", - "\1\70\11\uffff\1\71", - "\1\72", - "\1\73", - "\1\75\17\uffff\1\74", - "", - "\1\77", - "", - "", - "\1\102\5\uffff\1\103", - "\1\105\13\uffff\1\106\4\uffff\1\104", - "", - "\1\110", - "\1\111", - "\1\112", - "\1\113", - "\1\114", - "\1\115", - "\32\53\4\uffff\1\53\1\uffff\32\53", - "", - "", - "\0\117", - "\0\117", - "\1\120\4\uffff\1\121", - "", - "", - "", - "", - "", - "\1\123", - "\1\124", - "", - "\1\125", - "\1\126", - "\1\127", - "\1\130", - "\1\131", - "\1\132", - "", - "", - "", - "", - "\1\133\16\uffff\1\134", - "", - "\1\136\6\uffff\1\135", - "\1\137", - "\1\140", - "\1\141", - "\1\142", - "\1\143", - "", - "", - "", - "", - "\1\144\11\uffff\1\145\3\uffff\1\146", - "\1\147", - "\1\151\20\uffff\1\150", - "\1\152", - "\1\153", - "", - "\1\154", - "\1\155", - "\1\156", - "\1\157", - "\1\160", - "\1\161", - "", - "", - "", - "", - "", - "\1\162", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\164", - "\1\165", - "\1\166", - "\1\167", - "\1\170", - "\1\171", - "\1\172", - "\1\173", - "\1\174", - "\1\175", - "\1\176", - "\1\u0080\14\uffff\1\177", - "\1\u0081\2\uffff\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u0084\1\u0083", - "\1\u0085", - "\1\u0086", - "\1\u0087", - "\1\u0088", - "\1\u0089", - "\1\u008a", - "\1\u008b", - "\1\u008c", - "\1\u008d", - "\1\u008e", - "\1\u008f", - "\1\u0090", - "\1\u0091", - "\1\u0092", - "\1\u0093", - "\1\u0094", - "", - "\1\u0095", - "\1\u0096", - "\1\u0097", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u0099", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u009b", - "\1\u009c", - "\1\u009d", - "\1\u009e", - "\1\u009f", - "\1\u00a0", - "\1\u00a1", - "", - "", - "\1\u00a2", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00a7", - "\1\u00a8", - "\1\u00a9", - "\1\u00aa", - "\1\u00ab", - "\1\u00ac", - "\1\u00ad", - "\1\u00ae", - "\1\u00af", - "\1\u00b0", - "\1\u00b1", - "\1\u00b2", - "\1\u00b3", - "\1\u00b4", - "\1\u00b5", - "\1\u00b6", - "", - "\1\u00b7", - "", - "\1\u00b8", - "\1\u00b9", - "\1\u00ba", - "\1\u00bb", - "\1\u00bc", - "\1\u00bd", - "\1\u00be", - "\1\u00bf", - "", - "", - "", - "", - "\1\u00c0", - "\1\u00c1", - "\1\u00c2", - "\1\u00c3", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00c5", - "\1\u00c6", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00c8", - "\1\u00c9", - "\1\u00ca", - "\1\u00cb", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00cd", - "\1\u00ce", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00d1", - "\1\u00d2", - "\1\u00d3", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00d6", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00d8", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00dc", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00de", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00e0", - "\1\u00e1", - "\1\u00e2", - "", - "\1\u00e3", - "\1\u00e4", - "", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00e6", - "\1\u00e7", - "", - "", - "\1\u00e8", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "", - "", - "", - "\1\u00ea", - "", - "\1\u00eb", - "", - "\1\u00ec", - "\1\u00ed", - "\1\u00ee", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00f0", - "", - "", - "\1\u00f1", - "\1\u00f2", - "", - "\1\u00f3", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00f5", - "\1\u00f6", - "\1\u00f7", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00fa", - "\1\u00fb", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00fd", - "\1\u00fe", - "", - "", - "\1\u00ff", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "", - "\1\u0101", - "\1\u0102", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u0105", - "", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "" - }; - - static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); - static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); - static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); - static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); - static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); - static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); - static final short[][] DFA12_transition; - - static { - int numStates = DFA12_transitionS.length; - DFA12_transition = new short[numStates][]; - for (int i=0; i='\u0000' && LA12_34<='\uFFFF')) ) {s = 79;} - - else s = 37; - - if ( s>=0 ) return s; - break; - case 1 : - int LA12_0 = input.LA(1); - - s = -1; - if ( (LA12_0=='.') ) {s = 1;} - - else if ( (LA12_0=='-') ) {s = 2;} - - else if ( (LA12_0=='i') ) {s = 3;} - - else if ( (LA12_0=='e') ) {s = 4;} - - else if ( (LA12_0=='v') ) {s = 5;} - - else if ( (LA12_0=='f') ) {s = 6;} - - else if ( (LA12_0=='=') ) {s = 7;} - - else if ( (LA12_0=='{') ) {s = 8;} - - else if ( (LA12_0==',') ) {s = 9;} - - else if ( (LA12_0=='}') ) {s = 10;} - - else if ( (LA12_0=='p') ) {s = 11;} - - else if ( (LA12_0==':') ) {s = 12;} - - else if ( (LA12_0=='m') ) {s = 13;} - - else if ( (LA12_0=='c') ) {s = 14;} - - else if ( (LA12_0=='l') ) {s = 15;} - - else if ( (LA12_0=='r') ) {s = 16;} - - else if ( (LA12_0=='#') ) {s = 17;} - - else if ( (LA12_0=='+') ) {s = 18;} - - else if ( (LA12_0=='<') ) {s = 19;} - - else if ( (LA12_0=='>') ) {s = 20;} - - else if ( (LA12_0=='n') ) {s = 21;} - - else if ( (LA12_0=='s') ) {s = 22;} - - else if ( (LA12_0=='*') ) {s = 23;} - - else if ( (LA12_0=='g') ) {s = 24;} - - else if ( (LA12_0=='d') ) {s = 25;} - - else if ( (LA12_0=='o') ) {s = 26;} - - else if ( (LA12_0=='S') ) {s = 27;} - - else if ( (LA12_0=='A') ) {s = 28;} - - else if ( (LA12_0=='V') ) {s = 29;} - - else if ( (LA12_0=='^') ) {s = 30;} - - else if ( ((LA12_0>='B' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='U')||(LA12_0>='W' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='b')||LA12_0=='h'||(LA12_0>='j' && LA12_0<='k')||LA12_0=='q'||(LA12_0>='t' && LA12_0<='u')||(LA12_0>='w' && LA12_0<='z')) ) {s = 31;} - - else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 32;} - - else if ( (LA12_0=='\"') ) {s = 33;} - - else if ( (LA12_0=='\'') ) {s = 34;} - - else if ( (LA12_0=='/') ) {s = 35;} - - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 36;} - - else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='$' && LA12_0<='&')||(LA12_0>='(' && LA12_0<=')')||LA12_0==';'||(LA12_0>='?' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 37;} - - if ( s>=0 ) return s; - break; - case 2 : - int LA12_33 = input.LA(1); - - s = -1; - if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 79;} - - else s = 37; - - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 12, _s, input); - error(nvae); - throw nvae; - } - } - - +package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.parser.antlr.Lexer; + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalApplicationConfigurationLexer extends Lexer { + 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__21=21; + 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 InternalApplicationConfigurationLexer() {;} + public InternalApplicationConfigurationLexer(CharStream input) { + this(input, new RecognizerSharedState()); + } + public InternalApplicationConfigurationLexer(CharStream input, RecognizerSharedState state) { + super(input,state); + + } + public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } + + // $ANTLR start "T__11" + public final void mT__11() throws RecognitionException { + try { + int _type = T__11; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:11:7: ( '.' ) + // InternalApplicationConfiguration.g:11:9: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__11" + + // $ANTLR start "T__12" + public final void mT__12() throws RecognitionException { + try { + int _type = T__12; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:12:7: ( '-' ) + // InternalApplicationConfiguration.g:12:9: '-' + { + match('-'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__12" + + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { + try { + int _type = T__13; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:13:7: ( 'import' ) + // InternalApplicationConfiguration.g:13:9: 'import' + { + match("import"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__13" + + // $ANTLR start "T__14" + public final void mT__14() throws RecognitionException { + try { + int _type = T__14; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:14:7: ( 'epackage' ) + // InternalApplicationConfiguration.g:14:9: 'epackage' + { + match("epackage"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__14" + + // $ANTLR start "T__15" + public final void mT__15() throws RecognitionException { + try { + int _type = T__15; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:15:7: ( 'viatra' ) + // InternalApplicationConfiguration.g:15:9: 'viatra' + { + match("viatra"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__15" + + // $ANTLR start "T__16" + public final void mT__16() throws RecognitionException { + try { + int _type = T__16; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:16:7: ( 'reliability' ) + // InternalApplicationConfiguration.g:16:9: 'reliability' + { + match("reliability"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__16" + + // $ANTLR start "T__17" + public final void mT__17() throws RecognitionException { + try { + int _type = T__17; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:17:7: ( 'file' ) + // InternalApplicationConfiguration.g:17:9: 'file' + { + match("file"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__17" + + // $ANTLR start "T__18" + public final void mT__18() throws RecognitionException { + try { + int _type = T__18; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:18:7: ( '=' ) + // InternalApplicationConfiguration.g:18:9: '=' + { + match('='); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__18" + + // $ANTLR start "T__19" + public final void mT__19() throws RecognitionException { + try { + int _type = T__19; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:19:7: ( '{' ) + // InternalApplicationConfiguration.g:19:9: '{' + { + match('{'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__19" + + // $ANTLR start "T__20" + public final void mT__20() throws RecognitionException { + try { + int _type = T__20; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:20:7: ( ',' ) + // InternalApplicationConfiguration.g:20:9: ',' + { + match(','); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__20" + + // $ANTLR start "T__21" + public final void mT__21() throws RecognitionException { + try { + int _type = T__21; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:21:7: ( '}' ) + // InternalApplicationConfiguration.g:21:9: '}' + { + match('}'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__21" + + // $ANTLR start "T__22" + public final void mT__22() throws RecognitionException { + try { + int _type = T__22; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:22:7: ( 'package' ) + // InternalApplicationConfiguration.g:22:9: 'package' + { + match("package"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__22" + + // $ANTLR start "T__23" + public final void mT__23() throws RecognitionException { + try { + int _type = T__23; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:23:7: ( 'excluding' ) + // InternalApplicationConfiguration.g:23:9: 'excluding' + { + match("excluding"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__23" + + // $ANTLR start "T__24" + public final void mT__24() throws RecognitionException { + try { + int _type = T__24; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:24:7: ( '::' ) + // InternalApplicationConfiguration.g:24:9: '::' + { + match("::"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__24" + + // $ANTLR start "T__25" + public final void mT__25() throws RecognitionException { + try { + int _type = T__25; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:25:7: ( 'metamodel' ) + // InternalApplicationConfiguration.g:25:9: 'metamodel' + { + match("metamodel"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__25" + + // $ANTLR start "T__26" + public final void mT__26() throws RecognitionException { + try { + int _type = T__26; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:26:7: ( 'folder' ) + // InternalApplicationConfiguration.g:26:9: 'folder' + { + match("folder"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__26" + + // $ANTLR start "T__27" + public final void mT__27() throws RecognitionException { + try { + int _type = T__27; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:27:7: ( 'models' ) + // InternalApplicationConfiguration.g:27:9: 'models' + { + match("models"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__27" + + // $ANTLR start "T__28" + public final void mT__28() throws RecognitionException { + try { + int _type = T__28; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:28:7: ( 'constraints' ) + // InternalApplicationConfiguration.g:28:9: 'constraints' + { + match("constraints"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__28" + + // $ANTLR start "T__29" + public final void mT__29() throws RecognitionException { + try { + int _type = T__29; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:29:7: ( 'objectives' ) + // InternalApplicationConfiguration.g:29:9: 'objectives' + { + match("objectives"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__29" + + // $ANTLR start "T__30" + public final void mT__30() throws RecognitionException { + try { + int _type = T__30; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:30:7: ( 'config' ) + // InternalApplicationConfiguration.g:30:9: 'config' + { + match("config"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__30" + + // $ANTLR start "T__31" + public final void mT__31() throws RecognitionException { + try { + int _type = T__31; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:31:7: ( 'log-level' ) + // InternalApplicationConfiguration.g:31:9: 'log-level' + { + match("log-level"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__31" + + // $ANTLR start "T__32" + public final void mT__32() throws RecognitionException { + try { + int _type = T__32; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:32:7: ( 'runtime' ) + // InternalApplicationConfiguration.g:32:9: 'runtime' + { + match("runtime"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__32" + + // $ANTLR start "T__33" + public final void mT__33() throws RecognitionException { + try { + int _type = T__33; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:33:7: ( 'memory' ) + // InternalApplicationConfiguration.g:33:9: 'memory' + { + match("memory"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__33" + + // $ANTLR start "T__34" + public final void mT__34() throws RecognitionException { + try { + int _type = T__34; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:34:7: ( '#' ) + // InternalApplicationConfiguration.g:34:9: '#' + { + match('#'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__34" + + // $ANTLR start "T__35" + public final void mT__35() throws RecognitionException { + try { + int _type = T__35; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:35:7: ( '+=' ) + // InternalApplicationConfiguration.g:35:9: '+=' + { + match("+="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__35" + + // $ANTLR start "T__36" + public final void mT__36() throws RecognitionException { + try { + int _type = T__36; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:36:7: ( '<' ) + // InternalApplicationConfiguration.g:36:9: '<' + { + match('<'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__36" + + // $ANTLR start "T__37" + public final void mT__37() throws RecognitionException { + try { + int _type = T__37; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:37:7: ( '>' ) + // InternalApplicationConfiguration.g:37:9: '>' + { + match('>'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__37" + + // $ANTLR start "T__38" + public final void mT__38() throws RecognitionException { + try { + int _type = T__38; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:38:7: ( 'node' ) + // InternalApplicationConfiguration.g:38:9: 'node' + { + match("node"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__38" + + // $ANTLR start "T__39" + public final void mT__39() throws RecognitionException { + try { + int _type = T__39; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:39:7: ( 'int' ) + // InternalApplicationConfiguration.g:39:9: 'int' + { + match("int"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__39" + + // $ANTLR start "T__40" + public final void mT__40() throws RecognitionException { + try { + int _type = T__40; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:40:7: ( 'real' ) + // InternalApplicationConfiguration.g:40:9: 'real' + { + match("real"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__40" + + // $ANTLR start "T__41" + public final void mT__41() throws RecognitionException { + try { + int _type = T__41; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:41:7: ( 'string' ) + // InternalApplicationConfiguration.g:41:9: 'string' + { + match("string"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__41" + + // $ANTLR start "T__42" + public final void mT__42() throws RecognitionException { + try { + int _type = T__42; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:42:7: ( '*' ) + // InternalApplicationConfiguration.g:42:9: '*' + { + match('*'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__42" + + // $ANTLR start "T__43" + public final void mT__43() throws RecognitionException { + try { + int _type = T__43; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:43:7: ( '..' ) + // InternalApplicationConfiguration.g:43:9: '..' + { + match(".."); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__43" + + // $ANTLR start "T__44" + public final void mT__44() throws RecognitionException { + try { + int _type = T__44; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:44:7: ( 'scope' ) + // InternalApplicationConfiguration.g:44:9: 'scope' + { + match("scope"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__44" + + // $ANTLR start "T__45" + public final void mT__45() throws RecognitionException { + try { + int _type = T__45; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:45:7: ( 'generate' ) + // InternalApplicationConfiguration.g:45:9: 'generate' + { + match("generate"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__45" + + // $ANTLR start "T__46" + public final void mT__46() throws RecognitionException { + try { + int _type = T__46; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:46:7: ( 'partial-model' ) + // InternalApplicationConfiguration.g:46:9: 'partial-model' + { + match("partial-model"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__46" + + // $ANTLR start "T__47" + public final void mT__47() throws RecognitionException { + try { + int _type = T__47; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:47:7: ( 'number' ) + // InternalApplicationConfiguration.g:47:9: 'number' + { + match("number"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__47" + + // $ANTLR start "T__48" + public final void mT__48() throws RecognitionException { + try { + int _type = T__48; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:48:7: ( 'runs' ) + // InternalApplicationConfiguration.g:48:9: 'runs' + { + match("runs"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__48" + + // $ANTLR start "T__49" + public final void mT__49() throws RecognitionException { + try { + int _type = T__49; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:49:7: ( 'solver' ) + // InternalApplicationConfiguration.g:49:9: 'solver' + { + match("solver"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__49" + + // $ANTLR start "T__50" + public final void mT__50() throws RecognitionException { + try { + int _type = T__50; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:50:7: ( 'debug' ) + // InternalApplicationConfiguration.g:50:9: 'debug' + { + match("debug"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__50" + + // $ANTLR start "T__51" + public final void mT__51() throws RecognitionException { + try { + int _type = T__51; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:51:7: ( 'log' ) + // InternalApplicationConfiguration.g:51:9: 'log' + { + match("log"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__51" + + // $ANTLR start "T__52" + public final void mT__52() throws RecognitionException { + try { + int _type = T__52; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:52:7: ( 'statistics' ) + // InternalApplicationConfiguration.g:52:9: 'statistics' + { + match("statistics"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__52" + + // $ANTLR start "T__53" + public final void mT__53() throws RecognitionException { + try { + int _type = T__53; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:53:7: ( 'output' ) + // InternalApplicationConfiguration.g:53:9: 'output' + { + match("output"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__53" + + // $ANTLR start "T__54" + public final void mT__54() throws RecognitionException { + try { + int _type = T__54; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:54:7: ( 'minimize' ) + // InternalApplicationConfiguration.g:54:9: 'minimize' + { + match("minimize"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__54" + + // $ANTLR start "T__55" + public final void mT__55() throws RecognitionException { + try { + int _type = T__55; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:55:7: ( 'maximize' ) + // InternalApplicationConfiguration.g:55:9: 'maximize' + { + match("maximize"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__55" + + // $ANTLR start "T__56" + public final void mT__56() throws RecognitionException { + try { + int _type = T__56; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:56:7: ( '<=' ) + // InternalApplicationConfiguration.g:56:9: '<=' + { + match("<="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__56" + + // $ANTLR start "T__57" + public final void mT__57() throws RecognitionException { + try { + int _type = T__57; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:57:7: ( '>=' ) + // InternalApplicationConfiguration.g:57:9: '>=' + { + match(">="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__57" + + // $ANTLR start "T__58" + public final void mT__58() throws RecognitionException { + try { + int _type = T__58; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:58:7: ( 'none' ) + // InternalApplicationConfiguration.g:58:9: 'none' + { + match("none"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__58" + + // $ANTLR start "T__59" + public final void mT__59() throws RecognitionException { + try { + int _type = T__59; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:59:7: ( 'normal' ) + // InternalApplicationConfiguration.g:59:9: 'normal' + { + match("normal"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__59" + + // $ANTLR start "T__60" + public final void mT__60() throws RecognitionException { + try { + int _type = T__60; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:60:7: ( 'full' ) + // InternalApplicationConfiguration.g:60:9: 'full' + { + match("full"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__60" + + // $ANTLR start "T__61" + public final void mT__61() throws RecognitionException { + try { + int _type = T__61; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:61:7: ( 'SMTSolver' ) + // InternalApplicationConfiguration.g:61:9: 'SMTSolver' + { + match("SMTSolver"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__61" + + // $ANTLR start "T__62" + public final void mT__62() throws RecognitionException { + try { + int _type = T__62; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:62:7: ( 'AlloySolver' ) + // InternalApplicationConfiguration.g:62:9: 'AlloySolver' + { + match("AlloySolver"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__62" + + // $ANTLR start "T__63" + public final void mT__63() throws RecognitionException { + try { + int _type = T__63; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:63:7: ( 'ViatraSolver' ) + // InternalApplicationConfiguration.g:63:9: 'ViatraSolver' + { + match("ViatraSolver"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__63" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + try { + int _type = RULE_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:4890:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalApplicationConfiguration.g:4890:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + { + // InternalApplicationConfiguration.g:4890:11: ( '^' )? + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='^') ) { + alt1=1; + } + switch (alt1) { + case 1 : + // InternalApplicationConfiguration.g:4890:11: '^' + { + match('^'); + + } + break; + + } + + if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // InternalApplicationConfiguration.g:4890:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalApplicationConfiguration.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop2; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ID" + + // $ANTLR start "RULE_INT" + public final void mRULE_INT() throws RecognitionException { + try { + int _type = RULE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:4892:10: ( ( '0' .. '9' )+ ) + // InternalApplicationConfiguration.g:4892:12: ( '0' .. '9' )+ + { + // InternalApplicationConfiguration.g:4892:12: ( '0' .. '9' )+ + int cnt3=0; + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( ((LA3_0>='0' && LA3_0<='9')) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalApplicationConfiguration.g:4892:13: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt3 >= 1 ) break loop3; + EarlyExitException eee = + new EarlyExitException(3, input); + throw eee; + } + cnt3++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_INT" + + // $ANTLR start "RULE_STRING" + public final void mRULE_STRING() throws RecognitionException { + try { + int _type = RULE_STRING; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:4894:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalApplicationConfiguration.g:4894:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + { + // InternalApplicationConfiguration.g:4894:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0=='\"') ) { + alt6=1; + } + else if ( (LA6_0=='\'') ) { + alt6=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 6, 0, input); + + throw nvae; + } + switch (alt6) { + case 1 : + // InternalApplicationConfiguration.g:4894:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + { + match('\"'); + // InternalApplicationConfiguration.g:4894:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + loop4: + do { + int alt4=3; + int LA4_0 = input.LA(1); + + if ( (LA4_0=='\\') ) { + alt4=1; + } + else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) { + alt4=2; + } + + + switch (alt4) { + case 1 : + // InternalApplicationConfiguration.g:4894:21: '\\\\' . + { + match('\\'); + matchAny(); + + } + break; + case 2 : + // InternalApplicationConfiguration.g:4894:28: ~ ( ( '\\\\' | '\"' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop4; + } + } while (true); + + match('\"'); + + } + break; + case 2 : + // InternalApplicationConfiguration.g:4894:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + { + match('\''); + // InternalApplicationConfiguration.g:4894:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + loop5: + do { + int alt5=3; + int LA5_0 = input.LA(1); + + if ( (LA5_0=='\\') ) { + alt5=1; + } + else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { + alt5=2; + } + + + switch (alt5) { + case 1 : + // InternalApplicationConfiguration.g:4894:54: '\\\\' . + { + match('\\'); + matchAny(); + + } + break; + case 2 : + // InternalApplicationConfiguration.g:4894:61: ~ ( ( '\\\\' | '\\'' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop5; + } + } while (true); + + match('\''); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_STRING" + + // $ANTLR start "RULE_ML_COMMENT" + public final void mRULE_ML_COMMENT() throws RecognitionException { + try { + int _type = RULE_ML_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:4896:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalApplicationConfiguration.g:4896:19: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // InternalApplicationConfiguration.g:4896:24: ( options {greedy=false; } : . )* + loop7: + do { + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0=='*') ) { + int LA7_1 = input.LA(2); + + if ( (LA7_1=='/') ) { + alt7=2; + } + else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) { + alt7=1; + } + + + } + else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) { + alt7=1; + } + + + switch (alt7) { + case 1 : + // InternalApplicationConfiguration.g:4896:52: . + { + matchAny(); + + } + break; + + default : + break loop7; + } + } while (true); + + match("*/"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ML_COMMENT" + + // $ANTLR start "RULE_SL_COMMENT" + public final void mRULE_SL_COMMENT() throws RecognitionException { + try { + int _type = RULE_SL_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:4898:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalApplicationConfiguration.g:4898:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + { + match("//"); + + // InternalApplicationConfiguration.g:4898:24: (~ ( ( '\\n' | '\\r' ) ) )* + loop8: + do { + int alt8=2; + int LA8_0 = input.LA(1); + + if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) { + alt8=1; + } + + + switch (alt8) { + case 1 : + // InternalApplicationConfiguration.g:4898:24: ~ ( ( '\\n' | '\\r' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop8; + } + } while (true); + + // InternalApplicationConfiguration.g:4898:40: ( ( '\\r' )? '\\n' )? + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0=='\n'||LA10_0=='\r') ) { + alt10=1; + } + switch (alt10) { + case 1 : + // InternalApplicationConfiguration.g:4898:41: ( '\\r' )? '\\n' + { + // InternalApplicationConfiguration.g:4898:41: ( '\\r' )? + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0=='\r') ) { + alt9=1; + } + switch (alt9) { + case 1 : + // InternalApplicationConfiguration.g:4898:41: '\\r' + { + match('\r'); + + } + break; + + } + + match('\n'); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_SL_COMMENT" + + // $ANTLR start "RULE_WS" + public final void mRULE_WS() throws RecognitionException { + try { + int _type = RULE_WS; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:4900:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalApplicationConfiguration.g:4900:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + { + // InternalApplicationConfiguration.g:4900:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt11=0; + loop11: + do { + int alt11=2; + int LA11_0 = input.LA(1); + + if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { + alt11=1; + } + + + switch (alt11) { + case 1 : + // InternalApplicationConfiguration.g: + { + if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt11 >= 1 ) break loop11; + EarlyExitException eee = + new EarlyExitException(11, input); + throw eee; + } + cnt11++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_WS" + + // $ANTLR start "RULE_ANY_OTHER" + public final void mRULE_ANY_OTHER() throws RecognitionException { + try { + int _type = RULE_ANY_OTHER; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:4902:16: ( . ) + // InternalApplicationConfiguration.g:4902:18: . + { + matchAny(); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ANY_OTHER" + + public void mTokens() throws RecognitionException { + // InternalApplicationConfiguration.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt12=60; + alt12 = dfa12.predict(input); + switch (alt12) { + case 1 : + // InternalApplicationConfiguration.g:1:10: T__11 + { + mT__11(); + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1:16: T__12 + { + mT__12(); + + } + break; + case 3 : + // InternalApplicationConfiguration.g:1:22: T__13 + { + mT__13(); + + } + break; + case 4 : + // InternalApplicationConfiguration.g:1:28: T__14 + { + mT__14(); + + } + break; + case 5 : + // InternalApplicationConfiguration.g:1:34: T__15 + { + mT__15(); + + } + break; + case 6 : + // InternalApplicationConfiguration.g:1:40: T__16 + { + mT__16(); + + } + break; + case 7 : + // InternalApplicationConfiguration.g:1:46: T__17 + { + mT__17(); + + } + break; + case 8 : + // InternalApplicationConfiguration.g:1:52: T__18 + { + mT__18(); + + } + break; + case 9 : + // InternalApplicationConfiguration.g:1:58: T__19 + { + mT__19(); + + } + break; + case 10 : + // InternalApplicationConfiguration.g:1:64: T__20 + { + mT__20(); + + } + break; + case 11 : + // InternalApplicationConfiguration.g:1:70: T__21 + { + mT__21(); + + } + break; + case 12 : + // InternalApplicationConfiguration.g:1:76: T__22 + { + mT__22(); + + } + break; + case 13 : + // InternalApplicationConfiguration.g:1:82: T__23 + { + mT__23(); + + } + break; + case 14 : + // InternalApplicationConfiguration.g:1:88: T__24 + { + mT__24(); + + } + break; + case 15 : + // InternalApplicationConfiguration.g:1:94: T__25 + { + mT__25(); + + } + break; + case 16 : + // InternalApplicationConfiguration.g:1:100: T__26 + { + mT__26(); + + } + break; + case 17 : + // InternalApplicationConfiguration.g:1:106: T__27 + { + mT__27(); + + } + break; + case 18 : + // InternalApplicationConfiguration.g:1:112: T__28 + { + mT__28(); + + } + break; + case 19 : + // InternalApplicationConfiguration.g:1:118: T__29 + { + mT__29(); + + } + break; + case 20 : + // InternalApplicationConfiguration.g:1:124: T__30 + { + mT__30(); + + } + break; + case 21 : + // InternalApplicationConfiguration.g:1:130: T__31 + { + mT__31(); + + } + break; + case 22 : + // InternalApplicationConfiguration.g:1:136: T__32 + { + mT__32(); + + } + break; + case 23 : + // InternalApplicationConfiguration.g:1:142: T__33 + { + mT__33(); + + } + break; + case 24 : + // InternalApplicationConfiguration.g:1:148: T__34 + { + mT__34(); + + } + break; + case 25 : + // InternalApplicationConfiguration.g:1:154: T__35 + { + mT__35(); + + } + break; + case 26 : + // InternalApplicationConfiguration.g:1:160: T__36 + { + mT__36(); + + } + break; + case 27 : + // InternalApplicationConfiguration.g:1:166: T__37 + { + mT__37(); + + } + break; + case 28 : + // InternalApplicationConfiguration.g:1:172: T__38 + { + mT__38(); + + } + break; + case 29 : + // InternalApplicationConfiguration.g:1:178: T__39 + { + mT__39(); + + } + break; + case 30 : + // InternalApplicationConfiguration.g:1:184: T__40 + { + mT__40(); + + } + break; + case 31 : + // InternalApplicationConfiguration.g:1:190: T__41 + { + mT__41(); + + } + break; + case 32 : + // InternalApplicationConfiguration.g:1:196: T__42 + { + mT__42(); + + } + break; + case 33 : + // InternalApplicationConfiguration.g:1:202: T__43 + { + mT__43(); + + } + break; + case 34 : + // InternalApplicationConfiguration.g:1:208: T__44 + { + mT__44(); + + } + break; + case 35 : + // InternalApplicationConfiguration.g:1:214: T__45 + { + mT__45(); + + } + break; + case 36 : + // InternalApplicationConfiguration.g:1:220: T__46 + { + mT__46(); + + } + break; + case 37 : + // InternalApplicationConfiguration.g:1:226: T__47 + { + mT__47(); + + } + break; + case 38 : + // InternalApplicationConfiguration.g:1:232: T__48 + { + mT__48(); + + } + break; + case 39 : + // InternalApplicationConfiguration.g:1:238: T__49 + { + mT__49(); + + } + break; + case 40 : + // InternalApplicationConfiguration.g:1:244: T__50 + { + mT__50(); + + } + break; + case 41 : + // InternalApplicationConfiguration.g:1:250: T__51 + { + mT__51(); + + } + break; + case 42 : + // InternalApplicationConfiguration.g:1:256: T__52 + { + mT__52(); + + } + break; + case 43 : + // InternalApplicationConfiguration.g:1:262: T__53 + { + mT__53(); + + } + break; + case 44 : + // InternalApplicationConfiguration.g:1:268: T__54 + { + mT__54(); + + } + break; + case 45 : + // InternalApplicationConfiguration.g:1:274: T__55 + { + mT__55(); + + } + break; + case 46 : + // InternalApplicationConfiguration.g:1:280: T__56 + { + mT__56(); + + } + break; + case 47 : + // InternalApplicationConfiguration.g:1:286: T__57 + { + mT__57(); + + } + break; + case 48 : + // InternalApplicationConfiguration.g:1:292: T__58 + { + mT__58(); + + } + break; + case 49 : + // InternalApplicationConfiguration.g:1:298: T__59 + { + mT__59(); + + } + break; + case 50 : + // InternalApplicationConfiguration.g:1:304: T__60 + { + mT__60(); + + } + break; + case 51 : + // InternalApplicationConfiguration.g:1:310: T__61 + { + mT__61(); + + } + break; + case 52 : + // InternalApplicationConfiguration.g:1:316: T__62 + { + mT__62(); + + } + break; + case 53 : + // InternalApplicationConfiguration.g:1:322: T__63 + { + mT__63(); + + } + break; + case 54 : + // InternalApplicationConfiguration.g:1:328: RULE_ID + { + mRULE_ID(); + + } + break; + case 55 : + // InternalApplicationConfiguration.g:1:336: RULE_INT + { + mRULE_INT(); + + } + break; + case 56 : + // InternalApplicationConfiguration.g:1:345: RULE_STRING + { + mRULE_STRING(); + + } + break; + case 57 : + // InternalApplicationConfiguration.g:1:357: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 58 : + // InternalApplicationConfiguration.g:1:373: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 59 : + // InternalApplicationConfiguration.g:1:389: RULE_WS + { + mRULE_WS(); + + } + break; + case 60 : + // InternalApplicationConfiguration.g:1:397: RULE_ANY_OTHER + { + mRULE_ANY_OTHER(); + + } + break; + + } + + } + + + protected DFA12 dfa12 = new DFA12(this); + static final String DFA12_eotS = + "\1\uffff\1\47\1\uffff\5\53\4\uffff\1\53\1\45\4\53\1\uffff\1\45\1\105\1\107\2\53\1\uffff\5\53\1\45\2\uffff\3\45\5\uffff\2\53\1\uffff\10\53\4\uffff\1\53\1\uffff\10\53\6\uffff\5\53\1\uffff\5\53\5\uffff\1\53\1\174\23\53\1\u0093\16\53\1\uffff\4\53\1\u00a6\1\53\1\u00a8\1\u00a9\1\53\1\u00ab\13\53\2\uffff\1\u00b7\1\u00b8\20\53\1\uffff\1\53\2\uffff\1\53\1\uffff\13\53\2\uffff\4\53\1\u00da\2\53\1\u00dd\3\53\1\u00e1\2\53\1\u00e4\2\53\1\u00e7\3\53\1\u00eb\1\u00ec\3\53\1\u00f0\1\53\1\u00f2\1\u00f3\1\u00f4\1\u00f5\1\53\1\uffff\1\u00f7\1\53\1\uffff\3\53\1\uffff\2\53\1\uffff\1\53\1\u00ff\1\uffff\1\u0100\2\53\2\uffff\3\53\1\uffff\1\53\4\uffff\1\53\1\uffff\4\53\1\u010c\2\53\3\uffff\1\53\1\u0110\1\u0111\3\53\1\u0115\3\53\1\uffff\1\u0119\1\53\1\u011b\2\uffff\3\53\1\uffff\1\u011f\2\53\1\uffff\1\53\1\uffff\1\53\1\u0124\1\u0125\1\uffff\2\53\1\u0128\1\u0129\2\uffff\1\u012a\1\53\3\uffff\1\u012c\1\uffff"; + static final String DFA12_eofS = + "\u012d\uffff"; + static final String DFA12_minS = + "\1\0\1\56\1\uffff\1\155\1\160\1\151\1\145\1\151\4\uffff\1\141\1\72\1\141\1\157\1\142\1\157\1\uffff\3\75\1\157\1\143\1\uffff\2\145\1\115\1\154\1\151\1\101\2\uffff\2\0\1\52\5\uffff\1\160\1\164\1\uffff\1\141\1\143\2\141\1\156\3\154\4\uffff\1\143\1\uffff\1\155\1\144\1\156\1\170\1\156\1\152\1\164\1\147\6\uffff\1\144\1\155\1\141\1\157\1\154\1\uffff\1\156\1\142\1\124\1\154\1\141\5\uffff\1\157\1\60\1\143\1\154\1\164\1\151\1\154\1\163\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\2\151\1\146\1\145\1\160\1\55\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\141\1\60\1\151\2\60\1\145\1\60\1\141\1\151\1\155\1\162\1\154\2\155\1\164\1\151\1\143\1\165\2\uffff\2\60\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\2\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\2\151\1\162\1\147\2\164\2\uffff\1\154\1\162\1\147\1\163\1\60\1\162\1\141\1\60\1\154\1\123\1\141\1\60\1\147\1\151\1\60\1\151\1\145\1\60\1\145\1\154\1\144\2\60\2\172\1\141\1\60\1\151\4\60\1\164\1\uffff\1\60\1\164\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\1\uffff\1\154\1\60\1\uffff\1\60\1\55\1\145\2\uffff\2\145\1\151\1\uffff\1\166\4\uffff\1\151\1\uffff\2\145\1\154\1\157\1\60\1\147\1\151\3\uffff\1\154\2\60\1\156\1\145\1\143\1\60\1\162\1\166\1\154\1\uffff\1\60\1\164\1\60\2\uffff\1\164\2\163\1\uffff\1\60\1\145\1\166\1\uffff\1\171\1\uffff\1\163\2\60\1\uffff\1\162\1\145\2\60\2\uffff\1\60\1\162\3\uffff\1\60\1\uffff"; + static final String DFA12_maxS = + "\1\uffff\1\56\1\uffff\1\156\1\170\1\151\2\165\4\uffff\1\141\1\72\2\157\1\165\1\157\1\uffff\3\75\1\165\1\164\1\uffff\2\145\1\115\1\154\1\151\1\172\2\uffff\2\uffff\1\57\5\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\1\154\1\156\3\154\4\uffff\1\162\1\uffff\1\164\1\144\1\156\1\170\1\156\1\152\1\164\1\147\6\uffff\1\162\1\155\1\162\1\157\1\154\1\uffff\1\156\1\142\1\124\1\154\1\141\5\uffff\1\157\1\172\1\143\1\154\1\164\1\151\1\154\1\164\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\2\151\1\163\1\145\1\160\1\172\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\141\1\172\1\151\2\172\1\145\1\172\1\141\1\151\1\155\1\162\1\154\2\155\1\164\1\151\1\143\1\165\2\uffff\2\172\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\2\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\2\151\1\162\1\147\2\164\2\uffff\1\154\1\162\1\147\1\163\1\172\1\162\1\141\1\172\1\154\1\123\1\141\1\172\1\147\1\151\1\172\1\151\1\145\1\172\1\145\1\154\1\144\4\172\1\141\1\172\1\151\4\172\1\164\1\uffff\1\172\1\164\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\1\uffff\1\154\1\172\1\uffff\1\172\1\55\1\145\2\uffff\2\145\1\151\1\uffff\1\166\4\uffff\1\151\1\uffff\2\145\1\154\1\157\1\172\1\147\1\151\3\uffff\1\154\2\172\1\156\1\145\1\143\1\172\1\162\1\166\1\154\1\uffff\1\172\1\164\1\172\2\uffff\1\164\2\163\1\uffff\1\172\1\145\1\166\1\uffff\1\171\1\uffff\1\163\2\172\1\uffff\1\162\1\145\2\172\2\uffff\1\172\1\162\3\uffff\1\172\1\uffff"; + static final String DFA12_acceptS = + "\2\uffff\1\2\5\uffff\1\10\1\11\1\12\1\13\6\uffff\1\30\5\uffff\1\40\6\uffff\1\66\1\67\3\uffff\1\73\1\74\1\41\1\1\1\2\2\uffff\1\66\10\uffff\1\10\1\11\1\12\1\13\1\uffff\1\16\10\uffff\1\30\1\31\1\56\1\32\1\57\1\33\5\uffff\1\40\5\uffff\1\67\1\70\1\71\1\72\1\73\44\uffff\1\35\25\uffff\1\25\1\51\22\uffff\1\36\1\uffff\1\46\1\7\1\uffff\1\62\13\uffff\1\34\1\60\41\uffff\1\42\2\uffff\1\50\3\uffff\1\3\2\uffff\1\5\2\uffff\1\20\3\uffff\1\27\1\21\3\uffff\1\24\1\uffff\1\53\1\61\1\45\1\37\1\uffff\1\47\7\uffff\1\26\1\14\1\44\12\uffff\1\4\3\uffff\1\54\1\55\3\uffff\1\43\3\uffff\1\15\1\uffff\1\17\3\uffff\1\63\4\uffff\1\23\1\52\2\uffff\1\6\1\22\1\64\1\uffff\1\65"; + static final String DFA12_specialS = + "\1\0\40\uffff\1\1\1\2\u010a\uffff}>"; + static final String[] DFA12_transitionS = { + "\11\45\2\44\2\45\1\44\22\45\1\44\1\45\1\41\1\22\3\45\1\42\2\45\1\30\1\23\1\12\1\2\1\1\1\43\12\40\1\15\1\45\1\24\1\10\1\25\2\45\1\34\21\37\1\33\2\37\1\35\4\37\3\45\1\36\1\37\1\45\2\37\1\17\1\32\1\4\1\7\1\31\1\37\1\3\2\37\1\21\1\16\1\26\1\20\1\14\1\37\1\6\1\27\2\37\1\5\4\37\1\11\1\45\1\13\uff82\45", + "\1\46", + "", + "\1\51\1\52", + "\1\54\7\uffff\1\55", + "\1\56", + "\1\57\17\uffff\1\60", + "\1\61\5\uffff\1\62\5\uffff\1\63", + "", + "", + "", + "", + "\1\70", + "\1\71", + "\1\75\3\uffff\1\72\3\uffff\1\74\5\uffff\1\73", + "\1\76", + "\1\77\22\uffff\1\100", + "\1\101", + "", + "\1\103", + "\1\104", + "\1\106", + "\1\110\5\uffff\1\111", + "\1\113\13\uffff\1\114\4\uffff\1\112", + "", + "\1\116", + "\1\117", + "\1\120", + "\1\121", + "\1\122", + "\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "", + "\0\124", + "\0\124", + "\1\125\4\uffff\1\126", + "", + "", + "", + "", + "", + "\1\130", + "\1\131", + "", + "\1\132", + "\1\133", + "\1\134", + "\1\136\12\uffff\1\135", + "\1\137", + "\1\140", + "\1\141", + "\1\142", + "", + "", + "", + "", + "\1\143\16\uffff\1\144", + "", + "\1\146\6\uffff\1\145", + "\1\147", + "\1\150", + "\1\151", + "\1\152", + "\1\153", + "\1\154", + "\1\155", + "", + "", + "", + "", + "", + "", + "\1\156\11\uffff\1\157\3\uffff\1\160", + "\1\161", + "\1\163\20\uffff\1\162", + "\1\164", + "\1\165", + "", + "\1\166", + "\1\167", + "\1\170", + "\1\171", + "\1\172", + "", + "", + "", + "", + "", + "\1\173", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\175", + "\1\176", + "\1\177", + "\1\u0080", + "\1\u0081", + "\1\u0083\1\u0082", + "\1\u0084", + "\1\u0085", + "\1\u0086", + "\1\u0087", + "\1\u0088", + "\1\u0089", + "\1\u008a", + "\1\u008b", + "\1\u008c", + "\1\u008d", + "\1\u008f\14\uffff\1\u008e", + "\1\u0090", + "\1\u0091", + "\1\u0092\2\uffff\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0094", + "\1\u0095", + "\1\u0096", + "\1\u0097", + "\1\u0098", + "\1\u0099", + "\1\u009a", + "\1\u009b", + "\1\u009c", + "\1\u009d", + "\1\u009e", + "\1\u009f", + "\1\u00a0", + "\1\u00a1", + "", + "\1\u00a2", + "\1\u00a3", + "\1\u00a4", + "\1\u00a5", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00a7", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00aa", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00ac", + "\1\u00ad", + "\1\u00ae", + "\1\u00af", + "\1\u00b0", + "\1\u00b1", + "\1\u00b2", + "\1\u00b3", + "\1\u00b4", + "\1\u00b5", + "\1\u00b6", + "", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00b9", + "\1\u00ba", + "\1\u00bb", + "\1\u00bc", + "\1\u00bd", + "\1\u00be", + "\1\u00bf", + "\1\u00c0", + "\1\u00c1", + "\1\u00c2", + "\1\u00c3", + "\1\u00c4", + "\1\u00c5", + "\1\u00c6", + "\1\u00c7", + "\1\u00c8", + "", + "\1\u00c9", + "", + "", + "\1\u00ca", + "", + "\1\u00cb", + "\1\u00cc", + "\1\u00cd", + "\1\u00ce", + "\1\u00cf", + "\1\u00d0", + "\1\u00d1", + "\1\u00d2", + "\1\u00d3", + "\1\u00d4", + "\1\u00d5", + "", + "", + "\1\u00d6", + "\1\u00d7", + "\1\u00d8", + "\1\u00d9", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00db", + "\1\u00dc", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00de", + "\1\u00df", + "\1\u00e0", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00e2", + "\1\u00e3", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00e5", + "\1\u00e6", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00e8", + "\1\u00e9", + "\1\u00ea", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00ed", + "\1\u00ee", + "\1\u00ef", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00f1", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00f6", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00f8", + "", + "\1\u00f9", + "\1\u00fa", + "\1\u00fb", + "", + "\1\u00fc", + "\1\u00fd", + "", + "\1\u00fe", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0101", + "\1\u0102", + "", + "", + "\1\u0103", + "\1\u0104", + "\1\u0105", + "", + "\1\u0106", + "", + "", + "", + "", + "\1\u0107", + "", + "\1\u0108", + "\1\u0109", + "\1\u010a", + "\1\u010b", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u010d", + "\1\u010e", + "", + "", + "", + "\1\u010f", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0112", + "\1\u0113", + "\1\u0114", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0116", + "\1\u0117", + "\1\u0118", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u011a", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "", + "\1\u011c", + "\1\u011d", + "\1\u011e", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0120", + "\1\u0121", + "", + "\1\u0122", + "", + "\1\u0123", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "\1\u0126", + "\1\u0127", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u012b", + "", + "", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "" + }; + + static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); + static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); + static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); + static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); + static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); + static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); + static final short[][] DFA12_transition; + + static { + int numStates = DFA12_transitionS.length; + DFA12_transition = new short[numStates][]; + for (int i=0; i') ) {s = 21;} + + else if ( (LA12_0=='n') ) {s = 22;} + + else if ( (LA12_0=='s') ) {s = 23;} + + else if ( (LA12_0=='*') ) {s = 24;} + + else if ( (LA12_0=='g') ) {s = 25;} + + else if ( (LA12_0=='d') ) {s = 26;} + + else if ( (LA12_0=='S') ) {s = 27;} + + else if ( (LA12_0=='A') ) {s = 28;} + + else if ( (LA12_0=='V') ) {s = 29;} + + else if ( (LA12_0=='^') ) {s = 30;} + + else if ( ((LA12_0>='B' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='U')||(LA12_0>='W' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='b')||LA12_0=='h'||(LA12_0>='j' && LA12_0<='k')||LA12_0=='q'||(LA12_0>='t' && LA12_0<='u')||(LA12_0>='w' && LA12_0<='z')) ) {s = 31;} + + else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 32;} + + else if ( (LA12_0=='\"') ) {s = 33;} + + else if ( (LA12_0=='\'') ) {s = 34;} + + else if ( (LA12_0=='/') ) {s = 35;} + + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 36;} + + else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='$' && LA12_0<='&')||(LA12_0>='(' && LA12_0<=')')||LA12_0==';'||(LA12_0>='?' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 37;} + + if ( s>=0 ) return s; + break; + case 1 : + int LA12_33 = input.LA(1); + + s = -1; + if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 84;} + + else s = 37; + + if ( s>=0 ) return s; + break; + case 2 : + int LA12_34 = input.LA(1); + + s = -1; + if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 84;} + + else s = 37; + + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 12, _s, input); + error(nvae); + throw nvae; + } + } + + } \ No newline at end of file diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java index 015e5da9..191f96eb 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java @@ -1,11660 +1,13307 @@ -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'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'+='", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'*'", "'..'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'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__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__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 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__20=20; - public static final int T__21=21; - 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==16||LA2_0==24||(LA2_0>=26 && LA2_0<=28)||(LA2_0>=42 && LA2_0<=43)) ) { - 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==16||LA3_0==24||(LA3_0>=26 && LA3_0<=28)||LA3_0==42) ) { - alt3=1; - } - else if ( (LA3_0==43) ) { - 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 ) ; - public final EObject ruleImport() throws RecognitionException { - EObject current = null; - - EObject this_EPackageImport_0 = null; - - EObject this_ViatraImport_1 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:289:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ) - // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) - { - // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) - int alt7=2; - int LA7_0 = input.LA(1); - - if ( (LA7_0==13) ) { - int LA7_1 = input.LA(2); - - if ( (LA7_1==14) ) { - alt7=1; - } - else if ( (LA7_1==15) ) { - alt7=2; - } - else { - 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; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleImport" - - - // $ANTLR start "entryRuleEPackageImport" - // InternalApplicationConfiguration.g:312: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:312:55: (iv_ruleEPackageImport= ruleEPackageImport EOF ) - // InternalApplicationConfiguration.g:313: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:319: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:325:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ) - // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) - { - // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:327: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:335:3: ( (otherlv_2= RULE_STRING ) ) - // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING ) - { - // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING ) - // InternalApplicationConfiguration.g:337: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:352: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:352:53: (iv_ruleViatraImport= ruleViatraImport EOF ) - // InternalApplicationConfiguration.g:353: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:359: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:365:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ) - // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) - { - // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:367: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:375:3: ( (otherlv_2= RULE_STRING ) ) - // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING ) - { - // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING ) - // InternalApplicationConfiguration.g:377: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 "entryRuleDeclaration" - // InternalApplicationConfiguration.g:392: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:392:52: (iv_ruleDeclaration= ruleDeclaration EOF ) - // InternalApplicationConfiguration.g:393: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:399:1: ruleDeclaration returns [EObject current=null] : (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ; - public final EObject ruleDeclaration() throws RecognitionException { - EObject current = null; - - 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; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:405:2: ( (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ) - // InternalApplicationConfiguration.g:406:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) - { - // InternalApplicationConfiguration.g:406:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) - int alt8=6; - switch ( input.LA(1) ) { - case 16: - { - alt8=1; - } - break; - case 24: - { - alt8=2; - } - break; - case 26: - { - alt8=3; - } - break; - case 27: - { - alt8=4; - } - break; - case 28: - { - alt8=5; - } - break; - case 42: - { - alt8=6; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 8, 0, input); - - throw nvae; - } - - switch (alt8) { - case 1 : - // InternalApplicationConfiguration.g:407: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:416: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:425: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:434: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:443: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:452: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; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleDeclaration" - - - // $ANTLR start "entryRuleFileSpecification" - // InternalApplicationConfiguration.g:464: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:464:58: (iv_ruleFileSpecification= ruleFileSpecification EOF ) - // InternalApplicationConfiguration.g:465: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:471: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:477:2: ( ( (lv_path_0_0= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:478:2: ( (lv_path_0_0= RULE_STRING ) ) - { - // InternalApplicationConfiguration.g:478:2: ( (lv_path_0_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:479:3: (lv_path_0_0= RULE_STRING ) - { - // InternalApplicationConfiguration.g:479:3: (lv_path_0_0= RULE_STRING ) - // InternalApplicationConfiguration.g:480: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:499: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:499:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF ) - // InternalApplicationConfiguration.g:500: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:506: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:512:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ) - // InternalApplicationConfiguration.g:513:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) - { - // InternalApplicationConfiguration.g:513:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) - // InternalApplicationConfiguration.g:514:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) - { - otherlv_0=(Token)match(input,16,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); - - // InternalApplicationConfiguration.g:518:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:519:4: (lv_name_1_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:519:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:520:5: lv_name_1_0= RULE_ID - { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_12); - - 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,17,FOLLOW_10); - - newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); - - // InternalApplicationConfiguration.g:540:3: ( (lv_specification_3_0= ruleFileSpecification ) ) - // InternalApplicationConfiguration.g:541:4: (lv_specification_3_0= ruleFileSpecification ) - { - // InternalApplicationConfiguration.g:541:4: (lv_specification_3_0= ruleFileSpecification ) - // InternalApplicationConfiguration.g:542: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:563: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:563:54: (iv_ruleFileReference= ruleFileReference EOF ) - // InternalApplicationConfiguration.g:564: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:570: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:576:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:577:2: ( (otherlv_0= RULE_ID ) ) - { - // InternalApplicationConfiguration.g:577:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:578:3: (otherlv_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:578:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:579: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:593: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:593:45: (iv_ruleFile= ruleFile EOF ) - // InternalApplicationConfiguration.g:594: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:600: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:606:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ) - // InternalApplicationConfiguration.g:607:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) - { - // InternalApplicationConfiguration.g:607: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:608: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:617: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:629: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:629:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ) - // InternalApplicationConfiguration.g:630: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:636: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:642:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ) - // InternalApplicationConfiguration.g:643:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) - { - // InternalApplicationConfiguration.g:643:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) - // InternalApplicationConfiguration.g:644:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' - { - otherlv_0=(Token)match(input,18,FOLLOW_13); - - newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - - // InternalApplicationConfiguration.g:648:3: ( (lv_entries_1_0= ruleMetamodelEntry ) ) - // InternalApplicationConfiguration.g:649:4: (lv_entries_1_0= ruleMetamodelEntry ) - { - // InternalApplicationConfiguration.g:649:4: (lv_entries_1_0= ruleMetamodelEntry ) - // InternalApplicationConfiguration.g:650:5: lv_entries_1_0= ruleMetamodelEntry - { - - newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); - - pushFollow(FOLLOW_14); - 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:667:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* - loop10: - do { - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0==19) ) { - alt10=1; - } - - - switch (alt10) { - case 1 : - // InternalApplicationConfiguration.g:668:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) - { - otherlv_2=(Token)match(input,19,FOLLOW_13); - - newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); - - // InternalApplicationConfiguration.g:672:4: ( (lv_entries_3_0= ruleMetamodelEntry ) ) - // InternalApplicationConfiguration.g:673:5: (lv_entries_3_0= ruleMetamodelEntry ) - { - // InternalApplicationConfiguration.g:673:5: (lv_entries_3_0= ruleMetamodelEntry ) - // InternalApplicationConfiguration.g:674:6: lv_entries_3_0= ruleMetamodelEntry - { - - newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); - - pushFollow(FOLLOW_14); - 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,20,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:700: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:700:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ) - // InternalApplicationConfiguration.g:701: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:707: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:713:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ) - // InternalApplicationConfiguration.g:714:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) - { - // InternalApplicationConfiguration.g:714: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==21) ) { - alt11=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 11, 0, input); - - throw nvae; - } - switch (alt11) { - case 1 : - // InternalApplicationConfiguration.g:715: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:724: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:736: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:736:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ) - // InternalApplicationConfiguration.g:737: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:743: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:749: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:750: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:750: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:751: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,21,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); - - // InternalApplicationConfiguration.g:755:3: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:756:4: ( ruleQualifiedName ) - { - // InternalApplicationConfiguration.g:756:4: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:757:5: ruleQualifiedName - { - - if (current==null) { - current = createModelElement(grammarAccess.getAllPackageEntryRule()); - } - - - newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); - - pushFollow(FOLLOW_15); - ruleQualifiedName(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:771: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==22) ) { - alt13=1; - } - switch (alt13) { - case 1 : - // InternalApplicationConfiguration.g:772: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,22,FOLLOW_16); - - newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); - - otherlv_3=(Token)match(input,18,FOLLOW_6); - - newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); - - // InternalApplicationConfiguration.g:780:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:781:5: (lv_exclusion_4_0= ruleMetamodelElement ) - { - // InternalApplicationConfiguration.g:781:5: (lv_exclusion_4_0= ruleMetamodelElement ) - // InternalApplicationConfiguration.g:782:6: lv_exclusion_4_0= ruleMetamodelElement - { - - newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); - - pushFollow(FOLLOW_14); - 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:799:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* - loop12: - do { - int alt12=2; - int LA12_0 = input.LA(1); - - if ( (LA12_0==19) ) { - alt12=1; - } - - - switch (alt12) { - case 1 : - // InternalApplicationConfiguration.g:800:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) - { - otherlv_5=(Token)match(input,19,FOLLOW_6); - - newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); - - // InternalApplicationConfiguration.g:804:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:805:6: (lv_exclusion_6_0= ruleMetamodelElement ) - { - // InternalApplicationConfiguration.g:805:6: (lv_exclusion_6_0= ruleMetamodelElement ) - // InternalApplicationConfiguration.g:806:7: lv_exclusion_6_0= ruleMetamodelElement - { - - newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); - - pushFollow(FOLLOW_14); - 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,20,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:833: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:833:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF ) - // InternalApplicationConfiguration.g:834: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:840: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:846:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ) - // InternalApplicationConfiguration.g:847:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) - { - // InternalApplicationConfiguration.g:847:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) - // InternalApplicationConfiguration.g:848:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? - { - // InternalApplicationConfiguration.g:848: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==23) ) { - alt14=1; - } - } - } - else if ( (LA14_1==23) ) { - alt14=1; - } - } - switch (alt14) { - case 1 : - // InternalApplicationConfiguration.g:849:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' - { - // InternalApplicationConfiguration.g:849:4: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:850:5: ( ruleQualifiedName ) - { - // InternalApplicationConfiguration.g:850:5: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:851:6: ruleQualifiedName - { - - if (current==null) { - current = createModelElement(grammarAccess.getMetamodelElementRule()); - } - - - newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); - - pushFollow(FOLLOW_17); - ruleQualifiedName(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_1=(Token)match(input,23,FOLLOW_6); - - newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); - - - } - break; - - } - - // InternalApplicationConfiguration.g:870:3: ( (otherlv_2= RULE_ID ) ) - // InternalApplicationConfiguration.g:871:4: (otherlv_2= RULE_ID ) - { - // InternalApplicationConfiguration.g:871:4: (otherlv_2= RULE_ID ) - // InternalApplicationConfiguration.g:872: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:883: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:884: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:888:4: ( (otherlv_4= RULE_ID ) ) - // InternalApplicationConfiguration.g:889:5: (otherlv_4= RULE_ID ) - { - // InternalApplicationConfiguration.g:889:5: (otherlv_4= RULE_ID ) - // InternalApplicationConfiguration.g:890: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:906: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:906:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ) - // InternalApplicationConfiguration.g:907: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:913: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:919:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ) - // InternalApplicationConfiguration.g:920:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) - { - // InternalApplicationConfiguration.g:920:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) - // InternalApplicationConfiguration.g:921:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) - { - otherlv_0=(Token)match(input,24,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); - - // InternalApplicationConfiguration.g:925:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:926:4: (lv_name_1_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:926:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:927:5: lv_name_1_0= RULE_ID - { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); - - 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:943:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) ) - // InternalApplicationConfiguration.g:944:4: (lv_specification_2_0= ruleMetamodelSpecification ) - { - // InternalApplicationConfiguration.g:944:4: (lv_specification_2_0= ruleMetamodelSpecification ) - // InternalApplicationConfiguration.g:945: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:966: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:966:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF ) - // InternalApplicationConfiguration.g:967: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:973: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:979:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:980:2: ( (otherlv_0= RULE_ID ) ) - { - // InternalApplicationConfiguration.g:980:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:981:3: (otherlv_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:981:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:982: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:996: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:996:50: (iv_ruleMetamodel= ruleMetamodel EOF ) - // InternalApplicationConfiguration.g:997: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:1003: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:1009:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ) - // InternalApplicationConfiguration.g:1010:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) - { - // InternalApplicationConfiguration.g:1010: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==18) ) { - alt16=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 16, 0, input); - - throw nvae; - } - switch (alt16) { - case 1 : - // InternalApplicationConfiguration.g:1011: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:1020: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:1032: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:1032:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ) - // InternalApplicationConfiguration.g:1033: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:1039: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:1045:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ) - // InternalApplicationConfiguration.g:1046:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) - { - // InternalApplicationConfiguration.g:1046:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) - // InternalApplicationConfiguration.g:1047:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' - { - otherlv_0=(Token)match(input,18,FOLLOW_18); - - newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - - // InternalApplicationConfiguration.g:1051:3: ( (lv_entry_1_0= rulePartialModelEntry ) ) - // InternalApplicationConfiguration.g:1052:4: (lv_entry_1_0= rulePartialModelEntry ) - { - // InternalApplicationConfiguration.g:1052:4: (lv_entry_1_0= rulePartialModelEntry ) - // InternalApplicationConfiguration.g:1053:5: lv_entry_1_0= rulePartialModelEntry - { - - newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); - - pushFollow(FOLLOW_14); - 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:1070:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? - int alt17=2; - int LA17_0 = input.LA(1); - - if ( (LA17_0==19) ) { - alt17=1; - } - switch (alt17) { - case 1 : - // InternalApplicationConfiguration.g:1071:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) - { - otherlv_2=(Token)match(input,19,FOLLOW_18); - - newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); - - // InternalApplicationConfiguration.g:1075:4: ( (lv_entry_3_0= rulePartialModelEntry ) ) - // InternalApplicationConfiguration.g:1076:5: (lv_entry_3_0= rulePartialModelEntry ) - { - // InternalApplicationConfiguration.g:1076:5: (lv_entry_3_0= rulePartialModelEntry ) - // InternalApplicationConfiguration.g:1077:6: lv_entry_3_0= rulePartialModelEntry - { - - newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); - - pushFollow(FOLLOW_19); - 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,20,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:1103: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:1103:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF ) - // InternalApplicationConfiguration.g:1104: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:1110: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:1116:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ) - // InternalApplicationConfiguration.g:1117:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) - { - // InternalApplicationConfiguration.g:1117: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==25) ) { - alt18=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 18, 0, input); - - throw nvae; - } - switch (alt18) { - case 1 : - // InternalApplicationConfiguration.g:1118: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:1127: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:1139: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:1139:51: (iv_ruleModelEntry= ruleModelEntry EOF ) - // InternalApplicationConfiguration.g:1140: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:1146: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:1152:2: ( ( (lv_path_0_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:1153:2: ( (lv_path_0_0= ruleFile ) ) - { - // InternalApplicationConfiguration.g:1153:2: ( (lv_path_0_0= ruleFile ) ) - // InternalApplicationConfiguration.g:1154:3: (lv_path_0_0= ruleFile ) - { - // InternalApplicationConfiguration.g:1154:3: (lv_path_0_0= ruleFile ) - // InternalApplicationConfiguration.g:1155: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:1175: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:1175:52: (iv_ruleFolderEntry= ruleFolderEntry EOF ) - // InternalApplicationConfiguration.g:1176: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:1182: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:1188: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:1189: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:1189: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:1190: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,25,FOLLOW_20); - - newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); - - // InternalApplicationConfiguration.g:1194:3: ( (lv_path_1_0= ruleFile ) ) - // InternalApplicationConfiguration.g:1195:4: (lv_path_1_0= ruleFile ) - { - // InternalApplicationConfiguration.g:1195:4: (lv_path_1_0= ruleFile ) - // InternalApplicationConfiguration.g:1196:5: lv_path_1_0= ruleFile - { - - newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); - - pushFollow(FOLLOW_15); - 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:1213: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==22) ) { - alt20=1; - } - switch (alt20) { - case 1 : - // InternalApplicationConfiguration.g:1214: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,22,FOLLOW_16); - - newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); - - otherlv_3=(Token)match(input,18,FOLLOW_20); - - newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); - - // InternalApplicationConfiguration.g:1222:4: ( (lv_exclusion_4_0= ruleModelEntry ) ) - // InternalApplicationConfiguration.g:1223:5: (lv_exclusion_4_0= ruleModelEntry ) - { - // InternalApplicationConfiguration.g:1223:5: (lv_exclusion_4_0= ruleModelEntry ) - // InternalApplicationConfiguration.g:1224:6: lv_exclusion_4_0= ruleModelEntry - { - - newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); - - pushFollow(FOLLOW_14); - 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:1241:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* - loop19: - do { - int alt19=2; - int LA19_0 = input.LA(1); - - if ( (LA19_0==19) ) { - alt19=1; - } - - - switch (alt19) { - case 1 : - // InternalApplicationConfiguration.g:1242:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) - { - otherlv_5=(Token)match(input,19,FOLLOW_20); - - newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); - - // InternalApplicationConfiguration.g:1246:5: ( (lv_exclusion_6_0= ruleModelEntry ) ) - // InternalApplicationConfiguration.g:1247:6: (lv_exclusion_6_0= ruleModelEntry ) - { - // InternalApplicationConfiguration.g:1247:6: (lv_exclusion_6_0= ruleModelEntry ) - // InternalApplicationConfiguration.g:1248:7: lv_exclusion_6_0= ruleModelEntry - { - - newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); - - pushFollow(FOLLOW_14); - 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,20,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:1275: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:1275:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ) - // InternalApplicationConfiguration.g:1276: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:1282: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:1288:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ) - // InternalApplicationConfiguration.g:1289:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) - { - // InternalApplicationConfiguration.g:1289:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) - // InternalApplicationConfiguration.g:1290:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) - { - otherlv_0=(Token)match(input,26,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); - - // InternalApplicationConfiguration.g:1294:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1295:4: (lv_name_1_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:1295:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:1296:5: lv_name_1_0= RULE_ID - { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); - - 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:1312:3: ( (lv_specification_2_0= rulePartialModelSpecification ) ) - // InternalApplicationConfiguration.g:1313:4: (lv_specification_2_0= rulePartialModelSpecification ) - { - // InternalApplicationConfiguration.g:1313:4: (lv_specification_2_0= rulePartialModelSpecification ) - // InternalApplicationConfiguration.g:1314: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:1335: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:1335:62: (iv_rulePartialModelReference= rulePartialModelReference EOF ) - // InternalApplicationConfiguration.g:1336: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:1342: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:1348:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:1349:2: ( (otherlv_0= RULE_ID ) ) - { - // InternalApplicationConfiguration.g:1349:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1350:3: (otherlv_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:1350:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:1351: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:1365: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:1365:53: (iv_rulePartialModel= rulePartialModel EOF ) - // InternalApplicationConfiguration.g:1366: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:1372: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:1378:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ) - // InternalApplicationConfiguration.g:1379:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) - { - // InternalApplicationConfiguration.g:1379:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) - int alt21=2; - int LA21_0 = input.LA(1); - - if ( (LA21_0==18) ) { - 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:1380: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:1389: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:1401: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:1401:61: (iv_rulePatternSpecification= rulePatternSpecification EOF ) - // InternalApplicationConfiguration.g:1402: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:1408: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:1414:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ) - // InternalApplicationConfiguration.g:1415:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) - { - // InternalApplicationConfiguration.g:1415:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) - // InternalApplicationConfiguration.g:1416:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' - { - otherlv_0=(Token)match(input,18,FOLLOW_13); - - newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); - - // InternalApplicationConfiguration.g:1420:3: ( (lv_entries_1_0= rulePatternEntry ) ) - // InternalApplicationConfiguration.g:1421:4: (lv_entries_1_0= rulePatternEntry ) - { - // InternalApplicationConfiguration.g:1421:4: (lv_entries_1_0= rulePatternEntry ) - // InternalApplicationConfiguration.g:1422:5: lv_entries_1_0= rulePatternEntry - { - - newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); - - pushFollow(FOLLOW_14); - 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:1439:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* - loop22: - do { - int alt22=2; - int LA22_0 = input.LA(1); - - if ( (LA22_0==19) ) { - alt22=1; - } - - - switch (alt22) { - case 1 : - // InternalApplicationConfiguration.g:1440:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) - { - otherlv_2=(Token)match(input,19,FOLLOW_13); - - newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); - - // InternalApplicationConfiguration.g:1444:4: ( (lv_entries_3_0= rulePatternEntry ) ) - // InternalApplicationConfiguration.g:1445:5: (lv_entries_3_0= rulePatternEntry ) - { - // InternalApplicationConfiguration.g:1445:5: (lv_entries_3_0= rulePatternEntry ) - // InternalApplicationConfiguration.g:1446:6: lv_entries_3_0= rulePatternEntry - { - - newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); - - pushFollow(FOLLOW_14); - 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,20,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:1472: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:1472:53: (iv_rulePatternEntry= rulePatternEntry EOF ) - // InternalApplicationConfiguration.g:1473: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:1479: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:1485:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ) - // InternalApplicationConfiguration.g:1486:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) - { - // InternalApplicationConfiguration.g:1486: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==21) ) { - alt23=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 23, 0, input); - - throw nvae; - } - switch (alt23) { - case 1 : - // InternalApplicationConfiguration.g:1487: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:1496: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:1508: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:1508:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ) - // InternalApplicationConfiguration.g:1509: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:1515: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:1521: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:1522: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:1522: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:1523: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,21,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); - - // InternalApplicationConfiguration.g:1527:3: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:1528:4: ( ruleQualifiedName ) - { - // InternalApplicationConfiguration.g:1528:4: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:1529:5: ruleQualifiedName - { - - if (current==null) { - current = createModelElement(grammarAccess.getAllPatternEntryRule()); - } - - - newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); - - pushFollow(FOLLOW_15); - ruleQualifiedName(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:1543: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==22) ) { - alt25=1; - } - switch (alt25) { - case 1 : - // InternalApplicationConfiguration.g:1544: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,22,FOLLOW_16); - - newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); - - otherlv_3=(Token)match(input,18,FOLLOW_6); - - newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); - - // InternalApplicationConfiguration.g:1552:4: ( (lv_exclusuion_4_0= rulePatternElement ) ) - // InternalApplicationConfiguration.g:1553:5: (lv_exclusuion_4_0= rulePatternElement ) - { - // InternalApplicationConfiguration.g:1553:5: (lv_exclusuion_4_0= rulePatternElement ) - // InternalApplicationConfiguration.g:1554:6: lv_exclusuion_4_0= rulePatternElement - { - - newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); - - pushFollow(FOLLOW_14); - 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:1571:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* - loop24: - do { - int alt24=2; - int LA24_0 = input.LA(1); - - if ( (LA24_0==19) ) { - alt24=1; - } - - - switch (alt24) { - case 1 : - // InternalApplicationConfiguration.g:1572:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) - { - otherlv_5=(Token)match(input,19,FOLLOW_6); - - newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); - - // InternalApplicationConfiguration.g:1576:5: ( (lv_exclusuion_6_0= rulePatternElement ) ) - // InternalApplicationConfiguration.g:1577:6: (lv_exclusuion_6_0= rulePatternElement ) - { - // InternalApplicationConfiguration.g:1577:6: (lv_exclusuion_6_0= rulePatternElement ) - // InternalApplicationConfiguration.g:1578:7: lv_exclusuion_6_0= rulePatternElement - { - - newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); - - pushFollow(FOLLOW_14); - 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,20,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:1605: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:1605:55: (iv_rulePatternElement= rulePatternElement EOF ) - // InternalApplicationConfiguration.g:1606: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:1612: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:1618:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ) - // InternalApplicationConfiguration.g:1619:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) - { - // InternalApplicationConfiguration.g:1619:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:1620:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) - { - // InternalApplicationConfiguration.g:1620: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==23) ) { - alt26=1; - } - } - switch (alt26) { - case 1 : - // InternalApplicationConfiguration.g:1621:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' - { - // InternalApplicationConfiguration.g:1621:4: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:1622:5: ( ruleQualifiedName ) - { - // InternalApplicationConfiguration.g:1622:5: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:1623:6: ruleQualifiedName - { - - if (current==null) { - current = createModelElement(grammarAccess.getPatternElementRule()); - } - - - newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); - - pushFollow(FOLLOW_17); - ruleQualifiedName(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_1=(Token)match(input,23,FOLLOW_6); - - newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); - - - } - break; - - } - - // InternalApplicationConfiguration.g:1642:3: ( (otherlv_2= RULE_ID ) ) - // InternalApplicationConfiguration.g:1643:4: (otherlv_2= RULE_ID ) - { - // InternalApplicationConfiguration.g:1643:4: (otherlv_2= RULE_ID ) - // InternalApplicationConfiguration.g:1644: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:1659: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:1659:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ) - // InternalApplicationConfiguration.g:1660: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:1666: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:1672:2: ( (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ) - // InternalApplicationConfiguration.g:1673:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) - { - // InternalApplicationConfiguration.g:1673:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) - // InternalApplicationConfiguration.g:1674:3: otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) - { - otherlv_0=(Token)match(input,27,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); - - // InternalApplicationConfiguration.g:1678:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1679:4: (lv_name_1_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:1679:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:1680:5: lv_name_1_0= RULE_ID - { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); - - 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:1696:3: ( (lv_specification_2_0= rulePatternSpecification ) ) - // InternalApplicationConfiguration.g:1697:4: (lv_specification_2_0= rulePatternSpecification ) - { - // InternalApplicationConfiguration.g:1697:4: (lv_specification_2_0= rulePatternSpecification ) - // InternalApplicationConfiguration.g:1698: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:1719: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:1719:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ) - // InternalApplicationConfiguration.g:1720: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:1726: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:1732:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:1733:2: ( (otherlv_0= RULE_ID ) ) - { - // InternalApplicationConfiguration.g:1733:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1734:3: (otherlv_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:1734:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:1735: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:1749: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:1749:53: (iv_ruleGraphPattern= ruleGraphPattern EOF ) - // InternalApplicationConfiguration.g:1750: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:1756: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:1762:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ) - // InternalApplicationConfiguration.g:1763:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) - { - // InternalApplicationConfiguration.g:1763: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==18) ) { - alt27=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 27, 0, input); - - throw nvae; - } - switch (alt27) { - case 1 : - // InternalApplicationConfiguration.g:1764: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:1773: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 "entryRuleConfigSpecification" - // InternalApplicationConfiguration.g:1785: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:1785:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) - // InternalApplicationConfiguration.g:1786: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:1792: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:1798:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:1799:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) - { - // InternalApplicationConfiguration.g:1799:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:1800:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' - { - // InternalApplicationConfiguration.g:1800:3: () - // InternalApplicationConfiguration.g:1801:4: - { - - current = forceCreateModelElement( - grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,18,FOLLOW_21); - - newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); - - // InternalApplicationConfiguration.g:1811:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? - int alt29=2; - int LA29_0 = input.LA(1); - - if ( (LA29_0==RULE_STRING||(LA29_0>=29 && LA29_0<=31)) ) { - alt29=1; - } - switch (alt29) { - case 1 : - // InternalApplicationConfiguration.g:1812:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* - { - // InternalApplicationConfiguration.g:1812:4: ( (lv_entries_2_0= ruleConfigEntry ) ) - // InternalApplicationConfiguration.g:1813:5: (lv_entries_2_0= ruleConfigEntry ) - { - // InternalApplicationConfiguration.g:1813:5: (lv_entries_2_0= ruleConfigEntry ) - // InternalApplicationConfiguration.g:1814:6: lv_entries_2_0= ruleConfigEntry - { - - newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); - - pushFollow(FOLLOW_14); - 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:1831:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* - loop28: - do { - int alt28=2; - int LA28_0 = input.LA(1); - - if ( (LA28_0==19) ) { - alt28=1; - } - - - switch (alt28) { - case 1 : - // InternalApplicationConfiguration.g:1832:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) - { - otherlv_3=(Token)match(input,19,FOLLOW_22); - - newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); - - // InternalApplicationConfiguration.g:1836:5: ( (lv_entries_4_0= ruleConfigEntry ) ) - // InternalApplicationConfiguration.g:1837:6: (lv_entries_4_0= ruleConfigEntry ) - { - // InternalApplicationConfiguration.g:1837:6: (lv_entries_4_0= ruleConfigEntry ) - // InternalApplicationConfiguration.g:1838:7: lv_entries_4_0= ruleConfigEntry - { - - newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); - - pushFollow(FOLLOW_14); - 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 loop28; - } - } while (true); - - - } - break; - - } - - otherlv_5=(Token)match(input,20,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:1865: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:1865:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) - // InternalApplicationConfiguration.g:1866: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:1872: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:1878:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ) - // InternalApplicationConfiguration.g:1879:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) - { - // InternalApplicationConfiguration.g:1879:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) - // InternalApplicationConfiguration.g:1880:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) - { - otherlv_0=(Token)match(input,28,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); - - // InternalApplicationConfiguration.g:1884:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1885:4: (lv_name_1_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:1885:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:1886:5: lv_name_1_0= RULE_ID - { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); - - 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:1902:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) - // InternalApplicationConfiguration.g:1903:4: (lv_specification_2_0= ruleConfigSpecification ) - { - // InternalApplicationConfiguration.g:1903:4: (lv_specification_2_0= ruleConfigSpecification ) - // InternalApplicationConfiguration.g:1904: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:1925: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:1925:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) - // InternalApplicationConfiguration.g:1926: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:1932: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:1938:2: ( (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ) - // InternalApplicationConfiguration.g:1939:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) - { - // InternalApplicationConfiguration.g:1939:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) - int alt30=4; - switch ( input.LA(1) ) { - case 29: - { - alt30=1; - } - break; - case 30: - { - alt30=2; - } - break; - case 31: - { - alt30=3; - } - break; - case RULE_STRING: - { - alt30=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 30, 0, input); - - throw nvae; - } - - switch (alt30) { - case 1 : - // InternalApplicationConfiguration.g:1940: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:1949: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:1958: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:1967: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:1979: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:1979:59: (iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ) - // InternalApplicationConfiguration.g:1980: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:1986: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:1992:2: ( (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ) - // InternalApplicationConfiguration.g:1993:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) - { - // InternalApplicationConfiguration.g:1993:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) - // InternalApplicationConfiguration.g:1994:3: otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) - { - otherlv_0=(Token)match(input,29,FOLLOW_12); - - newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); - - otherlv_1=(Token)match(input,17,FOLLOW_23); - - newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); - - // InternalApplicationConfiguration.g:2002:3: ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) - // InternalApplicationConfiguration.g:2003:4: (lv_level_2_0= ruleDocumentLevelSpecification ) - { - // InternalApplicationConfiguration.g:2003:4: (lv_level_2_0= ruleDocumentLevelSpecification ) - // InternalApplicationConfiguration.g:2004: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:2025: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:2025:53: (iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ) - // InternalApplicationConfiguration.g:2026: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:2032: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:2038:2: ( (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:2039:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) - { - // InternalApplicationConfiguration.g:2039:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:2040:3: otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) - { - otherlv_0=(Token)match(input,30,FOLLOW_12); - - newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); - - otherlv_1=(Token)match(input,17,FOLLOW_7); - - newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); - - // InternalApplicationConfiguration.g:2048:3: ( (lv_millisecLimit_2_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:2049:4: (lv_millisecLimit_2_0= RULE_INT ) - { - // InternalApplicationConfiguration.g:2049:4: (lv_millisecLimit_2_0= RULE_INT ) - // InternalApplicationConfiguration.g:2050: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:2070: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:2070:52: (iv_ruleMemoryEntry= ruleMemoryEntry EOF ) - // InternalApplicationConfiguration.g:2071: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:2077: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:2083:2: ( (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:2084:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) - { - // InternalApplicationConfiguration.g:2084:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:2085:3: otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) - { - otherlv_0=(Token)match(input,31,FOLLOW_12); - - newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); - - otherlv_1=(Token)match(input,17,FOLLOW_7); - - newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); - - // InternalApplicationConfiguration.g:2093:3: ( (lv_megabyteLimit_2_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:2094:4: (lv_megabyteLimit_2_0= RULE_INT ) - { - // InternalApplicationConfiguration.g:2094:4: (lv_megabyteLimit_2_0= RULE_INT ) - // InternalApplicationConfiguration.g:2095: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:2115: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:2115:52: (iv_ruleCustomEntry= ruleCustomEntry EOF ) - // InternalApplicationConfiguration.g:2116: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:2122: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:2128:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) - // InternalApplicationConfiguration.g:2129:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) - { - // InternalApplicationConfiguration.g:2129:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:2130:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) - { - // InternalApplicationConfiguration.g:2130:3: ( (lv_key_0_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:2131:4: (lv_key_0_0= RULE_STRING ) - { - // InternalApplicationConfiguration.g:2131:4: (lv_key_0_0= RULE_STRING ) - // InternalApplicationConfiguration.g:2132:5: lv_key_0_0= RULE_STRING - { - lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_12); - - 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,17,FOLLOW_10); - - newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); - - // InternalApplicationConfiguration.g:2152:3: ( (lv_value_2_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:2153:4: (lv_value_2_0= RULE_STRING ) - { - // InternalApplicationConfiguration.g:2153:4: (lv_value_2_0= RULE_STRING ) - // InternalApplicationConfiguration.g:2154: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:2174: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:2174:56: (iv_ruleConfigReference= ruleConfigReference EOF ) - // InternalApplicationConfiguration.g:2175: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:2181: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:2187:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:2188:2: ( (otherlv_0= RULE_ID ) ) - { - // InternalApplicationConfiguration.g:2188:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:2189:3: (otherlv_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:2189:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:2190: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:2204: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:2204:47: (iv_ruleConfig= ruleConfig EOF ) - // InternalApplicationConfiguration.g:2205: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:2211: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:2217:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) - // InternalApplicationConfiguration.g:2218:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) - { - // InternalApplicationConfiguration.g:2218:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) - int alt31=2; - int LA31_0 = input.LA(1); - - if ( (LA31_0==18) ) { - alt31=1; - } - else if ( (LA31_0==RULE_ID) ) { - alt31=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 31, 0, input); - - throw nvae; - } - switch (alt31) { - case 1 : - // InternalApplicationConfiguration.g:2219: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:2228: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:2240: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:2240:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) - // InternalApplicationConfiguration.g:2241: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:2247: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:2253:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:2254:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) - { - // InternalApplicationConfiguration.g:2254:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:2255:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' - { - // InternalApplicationConfiguration.g:2255:3: () - // InternalApplicationConfiguration.g:2256:4: - { - - current = forceCreateModelElement( - grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,18,FOLLOW_24); - - newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); - - // InternalApplicationConfiguration.g:2266:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? - int alt33=2; - int LA33_0 = input.LA(1); - - if ( (LA33_0==32) ) { - alt33=1; - } - switch (alt33) { - case 1 : - // InternalApplicationConfiguration.g:2267:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* - { - // InternalApplicationConfiguration.g:2267:4: ( (lv_scopes_2_0= ruleTypeScope ) ) - // InternalApplicationConfiguration.g:2268:5: (lv_scopes_2_0= ruleTypeScope ) - { - // InternalApplicationConfiguration.g:2268:5: (lv_scopes_2_0= ruleTypeScope ) - // InternalApplicationConfiguration.g:2269:6: lv_scopes_2_0= ruleTypeScope - { - - newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); - - pushFollow(FOLLOW_14); - 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:2286:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* - loop32: - do { - int alt32=2; - int LA32_0 = input.LA(1); - - if ( (LA32_0==19) ) { - alt32=1; - } - - - switch (alt32) { - case 1 : - // InternalApplicationConfiguration.g:2287:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) - { - otherlv_3=(Token)match(input,19,FOLLOW_25); - - newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); - - // InternalApplicationConfiguration.g:2291:5: ( (lv_scopes_4_0= ruleTypeScope ) ) - // InternalApplicationConfiguration.g:2292:6: (lv_scopes_4_0= ruleTypeScope ) - { - // InternalApplicationConfiguration.g:2292:6: (lv_scopes_4_0= ruleTypeScope ) - // InternalApplicationConfiguration.g:2293:7: lv_scopes_4_0= ruleTypeScope - { - - newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); - - pushFollow(FOLLOW_14); - 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 loop32; - } - } while (true); - - - } - break; - - } - - otherlv_5=(Token)match(input,20,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:2320: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:2320:50: (iv_ruleTypeScope= ruleTypeScope EOF ) - // InternalApplicationConfiguration.g:2321: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:2327: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:2333:2: ( (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ) - // InternalApplicationConfiguration.g:2334:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) - { - // InternalApplicationConfiguration.g:2334:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) - int alt34=5; - int LA34_0 = input.LA(1); - - if ( (LA34_0==32) ) { - switch ( input.LA(2) ) { - case 37: - { - alt34=3; - } - break; - case 38: - { - alt34=4; - } - break; - case 39: - { - alt34=5; - } - break; - case 34: - { - alt34=1; - } - break; - case 36: - { - alt34=2; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 34, 1, input); - - throw nvae; - } - - } - else { - NoViableAltException nvae = - new NoViableAltException("", 34, 0, input); - - throw nvae; - } - switch (alt34) { - case 1 : - // InternalApplicationConfiguration.g:2335: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:2344: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:2353: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:2362: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:2371: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:2383: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:2383:55: (iv_ruleClassTypeScope= ruleClassTypeScope EOF ) - // InternalApplicationConfiguration.g:2384: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:2390: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:2396: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:2397: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:2397: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:2398: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,32,FOLLOW_26); - - newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); - - // InternalApplicationConfiguration.g:2402:3: ( (lv_type_1_0= ruleClassReference ) ) - // InternalApplicationConfiguration.g:2403:4: (lv_type_1_0= ruleClassReference ) - { - // InternalApplicationConfiguration.g:2403:4: (lv_type_1_0= ruleClassReference ) - // InternalApplicationConfiguration.g:2404:5: lv_type_1_0= ruleClassReference - { - - newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); - - pushFollow(FOLLOW_27); - 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:2421:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt35=2; - int LA35_0 = input.LA(1); - - if ( (LA35_0==33) ) { - alt35=1; - } - else if ( (LA35_0==17) ) { - alt35=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 35, 0, input); - - throw nvae; - } - switch (alt35) { - case 1 : - // InternalApplicationConfiguration.g:2422:4: ( (lv_setsNew_2_0= '+=' ) ) - { - // InternalApplicationConfiguration.g:2422:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:2423:5: (lv_setsNew_2_0= '+=' ) - { - // InternalApplicationConfiguration.g:2423:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:2424:6: lv_setsNew_2_0= '+=' - { - lv_setsNew_2_0=(Token)match(input,33,FOLLOW_28); - - 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:2437:4: ( (lv_setsSum_3_0= '=' ) ) - { - // InternalApplicationConfiguration.g:2437:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:2438:5: (lv_setsSum_3_0= '=' ) - { - // InternalApplicationConfiguration.g:2438:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:2439:6: lv_setsSum_3_0= '=' - { - lv_setsSum_3_0=(Token)match(input,17,FOLLOW_28); - - 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:2452:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) - int alt36=2; - int LA36_0 = input.LA(1); - - if ( (LA36_0==RULE_INT) ) { - int LA36_1 = input.LA(2); - - if ( (LA36_1==41) ) { - alt36=2; - } - else if ( (LA36_1==EOF||(LA36_1>=19 && LA36_1<=20)) ) { - alt36=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 36, 1, input); - - throw nvae; - } - } - else if ( (LA36_0==40) ) { - alt36=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 36, 0, input); - - throw nvae; - } - switch (alt36) { - case 1 : - // InternalApplicationConfiguration.g:2453:4: ( (lv_number_4_0= ruleExactNumber ) ) - { - // InternalApplicationConfiguration.g:2453:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:2454:5: (lv_number_4_0= ruleExactNumber ) - { - // InternalApplicationConfiguration.g:2454:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:2455: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:2473:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - { - // InternalApplicationConfiguration.g:2473:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:2474:5: (lv_number_5_0= ruleIntervallNumber ) - { - // InternalApplicationConfiguration.g:2474:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:2475: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:2497: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:2497:56: (iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ) - // InternalApplicationConfiguration.g:2498: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:2504: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:2510: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:2511: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:2511: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:2512: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,32,FOLLOW_29); - - newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); - - // InternalApplicationConfiguration.g:2516:3: ( (lv_type_1_0= ruleObjectReference ) ) - // InternalApplicationConfiguration.g:2517:4: (lv_type_1_0= ruleObjectReference ) - { - // InternalApplicationConfiguration.g:2517:4: (lv_type_1_0= ruleObjectReference ) - // InternalApplicationConfiguration.g:2518:5: lv_type_1_0= ruleObjectReference - { - - newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); - - pushFollow(FOLLOW_27); - 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:2535:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt37=2; - int LA37_0 = input.LA(1); - - if ( (LA37_0==33) ) { - alt37=1; - } - else if ( (LA37_0==17) ) { - alt37=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 37, 0, input); - - throw nvae; - } - switch (alt37) { - case 1 : - // InternalApplicationConfiguration.g:2536:4: ( (lv_setsNew_2_0= '+=' ) ) - { - // InternalApplicationConfiguration.g:2536:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:2537:5: (lv_setsNew_2_0= '+=' ) - { - // InternalApplicationConfiguration.g:2537:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:2538:6: lv_setsNew_2_0= '+=' - { - lv_setsNew_2_0=(Token)match(input,33,FOLLOW_28); - - 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:2551:4: ( (lv_setsSum_3_0= '=' ) ) - { - // InternalApplicationConfiguration.g:2551:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:2552:5: (lv_setsSum_3_0= '=' ) - { - // InternalApplicationConfiguration.g:2552:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:2553:6: lv_setsSum_3_0= '=' - { - lv_setsSum_3_0=(Token)match(input,17,FOLLOW_28); - - 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:2566:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) - int alt38=2; - int LA38_0 = input.LA(1); - - if ( (LA38_0==RULE_INT) ) { - int LA38_1 = input.LA(2); - - if ( (LA38_1==41) ) { - alt38=2; - } - else if ( (LA38_1==EOF||(LA38_1>=19 && LA38_1<=20)) ) { - alt38=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 38, 1, input); - - throw nvae; - } - } - else if ( (LA38_0==40) ) { - alt38=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 38, 0, input); - - throw nvae; - } - switch (alt38) { - case 1 : - // InternalApplicationConfiguration.g:2567:4: ( (lv_number_4_0= ruleExactNumber ) ) - { - // InternalApplicationConfiguration.g:2567:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:2568:5: (lv_number_4_0= ruleExactNumber ) - { - // InternalApplicationConfiguration.g:2568:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:2569: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:2587:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - { - // InternalApplicationConfiguration.g:2587:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:2588:5: (lv_number_5_0= ruleIntervallNumber ) - { - // InternalApplicationConfiguration.g:2588:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:2589: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:2611: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:2611:57: (iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ) - // InternalApplicationConfiguration.g:2612: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:2618: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:2624: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:2625: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:2625: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:2626: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,32,FOLLOW_30); - - newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); - - // InternalApplicationConfiguration.g:2630:3: ( (lv_type_1_0= ruleIntegerReference ) ) - // InternalApplicationConfiguration.g:2631:4: (lv_type_1_0= ruleIntegerReference ) - { - // InternalApplicationConfiguration.g:2631:4: (lv_type_1_0= ruleIntegerReference ) - // InternalApplicationConfiguration.g:2632:5: lv_type_1_0= ruleIntegerReference - { - - newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); - - pushFollow(FOLLOW_27); - 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:2649:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt39=2; - int LA39_0 = input.LA(1); - - if ( (LA39_0==33) ) { - alt39=1; - } - else if ( (LA39_0==17) ) { - alt39=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 39, 0, input); - - throw nvae; - } - switch (alt39) { - case 1 : - // InternalApplicationConfiguration.g:2650:4: ( (lv_setsNew_2_0= '+=' ) ) - { - // InternalApplicationConfiguration.g:2650:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:2651:5: (lv_setsNew_2_0= '+=' ) - { - // InternalApplicationConfiguration.g:2651:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:2652:6: lv_setsNew_2_0= '+=' - { - lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); - - 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:2665:4: ( (lv_setsSum_3_0= '=' ) ) - { - // InternalApplicationConfiguration.g:2665:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:2666:5: (lv_setsSum_3_0= '=' ) - { - // InternalApplicationConfiguration.g:2666:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:2667:6: lv_setsSum_3_0= '=' - { - lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); - - 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:2680:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) - int alt40=3; - switch ( input.LA(1) ) { - case RULE_INT: - { - int LA40_1 = input.LA(2); - - if ( (LA40_1==41) ) { - alt40=2; - } - else if ( (LA40_1==EOF||(LA40_1>=19 && LA40_1<=20)) ) { - alt40=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 40, 1, input); - - throw nvae; - } - } - break; - case 40: - { - alt40=1; - } - break; - case 18: - { - alt40=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 40, 0, input); - - throw nvae; - } - - switch (alt40) { - case 1 : - // InternalApplicationConfiguration.g:2681:4: ( (lv_number_4_0= ruleExactNumber ) ) - { - // InternalApplicationConfiguration.g:2681:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:2682:5: (lv_number_4_0= ruleExactNumber ) - { - // InternalApplicationConfiguration.g:2682:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:2683: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:2701:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - { - // InternalApplicationConfiguration.g:2701:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:2702:5: (lv_number_5_0= ruleIntervallNumber ) - { - // InternalApplicationConfiguration.g:2702:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:2703: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:2721:4: ( (lv_number_6_0= ruleIntEnumberation ) ) - { - // InternalApplicationConfiguration.g:2721:4: ( (lv_number_6_0= ruleIntEnumberation ) ) - // InternalApplicationConfiguration.g:2722:5: (lv_number_6_0= ruleIntEnumberation ) - { - // InternalApplicationConfiguration.g:2722:5: (lv_number_6_0= ruleIntEnumberation ) - // InternalApplicationConfiguration.g:2723: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:2745: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:2745:54: (iv_ruleRealTypeScope= ruleRealTypeScope EOF ) - // InternalApplicationConfiguration.g:2746: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:2752: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:2758: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:2759: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:2759: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:2760: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,32,FOLLOW_32); - - newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); - - // InternalApplicationConfiguration.g:2764:3: ( (lv_type_1_0= ruleRealReference ) ) - // InternalApplicationConfiguration.g:2765:4: (lv_type_1_0= ruleRealReference ) - { - // InternalApplicationConfiguration.g:2765:4: (lv_type_1_0= ruleRealReference ) - // InternalApplicationConfiguration.g:2766:5: lv_type_1_0= ruleRealReference - { - - newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); - - pushFollow(FOLLOW_27); - 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:2783:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt41=2; - int LA41_0 = input.LA(1); - - if ( (LA41_0==33) ) { - alt41=1; - } - else if ( (LA41_0==17) ) { - alt41=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 41, 0, input); - - throw nvae; - } - switch (alt41) { - case 1 : - // InternalApplicationConfiguration.g:2784:4: ( (lv_setsNew_2_0= '+=' ) ) - { - // InternalApplicationConfiguration.g:2784:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:2785:5: (lv_setsNew_2_0= '+=' ) - { - // InternalApplicationConfiguration.g:2785:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:2786:6: lv_setsNew_2_0= '+=' - { - lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); - - 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:2799:4: ( (lv_setsSum_3_0= '=' ) ) - { - // InternalApplicationConfiguration.g:2799:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:2800:5: (lv_setsSum_3_0= '=' ) - { - // InternalApplicationConfiguration.g:2800:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:2801:6: lv_setsSum_3_0= '=' - { - lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); - - 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:2814:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) - int alt42=3; - switch ( input.LA(1) ) { - case RULE_INT: - { - int LA42_1 = input.LA(2); - - if ( (LA42_1==EOF||(LA42_1>=19 && LA42_1<=20)) ) { - alt42=1; - } - else if ( (LA42_1==41) ) { - alt42=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 42, 1, input); - - throw nvae; - } - } - break; - case 40: - { - alt42=1; - } - break; - case 18: - { - alt42=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 42, 0, input); - - throw nvae; - } - - switch (alt42) { - case 1 : - // InternalApplicationConfiguration.g:2815:4: ( (lv_number_4_0= ruleExactNumber ) ) - { - // InternalApplicationConfiguration.g:2815:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:2816:5: (lv_number_4_0= ruleExactNumber ) - { - // InternalApplicationConfiguration.g:2816:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:2817: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:2835:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - { - // InternalApplicationConfiguration.g:2835:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:2836:5: (lv_number_5_0= ruleIntervallNumber ) - { - // InternalApplicationConfiguration.g:2836:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:2837: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:2855:4: ( (lv_number_6_0= ruleRealEnumeration ) ) - { - // InternalApplicationConfiguration.g:2855:4: ( (lv_number_6_0= ruleRealEnumeration ) ) - // InternalApplicationConfiguration.g:2856:5: (lv_number_6_0= ruleRealEnumeration ) - { - // InternalApplicationConfiguration.g:2856:5: (lv_number_6_0= ruleRealEnumeration ) - // InternalApplicationConfiguration.g:2857: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:2879: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:2879:56: (iv_ruleStringTypeScope= ruleStringTypeScope EOF ) - // InternalApplicationConfiguration.g:2880: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:2886: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:2892: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:2893: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:2893: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:2894: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,32,FOLLOW_33); - - newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); - - // InternalApplicationConfiguration.g:2898:3: ( (lv_type_1_0= ruleStringReference ) ) - // InternalApplicationConfiguration.g:2899:4: (lv_type_1_0= ruleStringReference ) - { - // InternalApplicationConfiguration.g:2899:4: (lv_type_1_0= ruleStringReference ) - // InternalApplicationConfiguration.g:2900:5: lv_type_1_0= ruleStringReference - { - - newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); - - pushFollow(FOLLOW_27); - 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:2917:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt43=2; - int LA43_0 = input.LA(1); - - if ( (LA43_0==33) ) { - alt43=1; - } - else if ( (LA43_0==17) ) { - alt43=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 43, 0, input); - - throw nvae; - } - switch (alt43) { - case 1 : - // InternalApplicationConfiguration.g:2918:4: ( (lv_setsNew_2_0= '+=' ) ) - { - // InternalApplicationConfiguration.g:2918:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:2919:5: (lv_setsNew_2_0= '+=' ) - { - // InternalApplicationConfiguration.g:2919:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:2920:6: lv_setsNew_2_0= '+=' - { - lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); - - 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:2933:4: ( (lv_setsSum_3_0= '=' ) ) - { - // InternalApplicationConfiguration.g:2933:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:2934:5: (lv_setsSum_3_0= '=' ) - { - // InternalApplicationConfiguration.g:2934:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:2935:6: lv_setsSum_3_0= '=' - { - lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); - - 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:2948:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) - int alt44=3; - switch ( input.LA(1) ) { - case RULE_INT: - { - int LA44_1 = input.LA(2); - - if ( (LA44_1==41) ) { - alt44=2; - } - else if ( (LA44_1==EOF||(LA44_1>=19 && LA44_1<=20)) ) { - alt44=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 44, 1, input); - - throw nvae; - } - } - break; - case 40: - { - alt44=1; - } - break; - case 18: - { - alt44=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 44, 0, input); - - throw nvae; - } - - switch (alt44) { - case 1 : - // InternalApplicationConfiguration.g:2949:4: ( (lv_number_4_0= ruleExactNumber ) ) - { - // InternalApplicationConfiguration.g:2949:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:2950:5: (lv_number_4_0= ruleExactNumber ) - { - // InternalApplicationConfiguration.g:2950:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:2951: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:2969:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - { - // InternalApplicationConfiguration.g:2969:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:2970:5: (lv_number_5_0= ruleIntervallNumber ) - { - // InternalApplicationConfiguration.g:2970:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:2971: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:2989:4: ( (lv_number_6_0= ruleStringEnumeration ) ) - { - // InternalApplicationConfiguration.g:2989:4: ( (lv_number_6_0= ruleStringEnumeration ) ) - // InternalApplicationConfiguration.g:2990:5: (lv_number_6_0= ruleStringEnumeration ) - { - // InternalApplicationConfiguration.g:2990:5: (lv_number_6_0= ruleStringEnumeration ) - // InternalApplicationConfiguration.g:2991: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:3013: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:3013:55: (iv_ruleClassReference= ruleClassReference EOF ) - // InternalApplicationConfiguration.g:3014: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:3020: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:3026:2: ( (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ) - // InternalApplicationConfiguration.g:3027:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) - { - // InternalApplicationConfiguration.g:3027:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) - // InternalApplicationConfiguration.g:3028:3: otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' - { - otherlv_0=(Token)match(input,34,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); - - // InternalApplicationConfiguration.g:3032:3: ( (lv_element_1_0= ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:3033:4: (lv_element_1_0= ruleMetamodelElement ) - { - // InternalApplicationConfiguration.g:3033:4: (lv_element_1_0= ruleMetamodelElement ) - // InternalApplicationConfiguration.g:3034:5: lv_element_1_0= ruleMetamodelElement - { - - newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); - - pushFollow(FOLLOW_34); - 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,35,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:3059: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:3059:56: (iv_ruleObjectReference= ruleObjectReference EOF ) - // InternalApplicationConfiguration.g:3060: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:3066: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:3072:2: ( ( () otherlv_1= 'node' ) ) - // InternalApplicationConfiguration.g:3073:2: ( () otherlv_1= 'node' ) - { - // InternalApplicationConfiguration.g:3073:2: ( () otherlv_1= 'node' ) - // InternalApplicationConfiguration.g:3074:3: () otherlv_1= 'node' - { - // InternalApplicationConfiguration.g:3074:3: () - // InternalApplicationConfiguration.g:3075:4: - { - - current = forceCreateModelElement( - grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,36,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:3089: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:3089:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) - // InternalApplicationConfiguration.g:3090: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:3096: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:3102:2: ( ( () otherlv_1= 'int' ) ) - // InternalApplicationConfiguration.g:3103:2: ( () otherlv_1= 'int' ) - { - // InternalApplicationConfiguration.g:3103:2: ( () otherlv_1= 'int' ) - // InternalApplicationConfiguration.g:3104:3: () otherlv_1= 'int' - { - // InternalApplicationConfiguration.g:3104:3: () - // InternalApplicationConfiguration.g:3105:4: - { - - current = forceCreateModelElement( - grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,37,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:3119: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:3119:54: (iv_ruleRealReference= ruleRealReference EOF ) - // InternalApplicationConfiguration.g:3120: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:3126: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:3132:2: ( ( () otherlv_1= 'real' ) ) - // InternalApplicationConfiguration.g:3133:2: ( () otherlv_1= 'real' ) - { - // InternalApplicationConfiguration.g:3133:2: ( () otherlv_1= 'real' ) - // InternalApplicationConfiguration.g:3134:3: () otherlv_1= 'real' - { - // InternalApplicationConfiguration.g:3134:3: () - // InternalApplicationConfiguration.g:3135:4: - { - - current = forceCreateModelElement( - grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,38,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:3149: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:3149:56: (iv_ruleStringReference= ruleStringReference EOF ) - // InternalApplicationConfiguration.g:3150: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:3156: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:3162:2: ( ( () otherlv_1= 'string' ) ) - // InternalApplicationConfiguration.g:3163:2: ( () otherlv_1= 'string' ) - { - // InternalApplicationConfiguration.g:3163:2: ( () otherlv_1= 'string' ) - // InternalApplicationConfiguration.g:3164:3: () otherlv_1= 'string' - { - // InternalApplicationConfiguration.g:3164:3: () - // InternalApplicationConfiguration.g:3165:4: - { - - current = forceCreateModelElement( - grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,39,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:3179: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:3179:52: (iv_ruleExactNumber= ruleExactNumber EOF ) - // InternalApplicationConfiguration.g:3180: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:3186: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:3192:2: ( ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ) - // InternalApplicationConfiguration.g:3193:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) - { - // InternalApplicationConfiguration.g:3193:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) - int alt45=2; - int LA45_0 = input.LA(1); - - if ( (LA45_0==RULE_INT) ) { - alt45=1; - } - else if ( (LA45_0==40) ) { - alt45=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 45, 0, input); - - throw nvae; - } - switch (alt45) { - case 1 : - // InternalApplicationConfiguration.g:3194:3: ( (lv_exactNumber_0_0= RULE_INT ) ) - { - // InternalApplicationConfiguration.g:3194:3: ( (lv_exactNumber_0_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:3195:4: (lv_exactNumber_0_0= RULE_INT ) - { - // InternalApplicationConfiguration.g:3195:4: (lv_exactNumber_0_0= RULE_INT ) - // InternalApplicationConfiguration.g:3196: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:3213:3: ( (lv_exactUnlimited_1_0= '*' ) ) - { - // InternalApplicationConfiguration.g:3213:3: ( (lv_exactUnlimited_1_0= '*' ) ) - // InternalApplicationConfiguration.g:3214:4: (lv_exactUnlimited_1_0= '*' ) - { - // InternalApplicationConfiguration.g:3214:4: (lv_exactUnlimited_1_0= '*' ) - // InternalApplicationConfiguration.g:3215:5: lv_exactUnlimited_1_0= '*' - { - lv_exactUnlimited_1_0=(Token)match(input,40,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:3231: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:3231:56: (iv_ruleIntervallNumber= ruleIntervallNumber EOF ) - // InternalApplicationConfiguration.g:3232: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:3238: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:3244:2: ( ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ) - // InternalApplicationConfiguration.g:3245:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) - { - // InternalApplicationConfiguration.g:3245:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) - // InternalApplicationConfiguration.g:3246:3: ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) - { - // InternalApplicationConfiguration.g:3246:3: ( (lv_min_0_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:3247:4: (lv_min_0_0= RULE_INT ) - { - // InternalApplicationConfiguration.g:3247:4: (lv_min_0_0= RULE_INT ) - // InternalApplicationConfiguration.g:3248:5: lv_min_0_0= RULE_INT - { - lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_35); - - 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,41,FOLLOW_28); - - newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); - - // InternalApplicationConfiguration.g:3268:3: ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) - int alt46=2; - int LA46_0 = input.LA(1); - - if ( (LA46_0==RULE_INT) ) { - alt46=1; - } - else if ( (LA46_0==40) ) { - alt46=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 46, 0, input); - - throw nvae; - } - switch (alt46) { - case 1 : - // InternalApplicationConfiguration.g:3269:4: ( (lv_maxNumber_2_0= RULE_INT ) ) - { - // InternalApplicationConfiguration.g:3269:4: ( (lv_maxNumber_2_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:3270:5: (lv_maxNumber_2_0= RULE_INT ) - { - // InternalApplicationConfiguration.g:3270:5: (lv_maxNumber_2_0= RULE_INT ) - // InternalApplicationConfiguration.g:3271: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:3288:4: ( (lv_maxUnlimited_3_0= '*' ) ) - { - // InternalApplicationConfiguration.g:3288:4: ( (lv_maxUnlimited_3_0= '*' ) ) - // InternalApplicationConfiguration.g:3289:5: (lv_maxUnlimited_3_0= '*' ) - { - // InternalApplicationConfiguration.g:3289:5: (lv_maxUnlimited_3_0= '*' ) - // InternalApplicationConfiguration.g:3290:6: lv_maxUnlimited_3_0= '*' - { - lv_maxUnlimited_3_0=(Token)match(input,40,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:3307: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:3307:56: (iv_ruleIntEnumberation= ruleIntEnumberation EOF ) - // InternalApplicationConfiguration.g:3308: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:3314: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:3320:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:3321:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) - { - // InternalApplicationConfiguration.g:3321:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:3322:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' - { - // InternalApplicationConfiguration.g:3322:3: () - // InternalApplicationConfiguration.g:3323:4: - { - - current = forceCreateModelElement( - grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,18,FOLLOW_36); - - newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); - - // InternalApplicationConfiguration.g:3333:3: ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? - int alt48=2; - int LA48_0 = input.LA(1); - - if ( (LA48_0==RULE_INT||LA48_0==12) ) { - alt48=1; - } - switch (alt48) { - case 1 : - // InternalApplicationConfiguration.g:3334:4: ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* - { - // InternalApplicationConfiguration.g:3334:4: ( (lv_entry_2_0= ruleINTLiteral ) ) - // InternalApplicationConfiguration.g:3335:5: (lv_entry_2_0= ruleINTLiteral ) - { - // InternalApplicationConfiguration.g:3335:5: (lv_entry_2_0= ruleINTLiteral ) - // InternalApplicationConfiguration.g:3336:6: lv_entry_2_0= ruleINTLiteral - { - - newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); - - pushFollow(FOLLOW_14); - 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:3353:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* - loop47: - do { - int alt47=2; - int LA47_0 = input.LA(1); - - if ( (LA47_0==19) ) { - alt47=1; - } - - - switch (alt47) { - case 1 : - // InternalApplicationConfiguration.g:3354:5: otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) - { - otherlv_3=(Token)match(input,19,FOLLOW_37); - - newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); - - // InternalApplicationConfiguration.g:3358:5: ( (lv_entry_4_0= ruleINTLiteral ) ) - // InternalApplicationConfiguration.g:3359:6: (lv_entry_4_0= ruleINTLiteral ) - { - // InternalApplicationConfiguration.g:3359:6: (lv_entry_4_0= ruleINTLiteral ) - // InternalApplicationConfiguration.g:3360:7: lv_entry_4_0= ruleINTLiteral - { - - newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); - - pushFollow(FOLLOW_14); - 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 loop47; - } - } while (true); - - - } - break; - - } - - otherlv_5=(Token)match(input,20,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:3387: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:3387:56: (iv_ruleRealEnumeration= ruleRealEnumeration EOF ) - // InternalApplicationConfiguration.g:3388: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:3394: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:3400:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:3401:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) - { - // InternalApplicationConfiguration.g:3401:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:3402:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' - { - // InternalApplicationConfiguration.g:3402:3: () - // InternalApplicationConfiguration.g:3403:4: - { - - current = forceCreateModelElement( - grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,18,FOLLOW_36); - - newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); - - // InternalApplicationConfiguration.g:3413:3: ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? - int alt50=2; - int LA50_0 = input.LA(1); - - if ( (LA50_0==RULE_INT||LA50_0==12) ) { - alt50=1; - } - switch (alt50) { - case 1 : - // InternalApplicationConfiguration.g:3414:4: ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* - { - // InternalApplicationConfiguration.g:3414:4: ( (lv_entry_2_0= ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:3415:5: (lv_entry_2_0= ruleREALLiteral ) - { - // InternalApplicationConfiguration.g:3415:5: (lv_entry_2_0= ruleREALLiteral ) - // InternalApplicationConfiguration.g:3416:6: lv_entry_2_0= ruleREALLiteral - { - - newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); - - pushFollow(FOLLOW_14); - 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:3433:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* - loop49: - do { - int alt49=2; - int LA49_0 = input.LA(1); - - if ( (LA49_0==19) ) { - alt49=1; - } - - - switch (alt49) { - case 1 : - // InternalApplicationConfiguration.g:3434:5: otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) - { - otherlv_3=(Token)match(input,19,FOLLOW_37); - - newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); - - // InternalApplicationConfiguration.g:3438:5: ( (lv_entry_4_0= ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:3439:6: (lv_entry_4_0= ruleREALLiteral ) - { - // InternalApplicationConfiguration.g:3439:6: (lv_entry_4_0= ruleREALLiteral ) - // InternalApplicationConfiguration.g:3440:7: lv_entry_4_0= ruleREALLiteral - { - - newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); - - pushFollow(FOLLOW_14); - 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 loop49; - } - } while (true); - - - } - break; - - } - - otherlv_5=(Token)match(input,20,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:3467: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:3467:58: (iv_ruleStringEnumeration= ruleStringEnumeration EOF ) - // InternalApplicationConfiguration.g:3468: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:3474: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:3480:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:3481:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) - { - // InternalApplicationConfiguration.g:3481:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:3482:3: () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' - { - // InternalApplicationConfiguration.g:3482:3: () - // InternalApplicationConfiguration.g:3483:4: - { - - current = forceCreateModelElement( - grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,18,FOLLOW_38); - - newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); - - // InternalApplicationConfiguration.g:3493:3: ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? - int alt52=2; - int LA52_0 = input.LA(1); - - if ( (LA52_0==RULE_STRING) ) { - alt52=1; - } - switch (alt52) { - case 1 : - // InternalApplicationConfiguration.g:3494:4: ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* - { - // InternalApplicationConfiguration.g:3494:4: ( (lv_entry_2_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:3495:5: (lv_entry_2_0= RULE_STRING ) - { - // InternalApplicationConfiguration.g:3495:5: (lv_entry_2_0= RULE_STRING ) - // InternalApplicationConfiguration.g:3496:6: lv_entry_2_0= RULE_STRING - { - lv_entry_2_0=(Token)match(input,RULE_STRING,FOLLOW_14); - - 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:3512:4: (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* - loop51: - do { - int alt51=2; - int LA51_0 = input.LA(1); - - if ( (LA51_0==19) ) { - alt51=1; - } - - - switch (alt51) { - case 1 : - // InternalApplicationConfiguration.g:3513:5: otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) - { - otherlv_3=(Token)match(input,19,FOLLOW_10); - - newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); - - // InternalApplicationConfiguration.g:3517:5: ( (lv_entry_4_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:3518:6: (lv_entry_4_0= RULE_STRING ) - { - // InternalApplicationConfiguration.g:3518:6: (lv_entry_4_0= RULE_STRING ) - // InternalApplicationConfiguration.g:3519:7: lv_entry_4_0= RULE_STRING - { - lv_entry_4_0=(Token)match(input,RULE_STRING,FOLLOW_14); - - 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 loop51; - } - } while (true); - - - } - break; - - } - - otherlv_5=(Token)match(input,20,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:3545: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:3545:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) - // InternalApplicationConfiguration.g:3546: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:3552: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:3558:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) - // InternalApplicationConfiguration.g:3559:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) - { - // InternalApplicationConfiguration.g:3559:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) - // InternalApplicationConfiguration.g:3560:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) - { - otherlv_0=(Token)match(input,42,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); - - // InternalApplicationConfiguration.g:3564:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:3565:4: (lv_name_1_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:3565:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:3566:5: lv_name_1_0= RULE_ID - { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); - - 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:3582:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) - // InternalApplicationConfiguration.g:3583:4: (lv_specification_2_0= ruleScopeSpecification ) - { - // InternalApplicationConfiguration.g:3583:4: (lv_specification_2_0= ruleScopeSpecification ) - // InternalApplicationConfiguration.g:3584: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:3605: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:3605:55: (iv_ruleScopeReference= ruleScopeReference EOF ) - // InternalApplicationConfiguration.g:3606: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:3612: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:3618:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:3619:2: ( (otherlv_0= RULE_ID ) ) - { - // InternalApplicationConfiguration.g:3619:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:3620:3: (otherlv_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:3620:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:3621: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:3635: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:3635:46: (iv_ruleScope= ruleScope EOF ) - // InternalApplicationConfiguration.g:3636: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:3642: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:3648:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) - // InternalApplicationConfiguration.g:3649:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) - { - // InternalApplicationConfiguration.g:3649:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) - int alt53=2; - int LA53_0 = input.LA(1); - - if ( (LA53_0==18) ) { - alt53=1; - } - else if ( (LA53_0==RULE_ID) ) { - alt53=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 53, 0, input); - - throw nvae; - } - switch (alt53) { - case 1 : - // InternalApplicationConfiguration.g:3650: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:3659: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:3671: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:3671:45: (iv_ruleTask= ruleTask EOF ) - // InternalApplicationConfiguration.g:3672: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:3678: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:3684:2: (this_GenerationTask_0= ruleGenerationTask ) - // InternalApplicationConfiguration.g:3685: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:3696: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:3696:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) - // InternalApplicationConfiguration.g:3697: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:3703: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= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ; - 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 lv_numberSpecified_16_0=null; - Token otherlv_17=null; - Token lv_number_18_0=null; - Token lv_runSpecified_19_0=null; - Token otherlv_20=null; - Token lv_runs_21_0=null; - Token otherlv_22=null; - Token otherlv_23=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; - EObject lv_metamodel_6_0 = null; - - EObject lv_partialModel_9_0 = null; - - EObject lv_patterns_12_0 = null; - - EObject lv_scope_15_0 = null; - - Enumerator lv_solver_24_0 = null; - - EObject lv_config_27_0 = null; - - EObject lv_debugFolder_30_0 = null; - - EObject lv_targetLogFile_33_0 = null; - - EObject lv_targetStatisticsFile_36_0 = null; - - EObject lv_tagetFolder_39_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:3709: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= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ) - // InternalApplicationConfiguration.g:3710: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= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) - { - // InternalApplicationConfiguration.g:3710: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= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) - // InternalApplicationConfiguration.g:3711: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= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' - { - otherlv_0=(Token)match(input,43,FOLLOW_16); - - newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); - - // InternalApplicationConfiguration.g:3715:3: () - // InternalApplicationConfiguration.g:3716:4: - { - - current = forceCreateModelElement( - grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), - current); - - - } - - otherlv_2=(Token)match(input,18,FOLLOW_39); - - newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); - - // InternalApplicationConfiguration.g:3726: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= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) - // InternalApplicationConfiguration.g:3727: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= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) - { - // InternalApplicationConfiguration.g:3727: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= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) - // InternalApplicationConfiguration.g:3728: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= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) - { - - getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - // InternalApplicationConfiguration.g:3731: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= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) - // InternalApplicationConfiguration.g:3732: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= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* - { - // InternalApplicationConfiguration.g:3732: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= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* - loop54: - do { - int alt54=13; - alt54 = dfa54.predict(input); - switch (alt54) { - case 1 : - // InternalApplicationConfiguration.g:3733:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:3733:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) - // InternalApplicationConfiguration.g:3734: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:3734:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) - // InternalApplicationConfiguration.g:3735:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); - - // InternalApplicationConfiguration.g:3738:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) - // InternalApplicationConfiguration.g:3738:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:3738:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) - // InternalApplicationConfiguration.g:3738:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) - { - otherlv_4=(Token)match(input,24,FOLLOW_12); - - newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); - - otherlv_5=(Token)match(input,17,FOLLOW_40); - - newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); - - // InternalApplicationConfiguration.g:3746:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) - // InternalApplicationConfiguration.g:3747:10: (lv_metamodel_6_0= ruleMetamodel ) - { - // InternalApplicationConfiguration.g:3747:10: (lv_metamodel_6_0= ruleMetamodel ) - // InternalApplicationConfiguration.g:3748:11: lv_metamodel_6_0= ruleMetamodel - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); - - pushFollow(FOLLOW_39); - 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:3771:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:3771:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) - // InternalApplicationConfiguration.g:3772: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:3772:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) - // InternalApplicationConfiguration.g:3773:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); - - // InternalApplicationConfiguration.g:3776:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) - // InternalApplicationConfiguration.g:3776:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:3776:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) - // InternalApplicationConfiguration.g:3776:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) - { - otherlv_7=(Token)match(input,44,FOLLOW_12); - - newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); - - otherlv_8=(Token)match(input,17,FOLLOW_40); - - newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); - - // InternalApplicationConfiguration.g:3784:9: ( (lv_partialModel_9_0= rulePartialModel ) ) - // InternalApplicationConfiguration.g:3785:10: (lv_partialModel_9_0= rulePartialModel ) - { - // InternalApplicationConfiguration.g:3785:10: (lv_partialModel_9_0= rulePartialModel ) - // InternalApplicationConfiguration.g:3786:11: lv_partialModel_9_0= rulePartialModel - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); - - pushFollow(FOLLOW_39); - 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:3809:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:3809:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) - // InternalApplicationConfiguration.g:3810: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:3810:111: ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) - // InternalApplicationConfiguration.g:3811:6: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); - - // InternalApplicationConfiguration.g:3814:9: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) - // InternalApplicationConfiguration.g:3814:10: {...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:3814:19: (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) - // InternalApplicationConfiguration.g:3814:20: otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) - { - otherlv_10=(Token)match(input,27,FOLLOW_12); - - newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); - - otherlv_11=(Token)match(input,17,FOLLOW_40); - - newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); - - // InternalApplicationConfiguration.g:3822:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) - // InternalApplicationConfiguration.g:3823:10: (lv_patterns_12_0= ruleGraphPattern ) - { - // InternalApplicationConfiguration.g:3823:10: (lv_patterns_12_0= ruleGraphPattern ) - // InternalApplicationConfiguration.g:3824:11: lv_patterns_12_0= ruleGraphPattern - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); - - pushFollow(FOLLOW_39); - 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:3847:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:3847:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) - // InternalApplicationConfiguration.g:3848:5: {...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); - } - // InternalApplicationConfiguration.g:3848:111: ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) - // InternalApplicationConfiguration.g:3849:6: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); - - // InternalApplicationConfiguration.g:3852:9: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) - // InternalApplicationConfiguration.g:3852:10: {...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:3852:19: (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) - // InternalApplicationConfiguration.g:3852:20: otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) - { - otherlv_13=(Token)match(input,42,FOLLOW_12); - - newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); - - otherlv_14=(Token)match(input,17,FOLLOW_40); - - newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); - - // InternalApplicationConfiguration.g:3860:9: ( (lv_scope_15_0= ruleScope ) ) - // InternalApplicationConfiguration.g:3861:10: (lv_scope_15_0= ruleScope ) - { - // InternalApplicationConfiguration.g:3861:10: (lv_scope_15_0= ruleScope ) - // InternalApplicationConfiguration.g:3862:11: lv_scope_15_0= ruleScope - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); - - pushFollow(FOLLOW_39); - lv_scope_15_0=ruleScope(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "scope", - lv_scope_15_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 5 : - // InternalApplicationConfiguration.g:3885:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:3885:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) - // InternalApplicationConfiguration.g:3886:5: {...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); - } - // InternalApplicationConfiguration.g:3886:111: ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) - // InternalApplicationConfiguration.g:3887:6: ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); - - // InternalApplicationConfiguration.g:3890:9: ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:3890:10: {...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:3890:19: ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:3890:20: ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) - { - // InternalApplicationConfiguration.g:3890:20: ( (lv_numberSpecified_16_0= 'number' ) ) - // InternalApplicationConfiguration.g:3891:10: (lv_numberSpecified_16_0= 'number' ) - { - // InternalApplicationConfiguration.g:3891:10: (lv_numberSpecified_16_0= 'number' ) - // InternalApplicationConfiguration.g:3892:11: lv_numberSpecified_16_0= 'number' - { - lv_numberSpecified_16_0=(Token)match(input,45,FOLLOW_12); - - newLeafNode(lv_numberSpecified_16_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed(current, "numberSpecified", true, "number"); - - - } - - - } - - otherlv_17=(Token)match(input,17,FOLLOW_7); - - newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); - - // InternalApplicationConfiguration.g:3908:9: ( (lv_number_18_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:3909:10: (lv_number_18_0= RULE_INT ) - { - // InternalApplicationConfiguration.g:3909:10: (lv_number_18_0= RULE_INT ) - // InternalApplicationConfiguration.g:3910:11: lv_number_18_0= RULE_INT - { - lv_number_18_0=(Token)match(input,RULE_INT,FOLLOW_39); - - newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed( - current, - "number", - lv_number_18_0, - "org.eclipse.xtext.common.Terminals.INT"); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 6 : - // InternalApplicationConfiguration.g:3932:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:3932:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) - // InternalApplicationConfiguration.g:3933:5: {...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_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:3933:111: ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) - // InternalApplicationConfiguration.g:3934:6: ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); - - // InternalApplicationConfiguration.g:3937:9: ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:3937:10: {...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:3937:19: ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:3937:20: ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) - { - // InternalApplicationConfiguration.g:3937:20: ( (lv_runSpecified_19_0= 'runs' ) ) - // InternalApplicationConfiguration.g:3938:10: (lv_runSpecified_19_0= 'runs' ) - { - // InternalApplicationConfiguration.g:3938:10: (lv_runSpecified_19_0= 'runs' ) - // InternalApplicationConfiguration.g:3939:11: lv_runSpecified_19_0= 'runs' - { - lv_runSpecified_19_0=(Token)match(input,46,FOLLOW_12); - - newLeafNode(lv_runSpecified_19_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed(current, "runSpecified", true, "runs"); - - - } - - - } - - otherlv_20=(Token)match(input,17,FOLLOW_7); - - newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); - - // InternalApplicationConfiguration.g:3955:9: ( (lv_runs_21_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:3956:10: (lv_runs_21_0= RULE_INT ) - { - // InternalApplicationConfiguration.g:3956:10: (lv_runs_21_0= RULE_INT ) - // InternalApplicationConfiguration.g:3957:11: lv_runs_21_0= RULE_INT - { - lv_runs_21_0=(Token)match(input,RULE_INT,FOLLOW_39); - - newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed( - current, - "runs", - lv_runs_21_0, - "org.eclipse.xtext.common.Terminals.INT"); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 7 : - // InternalApplicationConfiguration.g:3979:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:3979:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) - // InternalApplicationConfiguration.g:3980:5: {...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); - } - // InternalApplicationConfiguration.g:3980:111: ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) - // InternalApplicationConfiguration.g:3981:6: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); - - // InternalApplicationConfiguration.g:3984:9: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) - // InternalApplicationConfiguration.g:3984:10: {...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:3984:19: (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) - // InternalApplicationConfiguration.g:3984:20: otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) - { - otherlv_22=(Token)match(input,47,FOLLOW_12); - - newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); - - otherlv_23=(Token)match(input,17,FOLLOW_41); - - newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); - - // InternalApplicationConfiguration.g:3992:9: ( (lv_solver_24_0= ruleSolver ) ) - // InternalApplicationConfiguration.g:3993:10: (lv_solver_24_0= ruleSolver ) - { - // InternalApplicationConfiguration.g:3993:10: (lv_solver_24_0= ruleSolver ) - // InternalApplicationConfiguration.g:3994:11: lv_solver_24_0= ruleSolver - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); - - pushFollow(FOLLOW_39); - lv_solver_24_0=ruleSolver(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "solver", - lv_solver_24_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 8 : - // InternalApplicationConfiguration.g:4017:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:4017:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4018:5: {...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); - } - // InternalApplicationConfiguration.g:4018:111: ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) - // InternalApplicationConfiguration.g:4019:6: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); - - // InternalApplicationConfiguration.g:4022:9: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) - // InternalApplicationConfiguration.g:4022:10: {...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:4022:19: (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) - // InternalApplicationConfiguration.g:4022:20: otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) - { - otherlv_25=(Token)match(input,28,FOLLOW_12); - - newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); - - otherlv_26=(Token)match(input,17,FOLLOW_40); - - newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); - - // InternalApplicationConfiguration.g:4030:9: ( (lv_config_27_0= ruleConfig ) ) - // InternalApplicationConfiguration.g:4031:10: (lv_config_27_0= ruleConfig ) - { - // InternalApplicationConfiguration.g:4031:10: (lv_config_27_0= ruleConfig ) - // InternalApplicationConfiguration.g:4032:11: lv_config_27_0= ruleConfig - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); - - pushFollow(FOLLOW_39); - lv_config_27_0=ruleConfig(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "config", - lv_config_27_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 9 : - // InternalApplicationConfiguration.g:4055:4: ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:4055:4: ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4056:5: {...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); - } - // InternalApplicationConfiguration.g:4056:111: ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:4057:6: ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); - - // InternalApplicationConfiguration.g:4060:9: ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:4060:10: {...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:4060:19: (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:4060:20: otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) - { - otherlv_28=(Token)match(input,48,FOLLOW_12); - - newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_8_0()); - - otherlv_29=(Token)match(input,17,FOLLOW_20); - - newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); - - // InternalApplicationConfiguration.g:4068:9: ( (lv_debugFolder_30_0= ruleFile ) ) - // InternalApplicationConfiguration.g:4069:10: (lv_debugFolder_30_0= ruleFile ) - { - // InternalApplicationConfiguration.g:4069:10: (lv_debugFolder_30_0= ruleFile ) - // InternalApplicationConfiguration.g:4070:11: lv_debugFolder_30_0= ruleFile - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_8_2_0()); - - pushFollow(FOLLOW_39); - lv_debugFolder_30_0=ruleFile(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "debugFolder", - lv_debugFolder_30_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 10 : - // InternalApplicationConfiguration.g:4093:4: ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:4093:4: ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4094:5: {...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_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:4094:111: ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:4095:6: ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); - - // InternalApplicationConfiguration.g:4098:9: ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:4098:10: {...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:4098:19: (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:4098:20: otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) - { - otherlv_31=(Token)match(input,49,FOLLOW_12); - - newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_9_0()); - - otherlv_32=(Token)match(input,17,FOLLOW_20); - - newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); - - // InternalApplicationConfiguration.g:4106:9: ( (lv_targetLogFile_33_0= ruleFile ) ) - // InternalApplicationConfiguration.g:4107:10: (lv_targetLogFile_33_0= ruleFile ) - { - // InternalApplicationConfiguration.g:4107:10: (lv_targetLogFile_33_0= ruleFile ) - // InternalApplicationConfiguration.g:4108:11: lv_targetLogFile_33_0= ruleFile - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_9_2_0()); - - pushFollow(FOLLOW_39); - lv_targetLogFile_33_0=ruleFile(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "targetLogFile", - lv_targetLogFile_33_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 11 : - // InternalApplicationConfiguration.g:4131:4: ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:4131:4: ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4132:5: {...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_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:4132:112: ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:4133:6: ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); - - // InternalApplicationConfiguration.g:4136:9: ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:4136:10: {...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:4136:19: (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:4136:20: otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) - { - otherlv_34=(Token)match(input,50,FOLLOW_12); - - newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_10_0()); - - otherlv_35=(Token)match(input,17,FOLLOW_20); - - newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); - - // InternalApplicationConfiguration.g:4144:9: ( (lv_targetStatisticsFile_36_0= ruleFile ) ) - // InternalApplicationConfiguration.g:4145:10: (lv_targetStatisticsFile_36_0= ruleFile ) - { - // InternalApplicationConfiguration.g:4145:10: (lv_targetStatisticsFile_36_0= ruleFile ) - // InternalApplicationConfiguration.g:4146:11: lv_targetStatisticsFile_36_0= ruleFile - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_10_2_0()); - - pushFollow(FOLLOW_39); - lv_targetStatisticsFile_36_0=ruleFile(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "targetStatisticsFile", - lv_targetStatisticsFile_36_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 12 : - // InternalApplicationConfiguration.g:4169:4: ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:4169:4: ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4170:5: {...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_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:4170:112: ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:4171:6: ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); - - // InternalApplicationConfiguration.g:4174:9: ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:4174:10: {...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:4174:19: (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:4174:20: otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) - { - otherlv_37=(Token)match(input,51,FOLLOW_12); - - newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_11_0()); - - otherlv_38=(Token)match(input,17,FOLLOW_20); - - newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); - - // InternalApplicationConfiguration.g:4182:9: ( (lv_tagetFolder_39_0= ruleFile ) ) - // InternalApplicationConfiguration.g:4183:10: (lv_tagetFolder_39_0= ruleFile ) - { - // InternalApplicationConfiguration.g:4183:10: (lv_tagetFolder_39_0= ruleFile ) - // InternalApplicationConfiguration.g:4184:11: lv_tagetFolder_39_0= ruleFile - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_11_2_0()); - - pushFollow(FOLLOW_39); - lv_tagetFolder_39_0=ruleFile(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "tagetFolder", - lv_tagetFolder_39_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - - default : - break loop54; - } - } while (true); - - - } - - - } - - - getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - otherlv_40=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleGenerationTask" - - - // $ANTLR start "ruleDocumentLevelSpecification" - // InternalApplicationConfiguration.g:4222: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:4228:2: ( ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ) - // InternalApplicationConfiguration.g:4229:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) - { - // InternalApplicationConfiguration.g:4229:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) - int alt55=3; - switch ( input.LA(1) ) { - case 52: - { - alt55=1; - } - break; - case 53: - { - alt55=2; - } - break; - case 54: - { - alt55=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 55, 0, input); - - throw nvae; - } - - switch (alt55) { - case 1 : - // InternalApplicationConfiguration.g:4230:3: (enumLiteral_0= 'none' ) - { - // InternalApplicationConfiguration.g:4230:3: (enumLiteral_0= 'none' ) - // InternalApplicationConfiguration.g:4231:4: enumLiteral_0= 'none' - { - enumLiteral_0=(Token)match(input,52,FOLLOW_2); - - current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:4238:3: (enumLiteral_1= 'normal' ) - { - // InternalApplicationConfiguration.g:4238:3: (enumLiteral_1= 'normal' ) - // InternalApplicationConfiguration.g:4239:4: enumLiteral_1= 'normal' - { - enumLiteral_1=(Token)match(input,53,FOLLOW_2); - - current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); - - - } - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:4246:3: (enumLiteral_2= 'full' ) - { - // InternalApplicationConfiguration.g:4246:3: (enumLiteral_2= 'full' ) - // InternalApplicationConfiguration.g:4247:4: enumLiteral_2= 'full' - { - enumLiteral_2=(Token)match(input,54,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:4257: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:4263:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) - // InternalApplicationConfiguration.g:4264:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) - { - // InternalApplicationConfiguration.g:4264:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) - int alt56=3; - switch ( input.LA(1) ) { - case 55: - { - alt56=1; - } - break; - case 56: - { - alt56=2; - } - break; - case 57: - { - alt56=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 56, 0, input); - - throw nvae; - } - - switch (alt56) { - case 1 : - // InternalApplicationConfiguration.g:4265:3: (enumLiteral_0= 'SMTSolver' ) - { - // InternalApplicationConfiguration.g:4265:3: (enumLiteral_0= 'SMTSolver' ) - // InternalApplicationConfiguration.g:4266:4: enumLiteral_0= 'SMTSolver' - { - enumLiteral_0=(Token)match(input,55,FOLLOW_2); - - current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:4273:3: (enumLiteral_1= 'AlloySolver' ) - { - // InternalApplicationConfiguration.g:4273:3: (enumLiteral_1= 'AlloySolver' ) - // InternalApplicationConfiguration.g:4274:4: enumLiteral_1= 'AlloySolver' - { - enumLiteral_1=(Token)match(input,56,FOLLOW_2); - - current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); - - - } - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:4281:3: (enumLiteral_2= 'ViatraSolver' ) - { - // InternalApplicationConfiguration.g:4281:3: (enumLiteral_2= 'ViatraSolver' ) - // InternalApplicationConfiguration.g:4282:4: enumLiteral_2= 'ViatraSolver' - { - enumLiteral_2=(Token)match(input,57,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 DFA54 dfa54 = new DFA54(this); - static final String dfa_1s = "\16\uffff"; - static final String dfa_2s = "\1\24\15\uffff"; - static final String dfa_3s = "\1\63\15\uffff"; - static final String dfa_4s = "\1\uffff\1\15\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14"; - static final String dfa_5s = "\1\0\15\uffff}>"; - static final String[] dfa_6s = { - "\1\1\3\uffff\1\2\2\uffff\1\4\1\11\15\uffff\1\5\1\uffff\1\3\1\6\1\7\1\10\1\12\1\13\1\14\1\15", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - }; - - 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 DFA54 extends DFA { - - public DFA54(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 54; - 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 3732: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= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )*"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - TokenStream input = (TokenStream)_input; - int _s = s; - switch ( s ) { - case 0 : - int LA54_0 = input.LA(1); - - - int index54_0 = input.index(); - input.rewind(); - s = -1; - if ( (LA54_0==20) ) {s = 1;} - - else if ( LA54_0 == 24 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;} - - else if ( LA54_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;} - - else if ( LA54_0 == 27 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;} - - else if ( LA54_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;} - - else if ( LA54_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;} - - else if ( LA54_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;} - - else if ( LA54_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;} - - else if ( LA54_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;} - - else if ( LA54_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;} - - else if ( LA54_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;} - - else if ( LA54_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;} - - else if ( LA54_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;} - - - input.seek(index54_0); - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 54, _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[]{0x00000C001D012002L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x00000C001D010002L}); - 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[]{0x0000000000020000L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000200010L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000180000L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000400002L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000040000L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000800000L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000002000050L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000100000L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000000050L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x00000000E0100040L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x00000000E0000040L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0070000000000000L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000100100000L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000100000000L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000200020000L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000010000000020L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000001000000000L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000002000000000L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000010000040020L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000004000000000L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000020000000000L}); - public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000101020L}); - public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000001020L}); - public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000100040L}); - public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x000FF40019100000L}); - public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000040010L}); - public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0380000000000000L}); - -} +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'", "'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__21=21; + 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<=30)||(LA2_0>=44 && LA2_0<=45)) ) { + 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<=30)||LA3_0==44) ) { + alt3=1; + } + else if ( (LA3_0==45) ) { + 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 30: + { + alt8=5; + } + break; + case 44: + { + alt8=6; + } + break; + case 29: + { + 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>=54 && LA29_0<=55)) ) { + alt29=1; + } + else if ( (LA29_0==16) ) { + 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_ReliabiltiyFunction_0= ruleReliabiltiyFunction ; + public final EObject ruleObjectiveFunction() throws RecognitionException { + EObject current = null; + + EObject this_ReliabiltiyFunction_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2096:2: (this_ReliabiltiyFunction_0= ruleReliabiltiyFunction ) + // InternalApplicationConfiguration.g:2097:2: this_ReliabiltiyFunction_0= ruleReliabiltiyFunction + { + + newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getReliabiltiyFunctionParserRuleCall()); + + pushFollow(FOLLOW_2); + this_ReliabiltiyFunction_0=ruleReliabiltiyFunction(); + + state._fsp--; + + + current = this_ReliabiltiyFunction_0; + afterParserOrEnumRuleCall(); + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleObjectiveFunction" + + + // $ANTLR start "entryRuleReliabiltiyFunction" + // InternalApplicationConfiguration.g:2108:1: entryRuleReliabiltiyFunction returns [EObject current=null] : iv_ruleReliabiltiyFunction= ruleReliabiltiyFunction EOF ; + public final EObject entryRuleReliabiltiyFunction() throws RecognitionException { + EObject current = null; + + EObject iv_ruleReliabiltiyFunction = null; + + + try { + // InternalApplicationConfiguration.g:2108:60: (iv_ruleReliabiltiyFunction= ruleReliabiltiyFunction EOF ) + // InternalApplicationConfiguration.g:2109:2: iv_ruleReliabiltiyFunction= ruleReliabiltiyFunction EOF + { + newCompositeNode(grammarAccess.getReliabiltiyFunctionRule()); + pushFollow(FOLLOW_1); + iv_ruleReliabiltiyFunction=ruleReliabiltiyFunction(); + + state._fsp--; + + current =iv_ruleReliabiltiyFunction; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleReliabiltiyFunction" + + + // $ANTLR start "ruleReliabiltiyFunction" + // InternalApplicationConfiguration.g:2115:1: ruleReliabiltiyFunction returns [EObject current=null] : (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) ; + public final EObject ruleReliabiltiyFunction() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_3=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2121:2: ( (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) ) + // InternalApplicationConfiguration.g:2122:2: (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) + { + // InternalApplicationConfiguration.g:2122:2: (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:2123:3: otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) + { + otherlv_0=(Token)match(input,16,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getReliabiltiyFunctionAccess().getReliabilityKeyword_0()); + + // InternalApplicationConfiguration.g:2127:3: ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? + int alt30=2; + int LA30_0 = input.LA(1); + + if ( (LA30_0==RULE_ID) ) { + int LA30_1 = input.LA(2); + + if ( (LA30_1==11||LA30_1==24) ) { + alt30=1; + } + } + switch (alt30) { + case 1 : + // InternalApplicationConfiguration.g:2128:4: ( ( ruleQualifiedName ) ) otherlv_2= '::' + { + // InternalApplicationConfiguration.g:2128:4: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:2129:5: ( ruleQualifiedName ) + { + // InternalApplicationConfiguration.g:2129:5: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:2130:6: ruleQualifiedName + { + + if (current==null) { + current = createModelElement(grammarAccess.getReliabiltiyFunctionRule()); + } + + + newCompositeNode(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelCrossReference_1_0_0()); + + pushFollow(FOLLOW_18); + ruleQualifiedName(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,24,FOLLOW_6); + + newLeafNode(otherlv_2, grammarAccess.getReliabiltiyFunctionAccess().getColonColonKeyword_1_1()); + + + } + break; + + } + + // InternalApplicationConfiguration.g:2149:3: ( (otherlv_3= RULE_ID ) ) + // InternalApplicationConfiguration.g:2150:4: (otherlv_3= RULE_ID ) + { + // InternalApplicationConfiguration.g:2150:4: (otherlv_3= RULE_ID ) + // InternalApplicationConfiguration.g:2151:5: otherlv_3= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getReliabiltiyFunctionRule()); + } + + otherlv_3=(Token)match(input,RULE_ID,FOLLOW_2); + + newLeafNode(otherlv_3, grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionCrossReference_2_0()); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleReliabiltiyFunction" + + + // $ANTLR start "entryRuleObjectiveDeclaration" + // InternalApplicationConfiguration.g:2166: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:2166:61: (iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ) + // InternalApplicationConfiguration.g:2167: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:2173: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:2179:2: ( (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) ) + // InternalApplicationConfiguration.g:2180:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) + { + // InternalApplicationConfiguration.g:2180:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) + // InternalApplicationConfiguration.g:2181:3: otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) + { + otherlv_0=(Token)match(input,29,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0()); + + // InternalApplicationConfiguration.g:2185:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2186:4: (lv_name_1_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:2186:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:2187: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:2203:3: ( (lv_specification_2_0= ruleObjectiveSpecification ) ) + // InternalApplicationConfiguration.g:2204:4: (lv_specification_2_0= ruleObjectiveSpecification ) + { + // InternalApplicationConfiguration.g:2204:4: (lv_specification_2_0= ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:2205: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:2226: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:2226:59: (iv_ruleObjectiveReference= ruleObjectiveReference EOF ) + // InternalApplicationConfiguration.g:2227: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:2233: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:2239:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:2240:2: ( (otherlv_0= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:2240:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2241:3: (otherlv_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:2241:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:2242: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:2256: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:2256:50: (iv_ruleObjective= ruleObjective EOF ) + // InternalApplicationConfiguration.g:2257: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:2263: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:2269:2: ( (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) ) + // InternalApplicationConfiguration.g:2270:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) + { + // InternalApplicationConfiguration.g:2270:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) + int alt31=2; + int LA31_0 = input.LA(1); + + if ( (LA31_0==RULE_ID) ) { + alt31=1; + } + else if ( (LA31_0==19) ) { + alt31=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 31, 0, input); + + throw nvae; + } + switch (alt31) { + case 1 : + // InternalApplicationConfiguration.g:2271: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:2280: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:2292: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:2292:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) + // InternalApplicationConfiguration.g:2293: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:2299: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:2305:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:2306:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) + { + // InternalApplicationConfiguration.g:2306:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:2307:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' + { + // InternalApplicationConfiguration.g:2307:3: () + // InternalApplicationConfiguration.g:2308:4: + { + + current = forceCreateModelElement( + grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,19,FOLLOW_25); + + newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); + + // InternalApplicationConfiguration.g:2318:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? + int alt33=2; + int LA33_0 = input.LA(1); + + if ( (LA33_0==RULE_STRING||(LA33_0>=31 && LA33_0<=33)) ) { + alt33=1; + } + switch (alt33) { + case 1 : + // InternalApplicationConfiguration.g:2319:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* + { + // InternalApplicationConfiguration.g:2319:4: ( (lv_entries_2_0= ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:2320:5: (lv_entries_2_0= ruleConfigEntry ) + { + // InternalApplicationConfiguration.g:2320:5: (lv_entries_2_0= ruleConfigEntry ) + // InternalApplicationConfiguration.g:2321: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:2338:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* + loop32: + do { + int alt32=2; + int LA32_0 = input.LA(1); + + if ( (LA32_0==20) ) { + alt32=1; + } + + + switch (alt32) { + case 1 : + // InternalApplicationConfiguration.g:2339:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) + { + otherlv_3=(Token)match(input,20,FOLLOW_26); + + newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); + + // InternalApplicationConfiguration.g:2343:5: ( (lv_entries_4_0= ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:2344:6: (lv_entries_4_0= ruleConfigEntry ) + { + // InternalApplicationConfiguration.g:2344:6: (lv_entries_4_0= ruleConfigEntry ) + // InternalApplicationConfiguration.g:2345: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 loop32; + } + } 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:2372: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:2372:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) + // InternalApplicationConfiguration.g:2373: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:2379: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:2385:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ) + // InternalApplicationConfiguration.g:2386:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) + { + // InternalApplicationConfiguration.g:2386:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) + // InternalApplicationConfiguration.g:2387:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) + { + otherlv_0=(Token)match(input,30,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); + + // InternalApplicationConfiguration.g:2391:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2392:4: (lv_name_1_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:2392:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:2393: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:2409:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) + // InternalApplicationConfiguration.g:2410:4: (lv_specification_2_0= ruleConfigSpecification ) + { + // InternalApplicationConfiguration.g:2410:4: (lv_specification_2_0= ruleConfigSpecification ) + // InternalApplicationConfiguration.g:2411: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:2432: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:2432:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) + // InternalApplicationConfiguration.g:2433: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:2439: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:2445:2: ( (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ) + // InternalApplicationConfiguration.g:2446:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) + { + // InternalApplicationConfiguration.g:2446:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) + int alt34=4; + switch ( input.LA(1) ) { + case 31: + { + alt34=1; + } + break; + case 32: + { + alt34=2; + } + break; + case 33: + { + alt34=3; + } + break; + case RULE_STRING: + { + alt34=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 34, 0, input); + + throw nvae; + } + + switch (alt34) { + case 1 : + // InternalApplicationConfiguration.g:2447: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:2456: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:2465: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:2474: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:2486: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:2486:59: (iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ) + // InternalApplicationConfiguration.g:2487: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:2493: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:2499:2: ( (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ) + // InternalApplicationConfiguration.g:2500:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) + { + // InternalApplicationConfiguration.g:2500:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) + // InternalApplicationConfiguration.g:2501:3: otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) + { + otherlv_0=(Token)match(input,31,FOLLOW_13); + + newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); + + otherlv_1=(Token)match(input,18,FOLLOW_27); + + newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); + + // InternalApplicationConfiguration.g:2509:3: ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) + // InternalApplicationConfiguration.g:2510:4: (lv_level_2_0= ruleDocumentLevelSpecification ) + { + // InternalApplicationConfiguration.g:2510:4: (lv_level_2_0= ruleDocumentLevelSpecification ) + // InternalApplicationConfiguration.g:2511: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:2532: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:2532:53: (iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ) + // InternalApplicationConfiguration.g:2533: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:2539: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:2545:2: ( (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:2546:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) + { + // InternalApplicationConfiguration.g:2546:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2547:3: otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) + { + otherlv_0=(Token)match(input,32,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:2555:3: ( (lv_millisecLimit_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2556:4: (lv_millisecLimit_2_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:2556:4: (lv_millisecLimit_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:2557: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:2577: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:2577:52: (iv_ruleMemoryEntry= ruleMemoryEntry EOF ) + // InternalApplicationConfiguration.g:2578: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:2584: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:2590:2: ( (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:2591:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) + { + // InternalApplicationConfiguration.g:2591:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2592:3: otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) + { + otherlv_0=(Token)match(input,33,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:2600:3: ( (lv_megabyteLimit_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2601:4: (lv_megabyteLimit_2_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:2601:4: (lv_megabyteLimit_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:2602: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:2622: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:2622:52: (iv_ruleCustomEntry= ruleCustomEntry EOF ) + // InternalApplicationConfiguration.g:2623: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:2629: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:2635:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) + // InternalApplicationConfiguration.g:2636:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) + { + // InternalApplicationConfiguration.g:2636:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:2637:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) + { + // InternalApplicationConfiguration.g:2637:3: ( (lv_key_0_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:2638:4: (lv_key_0_0= RULE_STRING ) + { + // InternalApplicationConfiguration.g:2638:4: (lv_key_0_0= RULE_STRING ) + // InternalApplicationConfiguration.g:2639: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:2659:3: ( (lv_value_2_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:2660:4: (lv_value_2_0= RULE_STRING ) + { + // InternalApplicationConfiguration.g:2660:4: (lv_value_2_0= RULE_STRING ) + // InternalApplicationConfiguration.g:2661: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:2681: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:2681:56: (iv_ruleConfigReference= ruleConfigReference EOF ) + // InternalApplicationConfiguration.g:2682: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:2688: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:2694:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:2695:2: ( (otherlv_0= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:2695:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2696:3: (otherlv_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:2696:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:2697: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:2711: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:2711:47: (iv_ruleConfig= ruleConfig EOF ) + // InternalApplicationConfiguration.g:2712: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:2718: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:2724:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) + // InternalApplicationConfiguration.g:2725:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) + { + // InternalApplicationConfiguration.g:2725:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) + int alt35=2; + int LA35_0 = input.LA(1); + + if ( (LA35_0==19) ) { + alt35=1; + } + else if ( (LA35_0==RULE_ID) ) { + alt35=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 35, 0, input); + + throw nvae; + } + switch (alt35) { + case 1 : + // InternalApplicationConfiguration.g:2726: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:2735: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:2747: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:2747:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) + // InternalApplicationConfiguration.g:2748: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:2754: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:2760:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:2761:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) + { + // InternalApplicationConfiguration.g:2761:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:2762:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' + { + // InternalApplicationConfiguration.g:2762:3: () + // InternalApplicationConfiguration.g:2763:4: + { + + current = forceCreateModelElement( + grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,19,FOLLOW_28); + + newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); + + // InternalApplicationConfiguration.g:2773:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? + int alt37=2; + int LA37_0 = input.LA(1); + + if ( (LA37_0==34) ) { + alt37=1; + } + switch (alt37) { + case 1 : + // InternalApplicationConfiguration.g:2774:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* + { + // InternalApplicationConfiguration.g:2774:4: ( (lv_scopes_2_0= ruleTypeScope ) ) + // InternalApplicationConfiguration.g:2775:5: (lv_scopes_2_0= ruleTypeScope ) + { + // InternalApplicationConfiguration.g:2775:5: (lv_scopes_2_0= ruleTypeScope ) + // InternalApplicationConfiguration.g:2776: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:2793:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* + loop36: + do { + int alt36=2; + int LA36_0 = input.LA(1); + + if ( (LA36_0==20) ) { + alt36=1; + } + + + switch (alt36) { + case 1 : + // InternalApplicationConfiguration.g:2794:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) + { + otherlv_3=(Token)match(input,20,FOLLOW_29); + + newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); + + // InternalApplicationConfiguration.g:2798:5: ( (lv_scopes_4_0= ruleTypeScope ) ) + // InternalApplicationConfiguration.g:2799:6: (lv_scopes_4_0= ruleTypeScope ) + { + // InternalApplicationConfiguration.g:2799:6: (lv_scopes_4_0= ruleTypeScope ) + // InternalApplicationConfiguration.g:2800: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 loop36; + } + } 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:2827: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:2827:50: (iv_ruleTypeScope= ruleTypeScope EOF ) + // InternalApplicationConfiguration.g:2828: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:2834: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:2840:2: ( (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ) + // InternalApplicationConfiguration.g:2841:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) + { + // InternalApplicationConfiguration.g:2841:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) + int alt38=5; + int LA38_0 = input.LA(1); + + if ( (LA38_0==34) ) { + switch ( input.LA(2) ) { + case 39: + { + alt38=3; + } + break; + case 40: + { + alt38=4; + } + break; + case 41: + { + alt38=5; + } + break; + case 36: + { + alt38=1; + } + break; + case 38: + { + alt38=2; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 38, 1, input); + + throw nvae; + } + + } + else { + NoViableAltException nvae = + new NoViableAltException("", 38, 0, input); + + throw nvae; + } + switch (alt38) { + case 1 : + // InternalApplicationConfiguration.g:2842: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:2851: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:2860: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:2869: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:2878: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:2890: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:2890:55: (iv_ruleClassTypeScope= ruleClassTypeScope EOF ) + // InternalApplicationConfiguration.g:2891: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:2897: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:2903: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:2904: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:2904: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:2905: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,34,FOLLOW_30); + + newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); + + // InternalApplicationConfiguration.g:2909:3: ( (lv_type_1_0= ruleClassReference ) ) + // InternalApplicationConfiguration.g:2910:4: (lv_type_1_0= ruleClassReference ) + { + // InternalApplicationConfiguration.g:2910:4: (lv_type_1_0= ruleClassReference ) + // InternalApplicationConfiguration.g:2911:5: lv_type_1_0= ruleClassReference + { + + newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); + + pushFollow(FOLLOW_31); + 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:2928:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt39=2; + int LA39_0 = input.LA(1); + + if ( (LA39_0==35) ) { + alt39=1; + } + else if ( (LA39_0==18) ) { + alt39=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 39, 0, input); + + throw nvae; + } + switch (alt39) { + case 1 : + // InternalApplicationConfiguration.g:2929:4: ( (lv_setsNew_2_0= '+=' ) ) + { + // InternalApplicationConfiguration.g:2929:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:2930:5: (lv_setsNew_2_0= '+=' ) + { + // InternalApplicationConfiguration.g:2930:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:2931:6: lv_setsNew_2_0= '+=' + { + lv_setsNew_2_0=(Token)match(input,35,FOLLOW_32); + + 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:2944:4: ( (lv_setsSum_3_0= '=' ) ) + { + // InternalApplicationConfiguration.g:2944:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:2945:5: (lv_setsSum_3_0= '=' ) + { + // InternalApplicationConfiguration.g:2945:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:2946:6: lv_setsSum_3_0= '=' + { + lv_setsSum_3_0=(Token)match(input,18,FOLLOW_32); + + 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:2959:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) + int alt40=2; + int LA40_0 = input.LA(1); + + if ( (LA40_0==RULE_INT) ) { + int LA40_1 = input.LA(2); + + if ( (LA40_1==EOF||(LA40_1>=20 && LA40_1<=21)) ) { + alt40=1; + } + else if ( (LA40_1==43) ) { + alt40=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 40, 1, input); + + throw nvae; + } + } + else if ( (LA40_0==42) ) { + alt40=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 40, 0, input); + + throw nvae; + } + switch (alt40) { + case 1 : + // InternalApplicationConfiguration.g:2960:4: ( (lv_number_4_0= ruleExactNumber ) ) + { + // InternalApplicationConfiguration.g:2960:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:2961:5: (lv_number_4_0= ruleExactNumber ) + { + // InternalApplicationConfiguration.g:2961:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:2962: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:2980:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + { + // InternalApplicationConfiguration.g:2980:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:2981:5: (lv_number_5_0= ruleIntervallNumber ) + { + // InternalApplicationConfiguration.g:2981:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:2982: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:3004: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:3004:56: (iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ) + // InternalApplicationConfiguration.g:3005: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:3011: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:3017: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:3018: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:3018: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:3019: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,34,FOLLOW_33); + + newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); + + // InternalApplicationConfiguration.g:3023:3: ( (lv_type_1_0= ruleObjectReference ) ) + // InternalApplicationConfiguration.g:3024:4: (lv_type_1_0= ruleObjectReference ) + { + // InternalApplicationConfiguration.g:3024:4: (lv_type_1_0= ruleObjectReference ) + // InternalApplicationConfiguration.g:3025:5: lv_type_1_0= ruleObjectReference + { + + newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); + + pushFollow(FOLLOW_31); + 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:3042:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt41=2; + int LA41_0 = input.LA(1); + + if ( (LA41_0==35) ) { + 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:3043:4: ( (lv_setsNew_2_0= '+=' ) ) + { + // InternalApplicationConfiguration.g:3043:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3044:5: (lv_setsNew_2_0= '+=' ) + { + // InternalApplicationConfiguration.g:3044:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3045:6: lv_setsNew_2_0= '+=' + { + lv_setsNew_2_0=(Token)match(input,35,FOLLOW_32); + + 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:3058:4: ( (lv_setsSum_3_0= '=' ) ) + { + // InternalApplicationConfiguration.g:3058:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3059:5: (lv_setsSum_3_0= '=' ) + { + // InternalApplicationConfiguration.g:3059:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3060:6: lv_setsSum_3_0= '=' + { + lv_setsSum_3_0=(Token)match(input,18,FOLLOW_32); + + 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:3073: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==EOF||(LA42_1>=20 && LA42_1<=21)) ) { + alt42=1; + } + else if ( (LA42_1==43) ) { + alt42=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 42, 1, input); + + throw nvae; + } + } + else if ( (LA42_0==42) ) { + alt42=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 42, 0, input); + + throw nvae; + } + switch (alt42) { + case 1 : + // InternalApplicationConfiguration.g:3074:4: ( (lv_number_4_0= ruleExactNumber ) ) + { + // InternalApplicationConfiguration.g:3074:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3075:5: (lv_number_4_0= ruleExactNumber ) + { + // InternalApplicationConfiguration.g:3075:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3076: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:3094:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + { + // InternalApplicationConfiguration.g:3094:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3095:5: (lv_number_5_0= ruleIntervallNumber ) + { + // InternalApplicationConfiguration.g:3095:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3096: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:3118: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:3118:57: (iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ) + // InternalApplicationConfiguration.g:3119: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:3125: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:3131: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:3132: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:3132: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:3133: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,34,FOLLOW_34); + + newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); + + // InternalApplicationConfiguration.g:3137:3: ( (lv_type_1_0= ruleIntegerReference ) ) + // InternalApplicationConfiguration.g:3138:4: (lv_type_1_0= ruleIntegerReference ) + { + // InternalApplicationConfiguration.g:3138:4: (lv_type_1_0= ruleIntegerReference ) + // InternalApplicationConfiguration.g:3139:5: lv_type_1_0= ruleIntegerReference + { + + newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); + + pushFollow(FOLLOW_31); + 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:3156:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt43=2; + int LA43_0 = input.LA(1); + + if ( (LA43_0==35) ) { + 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:3157:4: ( (lv_setsNew_2_0= '+=' ) ) + { + // InternalApplicationConfiguration.g:3157:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3158:5: (lv_setsNew_2_0= '+=' ) + { + // InternalApplicationConfiguration.g:3158:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3159:6: lv_setsNew_2_0= '+=' + { + lv_setsNew_2_0=(Token)match(input,35,FOLLOW_35); + + 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:3172:4: ( (lv_setsSum_3_0= '=' ) ) + { + // InternalApplicationConfiguration.g:3172:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3173:5: (lv_setsSum_3_0= '=' ) + { + // InternalApplicationConfiguration.g:3173:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3174:6: lv_setsSum_3_0= '=' + { + lv_setsSum_3_0=(Token)match(input,18,FOLLOW_35); + + 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:3187:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) + int alt44=3; + switch ( input.LA(1) ) { + case RULE_INT: + { + int LA44_1 = input.LA(2); + + if ( (LA44_1==EOF||(LA44_1>=20 && LA44_1<=21)) ) { + alt44=1; + } + else if ( (LA44_1==43) ) { + alt44=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 44, 1, input); + + throw nvae; + } + } + break; + case 42: + { + alt44=1; + } + break; + case 19: + { + alt44=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 44, 0, input); + + throw nvae; + } + + switch (alt44) { + case 1 : + // InternalApplicationConfiguration.g:3188:4: ( (lv_number_4_0= ruleExactNumber ) ) + { + // InternalApplicationConfiguration.g:3188:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3189:5: (lv_number_4_0= ruleExactNumber ) + { + // InternalApplicationConfiguration.g:3189:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3190: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:3208:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + { + // InternalApplicationConfiguration.g:3208:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3209:5: (lv_number_5_0= ruleIntervallNumber ) + { + // InternalApplicationConfiguration.g:3209:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3210: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:3228:4: ( (lv_number_6_0= ruleIntEnumberation ) ) + { + // InternalApplicationConfiguration.g:3228:4: ( (lv_number_6_0= ruleIntEnumberation ) ) + // InternalApplicationConfiguration.g:3229:5: (lv_number_6_0= ruleIntEnumberation ) + { + // InternalApplicationConfiguration.g:3229:5: (lv_number_6_0= ruleIntEnumberation ) + // InternalApplicationConfiguration.g:3230: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:3252: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:3252:54: (iv_ruleRealTypeScope= ruleRealTypeScope EOF ) + // InternalApplicationConfiguration.g:3253: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:3259: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:3265: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:3266: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:3266: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:3267: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,34,FOLLOW_36); + + newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); + + // InternalApplicationConfiguration.g:3271:3: ( (lv_type_1_0= ruleRealReference ) ) + // InternalApplicationConfiguration.g:3272:4: (lv_type_1_0= ruleRealReference ) + { + // InternalApplicationConfiguration.g:3272:4: (lv_type_1_0= ruleRealReference ) + // InternalApplicationConfiguration.g:3273:5: lv_type_1_0= ruleRealReference + { + + newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); + + pushFollow(FOLLOW_31); + 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:3290:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt45=2; + int LA45_0 = input.LA(1); + + if ( (LA45_0==35) ) { + 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:3291:4: ( (lv_setsNew_2_0= '+=' ) ) + { + // InternalApplicationConfiguration.g:3291:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3292:5: (lv_setsNew_2_0= '+=' ) + { + // InternalApplicationConfiguration.g:3292:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3293:6: lv_setsNew_2_0= '+=' + { + lv_setsNew_2_0=(Token)match(input,35,FOLLOW_35); + + 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:3306:4: ( (lv_setsSum_3_0= '=' ) ) + { + // InternalApplicationConfiguration.g:3306:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3307:5: (lv_setsSum_3_0= '=' ) + { + // InternalApplicationConfiguration.g:3307:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3308:6: lv_setsSum_3_0= '=' + { + lv_setsSum_3_0=(Token)match(input,18,FOLLOW_35); + + 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:3321:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) + int alt46=3; + switch ( input.LA(1) ) { + case RULE_INT: + { + int LA46_1 = input.LA(2); + + if ( (LA46_1==43) ) { + 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 42: + { + alt46=1; + } + break; + case 19: + { + alt46=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 46, 0, input); + + throw nvae; + } + + switch (alt46) { + case 1 : + // InternalApplicationConfiguration.g:3322:4: ( (lv_number_4_0= ruleExactNumber ) ) + { + // InternalApplicationConfiguration.g:3322:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3323:5: (lv_number_4_0= ruleExactNumber ) + { + // InternalApplicationConfiguration.g:3323:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3324: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:3342:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + { + // InternalApplicationConfiguration.g:3342:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3343:5: (lv_number_5_0= ruleIntervallNumber ) + { + // InternalApplicationConfiguration.g:3343:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3344: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:3362:4: ( (lv_number_6_0= ruleRealEnumeration ) ) + { + // InternalApplicationConfiguration.g:3362:4: ( (lv_number_6_0= ruleRealEnumeration ) ) + // InternalApplicationConfiguration.g:3363:5: (lv_number_6_0= ruleRealEnumeration ) + { + // InternalApplicationConfiguration.g:3363:5: (lv_number_6_0= ruleRealEnumeration ) + // InternalApplicationConfiguration.g:3364: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:3386: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:3386:56: (iv_ruleStringTypeScope= ruleStringTypeScope EOF ) + // InternalApplicationConfiguration.g:3387: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:3393: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:3399: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:3400: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:3400: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:3401: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,34,FOLLOW_37); + + newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); + + // InternalApplicationConfiguration.g:3405:3: ( (lv_type_1_0= ruleStringReference ) ) + // InternalApplicationConfiguration.g:3406:4: (lv_type_1_0= ruleStringReference ) + { + // InternalApplicationConfiguration.g:3406:4: (lv_type_1_0= ruleStringReference ) + // InternalApplicationConfiguration.g:3407:5: lv_type_1_0= ruleStringReference + { + + newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); + + pushFollow(FOLLOW_31); + 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:3424:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt47=2; + int LA47_0 = input.LA(1); + + if ( (LA47_0==35) ) { + 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:3425:4: ( (lv_setsNew_2_0= '+=' ) ) + { + // InternalApplicationConfiguration.g:3425:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3426:5: (lv_setsNew_2_0= '+=' ) + { + // InternalApplicationConfiguration.g:3426:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3427:6: lv_setsNew_2_0= '+=' + { + lv_setsNew_2_0=(Token)match(input,35,FOLLOW_35); + + 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:3440:4: ( (lv_setsSum_3_0= '=' ) ) + { + // InternalApplicationConfiguration.g:3440:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3441:5: (lv_setsSum_3_0= '=' ) + { + // InternalApplicationConfiguration.g:3441:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3442:6: lv_setsSum_3_0= '=' + { + lv_setsSum_3_0=(Token)match(input,18,FOLLOW_35); + + 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:3455:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) + int alt48=3; + switch ( input.LA(1) ) { + case RULE_INT: + { + int LA48_1 = input.LA(2); + + if ( (LA48_1==43) ) { + alt48=2; + } + else if ( (LA48_1==EOF||(LA48_1>=20 && LA48_1<=21)) ) { + alt48=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 48, 1, input); + + throw nvae; + } + } + break; + case 42: + { + alt48=1; + } + break; + case 19: + { + alt48=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 48, 0, input); + + throw nvae; + } + + switch (alt48) { + case 1 : + // InternalApplicationConfiguration.g:3456:4: ( (lv_number_4_0= ruleExactNumber ) ) + { + // InternalApplicationConfiguration.g:3456:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3457:5: (lv_number_4_0= ruleExactNumber ) + { + // InternalApplicationConfiguration.g:3457:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3458: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:3476:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + { + // InternalApplicationConfiguration.g:3476:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3477:5: (lv_number_5_0= ruleIntervallNumber ) + { + // InternalApplicationConfiguration.g:3477:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3478: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:3496:4: ( (lv_number_6_0= ruleStringEnumeration ) ) + { + // InternalApplicationConfiguration.g:3496:4: ( (lv_number_6_0= ruleStringEnumeration ) ) + // InternalApplicationConfiguration.g:3497:5: (lv_number_6_0= ruleStringEnumeration ) + { + // InternalApplicationConfiguration.g:3497:5: (lv_number_6_0= ruleStringEnumeration ) + // InternalApplicationConfiguration.g:3498: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:3520: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:3520:55: (iv_ruleClassReference= ruleClassReference EOF ) + // InternalApplicationConfiguration.g:3521: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:3527: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:3533:2: ( (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ) + // InternalApplicationConfiguration.g:3534:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) + { + // InternalApplicationConfiguration.g:3534:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) + // InternalApplicationConfiguration.g:3535:3: otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' + { + otherlv_0=(Token)match(input,36,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); + + // InternalApplicationConfiguration.g:3539:3: ( (lv_element_1_0= ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:3540:4: (lv_element_1_0= ruleMetamodelElement ) + { + // InternalApplicationConfiguration.g:3540:4: (lv_element_1_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:3541:5: lv_element_1_0= ruleMetamodelElement + { + + newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); + + pushFollow(FOLLOW_38); + 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,37,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:3566: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:3566:56: (iv_ruleObjectReference= ruleObjectReference EOF ) + // InternalApplicationConfiguration.g:3567: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:3573: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:3579:2: ( ( () otherlv_1= 'node' ) ) + // InternalApplicationConfiguration.g:3580:2: ( () otherlv_1= 'node' ) + { + // InternalApplicationConfiguration.g:3580:2: ( () otherlv_1= 'node' ) + // InternalApplicationConfiguration.g:3581:3: () otherlv_1= 'node' + { + // InternalApplicationConfiguration.g:3581:3: () + // InternalApplicationConfiguration.g:3582:4: + { + + current = forceCreateModelElement( + grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,38,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:3596: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:3596:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) + // InternalApplicationConfiguration.g:3597: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:3603: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:3609:2: ( ( () otherlv_1= 'int' ) ) + // InternalApplicationConfiguration.g:3610:2: ( () otherlv_1= 'int' ) + { + // InternalApplicationConfiguration.g:3610:2: ( () otherlv_1= 'int' ) + // InternalApplicationConfiguration.g:3611:3: () otherlv_1= 'int' + { + // InternalApplicationConfiguration.g:3611:3: () + // InternalApplicationConfiguration.g:3612:4: + { + + current = forceCreateModelElement( + grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,39,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:3626: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:3626:54: (iv_ruleRealReference= ruleRealReference EOF ) + // InternalApplicationConfiguration.g:3627: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:3633: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:3639:2: ( ( () otherlv_1= 'real' ) ) + // InternalApplicationConfiguration.g:3640:2: ( () otherlv_1= 'real' ) + { + // InternalApplicationConfiguration.g:3640:2: ( () otherlv_1= 'real' ) + // InternalApplicationConfiguration.g:3641:3: () otherlv_1= 'real' + { + // InternalApplicationConfiguration.g:3641:3: () + // InternalApplicationConfiguration.g:3642:4: + { + + current = forceCreateModelElement( + grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,40,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:3656: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:3656:56: (iv_ruleStringReference= ruleStringReference EOF ) + // InternalApplicationConfiguration.g:3657: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:3663: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:3669:2: ( ( () otherlv_1= 'string' ) ) + // InternalApplicationConfiguration.g:3670:2: ( () otherlv_1= 'string' ) + { + // InternalApplicationConfiguration.g:3670:2: ( () otherlv_1= 'string' ) + // InternalApplicationConfiguration.g:3671:3: () otherlv_1= 'string' + { + // InternalApplicationConfiguration.g:3671:3: () + // InternalApplicationConfiguration.g:3672:4: + { + + current = forceCreateModelElement( + grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,41,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:3686: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:3686:52: (iv_ruleExactNumber= ruleExactNumber EOF ) + // InternalApplicationConfiguration.g:3687: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:3693: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:3699:2: ( ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ) + // InternalApplicationConfiguration.g:3700:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) + { + // InternalApplicationConfiguration.g:3700:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) + int alt49=2; + int LA49_0 = input.LA(1); + + if ( (LA49_0==RULE_INT) ) { + alt49=1; + } + else if ( (LA49_0==42) ) { + alt49=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 49, 0, input); + + throw nvae; + } + switch (alt49) { + case 1 : + // InternalApplicationConfiguration.g:3701:3: ( (lv_exactNumber_0_0= RULE_INT ) ) + { + // InternalApplicationConfiguration.g:3701:3: ( (lv_exactNumber_0_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:3702:4: (lv_exactNumber_0_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:3702:4: (lv_exactNumber_0_0= RULE_INT ) + // InternalApplicationConfiguration.g:3703: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:3720:3: ( (lv_exactUnlimited_1_0= '*' ) ) + { + // InternalApplicationConfiguration.g:3720:3: ( (lv_exactUnlimited_1_0= '*' ) ) + // InternalApplicationConfiguration.g:3721:4: (lv_exactUnlimited_1_0= '*' ) + { + // InternalApplicationConfiguration.g:3721:4: (lv_exactUnlimited_1_0= '*' ) + // InternalApplicationConfiguration.g:3722:5: lv_exactUnlimited_1_0= '*' + { + lv_exactUnlimited_1_0=(Token)match(input,42,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:3738: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:3738:56: (iv_ruleIntervallNumber= ruleIntervallNumber EOF ) + // InternalApplicationConfiguration.g:3739: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:3745: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:3751:2: ( ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ) + // InternalApplicationConfiguration.g:3752:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) + { + // InternalApplicationConfiguration.g:3752:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) + // InternalApplicationConfiguration.g:3753:3: ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) + { + // InternalApplicationConfiguration.g:3753:3: ( (lv_min_0_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:3754:4: (lv_min_0_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:3754:4: (lv_min_0_0= RULE_INT ) + // InternalApplicationConfiguration.g:3755:5: lv_min_0_0= RULE_INT + { + lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_39); + + 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,43,FOLLOW_32); + + newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); + + // InternalApplicationConfiguration.g:3775:3: ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) + int alt50=2; + int LA50_0 = input.LA(1); + + if ( (LA50_0==RULE_INT) ) { + alt50=1; + } + else if ( (LA50_0==42) ) { + alt50=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 50, 0, input); + + throw nvae; + } + switch (alt50) { + case 1 : + // InternalApplicationConfiguration.g:3776:4: ( (lv_maxNumber_2_0= RULE_INT ) ) + { + // InternalApplicationConfiguration.g:3776:4: ( (lv_maxNumber_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:3777:5: (lv_maxNumber_2_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:3777:5: (lv_maxNumber_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:3778: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:3795:4: ( (lv_maxUnlimited_3_0= '*' ) ) + { + // InternalApplicationConfiguration.g:3795:4: ( (lv_maxUnlimited_3_0= '*' ) ) + // InternalApplicationConfiguration.g:3796:5: (lv_maxUnlimited_3_0= '*' ) + { + // InternalApplicationConfiguration.g:3796:5: (lv_maxUnlimited_3_0= '*' ) + // InternalApplicationConfiguration.g:3797:6: lv_maxUnlimited_3_0= '*' + { + lv_maxUnlimited_3_0=(Token)match(input,42,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:3814: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:3814:56: (iv_ruleIntEnumberation= ruleIntEnumberation EOF ) + // InternalApplicationConfiguration.g:3815: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:3821: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:3827:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:3828:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) + { + // InternalApplicationConfiguration.g:3828:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:3829:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' + { + // InternalApplicationConfiguration.g:3829:3: () + // InternalApplicationConfiguration.g:3830:4: + { + + current = forceCreateModelElement( + grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,19,FOLLOW_40); + + newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); + + // InternalApplicationConfiguration.g:3840:3: ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? + int alt52=2; + int LA52_0 = input.LA(1); + + if ( (LA52_0==RULE_INT||LA52_0==12) ) { + alt52=1; + } + switch (alt52) { + case 1 : + // InternalApplicationConfiguration.g:3841:4: ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* + { + // InternalApplicationConfiguration.g:3841:4: ( (lv_entry_2_0= ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:3842:5: (lv_entry_2_0= ruleINTLiteral ) + { + // InternalApplicationConfiguration.g:3842:5: (lv_entry_2_0= ruleINTLiteral ) + // InternalApplicationConfiguration.g:3843: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:3860:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* + loop51: + do { + int alt51=2; + int LA51_0 = input.LA(1); + + if ( (LA51_0==20) ) { + alt51=1; + } + + + switch (alt51) { + case 1 : + // InternalApplicationConfiguration.g:3861: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:3865:5: ( (lv_entry_4_0= ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:3866:6: (lv_entry_4_0= ruleINTLiteral ) + { + // InternalApplicationConfiguration.g:3866:6: (lv_entry_4_0= ruleINTLiteral ) + // InternalApplicationConfiguration.g:3867: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 loop51; + } + } 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:3894: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:3894:56: (iv_ruleRealEnumeration= ruleRealEnumeration EOF ) + // InternalApplicationConfiguration.g:3895: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:3901: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:3907:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:3908:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) + { + // InternalApplicationConfiguration.g:3908:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:3909:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' + { + // InternalApplicationConfiguration.g:3909:3: () + // InternalApplicationConfiguration.g:3910:4: + { + + current = forceCreateModelElement( + grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,19,FOLLOW_40); + + newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); + + // InternalApplicationConfiguration.g:3920:3: ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? + 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:3921:4: ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* + { + // InternalApplicationConfiguration.g:3921:4: ( (lv_entry_2_0= ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:3922:5: (lv_entry_2_0= ruleREALLiteral ) + { + // InternalApplicationConfiguration.g:3922:5: (lv_entry_2_0= ruleREALLiteral ) + // InternalApplicationConfiguration.g:3923: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:3940:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* + loop53: + do { + int alt53=2; + int LA53_0 = input.LA(1); + + if ( (LA53_0==20) ) { + alt53=1; + } + + + switch (alt53) { + case 1 : + // InternalApplicationConfiguration.g:3941: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:3945:5: ( (lv_entry_4_0= ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:3946:6: (lv_entry_4_0= ruleREALLiteral ) + { + // InternalApplicationConfiguration.g:3946:6: (lv_entry_4_0= ruleREALLiteral ) + // InternalApplicationConfiguration.g:3947: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 loop53; + } + } 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:3974: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:3974:58: (iv_ruleStringEnumeration= ruleStringEnumeration EOF ) + // InternalApplicationConfiguration.g:3975: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:3981: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:3987:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:3988:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) + { + // InternalApplicationConfiguration.g:3988:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:3989:3: () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' + { + // InternalApplicationConfiguration.g:3989:3: () + // InternalApplicationConfiguration.g:3990:4: + { + + current = forceCreateModelElement( + grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,19,FOLLOW_41); + + newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); + + // InternalApplicationConfiguration.g:4000:3: ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? + int alt56=2; + int LA56_0 = input.LA(1); + + if ( (LA56_0==RULE_STRING) ) { + alt56=1; + } + switch (alt56) { + case 1 : + // InternalApplicationConfiguration.g:4001:4: ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* + { + // InternalApplicationConfiguration.g:4001:4: ( (lv_entry_2_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:4002:5: (lv_entry_2_0= RULE_STRING ) + { + // InternalApplicationConfiguration.g:4002:5: (lv_entry_2_0= RULE_STRING ) + // InternalApplicationConfiguration.g:4003: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:4019:4: (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* + loop55: + do { + int alt55=2; + int LA55_0 = input.LA(1); + + if ( (LA55_0==20) ) { + alt55=1; + } + + + switch (alt55) { + case 1 : + // InternalApplicationConfiguration.g:4020: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:4024:5: ( (lv_entry_4_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:4025:6: (lv_entry_4_0= RULE_STRING ) + { + // InternalApplicationConfiguration.g:4025:6: (lv_entry_4_0= RULE_STRING ) + // InternalApplicationConfiguration.g:4026: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 loop55; + } + } 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:4052: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:4052:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) + // InternalApplicationConfiguration.g:4053: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:4059: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:4065:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) + // InternalApplicationConfiguration.g:4066:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) + { + // InternalApplicationConfiguration.g:4066:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) + // InternalApplicationConfiguration.g:4067:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) + { + otherlv_0=(Token)match(input,44,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); + + // InternalApplicationConfiguration.g:4071:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:4072:4: (lv_name_1_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:4072:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:4073: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:4089:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) + // InternalApplicationConfiguration.g:4090:4: (lv_specification_2_0= ruleScopeSpecification ) + { + // InternalApplicationConfiguration.g:4090:4: (lv_specification_2_0= ruleScopeSpecification ) + // InternalApplicationConfiguration.g:4091: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:4112: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:4112:55: (iv_ruleScopeReference= ruleScopeReference EOF ) + // InternalApplicationConfiguration.g:4113: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:4119: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:4125:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:4126:2: ( (otherlv_0= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:4126:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:4127:3: (otherlv_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:4127:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:4128: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:4142: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:4142:46: (iv_ruleScope= ruleScope EOF ) + // InternalApplicationConfiguration.g:4143: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:4149: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:4155:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) + // InternalApplicationConfiguration.g:4156:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) + { + // InternalApplicationConfiguration.g:4156:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) + int alt57=2; + int LA57_0 = input.LA(1); + + if ( (LA57_0==19) ) { + alt57=1; + } + else if ( (LA57_0==RULE_ID) ) { + alt57=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 57, 0, input); + + throw nvae; + } + switch (alt57) { + case 1 : + // InternalApplicationConfiguration.g:4157: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:4166: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:4178: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:4178:45: (iv_ruleTask= ruleTask EOF ) + // InternalApplicationConfiguration.g:4179: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:4185: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:4191:2: (this_GenerationTask_0= ruleGenerationTask ) + // InternalApplicationConfiguration.g:4192: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:4203: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:4203:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) + // InternalApplicationConfiguration.g:4204: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:4210: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:4216: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:4217: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:4217: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:4218: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,45,FOLLOW_17); + + newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); + + // InternalApplicationConfiguration.g:4222:3: () + // InternalApplicationConfiguration.g:4223:4: + { + + current = forceCreateModelElement( + grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), + current); + + + } + + otherlv_2=(Token)match(input,19,FOLLOW_42); + + newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); + + // InternalApplicationConfiguration.g:4233: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:4234: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:4234: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:4235: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:4238: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:4239: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:4239: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 ) ) ) ) ) ) )* + loop58: + do { + int alt58=14; + alt58 = dfa58.predict(input); + switch (alt58) { + case 1 : + // InternalApplicationConfiguration.g:4240:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4240:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4241: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:4241:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) + // InternalApplicationConfiguration.g:4242:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); + + // InternalApplicationConfiguration.g:4245:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) + // InternalApplicationConfiguration.g:4245:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4245:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) + // InternalApplicationConfiguration.g:4245: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_43); + + newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); + + // InternalApplicationConfiguration.g:4253:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) + // InternalApplicationConfiguration.g:4254:10: (lv_metamodel_6_0= ruleMetamodel ) + { + // InternalApplicationConfiguration.g:4254:10: (lv_metamodel_6_0= ruleMetamodel ) + // InternalApplicationConfiguration.g:4255:11: lv_metamodel_6_0= ruleMetamodel + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); + + pushFollow(FOLLOW_42); + 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:4278:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4278:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4279: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:4279:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) + // InternalApplicationConfiguration.g:4280:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); + + // InternalApplicationConfiguration.g:4283:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) + // InternalApplicationConfiguration.g:4283:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4283:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) + // InternalApplicationConfiguration.g:4283:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) + { + otherlv_7=(Token)match(input,46,FOLLOW_13); + + newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); + + otherlv_8=(Token)match(input,18,FOLLOW_43); + + newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); + + // InternalApplicationConfiguration.g:4291:9: ( (lv_partialModel_9_0= rulePartialModel ) ) + // InternalApplicationConfiguration.g:4292:10: (lv_partialModel_9_0= rulePartialModel ) + { + // InternalApplicationConfiguration.g:4292:10: (lv_partialModel_9_0= rulePartialModel ) + // InternalApplicationConfiguration.g:4293:11: lv_partialModel_9_0= rulePartialModel + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); + + pushFollow(FOLLOW_42); + 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:4316:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4316:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4317: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:4317:111: ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) + // InternalApplicationConfiguration.g:4318:6: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); + + // InternalApplicationConfiguration.g:4321:9: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) + // InternalApplicationConfiguration.g:4321:10: {...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4321:19: (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) + // InternalApplicationConfiguration.g:4321: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_43); + + newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); + + // InternalApplicationConfiguration.g:4329:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) + // InternalApplicationConfiguration.g:4330:10: (lv_patterns_12_0= ruleGraphPattern ) + { + // InternalApplicationConfiguration.g:4330:10: (lv_patterns_12_0= ruleGraphPattern ) + // InternalApplicationConfiguration.g:4331:11: lv_patterns_12_0= ruleGraphPattern + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); + + pushFollow(FOLLOW_42); + 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:4354:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4354:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4355: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:4355:111: ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) + // InternalApplicationConfiguration.g:4356:6: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); + + // InternalApplicationConfiguration.g:4359:9: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) + // InternalApplicationConfiguration.g:4359:10: {...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4359:19: (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) + // InternalApplicationConfiguration.g:4359:20: otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) + { + otherlv_13=(Token)match(input,29,FOLLOW_13); + + newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0()); + + otherlv_14=(Token)match(input,18,FOLLOW_43); + + newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); + + // InternalApplicationConfiguration.g:4367:9: ( (lv_objectives_15_0= ruleObjective ) ) + // InternalApplicationConfiguration.g:4368:10: (lv_objectives_15_0= ruleObjective ) + { + // InternalApplicationConfiguration.g:4368:10: (lv_objectives_15_0= ruleObjective ) + // InternalApplicationConfiguration.g:4369:11: lv_objectives_15_0= ruleObjective + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0()); + + pushFollow(FOLLOW_42); + 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:4392:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4392:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4393: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:4393:111: ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) + // InternalApplicationConfiguration.g:4394:6: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); + + // InternalApplicationConfiguration.g:4397:9: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) + // InternalApplicationConfiguration.g:4397:10: {...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4397:19: (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) + // InternalApplicationConfiguration.g:4397:20: otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) + { + otherlv_16=(Token)match(input,44,FOLLOW_13); + + newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0()); + + otherlv_17=(Token)match(input,18,FOLLOW_43); + + newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); + + // InternalApplicationConfiguration.g:4405:9: ( (lv_scope_18_0= ruleScope ) ) + // InternalApplicationConfiguration.g:4406:10: (lv_scope_18_0= ruleScope ) + { + // InternalApplicationConfiguration.g:4406:10: (lv_scope_18_0= ruleScope ) + // InternalApplicationConfiguration.g:4407:11: lv_scope_18_0= ruleScope + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0()); + + pushFollow(FOLLOW_42); + 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:4430:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4430:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4431: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:4431:111: ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:4432:6: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); + + // InternalApplicationConfiguration.g:4435:9: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:4435:10: {...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4435:19: ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:4435:20: ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) + { + // InternalApplicationConfiguration.g:4435:20: ( (lv_numberSpecified_19_0= 'number' ) ) + // InternalApplicationConfiguration.g:4436:10: (lv_numberSpecified_19_0= 'number' ) + { + // InternalApplicationConfiguration.g:4436:10: (lv_numberSpecified_19_0= 'number' ) + // InternalApplicationConfiguration.g:4437:11: lv_numberSpecified_19_0= 'number' + { + lv_numberSpecified_19_0=(Token)match(input,47,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:4453:9: ( (lv_number_21_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:4454:10: (lv_number_21_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:4454:10: (lv_number_21_0= RULE_INT ) + // InternalApplicationConfiguration.g:4455:11: lv_number_21_0= RULE_INT + { + lv_number_21_0=(Token)match(input,RULE_INT,FOLLOW_42); + + 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:4477:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4477:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4478: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:4478:111: ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:4479:6: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); + + // InternalApplicationConfiguration.g:4482:9: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:4482:10: {...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4482:19: ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:4482:20: ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) + { + // InternalApplicationConfiguration.g:4482:20: ( (lv_runSpecified_22_0= 'runs' ) ) + // InternalApplicationConfiguration.g:4483:10: (lv_runSpecified_22_0= 'runs' ) + { + // InternalApplicationConfiguration.g:4483:10: (lv_runSpecified_22_0= 'runs' ) + // InternalApplicationConfiguration.g:4484:11: lv_runSpecified_22_0= 'runs' + { + lv_runSpecified_22_0=(Token)match(input,48,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:4500:9: ( (lv_runs_24_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:4501:10: (lv_runs_24_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:4501:10: (lv_runs_24_0= RULE_INT ) + // InternalApplicationConfiguration.g:4502:11: lv_runs_24_0= RULE_INT + { + lv_runs_24_0=(Token)match(input,RULE_INT,FOLLOW_42); + + 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:4524:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4524:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4525: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:4525:111: ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) + // InternalApplicationConfiguration.g:4526:6: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); + + // InternalApplicationConfiguration.g:4529:9: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) + // InternalApplicationConfiguration.g:4529:10: {...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4529:19: (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) + // InternalApplicationConfiguration.g:4529:20: otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) + { + otherlv_25=(Token)match(input,49,FOLLOW_13); + + newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0()); + + otherlv_26=(Token)match(input,18,FOLLOW_44); + + newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); + + // InternalApplicationConfiguration.g:4537:9: ( (lv_solver_27_0= ruleSolver ) ) + // InternalApplicationConfiguration.g:4538:10: (lv_solver_27_0= ruleSolver ) + { + // InternalApplicationConfiguration.g:4538:10: (lv_solver_27_0= ruleSolver ) + // InternalApplicationConfiguration.g:4539:11: lv_solver_27_0= ruleSolver + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0()); + + pushFollow(FOLLOW_42); + 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:4562:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4562:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4563: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:4563:111: ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) + // InternalApplicationConfiguration.g:4564:6: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); + + // InternalApplicationConfiguration.g:4567:9: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) + // InternalApplicationConfiguration.g:4567:10: {...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4567:19: (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) + // InternalApplicationConfiguration.g:4567:20: otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) + { + otherlv_28=(Token)match(input,30,FOLLOW_13); + + newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0()); + + otherlv_29=(Token)match(input,18,FOLLOW_43); + + newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); + + // InternalApplicationConfiguration.g:4575:9: ( (lv_config_30_0= ruleConfig ) ) + // InternalApplicationConfiguration.g:4576:10: (lv_config_30_0= ruleConfig ) + { + // InternalApplicationConfiguration.g:4576:10: (lv_config_30_0= ruleConfig ) + // InternalApplicationConfiguration.g:4577:11: lv_config_30_0= ruleConfig + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0()); + + pushFollow(FOLLOW_42); + 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:4600:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4600:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4601: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:4601:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4602:6: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); + + // InternalApplicationConfiguration.g:4605:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4605:10: {...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4605:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4605:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) + { + otherlv_31=(Token)match(input,50,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:4613:9: ( (lv_debugFolder_33_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4614:10: (lv_debugFolder_33_0= ruleFile ) + { + // InternalApplicationConfiguration.g:4614:10: (lv_debugFolder_33_0= ruleFile ) + // InternalApplicationConfiguration.g:4615:11: lv_debugFolder_33_0= ruleFile + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); + + pushFollow(FOLLOW_42); + 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:4638:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4638:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4639: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:4639:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4640:6: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); + + // InternalApplicationConfiguration.g:4643:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4643:10: {...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4643:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4643:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) + { + otherlv_34=(Token)match(input,51,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:4651:9: ( (lv_targetLogFile_36_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4652:10: (lv_targetLogFile_36_0= ruleFile ) + { + // InternalApplicationConfiguration.g:4652:10: (lv_targetLogFile_36_0= ruleFile ) + // InternalApplicationConfiguration.g:4653:11: lv_targetLogFile_36_0= ruleFile + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); + + pushFollow(FOLLOW_42); + 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:4676:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4676:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4677: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:4677:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4678:6: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); + + // InternalApplicationConfiguration.g:4681:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4681:10: {...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4681:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4681:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) + { + otherlv_37=(Token)match(input,52,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:4689:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4690:10: (lv_targetStatisticsFile_39_0= ruleFile ) + { + // InternalApplicationConfiguration.g:4690:10: (lv_targetStatisticsFile_39_0= ruleFile ) + // InternalApplicationConfiguration.g:4691:11: lv_targetStatisticsFile_39_0= ruleFile + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); + + pushFollow(FOLLOW_42); + 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:4714:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4714:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4715: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:4715:112: ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4716:6: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12); + + // InternalApplicationConfiguration.g:4719:9: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4719:10: {...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4719:19: (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4719:20: otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) + { + otherlv_40=(Token)match(input,53,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:4727:9: ( (lv_tagetFolder_42_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4728:10: (lv_tagetFolder_42_0= ruleFile ) + { + // InternalApplicationConfiguration.g:4728:10: (lv_tagetFolder_42_0= ruleFile ) + // InternalApplicationConfiguration.g:4729:11: lv_tagetFolder_42_0= ruleFile + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0()); + + pushFollow(FOLLOW_42); + 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 loop58; + } + } 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:4767: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:4773:2: ( ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ) + // InternalApplicationConfiguration.g:4774:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) + { + // InternalApplicationConfiguration.g:4774:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) + int alt59=2; + int LA59_0 = input.LA(1); + + if ( (LA59_0==54) ) { + alt59=1; + } + else if ( (LA59_0==55) ) { + alt59=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 59, 0, input); + + throw nvae; + } + switch (alt59) { + case 1 : + // InternalApplicationConfiguration.g:4775:3: (enumLiteral_0= 'minimize' ) + { + // InternalApplicationConfiguration.g:4775:3: (enumLiteral_0= 'minimize' ) + // InternalApplicationConfiguration.g:4776:4: enumLiteral_0= 'minimize' + { + enumLiteral_0=(Token)match(input,54,FOLLOW_2); + + current = grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0()); + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:4783:3: (enumLiteral_1= 'maximize' ) + { + // InternalApplicationConfiguration.g:4783:3: (enumLiteral_1= 'maximize' ) + // InternalApplicationConfiguration.g:4784:4: enumLiteral_1= 'maximize' + { + enumLiteral_1=(Token)match(input,55,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:4794: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:4800:2: ( ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) ) + // InternalApplicationConfiguration.g:4801:2: ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) + { + // InternalApplicationConfiguration.g:4801:2: ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) + int alt60=2; + int LA60_0 = input.LA(1); + + if ( (LA60_0==56) ) { + alt60=1; + } + else if ( (LA60_0==57) ) { + alt60=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 60, 0, input); + + throw nvae; + } + switch (alt60) { + case 1 : + // InternalApplicationConfiguration.g:4802:3: (enumLiteral_0= '<=' ) + { + // InternalApplicationConfiguration.g:4802:3: (enumLiteral_0= '<=' ) + // InternalApplicationConfiguration.g:4803:4: enumLiteral_0= '<=' + { + enumLiteral_0=(Token)match(input,56,FOLLOW_2); + + current = grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0()); + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:4810:3: (enumLiteral_1= '>=' ) + { + // InternalApplicationConfiguration.g:4810:3: (enumLiteral_1= '>=' ) + // InternalApplicationConfiguration.g:4811:4: enumLiteral_1= '>=' + { + enumLiteral_1=(Token)match(input,57,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:4821: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:4827:2: ( ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ) + // InternalApplicationConfiguration.g:4828:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) + { + // InternalApplicationConfiguration.g:4828:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) + int alt61=3; + switch ( input.LA(1) ) { + case 58: + { + alt61=1; + } + break; + case 59: + { + alt61=2; + } + break; + case 60: + { + alt61=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 61, 0, input); + + throw nvae; + } + + switch (alt61) { + case 1 : + // InternalApplicationConfiguration.g:4829:3: (enumLiteral_0= 'none' ) + { + // InternalApplicationConfiguration.g:4829:3: (enumLiteral_0= 'none' ) + // InternalApplicationConfiguration.g:4830:4: enumLiteral_0= 'none' + { + enumLiteral_0=(Token)match(input,58,FOLLOW_2); + + current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:4837:3: (enumLiteral_1= 'normal' ) + { + // InternalApplicationConfiguration.g:4837:3: (enumLiteral_1= 'normal' ) + // InternalApplicationConfiguration.g:4838:4: enumLiteral_1= 'normal' + { + enumLiteral_1=(Token)match(input,59,FOLLOW_2); + + current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); + + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:4845:3: (enumLiteral_2= 'full' ) + { + // InternalApplicationConfiguration.g:4845:3: (enumLiteral_2= 'full' ) + // InternalApplicationConfiguration.g:4846:4: enumLiteral_2= 'full' + { + enumLiteral_2=(Token)match(input,60,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:4856: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:4862:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) + // InternalApplicationConfiguration.g:4863:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) + { + // InternalApplicationConfiguration.g:4863:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) + int alt62=3; + switch ( input.LA(1) ) { + case 61: + { + alt62=1; + } + break; + case 62: + { + alt62=2; + } + break; + case 63: + { + alt62=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 62, 0, input); + + throw nvae; + } + + switch (alt62) { + case 1 : + // InternalApplicationConfiguration.g:4864:3: (enumLiteral_0= 'SMTSolver' ) + { + // InternalApplicationConfiguration.g:4864:3: (enumLiteral_0= 'SMTSolver' ) + // InternalApplicationConfiguration.g:4865:4: enumLiteral_0= 'SMTSolver' + { + enumLiteral_0=(Token)match(input,61,FOLLOW_2); + + current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:4872:3: (enumLiteral_1= 'AlloySolver' ) + { + // InternalApplicationConfiguration.g:4872:3: (enumLiteral_1= 'AlloySolver' ) + // InternalApplicationConfiguration.g:4873:4: enumLiteral_1= 'AlloySolver' + { + enumLiteral_1=(Token)match(input,62,FOLLOW_2); + + current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); + + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:4880:3: (enumLiteral_2= 'ViatraSolver' ) + { + // InternalApplicationConfiguration.g:4880:3: (enumLiteral_2= 'ViatraSolver' ) + // InternalApplicationConfiguration.g:4881:4: enumLiteral_2= 'ViatraSolver' + { + enumLiteral_2=(Token)match(input,63,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 DFA58 dfa58 = new DFA58(this); + static final String dfa_1s = "\17\uffff"; + static final String dfa_2s = "\1\25\16\uffff"; + static final String dfa_3s = "\1\65\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\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 DFA58 extends DFA { + + public DFA58(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 58; + 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 4239: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 LA58_0 = input.LA(1); + + + int index58_0 = input.index(); + input.rewind(); + s = -1; + if ( (LA58_0==21) ) {s = 1;} + + else if ( LA58_0 == 25 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;} + + else if ( LA58_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;} + + else if ( LA58_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;} + + else if ( LA58_0 == 29 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;} + + else if ( LA58_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;} + + else if ( LA58_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;} + + else if ( LA58_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;} + + else if ( LA58_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;} + + else if ( LA58_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;} + + else if ( LA58_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;} + + else if ( LA58_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;} + + else if ( LA58_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;} + + else if ( LA58_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 14;} + + + input.seek(index58_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 58, _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[]{0x000030007A022002L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000030007A020002L}); + 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[]{0x00C0000000010000L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0300000000000000L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000001020L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000380200040L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000380000040L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x1C00000000000000L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000400200000L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000400000000L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000001000000000L}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000800040000L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000040000000020L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000004000000000L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000040000080020L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000010000000000L}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000020000000000L}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000002000000000L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000080000000000L}); + public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000201020L}); + public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000200040L}); + public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x003FD00072200000L}); + public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000080010L}); + public static final BitSet FOLLOW_44 = new BitSet(new long[]{0xE000000000000000L}); + +} -- cgit v1.2.3-70-g09d2