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

While statement.
While statement. Node type is Rhino.Token.WHILE .

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

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

Метод Описание
GetCondition ( ) : AstNode

Returns loop condition

SetCondition ( AstNode condition ) : void

Sets loop condition

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

Visits this node, the condition, then the body.

Visits this node, the condition, then the body.

WhileLoop ( ) : System.Text
WhileLoop ( int pos ) : System.Text
WhileLoop ( int pos, int len ) : System.Text

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

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

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

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

Sets loop condition
/// } if condition is /// null ///
public SetCondition ( AstNode condition ) : void
condition AstNode
Результат void

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

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

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

Visits this node, the condition, then the body.
Visits this node, the condition, then the body.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
Результат void

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

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

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

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

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

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