Uses of Class
antlr.AlternativeBlock

Packages that use AlternativeBlock
antlr   
 

Uses of AlternativeBlock in antlr
 

Subclasses of AlternativeBlock in antlr
(package private)  class BlockWithImpliedExitPath
           
(package private)  class OneOrMoreBlock
           
 class RuleBlock
          A list of alternatives and info contained in the rule definition.
(package private)  class SynPredBlock
           
(package private)  class TreeElement
          A TreeElement is a block with one alternative and a root node
(package private)  class ZeroOrMoreBlock
           
 

Fields in antlr declared as AlternativeBlock
(package private)  AlternativeBlock BlockContext.block
           
protected  AlternativeBlock BlockEndElement.block
           
 

Methods in antlr with parameters of type AlternativeBlock
abstract  void CodeGenerator.gen(AlternativeBlock blk)
          Generate code for the given grammar element.
 void ToolErrorHandler.warnAltAmbiguity(Grammar grammar, AlternativeBlock blk, boolean lexicalAnalysis, int depth, Lookahead[] sets, int altIdx1, int altIdx2)
          Issue a warning about ambiguity between a alternates
static void MakeGrammar.setBlock(AlternativeBlock b, AlternativeBlock src)
           
static void MakeGrammar.setBlock(AlternativeBlock b, AlternativeBlock src)
           
 void JavaCodeGenerator.gen(AlternativeBlock blk)
          Generate code for the given grammar element.
protected  void JavaCodeGenerator.genAlt(Alternative alt, AlternativeBlock blk)
          Generate an alternative.
protected  void JavaCodeGenerator.genBlockInitAction(AlternativeBlock blk)
          Generate the init action 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.
 JavaBlockFinishingInfo 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.
 void CSharpCodeGenerator.gen(AlternativeBlock blk)
          Generate code for the given grammar element.
protected  void CSharpCodeGenerator.genAlt(Alternative alt, AlternativeBlock blk)
          Generate an alternative.
protected  void CSharpCodeGenerator.genBlockInitAction(AlternativeBlock blk)
          Generate the init action 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.
 CSharpBlockFinishingInfo 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 CppCodeGenerator.gen(AlternativeBlock blk)
          Generate code for the given grammar element.
protected  void CppCodeGenerator.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 CppCodeGenerator.genBlockPreamble(AlternativeBlock blk)
          Generate the header for a block, which may be a RuleBlock or a plain AlternativeBLock.
 CppBlockFinishingInfo 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.
 void HTMLCodeGenerator.gen(AlternativeBlock blk)
          Generate code for the given grammar element.
 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.
protected  void HTMLCodeGenerator.genGenericBlock(AlternativeBlock blk, java.lang.String blkOp)
           
 void HTMLCodeGenerator.genLookaheadSetForBlock(AlternativeBlock blk)
          Generate a textual representation of the lookahead set for a block.
 void DefaultToolErrorHandler.warnAltAmbiguity(Grammar grammar, AlternativeBlock blk, boolean lexicalAnalysis, int depth, Lookahead[] sets, int altIdx1, int altIdx2)
          Issue a warning about ambiguity between a alternates
 boolean LLkGrammarAnalyzer.deterministic(AlternativeBlock blk)
           
 Lookahead LLkGrammarAnalyzer.look(int k, AlternativeBlock blk)
           
 boolean LLkGrammarAnalyzer.subruleCanBeInverted(AlternativeBlock blk, boolean forLexer)
           
 void DocBookCodeGenerator.gen(AlternativeBlock blk)
          Generate code for the given grammar element.
 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.
protected  void DocBookCodeGenerator.genGenericBlock(AlternativeBlock blk, java.lang.String blkOp)
           
 void DocBookCodeGenerator.genLookaheadSetForBlock(AlternativeBlock blk)
          Generate a textual representation of the lookahead set for a block.
 boolean LLkAnalyzer.deterministic(AlternativeBlock blk)
          Is this block of alternatives LL(k)? Fill in alternative cache for this block.
 Lookahead LLkAnalyzer.look(int k, AlternativeBlock blk)
          Combine the lookahead computed for each alternative
 boolean LLkAnalyzer.subruleCanBeInverted(AlternativeBlock blk, boolean forLexer)
           
 void DiagnosticCodeGenerator.gen(AlternativeBlock blk)
          Generate code for the given grammar element.
protected  void DiagnosticCodeGenerator.genBlockPreamble(AlternativeBlock blk)
          Generate the header for a block, which may be a RuleBlock or a plain AlternativeBLock.
 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 DiagnosticCodeGenerator.genLookaheadSetForBlock(AlternativeBlock blk)
          Generate a textual representation of the lookahead set for a block.