Property | Type | Description | |
---|---|---|---|
body | AstNode | ||
lp | int | ||
rp | int |
Method | Description | |
---|---|---|
GetBody ( ) : AstNode |
Returns loop body
|
|
GetLp ( ) : int |
Returns left paren position, -1 if missing
|
|
GetRp ( ) : int |
Returns right paren position, -1 if missing
|
|
Loop ( ) : Rhino.Ast | ||
Loop ( int pos ) : Rhino.Ast | ||
Loop ( int pos, int len ) : Rhino.Ast | ||
SetBody ( AstNode body ) : void |
Sets loop body. Sets loop body. Sets the parent of the body to this loop node, and updates its offset to be relative. Extends the length of this node to include the body. |
|
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
|