Property | Type | Description | |
---|---|---|---|
altNumber | int | ||
ruleName | string |
Method | Description | |
---|---|---|
ParseTreeRule ( string ruleName ) | ||
ParseTreeRule ( string ruleName, int altNumber ) | ||
ToString ( ) : string | ||
getRuleName ( ) : string |
Method | Description | |
---|---|---|
getLeftmostDerivation ( System.Text.StringBuilder buf, int step ) : int |
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.
|
public ParseTreeRule ( string ruleName, int altNumber ) | ||
ruleName | string | |
altNumber | int |
protected getLeftmostDerivation ( System.Text.StringBuilder buf, int step ) : int | ||
buf | System.Text.StringBuilder | derivation buffer |
step | int | derivation steps |
return | int |