C# 클래스 Rhino.Ast.ThrowStatement

Throw statement.
Throw statement. Node type is Rhino.Token.THROW .

ThrowStatement : throw [no LineTerminator here] Expression ;
상속: AstNode
파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

공개 메소드들

메소드 설명
GetExpression ( ) : AstNode

Returns the expression being thrown

SetExpression ( AstNode expression ) : void

Sets the expression being thrown, and sets its parent to this node.

Sets the expression being thrown, and sets its parent to this node.

ThrowStatement ( ) : System.Text
ThrowStatement ( AstNode expr ) : System.Text
ThrowStatement ( int pos ) : System.Text
ThrowStatement ( int pos, AstNode expr ) : System.Text
ThrowStatement ( int pos, int len ) : System.Text
ThrowStatement ( int pos, int len, AstNode expr ) : System.Text
ToSource ( int depth ) : string
Visit ( NodeVisitor v ) : void

Visits this node, then the thrown expression.

Visits this node, then the thrown expression.

메소드 상세

GetExpression() 공개 메소드

Returns the expression being thrown
public GetExpression ( ) : AstNode
리턴 AstNode

SetExpression() 공개 메소드

Sets the expression being thrown, and sets its parent to this node.
Sets the expression being thrown, and sets its parent to this node.
/// } if expression is /// null ///
public SetExpression ( AstNode expression ) : void
expression AstNode
리턴 void

ThrowStatement() 공개 메소드

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

ThrowStatement() 공개 메소드

public ThrowStatement ( AstNode expr ) : System.Text
expr AstNode
리턴 System.Text

ThrowStatement() 공개 메소드

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

ThrowStatement() 공개 메소드

public ThrowStatement ( int pos, AstNode expr ) : System.Text
pos int
expr AstNode
리턴 System.Text

ThrowStatement() 공개 메소드

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

ThrowStatement() 공개 메소드

public ThrowStatement ( int pos, int len, AstNode expr ) : System.Text
pos int
len int
expr AstNode
리턴 System.Text

ToSource() 공개 메소드

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

Visit() 공개 메소드

Visits this node, then the thrown expression.
Visits this node, then the thrown expression.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
리턴 void