public class ContentAssistParserGeneratorFragment extends AbstractAntlrGeneratorFragmentEx
IGeneratorFragment
to generate a lightweight AntLR based parser used in content assist.Constructor and Description |
---|
ContentAssistParserGeneratorFragment() |
Modifier and Type | Method and Description |
---|---|
void |
generate(Grammar grammar,
org.eclipse.xpand2.XpandExecutionContext ctx)
can be used to generate whatever necessary
|
java.util.Set<Binding> |
getGuiceBindingsUi(Grammar grammar)
return a map containing the contributed guice bindings for the ui part created in this generator fragment
|
java.lang.String[] |
getRequiredBundlesUi(Grammar grammar)
return the bundles this fragment requires in ui
|
getFragmentHelper, getLexerFileNameSuffix, getParameters, getParserFileNameSuffix, setFragmentHelper
addAntlrParam, checkConfiguration, containsUnorderedGroup, getAntlrParams, getAntlrTool, getEncoding, getOptions, setAntlrTool, setOptions, simplifyUnorderedGroupPredicates, simplifyUnorderedGroupPredicatesIfRequired, splitLexerClassFile, splitParserAndLexerIfEnabled, splitParserAndLexerIfEnabled, splitParserClassFile, suppressWarnings, suppressWarnings
addToPluginXmlRt, addToPluginXmlTests, addToPluginXmlUi, addToStandaloneSetup, getExportedPackagesRt, getExportedPackagesUi, getGuiceBindingsRt, getNaming, getRequiredBundlesRt, getTemplate, registerNaming
getImportedPackagesRt, getImportedPackagesUi
public ContentAssistParserGeneratorFragment()
public void generate(Grammar grammar, org.eclipse.xpand2.XpandExecutionContext ctx)
IGeneratorFragment
generate
in interface IGeneratorFragment
generate
in class AbstractAntlrGeneratorFragment
ctx
- - the execution context to usepublic java.util.Set<Binding> getGuiceBindingsUi(Grammar grammar)
IGeneratorFragment
getGuiceBindingsUi
in interface IGeneratorFragment
getGuiceBindingsUi
in class AbstractGeneratorFragment
public java.lang.String[] getRequiredBundlesUi(Grammar grammar)
IGeneratorFragment
getRequiredBundlesUi
in interface IGeneratorFragment
getRequiredBundlesUi
in class AbstractGeneratorFragment