C# Class Rhino.Ast.DoLoop

Do statement.
Do statement. Node type is Rhino.Token.DO .

DoLoop: do Statement while ( Expression ) ;
Inheritance: Loop
Afficher le fichier Open project: hazzik/Rhino.Net Class Usage Examples

Méthodes publiques

Méthode Description
DoLoop ( ) : System.Text
DoLoop ( int pos ) : System.Text
DoLoop ( int pos, int len ) : System.Text
GetCondition ( ) : AstNode

Returns loop condition

GetWhilePosition ( ) : int

Returns source position of "while" keyword

SetCondition ( AstNode condition ) : void

Sets loop condition, and sets its parent to this node.

Sets loop condition, and sets its parent to this node.

SetWhilePosition ( int whilePosition ) : void

Sets source position of "while" keyword

ToSource ( int depth ) : string
Visit ( NodeVisitor v ) : void

Visits this node, the body, and then the while-expression.

Visits this node, the body, and then the while-expression.

Method Details

DoLoop() public méthode

public DoLoop ( ) : System.Text
Résultat System.Text

DoLoop() public méthode

public DoLoop ( int pos ) : System.Text
pos int
Résultat System.Text

DoLoop() public méthode

public DoLoop ( int pos, int len ) : System.Text
pos int
len int
Résultat System.Text

GetCondition() public méthode

Returns loop condition
public GetCondition ( ) : AstNode
Résultat AstNode

GetWhilePosition() public méthode

Returns source position of "while" keyword
public GetWhilePosition ( ) : int
Résultat int

SetCondition() public méthode

Sets loop condition, and sets its parent to this node.
Sets loop condition, and sets its parent to this node.
if condition is null
public SetCondition ( AstNode condition ) : void
condition AstNode
Résultat void

SetWhilePosition() public méthode

Sets source position of "while" keyword
public SetWhilePosition ( int whilePosition ) : void
whilePosition int
Résultat void

ToSource() public méthode

public ToSource ( int depth ) : string
depth int
Résultat string

Visit() public méthode

Visits this node, the body, and then the while-expression.
Visits this node, the body, and then the while-expression.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
Résultat void