|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.generator.DefaultGeneratorFragment org.eclipse.xtext.generator.AbstractGeneratorFragment org.eclipse.xtext.generator.parser.antlr.AbstractAntlrGeneratorFragment org.eclipse.xtext.generator.parser.antlr.DebugAntlrGeneratorFragment
public class DebugAntlrGeneratorFragment
Constructor Summary | |
---|---|
DebugAntlrGeneratorFragment()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.eclipse.xtext.generator.parser.antlr.AbstractAntlrGeneratorFragment |
---|
addAntlrParam, containsUnorderedGroup, getAntlrParams, getAntlrTool, getLexerFileNameSuffix, getOptions, getParameters, getParserFileNameSuffix, setAntlrTool, setOptions, simplifyUnorderedGroupPredicates, simplifyUnorderedGroupPredicatesIfRequired, splitLexerClassFile, splitParserAndLexerIfEnabled, splitParserAndLexerIfEnabled, splitParserClassFile, suppressWarnings, suppressWarnings |
Methods inherited from class org.eclipse.xtext.generator.AbstractGeneratorFragment |
---|
addToPluginXmlRt, addToPluginXmlTests, addToPluginXmlUi, addToStandaloneSetup, getExportedPackagesRt, getExportedPackagesUi, getGuiceBindingsRt, getGuiceBindingsUi, getNaming, getRequiredBundlesRt, getRequiredBundlesUi, getTemplate, registerNaming |
Methods inherited from class org.eclipse.xtext.generator.DefaultGeneratorFragment |
---|
getImportedPackagesRt, getImportedPackagesUi |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DebugAntlrGeneratorFragment()
Method Detail |
---|
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)
public java.lang.String getGrammarFileName(Grammar g, Naming naming)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |