C# 클래스 Rhino.Ast.WhileLoop

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

WhileStatement: while ( Expression ) Statement
상속: Loop
파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

공개 메소드들

메소드 설명
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