Methods
Modifier and Type |
Method and Description |
void |
addAntlrParam(java.lang.String param) |
void |
checkConfiguration(Issues issues) |
protected void |
checkGrammar() |
protected void |
cleanupLexerTokensFile(AntlrGrammar lexerGrammar,
KeywordHelper helper,
IXtextGeneratorFileSystemAccess fsa) |
protected void |
cleanupParserTokensFile(AntlrGrammar lexerGrammar,
AntlrGrammar parserGrammar,
KeywordHelper helper,
IXtextGeneratorFileSystemAccess fsa) |
protected boolean |
containsUnorderedGroup(Grammar grammar) |
protected MutableTokenDefProvider |
createLexerTokensProvider(AntlrGrammar lexerGrammar,
KeywordHelper helper,
IXtextGeneratorFileSystemAccess fsa) |
protected abstract void |
doGenerate() |
void |
generate() |
java.lang.String[] |
getAntlrParams() |
protected AntlrToolFacade |
getAntlrTool() |
protected CodeConfig |
getCodeConfig() |
protected AntlrCodeQualityHelper |
getCodeQualityHelper() |
protected LineSeparatorHarmonizer |
getNewLineNormalizer() |
AntlrOptions |
getOptions() |
protected boolean |
hasParameterizedRules(Grammar grammar) |
protected boolean |
hasProductionRules(Grammar grammar) |
protected void |
improveCodeQuality(IXtextGeneratorFileSystemAccess fsa,
TypeReference lexer,
TypeReference parser) |
protected void |
normalizeLineDelimiters(IXtextGeneratorFileSystemAccess fsa,
TypeReference... types) |
protected void |
normalizeLineDelimiters(IXtextGeneratorFileSystemAccess fsa,
TypeReference type) |
protected void |
normalizeTokens(IXtextGeneratorFileSystemAccess fsa,
java.lang.String tokenFile) |
protected void |
removeBackTrackingGuards(IXtextGeneratorFileSystemAccess fsa,
TypeReference parser,
int lookaheadThreshold) |
void |
setOptions(AntlrOptions options) |
protected void |
simplifyUnorderedGroupPredicates(IXtextGeneratorFileSystemAccess fsa,
TypeReference parser) |
protected void |
simplifyUnorderedGroupPredicatesIfRequired(Grammar grammar,
IXtextGeneratorFileSystemAccess fsa,
TypeReference parser) |
protected void |
splitLexerClassFile(IXtextGeneratorFileSystemAccess fsa,
TypeReference lexer) |
protected void |
splitParserAndLexerIfEnabled(IXtextGeneratorFileSystemAccess fsa,
TypeReference parser,
TypeReference lexer) |
protected void |
splitParserClassFile(IXtextGeneratorFileSystemAccess fsa,
TypeReference parser) |
protected void |
suppressWarnings(IXtextGeneratorFileSystemAccess fsa,
TypeReference... types) |
protected void |
suppressWarnings(IXtextGeneratorFileSystemAccess fsa,
TypeReference type) |