C# 클래스 Rhino.Ast.Label

AST node representing a label.
AST node representing a label. It is a distinct node type so it can record its length and position for code-processing tools. Node type is Rhino.Token.LABEL .

상속: Jump
파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

공개 메소드들

메소드 설명
GetName ( ) : string

Returns the label text

Label ( ) : System
Label ( int pos ) : System
Label ( int pos, int len ) : System
Label ( int pos, int len, string name ) : System
SetName ( string name ) : void

Sets the label text

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

Visits this label.

Visits this label. There are no children to visit.

메소드 상세

GetName() 공개 메소드

Returns the label text
public GetName ( ) : string
리턴 string

Label() 공개 메소드

public Label ( ) : System
리턴 System

Label() 공개 메소드

public Label ( int pos ) : System
pos int
리턴 System

Label() 공개 메소드

public Label ( int pos, int len ) : System
pos int
len int
리턴 System

Label() 공개 메소드

public Label ( int pos, int len, string name ) : System
pos int
len int
name string
리턴 System

SetName() 공개 메소드

Sets the label text
/// if name is /// null /// or the /// empty string. ///
public SetName ( string name ) : void
name string
리턴 void

ToSource() 공개 메소드

public ToSource ( int depth ) : string
depth int
리턴 string

Visit() 공개 메소드

Visits this label.
Visits this label. There are no children to visit.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
리턴 void