public abstract class ParseTree extends BaseAST
| Constructor and Description |
|---|
ParseTree() |
| Modifier and Type | Method and Description |
|---|---|
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(AST ast) |
void |
initialize(int i,
String s) |
void |
initialize(Token token) |
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getColumn, getFirstChild, getLine, getNextSibling, getNumberOfChildren, getText, getTokenNames, getType, removeChildren, setFirstChild, setNextSibling, setText, setType, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpenpublic String getLeftmostDerivationStep(int step)
public String getLeftmostDerivation(int maxSteps)
protected abstract int getLeftmostDerivation(StringBuffer buf, int step)
public void initialize(int i,
String s)
initialize in interface ASTinitialize in class BaseASTpublic void initialize(AST ast)
initialize in interface ASTinitialize in class BaseASTpublic void initialize(Token token)
initialize in interface ASTinitialize in class BaseASTCopyright © 2017–2019 Eclipse Foundation. All rights reserved.