public interface OutputModelFactory
Grammar getGrammar()
CodeGenerator getGenerator()
void setController(OutputModelController controller)
OutputModelController getController()
ParserFile parserFile(String fileName)
Parser parser(ParserFile file)
RuleFunction rule(Rule r)
List<SrcOp> rulePostamble(RuleFunction function, Rule r)
CodeBlockForAlt alternative(Alternative alt, boolean outerMost)
CodeBlockForAlt finishAlternative(CodeBlockForAlt blk, List<SrcOp> ops)
CodeBlockForAlt epsilon(Alternative alt, boolean outerMost)
List<SrcOp> ruleRef(GrammarAST ID, GrammarAST label, GrammarAST args)
List<SrcOp> tokenRef(GrammarAST ID, GrammarAST label, GrammarAST args)
List<SrcOp> stringRef(GrammarAST ID, GrammarAST label)
List<SrcOp> set(GrammarAST setAST, GrammarAST label, boolean invert)
List<SrcOp> wildcard(GrammarAST ast, GrammarAST labelAST)
Choice getChoiceBlock(BlockAST blkAST, List<CodeBlockForAlt> alts, GrammarAST label)
Choice getEBNFBlock(GrammarAST ebnfRoot, List<CodeBlockForAlt> alts)
Choice getLL1ChoiceBlock(BlockAST blkAST, List<CodeBlockForAlt> alts)
Choice getComplexChoiceBlock(BlockAST blkAST, List<CodeBlockForAlt> alts)
Choice getLL1EBNFBlock(GrammarAST ebnfRoot, List<CodeBlockForAlt> alts)
Choice getComplexEBNFBlock(GrammarAST ebnfRoot, List<CodeBlockForAlt> alts)
List<SrcOp> getLL1Test(IntervalSet look, GrammarAST blkAST)
boolean needsImplicitLabel(GrammarAST ID, LabeledOp op)
OutputModelObject getRoot()
RuleFunction getCurrentRuleFunction()
Alternative getCurrentOuterMostAlt()
CodeBlock getCurrentBlock()
CodeBlockForOuterMostAlt getCurrentOuterMostAlternativeBlock()
int getCodeBlockLevel()
int getTreeLevel()
Copyright © 1992–2020 ANTLR. All rights reserved.