Uses of Class
antlr.AlternativeElement

Packages that use AlternativeElement
antlr   
 

Uses of AlternativeElement in antlr
 

Subclasses of AlternativeElement in antlr
(package private)  class ActionElement
           
(package private)  class AlternativeBlock
          A list of alternatives
(package private)  class BlockEndElement
          All alternative blocks are "terminated" by BlockEndElements unless they are rule blocks (in which case they use RuleEndElement).
(package private)  class BlockWithImpliedExitPath
           
(package private)  class CharLiteralElement
           
(package private)  class CharRangeElement
           
(package private)  class GrammarAtom
          A GrammarAtom is either a token ref, a character ref, or string.
(package private)  class OneOrMoreBlock
           
 class RuleBlock
          A list of alternatives and info contained in the rule definition.
(package private)  class RuleEndElement
          Contains a list of all places that reference this enclosing rule.
(package private)  class RuleRefElement
           
(package private)  class StringLiteralElement
           
(package private)  class SynPredBlock
           
(package private)  class TokenRangeElement
           
(package private)  class TokenRefElement
           
(package private)  class TreeElement
          A TreeElement is a block with one alternative and a root node
(package private)  class WildcardElement
           
(package private)  class ZeroOrMoreBlock
           
 

Fields in antlr declared as AlternativeElement
protected  AlternativeElement HTMLCodeGenerator.prevAltElem
           
(package private)  AlternativeElement AlternativeElement.next
           
(package private)  AlternativeElement Alternative.head
           
(package private)  AlternativeElement Alternative.tail
           
 

Methods in antlr that return AlternativeElement
 AlternativeElement BlockContext.currentElement()
           
 

Methods in antlr with parameters of type AlternativeElement
 void TreeBlockContext.addAlternativeElement(AlternativeElement e)
           
private  void SatherCodeGenerator.genElementAST(AlternativeElement el)
          Generate code to link an element reference into the AST
private  void SatherCodeGenerator.genErrorCatchForElement(AlternativeElement el)
          Close the try block and generate catch phrases if the element has a labeled handler in the rule
private  void SatherCodeGenerator.genErrorTryForElement(AlternativeElement el)
          Generate a try { opening if the element has a labeled handler in the rule
private  void SatherCodeGenerator.mapTreeVariable(AlternativeElement e, java.lang.String name)
          Given an element and the name of an associated AST variable, create a mapping between the element "name" and the variable name.
protected  void MakeGrammar.addElementToCurrentAlt(AlternativeElement e)
           
private  void MakeGrammar.labelElement(AlternativeElement el, Token label)
           
private  void LLkAnalyzer.removeCompetingPredictionSets(BitSet b, AlternativeElement el)
          Remove the prediction sets from preceding alternatives and follow set, but *only* if this element is the first element of the alternative.
private  void LLkAnalyzer.removeCompetingPredictionSetsFromWildcard(Lookahead[] look, AlternativeElement el, int k)
          Remove the prediction sets from preceding alternatives The class members currenBlock must be set correctly.
private  void JavaCodeGenerator.genElementAST(AlternativeElement el)
          Generate code to link an element reference into the AST
private  void JavaCodeGenerator.genErrorCatchForElement(AlternativeElement el)
          Close the try block and generate catch phrases if the element has a labeled handler in the rule
private  void JavaCodeGenerator.genErrorTryForElement(AlternativeElement el)
          Generate a try { opening if the element has a labeled handler in the rule
private  void JavaCodeGenerator.mapTreeVariable(AlternativeElement e, java.lang.String name)
          Given an element and the name of an associated AST variable, create a mapping between the element "name" and the variable name.
private  void CppCodeGenerator.genElementAST(AlternativeElement el)
          Generate code to link an element reference into the AST
private  void CppCodeGenerator.genErrorCatchForElement(AlternativeElement el)
          Close the try block and generate catch phrases if the element has a labeled handler in the rule
private  void CppCodeGenerator.genErrorTryForElement(AlternativeElement el)
          Generate a try { opening if the element has a labeled handler in the rule
private  void CppCodeGenerator.mapTreeVariable(AlternativeElement e, java.lang.String name)
          Given an element and the name of an associated AST variable, create a mapping between the element "name" and the variable name.
 void BlockContext.addAlternativeElement(AlternativeElement e)
           
 void Alternative.addElement(AlternativeElement e)
           
 

Constructors in antlr with parameters of type AlternativeElement
Alternative(AlternativeElement firstElement)