Метод | Описание | |
---|---|---|
ForLoop ( ) : System.Text | ||
ForLoop ( int pos ) : System.Text | ||
ForLoop ( int pos, int len ) : System.Text | ||
GetCondition ( ) : AstNode |
Returns loop condition
|
|
GetIncrement ( ) : AstNode |
Returns loop increment expression
|
|
GetInitializer ( ) : AstNode |
Returns loop initializer variable declaration list. Returns loop initializer variable declaration list. This is either a |
|
SetCondition ( AstNode condition ) : void |
Sets loop condition, and sets its parent to this node. Sets loop condition, and sets its parent to this node. |
|
SetIncrement ( AstNode increment ) : void |
Sets loop increment expression, and sets its parent to this node. Sets loop increment expression, and sets its parent to this node. |
|
SetInitializer ( AstNode initializer ) : void |
Sets loop initializer expression, and sets its parent to this node. Sets loop initializer expression, and sets its parent to this node. Virtually any expression can be in the initializer, so no error-checking is done other than a |
|
ToSource ( int depth ) : string | ||
Visit ( NodeVisitor v ) : void |
Visits this node, the initializer expression, the loop condition expression, the increment expression, and then the loop body. Visits this node, the initializer expression, the loop condition expression, the increment expression, and then the loop body. |
public ForLoop ( int pos, int len ) : System.Text | ||
pos | int | |
len | int | |
Результат | System.Text |
public SetCondition ( AstNode condition ) : void | ||
condition | AstNode |
/// loop condition. Pass an
/// |
Результат | void |
public SetIncrement ( AstNode increment ) : void | ||
increment | AstNode |
/// loop increment expression. Pass an
/// null
/// .
/// |
Результат | void |
public SetInitializer ( AstNode initializer ) : void | ||
initializer | AstNode |
/// loop initializer. Pass an
/// |
Результат | void |