public abstract class BlankOutputModelFactory extends Object implements OutputModelFactory
| Constructor and Description |
|---|
BlankOutputModelFactory() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCodeBlockLevel, getController, getCurrentBlock, getCurrentOuterMostAlt, getCurrentOuterMostAlternativeBlock, getCurrentRuleFunction, getGenerator, getGrammar, getRoot, getTreeLevel, setControllerpublic ParserFile parserFile(String fileName)
parserFile in interface OutputModelFactorypublic Parser parser(ParserFile file)
parser in interface OutputModelFactorypublic RuleFunction rule(Rule r)
rule in interface OutputModelFactorypublic List<SrcOp> rulePostamble(RuleFunction function, Rule r)
rulePostamble in interface OutputModelFactorypublic LexerFile lexerFile(String fileName)
lexerFile in interface OutputModelFactorypublic Lexer lexer(LexerFile file)
lexer in interface OutputModelFactorypublic CodeBlockForAlt alternative(Alternative alt, boolean outerMost)
alternative in interface OutputModelFactorypublic CodeBlockForAlt finishAlternative(CodeBlockForAlt blk, List<SrcOp> ops)
finishAlternative in interface OutputModelFactorypublic CodeBlockForAlt epsilon(Alternative alt, boolean outerMost)
epsilon in interface OutputModelFactorypublic List<SrcOp> ruleRef(GrammarAST ID, GrammarAST label, GrammarAST args)
ruleRef in interface OutputModelFactorypublic List<SrcOp> tokenRef(GrammarAST ID, GrammarAST label, GrammarAST args)
tokenRef in interface OutputModelFactorypublic List<SrcOp> stringRef(GrammarAST ID, GrammarAST label)
stringRef in interface OutputModelFactorypublic List<SrcOp> set(GrammarAST setAST, GrammarAST label, boolean invert)
set in interface OutputModelFactorypublic List<SrcOp> wildcard(GrammarAST ast, GrammarAST labelAST)
wildcard in interface OutputModelFactorypublic List<SrcOp> action(ActionAST ast)
action in interface OutputModelFactorypublic List<SrcOp> sempred(ActionAST ast)
sempred in interface OutputModelFactorypublic Choice getChoiceBlock(BlockAST blkAST, List<CodeBlockForAlt> alts, GrammarAST label)
getChoiceBlock in interface OutputModelFactorypublic Choice getEBNFBlock(GrammarAST ebnfRoot, List<CodeBlockForAlt> alts)
getEBNFBlock in interface OutputModelFactorypublic Choice getLL1ChoiceBlock(BlockAST blkAST, List<CodeBlockForAlt> alts)
getLL1ChoiceBlock in interface OutputModelFactorypublic Choice getComplexChoiceBlock(BlockAST blkAST, List<CodeBlockForAlt> alts)
getComplexChoiceBlock in interface OutputModelFactorypublic Choice getLL1EBNFBlock(GrammarAST ebnfRoot, List<CodeBlockForAlt> alts)
getLL1EBNFBlock in interface OutputModelFactorypublic Choice getComplexEBNFBlock(GrammarAST ebnfRoot, List<CodeBlockForAlt> alts)
getComplexEBNFBlock in interface OutputModelFactorypublic List<SrcOp> getLL1Test(IntervalSet look, GrammarAST blkAST)
getLL1Test in interface OutputModelFactorypublic boolean needsImplicitLabel(GrammarAST ID, LabeledOp op)
needsImplicitLabel in interface OutputModelFactoryCopyright © 1992–2020 ANTLR. All rights reserved.