C# 클래스 Rhino.Ast.BreakStatement

A break statement.
A break statement. Node type is Rhino.Token.BREAK .

BreakStatement : break [no LineTerminator here] [Identifier] ;
상속: Jump
파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

공개 메소드들

메소드 설명
BreakStatement ( ) : System.Text
BreakStatement ( int pos ) : System.Text
BreakStatement ( int pos, int len ) : System.Text
GetBreakLabel ( ) : Name

Returns the intended label of this break statement

GetBreakTarget ( ) : AstNode

Returns the statement to break to

SetBreakLabel ( Name label ) : void

Sets the intended label of this break statement, e.g.

Sets the intended label of this break statement, e.g. 'foo' in "break foo". Also sets the parent of the label to this node.

SetBreakTarget ( Jump target ) : void

Sets the statement to break to.

Sets the statement to break to.

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

Visits this node, then visits the break label if non- null .

메소드 상세

BreakStatement() 공개 메소드

public BreakStatement ( ) : System.Text
리턴 System.Text

BreakStatement() 공개 메소드

public BreakStatement ( int pos ) : System.Text
pos int
리턴 System.Text

BreakStatement() 공개 메소드

public BreakStatement ( int pos, int len ) : System.Text
pos int
len int
리턴 System.Text

GetBreakLabel() 공개 메소드

Returns the intended label of this break statement
public GetBreakLabel ( ) : Name
리턴 Name

GetBreakTarget() 공개 메소드

Returns the statement to break to
public GetBreakTarget ( ) : AstNode
리턴 AstNode

SetBreakLabel() 공개 메소드

Sets the intended label of this break statement, e.g.
Sets the intended label of this break statement, e.g. 'foo' in "break foo". Also sets the parent of the label to this node.
public SetBreakLabel ( Name label ) : void
label Name /// the break label, or /// null /// if the statement is /// just the "break" keyword by itself. ///
리턴 void

SetBreakTarget() 공개 메소드

Sets the statement to break to.
Sets the statement to break to.
/// if target is /// null ///
public SetBreakTarget ( Jump target ) : void
target Jump the statement to break to
리턴 void

ToSource() 공개 메소드

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

Visit() 공개 메소드

Visits this node, then visits the break label if non- null .
public Visit ( NodeVisitor v ) : void
v NodeVisitor
리턴 void