Method | Description | |
---|---|---|
getLeftmostDerivation ( int maxSteps ) : string | ||
getLeftmostDerivationStep ( int step ) : string |
Walk parse tree and return requested number of derivation steps. If steps less-than 0, return node text. If steps equals 1, return derivation string at step.
|
|
initialize ( IToken token ) : void | ||
initialize ( antlr.collections.AST ast ) : void | ||
initialize ( int i, string s ) : void |
Method | Description | |
---|---|---|
getLeftmostDerivation ( System.Text.StringBuilder buf, int step ) : int |
Get derivation and return how many you did (less than requested for subtree roots.
|
protected abstract getLeftmostDerivation ( System.Text.StringBuilder buf, int step ) : int | ||
buf | System.Text.StringBuilder | string buffer |
step | int | derivation steps |
return | int |
public getLeftmostDerivation ( int maxSteps ) : string | ||
maxSteps | int | |
return | string |
public getLeftmostDerivationStep ( int step ) : string | ||
step | int | derivation steps |
return | string |
public initialize ( antlr.collections.AST ast ) : void | ||
ast | antlr.collections.AST | |
return | void |