C# Class Rhino.Ast.ThrowStatement

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

ThrowStatement : throw [no LineTerminator here] Expression ;
Inheritance: AstNode
Mostrar archivo Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method Description
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.

Method Details

GetExpression() public method

Returns the expression being thrown
public GetExpression ( ) : AstNode
return AstNode

SetExpression() public method

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
return void

ThrowStatement() public method

public ThrowStatement ( ) : System.Text
return System.Text

ThrowStatement() public method

public ThrowStatement ( AstNode expr ) : System.Text
expr AstNode
return System.Text

ThrowStatement() public method

public ThrowStatement ( int pos ) : System.Text
pos int
return System.Text

ThrowStatement() public method

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

ThrowStatement() public method

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

ThrowStatement() public method

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

ToSource() public method

public ToSource ( int depth ) : string
depth int
return string

Visit() public method

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