C# 클래스 Rhino.Ast.Loop

Abstract base type for loops.
Abstract base type for loops.
상속: Scope
파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
body AstNode
lp int
rp int

공개 메소드들

메소드 설명
GetBody ( ) : AstNode

Returns loop body

GetLp ( ) : int

Returns left paren position, -1 if missing

GetRp ( ) : int

Returns right paren position, -1 if missing

Loop ( ) : Rhino.Ast
Loop ( int pos ) : Rhino.Ast
Loop ( int pos, int len ) : Rhino.Ast
SetBody ( AstNode body ) : void

Sets loop body.

Sets loop body. Sets the parent of the body to this loop node, and updates its offset to be relative. Extends the length of this node to include the body.

SetLp ( int lp ) : void

Sets left paren position

SetParens ( int lp, int rp ) : void

Sets both paren positions

SetRp ( int rp ) : void

Sets right paren position

메소드 상세

GetBody() 공개 메소드

Returns loop body
public GetBody ( ) : AstNode
리턴 AstNode

GetLp() 공개 메소드

Returns left paren position, -1 if missing
public GetLp ( ) : int
리턴 int

GetRp() 공개 메소드

Returns right paren position, -1 if missing
public GetRp ( ) : int
리턴 int

Loop() 공개 메소드

public Loop ( ) : Rhino.Ast
리턴 Rhino.Ast

Loop() 공개 메소드

public Loop ( int pos ) : Rhino.Ast
pos int
리턴 Rhino.Ast

Loop() 공개 메소드

public Loop ( int pos, int len ) : Rhino.Ast
pos int
len int
리턴 Rhino.Ast

SetBody() 공개 메소드

Sets loop body.
Sets loop body. Sets the parent of the body to this loop node, and updates its offset to be relative. Extends the length of this node to include the body.
public SetBody ( AstNode body ) : void
body AstNode
리턴 void

SetLp() 공개 메소드

Sets left paren position
public SetLp ( int lp ) : void
lp int
리턴 void

SetParens() 공개 메소드

Sets both paren positions
public SetParens ( int lp, int rp ) : void
lp int
rp int
리턴 void

SetRp() 공개 메소드

Sets right paren position
public SetRp ( int rp ) : void
rp int
리턴 void

프로퍼티 상세

body 보호되어 있는 프로퍼티

protected AstNode body
리턴 AstNode

lp 보호되어 있는 프로퍼티

protected int lp
리턴 int

rp 보호되어 있는 프로퍼티

protected int rp
리턴 int