Public Member Functions | Package Attributes

antlr.BlockContext Class Reference

Inheritance diagram for antlr.BlockContext:
antlr.TreeBlockContext

List of all members.

Public Member Functions

void addAlternativeElement (AlternativeElement e)
Alternative currentAlt ()
AlternativeElement currentElement ()

Package Attributes

AlternativeBlock block
int altNum
BlockEndElement blockEnd

Detailed Description

BlockContext stores the information needed when creating an alternative (list of elements). Entering a subrule requires that we save this state as each block of alternatives requires state such as "tail of current alternative."


Member Function Documentation

void antlr.BlockContext.addAlternativeElement ( AlternativeElement  e  ) 
AlternativeElement antlr.BlockContext.currentElement (  ) 

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties