Package antlr
Class BlockContext
java.lang.Object
antlr.BlockContext
- Direct Known Subclasses:
TreeBlockContext
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."
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
(package private) AlternativeBlock
(package private) BlockEndElement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
-
Field Details
-
block
AlternativeBlock block -
altNum
int altNum -
blockEnd
BlockEndElement blockEnd
-
-
Constructor Details
-
BlockContext
BlockContext()
-
-
Method Details
-
addAlternativeElement
-
currentAlt
-
currentElement
-