public class CodeGeneratorExtension extends Object
| Modifier and Type | Field and Description |
|---|---|
OutputModelFactory |
factory
|
| Constructor and Description |
|---|
CodeGeneratorExtension(OutputModelFactory
|
| Modifier and Type | Method and Description |
|---|---|
List |
action(List
|
CodeBlockForAlt |
alternative(CodeBlockForAlt
|
CodeBlockForAlt |
epsilon(CodeBlockForAlt
|
CodeBlockForAlt |
finishAlternative(CodeBlockForAlt
|
Choice |
getChoiceBlock(Choice
|
Choice |
getEBNFBlock(Choice
|
Lexer |
lexer(Lexer
|
LexerFile |
lexerFile(LexerFile
|
boolean |
needsImplicitLabel(GrammarAST
|
Parser |
parser(Parser
|
ParserFile |
parserFile(ParserFile
|
RuleFunction |
rule(RuleFunction
|
List |
rulePostamble(List
|
List |
ruleRef(List
|
List |
sempred(List
|
List |
set(List
|
List |
stringRef(List
|
List |
tokenRef(List
|
List |
wildcard(List
|
public OutputModelFactoryfactory
public CodeGeneratorExtension(OutputModelFactoryfactory)
public ParserFileparserFile(ParserFile f)
public RuleFunctionrule(RuleFunction rf)
public CodeBlockForAltalternative(CodeBlockForAlt blk, boolean outerMost)
public CodeBlockForAltfinishAlternative(CodeBlockForAlt blk, boolean outerMost)
public CodeBlockForAltepsilon(CodeBlockForAlt blk)
public boolean needsImplicitLabel(GrammarASTID, LabeledOp op)