Method | Description | |
---|---|---|
GetBody ( ) : AstNode |
Returns body statement or expression. Returns body statement or expression. Body is
|
|
GetLp ( ) : int |
Returns left paren position, -1 if missing
|
|
GetRp ( ) : int |
Returns right paren position, -1 if missing
|
|
GetVariables ( ) : |
Returns variable list
|
|
LetNode ( ) : System.Text | ||
LetNode ( int pos ) : System.Text | ||
LetNode ( int pos, int len ) : System.Text | ||
SetBody ( AstNode body ) : void |
Sets body statement or expression. Sets body statement or expression. Also sets the body parent to this node. |
|
SetLp ( int lp ) : void |
Sets left paren position
|
|
SetParens ( int lp, int rp ) : void |
Sets both paren positions
|
|
SetRp ( int rp ) : void |
Sets right paren position
|
|
SetVariables ( |
Sets variable list. Sets variable list. Sets list parent to this node. |
|
ToSource ( int depth ) : string | ||
Visit ( NodeVisitor v ) : void |
Visits this node, the variable list, and if present, the body expression or statement. Visits this node, the variable list, and if present, the body expression or statement. |
public GetVariables ( ) : |
||
return |
public LetNode ( int pos, int len ) : System.Text | ||
pos | int | |
len | int | |
return | System.Text |
public SetBody ( AstNode body ) : void | ||
body | AstNode |
/// the body statement or expression. May be
/// null
/// .
/// |
return | void |
public SetVariables ( |
||
variables | ||
return | void |