C# Класс Rhino.Ast.DoLoop

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

DoLoop: do Statement while ( Expression ) ;
Наследование: Loop
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

DoLoop() публичный Метод

public DoLoop ( ) : System.Text
Результат System.Text

DoLoop() публичный Метод

public DoLoop ( int pos ) : System.Text
pos int
Результат System.Text

DoLoop() публичный Метод

public DoLoop ( int pos, int len ) : System.Text
pos int
len int
Результат System.Text

GetCondition() публичный Метод

Returns loop condition
public GetCondition ( ) : AstNode
Результат AstNode

GetWhilePosition() публичный Метод

Returns source position of "while" keyword
public GetWhilePosition ( ) : int
Результат int

SetCondition() публичный Метод

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
Результат void

SetWhilePosition() публичный Метод

Sets source position of "while" keyword
public SetWhilePosition ( int whilePosition ) : void
whilePosition int
Результат void

ToSource() публичный Метод

public ToSource ( int depth ) : string
depth int
Результат string

Visit() публичный Метод

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
Результат void