C# 클래스 Rhino.Ast.DoLoop

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

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

공개 메소드들

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