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) class
class
A list of alternatives and info contained in the rule definition.(package private) class
(package private) class
A TreeElement is a block with one alternative and a root node(package private) class
Fields in antlr declared as AlternativeBlockModifier and TypeFieldDescription(package private) AlternativeBlock
BlockContext.block
protected AlternativeBlock
BlockEndElement.block
Methods in antlr with parameters of type AlternativeBlockModifier and TypeMethodDescriptionboolean
LLkAnalyzer.deterministic
(AlternativeBlock blk) Is this block of alternatives LL(k)? Fill in alternative cache for this block.boolean
LLkGrammarAnalyzer.deterministic
(AlternativeBlock blk) abstract void
CodeGenerator.gen
(AlternativeBlock blk) Generate code for the given grammar element.void
CppCodeGenerator.gen
(AlternativeBlock blk) Generate code for the given grammar element.void
CSharpCodeGenerator.gen
(AlternativeBlock blk) Generate code for the given grammar element.void
DiagnosticCodeGenerator.gen
(AlternativeBlock blk) Generate code for the given grammar element.void
DocBookCodeGenerator.gen
(AlternativeBlock blk) Generate code for the given grammar element.void
HTMLCodeGenerator.gen
(AlternativeBlock blk) Generate code for the given grammar element.void
JavaCodeGenerator.gen
(AlternativeBlock blk) Generate code for the given grammar element.void
PythonCodeGenerator.gen
(AlternativeBlock blk) Generate code for the given grammar element.protected void
CppCodeGenerator.genAlt
(Alternative alt, AlternativeBlock blk) Generate an alternative.protected void
CSharpCodeGenerator.genAlt
(Alternative alt, AlternativeBlock blk) Generate an alternative.protected void
JavaCodeGenerator.genAlt
(Alternative alt, AlternativeBlock blk) Generate an alternative.protected void
PythonCodeGenerator.genAlt
(Alternative alt, AlternativeBlock blk) Generate an alternative.protected void
CppCodeGenerator.genBlockInitAction
(AlternativeBlock blk) Generate the initaction for a block, which may be a RuleBlock or a plain AlternativeBLock.protected void
CSharpCodeGenerator.genBlockInitAction
(AlternativeBlock blk) Generate the init action for a block, which may be a RuleBlock or a plain AlternativeBLock.protected void
JavaCodeGenerator.genBlockInitAction
(AlternativeBlock blk) Generate the init action for a block, which may be a RuleBlock or a plain AlternativeBLock.protected void
PythonCodeGenerator.genBlockInitAction
(AlternativeBlock blk) Generate the init action for a block, which may be a RuleBlock or a plain AlternativeBLock.protected void
CppCodeGenerator.genBlockPreamble
(AlternativeBlock blk) Generate the header for a block, which may be a RuleBlock or a plain AlternativeBlock.protected void
CSharpCodeGenerator.genBlockPreamble
(AlternativeBlock blk) Generate the header for a block, which may be a RuleBlock or a plain AlternativeBLock.protected void
DiagnosticCodeGenerator.genBlockPreamble
(AlternativeBlock blk) Generate the header for a block, which may be a RuleBlock or a plain AlternativeBLock.protected void
JavaCodeGenerator.genBlockPreamble
(AlternativeBlock blk) Generate the header for a block, which may be a RuleBlock or a plain AlternativeBLock.protected void
PythonCodeGenerator.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.void
DiagnosticCodeGenerator.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.void
DocBookCodeGenerator.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.void
HTMLCodeGenerator.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 void
DocBookCodeGenerator.genGenericBlock
(AlternativeBlock blk, String blkOp) protected void
HTMLCodeGenerator.genGenericBlock
(AlternativeBlock blk, String blkOp) void
DiagnosticCodeGenerator.genLookaheadSetForBlock
(AlternativeBlock blk) Generate a textual representation of the lookahead set for a block.void
DocBookCodeGenerator.genLookaheadSetForBlock
(AlternativeBlock blk) Generate a textual representation of the lookahead set for a block.void
HTMLCodeGenerator.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 void
MakeGrammar.setBlock
(AlternativeBlock b, AlternativeBlock src) boolean
LLkAnalyzer.subruleCanBeInverted
(AlternativeBlock blk, boolean forLexer) boolean
LLkGrammarAnalyzer.subruleCanBeInverted
(AlternativeBlock blk, boolean forLexer) void
DefaultToolErrorHandler.warnAltAmbiguity
(Grammar grammar, AlternativeBlock blk, boolean lexicalAnalysis, int depth, Lookahead[] sets, int altIdx1, int altIdx2) Issue a warning about ambiguity between a alternatesvoid
ToolErrorHandler.warnAltAmbiguity
(Grammar grammar, AlternativeBlock blk, boolean lexicalAnalysis, int depth, Lookahead[] sets, int altIdx1, int altIdx2) Issue a warning about ambiguity between a alternates