Uses of Class
antlr.AlternativeBlock
Packages that use AlternativeBlock
-
Uses of AlternativeBlock in antlr
Subclasses of AlternativeBlock in antlrModifier and TypeClassDescription(package private) class(package private) classclassA list of alternatives and info contained in the rule definition.(package private) class(package private) classA TreeElement is a block with one alternative and a root node(package private) classFields in antlr declared as AlternativeBlockModifier and TypeFieldDescription(package private) AlternativeBlockBlockContext.blockprotected AlternativeBlockBlockEndElement.blockMethods in antlr with parameters of type AlternativeBlockModifier and TypeMethodDescriptionbooleanLLkAnalyzer.deterministic(AlternativeBlock blk) Is this block of alternatives LL(k)? Fill in alternative cache for this block.booleanLLkGrammarAnalyzer.deterministic(AlternativeBlock blk) abstract voidCodeGenerator.gen(AlternativeBlock blk) Generate code for the given grammar element.voidCppCodeGenerator.gen(AlternativeBlock blk) Generate code for the given grammar element.voidCSharpCodeGenerator.gen(AlternativeBlock blk) Generate code for the given grammar element.voidDiagnosticCodeGenerator.gen(AlternativeBlock blk) Generate code for the given grammar element.voidDocBookCodeGenerator.gen(AlternativeBlock blk) Generate code for the given grammar element.voidHTMLCodeGenerator.gen(AlternativeBlock blk) Generate code for the given grammar element.voidJavaCodeGenerator.gen(AlternativeBlock blk) Generate code for the given grammar element.voidPythonCodeGenerator.gen(AlternativeBlock blk) Generate code for the given grammar element.protected voidCppCodeGenerator.genAlt(Alternative alt, AlternativeBlock blk) Generate an alternative.protected voidCSharpCodeGenerator.genAlt(Alternative alt, AlternativeBlock blk) Generate an alternative.protected voidJavaCodeGenerator.genAlt(Alternative alt, AlternativeBlock blk) Generate an alternative.protected voidPythonCodeGenerator.genAlt(Alternative alt, AlternativeBlock blk) Generate an alternative.protected voidCppCodeGenerator.genBlockInitAction(AlternativeBlock blk) Generate the initaction for a block, which may be a RuleBlock or a plain AlternativeBLock.protected voidCSharpCodeGenerator.genBlockInitAction(AlternativeBlock blk) Generate the init action for a block, which may be a RuleBlock or a plain AlternativeBLock.protected voidJavaCodeGenerator.genBlockInitAction(AlternativeBlock blk) Generate the init action for a block, which may be a RuleBlock or a plain AlternativeBLock.protected voidPythonCodeGenerator.genBlockInitAction(AlternativeBlock blk) Generate the init action for a block, which may be a RuleBlock or a plain AlternativeBLock.protected voidCppCodeGenerator.genBlockPreamble(AlternativeBlock blk) Generate the header for a block, which may be a RuleBlock or a plain AlternativeBlock.protected voidCSharpCodeGenerator.genBlockPreamble(AlternativeBlock blk) Generate the header for a block, which may be a RuleBlock or a plain AlternativeBLock.protected voidDiagnosticCodeGenerator.genBlockPreamble(AlternativeBlock blk) Generate the header for a block, which may be a RuleBlock or a plain AlternativeBLock.protected voidJavaCodeGenerator.genBlockPreamble(AlternativeBlock blk) Generate the header for a block, which may be a RuleBlock or a plain AlternativeBLock.protected voidPythonCodeGenerator.genBlockPreamble(AlternativeBlock blk) Generate the header for a block, which may be a RuleBlock or a plain AlternativeBLock.CppCodeGenerator.genCommonBlock(AlternativeBlock blk, boolean noTestForSingle) Generate common code for a block of alternatives; return a postscript that needs to be generated at the end of the block.CSharpCodeGenerator.genCommonBlock(AlternativeBlock blk, boolean noTestForSingle) Generate common code for a block of alternatives; return a postscript that needs to be generated at the end of the block.voidDiagnosticCodeGenerator.genCommonBlock(AlternativeBlock blk) Generate common code for a block of alternatives; return a postscript that needs to be generated at the end of the block.voidDocBookCodeGenerator.genCommonBlock(AlternativeBlock blk) Generate common code for a block of alternatives; return a postscript that needs to be generated at the end of the block.voidHTMLCodeGenerator.genCommonBlock(AlternativeBlock blk) Generate common code for a block of alternatives; return a postscript that needs to be generated at the end of the block.JavaCodeGenerator.genCommonBlock(AlternativeBlock blk, boolean noTestForSingle) Generate common code for a block of alternatives; return a postscript that needs to be generated at the end of the block.PythonCodeGenerator.genCommonBlock(AlternativeBlock blk, boolean noTestForSingle) Generate common code for a block of alternatives; return a postscript that needs to be generated at the end of the block.protected voidDocBookCodeGenerator.genGenericBlock(AlternativeBlock blk, String blkOp) protected voidHTMLCodeGenerator.genGenericBlock(AlternativeBlock blk, String blkOp) voidDiagnosticCodeGenerator.genLookaheadSetForBlock(AlternativeBlock blk) Generate a textual representation of the lookahead set for a block.voidDocBookCodeGenerator.genLookaheadSetForBlock(AlternativeBlock blk) Generate a textual representation of the lookahead set for a block.voidHTMLCodeGenerator.genLookaheadSetForBlock(AlternativeBlock blk) Generate a textual representation of the lookahead set for a block.LLkAnalyzer.look(int k, AlternativeBlock blk) Combine the lookahead computed for each alternativeLLkGrammarAnalyzer.look(int k, AlternativeBlock blk) static voidMakeGrammar.setBlock(AlternativeBlock b, AlternativeBlock src) booleanLLkAnalyzer.subruleCanBeInverted(AlternativeBlock blk, boolean forLexer) booleanLLkGrammarAnalyzer.subruleCanBeInverted(AlternativeBlock blk, boolean forLexer) voidDefaultToolErrorHandler.warnAltAmbiguity(Grammar grammar, AlternativeBlock blk, boolean lexicalAnalysis, int depth, Lookahead[] sets, int altIdx1, int altIdx2) Issue a warning about ambiguity between a alternatesvoidToolErrorHandler.warnAltAmbiguity(Grammar grammar, AlternativeBlock blk, boolean lexicalAnalysis, int depth, Lookahead[] sets, int altIdx1, int altIdx2) Issue a warning about ambiguity between a alternates