public class DebugAntlrGeneratorFragment extends AbstractAntlrGeneratorFragment
Constructor and Description |
---|
DebugAntlrGeneratorFragment() |
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration(org.eclipse.emf.mwe.core.issues.Issues issues)
Called by the container after configuration so the component can validate
the configuration before invocation.
|
void |
generate(Grammar grammar,
org.eclipse.xpand2.XpandExecutionContext ctx)
can be used to generate whatever necessary
|
java.lang.String |
getGrammarFileName(Grammar g,
Naming naming) |
protected void |
prettyPrint(java.lang.String absoluteGrammarFileName) |
addAntlrParam, containsUnorderedGroup, getAntlrParams, getAntlrTool, getEncoding, getLexerFileNameSuffix, getOptions, getParameters, getParserFileNameSuffix, setAntlrTool, setOptions, simplifyUnorderedGroupPredicates, simplifyUnorderedGroupPredicatesIfRequired, splitLexerClassFile, splitParserAndLexerIfEnabled, splitParserAndLexerIfEnabled, splitParserClassFile, suppressWarnings, suppressWarnings
addToPluginXmlRt, addToPluginXmlTests, addToPluginXmlUi, addToStandaloneSetup, getExportedPackagesRt, getExportedPackagesUi, getGuiceBindingsRt, getGuiceBindingsUi, getNaming, getRequiredBundlesRt, getRequiredBundlesUi, getTemplate, registerNaming
getImportedPackagesRt, getImportedPackagesUi
public void checkConfiguration(org.eclipse.emf.mwe.core.issues.Issues issues)
IGeneratorFragment
checkConfiguration
in interface IGeneratorFragment
checkConfiguration
in class AbstractAntlrGeneratorFragment
issues
- implementors should report configuration issues to this.public void generate(Grammar grammar, org.eclipse.xpand2.XpandExecutionContext ctx)
IGeneratorFragment
generate
in interface IGeneratorFragment
generate
in class AbstractAntlrGeneratorFragment
ctx
- - the execution context to useprotected void prettyPrint(java.lang.String absoluteGrammarFileName)