package com.sap.furcas.parsergenerator; import java.io.File; import com.sap.furcas.runtime.common.exceptions.ParserInvokationException; /** * Generator facade featuring the generation of ANTLR grammars from TCS syntaxes, and subsequently, featuring the generation of * lexers and parsers from these grammars. * * @author Stephan Erb (d049157) * */ public interface TCSParserGenerator { public TCSSyntaxContainerBean parseSyntax(GrammarGenerationSourceConfiguration sourceConfiguration, File syntaxDefFile, GenerationErrorHandler resourceMarkingGenerationErrorHandler) throws ParserInvokationException; public void generateGrammarFromSyntax(TCSSyntaxContainerBean syntaxBean, GrammarGenerationSourceConfiguration sourceConfiguration, GrammarGenerationTargetConfiguration targetConfiguration, GenerationErrorHandler errorhandler) throws GrammarGenerationException; public void generateParserFromGrammar(GrammarGenerationTargetConfiguration targetConfiguration, GenerationErrorHandler errorhandler); }