|
Parsing Engine | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdanbikel.parser.lang.AbstractHeadFinder.HeadFindInstruction
protected static final class AbstractHeadFinder.HeadFindInstruction
Data structure for specifying a way to search for a head in a grammar production: a set of symbols to scan for and the direction of that scan.
Field Summary | |
---|---|
protected boolean |
direction
The direction in which to scan: a value equal to Constants.LEFT
indicates a left-to-right scan, and a value equal to
Constants.RIGHT indicates a right-to-left scan. |
protected Symbol[] |
scanSet
The set of symbols to scan for. |
Constructor Summary | |
---|---|
protected |
AbstractHeadFinder.HeadFindInstruction(boolean direction,
Symbol[] scanSet)
Constructs a new HeadFindInstruction object. |
Method Summary | |
---|---|
String |
toString()
Converts this object to a human-readable string representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Symbol[] scanSet
protected boolean direction
Constants.LEFT
indicates a left-to-right scan, and a value equal to
Constants.RIGHT
indicates a right-to-left scan.
Constructor Detail |
---|
protected AbstractHeadFinder.HeadFindInstruction(boolean direction, Symbol[] scanSet)
HeadFindInstruction
object.
direction
- the direction in which to scan: a value equal to
Constants.LEFT
indicates a left-to-right scan, and a value
equal to Constants.RIGHT
indicates a right-to-left scanscanSet
- the set of symbols to scan forMethod Detail |
---|
public String toString()
toString
in class Object
|
Parsing Engine | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |