Package org.antlr.v4.codegen
Class BlankOutputModelFactory
java.lang.Object
org.antlr.v4.codegen.BlankOutputModelFactory
- All Implemented Interfaces:
OutputModelFactory
- Direct Known Subclasses:
DefaultOutputModelFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalternative
(Alternative alt, boolean outerMost) epsilon
(Alternative alt, boolean outerMost) finishAlternative
(CodeBlockForAlt blk, List<SrcOp> ops) getChoiceBlock
(BlockAST blkAST, List<CodeBlockForAlt> alts, GrammarAST label) getComplexChoiceBlock
(BlockAST blkAST, List<CodeBlockForAlt> alts) getComplexEBNFBlock
(GrammarAST ebnfRoot, List<CodeBlockForAlt> alts) getEBNFBlock
(GrammarAST ebnfRoot, List<CodeBlockForAlt> alts) getLL1ChoiceBlock
(BlockAST blkAST, List<CodeBlockForAlt> alts) getLL1EBNFBlock
(GrammarAST ebnfRoot, List<CodeBlockForAlt> alts) getLL1Test
(IntervalSet look, GrammarAST blkAST) boolean
needsImplicitLabel
(GrammarAST ID, LabeledOp op) parser
(ParserFile file) parserFile
(String fileName) rulePostamble
(RuleFunction function, Rule r) ruleRef
(GrammarAST ID, GrammarAST label, GrammarAST args) set
(GrammarAST setAST, GrammarAST label, boolean invert) stringRef
(GrammarAST ID, GrammarAST label) tokenRef
(GrammarAST ID, GrammarAST label, GrammarAST args) wildcard
(GrammarAST ast, GrammarAST labelAST) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.antlr.v4.codegen.OutputModelFactory
getCodeBlockLevel, getController, getCurrentBlock, getCurrentOuterMostAlt, getCurrentOuterMostAlternativeBlock, getCurrentRuleFunction, getGenerator, getGrammar, getRoot, getTreeLevel, setController
-
Constructor Details
-
BlankOutputModelFactory
public BlankOutputModelFactory()
-
-
Method Details
-
parserFile
- Specified by:
parserFile
in interfaceOutputModelFactory
-
parser
- Specified by:
parser
in interfaceOutputModelFactory
-
rule
- Specified by:
rule
in interfaceOutputModelFactory
-
rulePostamble
- Specified by:
rulePostamble
in interfaceOutputModelFactory
-
lexerFile
- Specified by:
lexerFile
in interfaceOutputModelFactory
-
lexer
- Specified by:
lexer
in interfaceOutputModelFactory
-
alternative
- Specified by:
alternative
in interfaceOutputModelFactory
-
finishAlternative
- Specified by:
finishAlternative
in interfaceOutputModelFactory
-
epsilon
- Specified by:
epsilon
in interfaceOutputModelFactory
-
ruleRef
- Specified by:
ruleRef
in interfaceOutputModelFactory
-
tokenRef
- Specified by:
tokenRef
in interfaceOutputModelFactory
-
stringRef
- Specified by:
stringRef
in interfaceOutputModelFactory
-
set
- Specified by:
set
in interfaceOutputModelFactory
-
wildcard
- Specified by:
wildcard
in interfaceOutputModelFactory
-
action
- Specified by:
action
in interfaceOutputModelFactory
-
sempred
- Specified by:
sempred
in interfaceOutputModelFactory
-
getChoiceBlock
- Specified by:
getChoiceBlock
in interfaceOutputModelFactory
-
getEBNFBlock
- Specified by:
getEBNFBlock
in interfaceOutputModelFactory
-
getLL1ChoiceBlock
- Specified by:
getLL1ChoiceBlock
in interfaceOutputModelFactory
-
getComplexChoiceBlock
- Specified by:
getComplexChoiceBlock
in interfaceOutputModelFactory
-
getLL1EBNFBlock
- Specified by:
getLL1EBNFBlock
in interfaceOutputModelFactory
-
getComplexEBNFBlock
- Specified by:
getComplexEBNFBlock
in interfaceOutputModelFactory
-
getLL1Test
- Specified by:
getLL1Test
in interfaceOutputModelFactory
-
needsImplicitLabel
- Specified by:
needsImplicitLabel
in interfaceOutputModelFactory
-