public abstract class DefaultOutputModelFactory extends BlankOutputModelFactory
Modifier and Type | Field and Description |
---|---|
OutputModelController |
controller |
Grammar |
g |
CodeGenerator |
gen |
Modifier | Constructor and Description |
---|---|
protected |
DefaultOutputModelFactory(CodeGenerator gen) |
Modifier and Type | Method and Description |
---|---|
int |
getCodeBlockLevel() |
OutputModelController |
getController() |
CodeBlock |
getCurrentBlock() |
Decl |
getCurrentDeclForName(String name) |
Alternative |
getCurrentOuterMostAlt() |
CodeBlockForOuterMostAlt |
getCurrentOuterMostAlternativeBlock() |
RuleFunction |
getCurrentRuleFunction() |
CodeGenerator |
getGenerator() |
Grammar |
getGrammar() |
OutputModelObject |
getRoot() |
int |
getTreeLevel() |
static List<SrcOp> |
list(Collection<? extends SrcOp> values) |
static List<SrcOp> |
list(SrcOp... values) |
void |
setController(OutputModelController controller) |
action, alternative, epsilon, finishAlternative, getChoiceBlock, getComplexChoiceBlock, getComplexEBNFBlock, getEBNFBlock, getLL1ChoiceBlock, getLL1EBNFBlock, getLL1Test, lexer, lexerFile, needsImplicitLabel, parser, parserFile, rule, rulePostamble, ruleRef, sempred, set, stringRef, tokenRef, wildcard
@NotNull public final CodeGenerator gen
public OutputModelController controller
protected DefaultOutputModelFactory(@NotNull CodeGenerator gen)
public void setController(OutputModelController controller)
public OutputModelController getController()
public CodeGenerator getGenerator()
public OutputModelObject getRoot()
public RuleFunction getCurrentRuleFunction()
public Alternative getCurrentOuterMostAlt()
public CodeBlock getCurrentBlock()
public CodeBlockForOuterMostAlt getCurrentOuterMostAlternativeBlock()
public int getCodeBlockLevel()
public int getTreeLevel()
@NotNull public static List<SrcOp> list(Collection<? extends SrcOp> values)
Copyright © 1992-2013 ANTLR. All Rights Reserved.