antlr
public abstract class ParseTree extends BaseAST
Method Summary | |
---|---|
String | getLeftmostDerivation(int maxSteps) |
protected abstract int | getLeftmostDerivation(StringBuffer buf, int step) Get derivation and return how many you did (less than requested for
subtree roots. |
String | getLeftmostDerivationStep(int step) Walk parse tree and return requested number of derivation steps.
|
void | initialize(int i, String s) |
void | initialize(AST ast) |
void | initialize(Token token) |