antlr
public class ParseTreeRule extends ParseTree
Field Summary | |
---|---|
protected int | altNumber |
static int | INVALID_ALT |
protected String | ruleName |
Constructor Summary | |
---|---|
ParseTreeRule(String ruleName) | |
ParseTreeRule(String ruleName, int altNumber) |
Method Summary | |
---|---|
protected int | getLeftmostDerivation(StringBuffer buf, int step) Do a step-first walk, building up a buffer of tokens until
you've reached a particular step and print out any rule subroots
insteads of descending. |
String | getRuleName() |
String | toString() |