public abstract class AbstractAntlrGrammarWithActionsGenerator extends AbstractAntlrGrammarGenerator
_grammarAccessExtensions, _syntheticTerminalDetector, _xtextGeneratorNaming, keywordHelper
Constructor and Description |
---|
AbstractAntlrGrammarWithActionsGenerator() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
_assignmentEbnf(Alternatives it,
Assignment assignment,
AntlrOptions options,
boolean supportActions) |
protected java.lang.String |
_assignmentEbnf(RuleCall it,
Assignment assignment,
AntlrOptions options,
boolean supportActions) |
protected java.lang.CharSequence |
_compileInitHiddenTokens(AbstractRule it,
AntlrOptions options) |
protected java.lang.CharSequence |
_compileInitHiddenTokens(ParserRule it,
AntlrOptions options) |
protected java.lang.CharSequence |
_compileInitUnorderedGroups(AbstractRule it,
AntlrOptions options) |
protected java.lang.CharSequence |
_compileInitUnorderedGroups(ParserRule it,
AntlrOptions options) |
protected java.lang.CharSequence |
_compileRestoreHiddenTokens(AbstractRule it,
AntlrOptions options) |
protected java.lang.CharSequence |
_compileRestoreHiddenTokens(ParserRule it,
AntlrOptions options) |
protected java.lang.CharSequence |
_compileRestoreUnorderedGroups(AbstractRule it,
AntlrOptions options) |
protected java.lang.CharSequence |
_compileRestoreUnorderedGroups(ParserRule it,
AntlrOptions options) |
protected java.lang.String |
_dataTypeEbnf2(Group it,
boolean supportActions) |
protected java.lang.String |
_dataTypeEbnf2(RuleCall it,
boolean supportActions) |
protected java.lang.String |
_dataTypeEbnf2(UnorderedGroup it,
boolean supportActions) |
protected java.lang.String |
_ebnf2(Assignment it,
AntlrOptions options,
boolean supportActions) |
protected java.lang.String |
_ebnf2(Group it,
AntlrOptions options,
boolean supportActions) |
protected java.lang.String |
_ebnf2(RuleCall it,
AntlrOptions options,
boolean supportActions) |
protected java.lang.String |
_ebnf2(UnorderedGroup it,
AntlrOptions options,
boolean supportActions) |
protected boolean |
_mustBeParenthesized(AbstractElement it) |
protected boolean |
_mustBeParenthesized(Alternatives it) |
protected boolean |
_mustBeParenthesized(Assignment it) |
protected boolean |
_mustBeParenthesized(Group it) |
protected boolean |
_mustBeParenthesized(Keyword it) |
protected boolean |
_mustBeParenthesized(RuleCall it) |
protected java.lang.String |
assignmentEbnf(AbstractElement it,
Assignment assignment,
AntlrOptions options,
boolean supportActions) |
protected java.lang.CharSequence |
compileEntryFinally(ParserRule it,
AntlrOptions options) |
protected java.lang.CharSequence |
compileEntryInit(ParserRule it,
AntlrOptions options) |
protected java.lang.String |
compileFinally(AbstractRule it,
AntlrOptions options) |
protected java.lang.String |
compileInit(AbstractRule it,
AntlrOptions options) |
protected java.lang.CharSequence |
compileInitHiddenTokens(AbstractRule it,
AntlrOptions options) |
protected java.lang.CharSequence |
compileInitUnorderedGroups(AbstractRule it,
AntlrOptions options) |
protected java.lang.CharSequence |
compileRestoreHiddenTokens(AbstractRule it,
AntlrOptions options) |
protected java.lang.CharSequence |
compileRestoreUnorderedGroups(AbstractRule it,
AntlrOptions options) |
protected java.lang.String |
crossrefEbnf(AbstractRule it,
RuleCall call,
CrossReference ref,
boolean supportActions) |
protected java.lang.String |
ebnf2(AbstractElement it,
AntlrOptions options,
boolean supportActions) |
protected java.lang.String |
getCurrentType() |
protected boolean |
isPassCurrentIntoFragment() |
boolean |
mustBeParenthesized(AbstractElement it) |
_assignmentEbnf, _assignmentEbnf, _assignmentEbnf, _assignmentEbnf, _assignmentEbnf, _compileRule, _compileRule, _compileRule, _compileRule, _crossrefEbnf, _crossrefEbnf, _crossrefEbnf, _dataTypeEbnf2, _dataTypeEbnf2, _dataTypeEbnf2, _ebnf2, _ebnf2, _ebnf2, _ebnf2, _ebnf2, compileEBNF, compileKeywordRules, compileLexer, compileLexerHeader, compileLexerImports, compileLexerOptions, compileParser, compileParserHeader, compileParserImports, compileParserMembers, compileParserOptions, compileRule, compileRuleCatch, compileRules, compileTerminalRules, compileTokens, crossrefEbnf, dataTypeEbnf, dataTypeEbnf2, dataTypeEbnfPredicate, ebnf, ebnfPredicate, generate, getGrammarNaming, isCombinedGrammar, isParserBackTracking, shouldBeSkipped, toAntlrKeywordRule
public AbstractAntlrGrammarWithActionsGenerator()
protected java.lang.String compileInit(AbstractRule it, AntlrOptions options)
compileInit
in class AbstractAntlrGrammarGenerator
protected java.lang.CharSequence compileEntryInit(ParserRule it, AntlrOptions options)
protected java.lang.CharSequence _compileInitHiddenTokens(AbstractRule it, AntlrOptions options)
protected java.lang.CharSequence _compileInitHiddenTokens(ParserRule it, AntlrOptions options)
protected java.lang.CharSequence _compileInitUnorderedGroups(AbstractRule it, AntlrOptions options)
protected java.lang.CharSequence _compileInitUnorderedGroups(ParserRule it, AntlrOptions options)
protected java.lang.String compileFinally(AbstractRule it, AntlrOptions options)
compileFinally
in class AbstractAntlrGrammarGenerator
protected java.lang.CharSequence compileEntryFinally(ParserRule it, AntlrOptions options)
protected java.lang.CharSequence _compileRestoreHiddenTokens(AbstractRule it, AntlrOptions options)
protected java.lang.CharSequence _compileRestoreHiddenTokens(ParserRule it, AntlrOptions options)
protected java.lang.CharSequence _compileRestoreUnorderedGroups(AbstractRule it, AntlrOptions options)
protected java.lang.CharSequence _compileRestoreUnorderedGroups(ParserRule it, AntlrOptions options)
protected java.lang.String _dataTypeEbnf2(Group it, boolean supportActions)
_dataTypeEbnf2
in class AbstractAntlrGrammarGenerator
protected java.lang.String _dataTypeEbnf2(UnorderedGroup it, boolean supportActions)
_dataTypeEbnf2
in class AbstractAntlrGrammarGenerator
protected java.lang.String _ebnf2(Group it, AntlrOptions options, boolean supportActions)
_ebnf2
in class AbstractAntlrGrammarGenerator
protected java.lang.String _ebnf2(UnorderedGroup it, AntlrOptions options, boolean supportActions)
_ebnf2
in class AbstractAntlrGrammarGenerator
protected java.lang.String _ebnf2(RuleCall it, AntlrOptions options, boolean supportActions)
_ebnf2
in class AbstractAntlrGrammarGenerator
protected java.lang.String _ebnf2(Assignment it, AntlrOptions options, boolean supportActions)
_ebnf2
in class AbstractAntlrGrammarGenerator
protected java.lang.String _dataTypeEbnf2(RuleCall it, boolean supportActions)
_dataTypeEbnf2
in class AbstractAntlrGrammarGenerator
protected java.lang.String crossrefEbnf(AbstractRule it, RuleCall call, CrossReference ref, boolean supportActions)
crossrefEbnf
in class AbstractAntlrGrammarGenerator
protected java.lang.String _assignmentEbnf(RuleCall it, Assignment assignment, AntlrOptions options, boolean supportActions)
_assignmentEbnf
in class AbstractAntlrGrammarGenerator
protected java.lang.String _assignmentEbnf(Alternatives it, Assignment assignment, AntlrOptions options, boolean supportActions)
_assignmentEbnf
in class AbstractAntlrGrammarGenerator
protected boolean isPassCurrentIntoFragment()
protected java.lang.String getCurrentType()
protected boolean _mustBeParenthesized(AbstractElement it)
_mustBeParenthesized
in class AbstractAntlrGrammarGenerator
protected boolean _mustBeParenthesized(Group it)
_mustBeParenthesized
in class AbstractAntlrGrammarGenerator
protected boolean _mustBeParenthesized(Assignment it)
_mustBeParenthesized
in class AbstractAntlrGrammarGenerator
protected boolean _mustBeParenthesized(Alternatives it)
_mustBeParenthesized
in class AbstractAntlrGrammarGenerator
protected boolean _mustBeParenthesized(Keyword it)
protected boolean _mustBeParenthesized(RuleCall it)
protected java.lang.CharSequence compileInitHiddenTokens(AbstractRule it, AntlrOptions options)
protected java.lang.CharSequence compileInitUnorderedGroups(AbstractRule it, AntlrOptions options)
protected java.lang.CharSequence compileRestoreHiddenTokens(AbstractRule it, AntlrOptions options)
protected java.lang.CharSequence compileRestoreUnorderedGroups(AbstractRule it, AntlrOptions options)
protected java.lang.String ebnf2(AbstractElement it, AntlrOptions options, boolean supportActions)
ebnf2
in class AbstractAntlrGrammarGenerator
protected java.lang.String assignmentEbnf(AbstractElement it, Assignment assignment, AntlrOptions options, boolean supportActions)
assignmentEbnf
in class AbstractAntlrGrammarGenerator
public boolean mustBeParenthesized(AbstractElement it)
mustBeParenthesized
in class AbstractAntlrGrammarGenerator