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
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCodeBlockLevel()
|
OutputModelController |
getController()
|
CodeBlock |
getCurrentBlock()
|
Decl |
getCurrentDeclForName(String
|
Alternative |
getCurrentOuterMostAlt()
|
CodeBlockForOuterMostAlt |
getCurrentOuterMostAlternativeBlock()
|
RuleFunction |
getCurrentRuleFunction()
|
CodeGenerator |
getGenerator()
|
Grammar |
getGrammar()
|
OutputModelObject |
getRoot()
|
int |
getTreeLevel()
|
static List |
list(Collection
|
static List |
list(SrcOp
|
void |
setController(OutputModelController
|
action, alternative, epsilon, finishAlternative, getChoiceBlock, getComplexChoiceBlock, getComplexEBNFBlock, getEBNFBlock, getLL1ChoiceBlock, getLL1EBNFBlock, getLL1Test, lexer, lexerFile, needsImplicitLabel, parser, parserFile, rule, rulePostamble, ruleRef, sempred, set, stringRef, tokenRef, wildcardpublic final Grammarg
public final CodeGeneratorgen
public OutputModelControllercontroller
protected DefaultOutputModelFactory(CodeGeneratorgen)
public void setController(OutputModelControllercontroller)
public OutputModelControllergetController()
public GrammargetGrammar()
public CodeGeneratorgetGenerator()
public OutputModelObjectgetRoot()
public RuleFunctiongetCurrentRuleFunction()
public AlternativegetCurrentOuterMostAlt()
public CodeBlockgetCurrentBlock()
public CodeBlockForOuterMostAltgetCurrentOuterMostAlternativeBlock()
public int getCodeBlockLevel()
public int getTreeLevel()
public static List<SrcOp > list(Collection <? extends SrcOp > values)