Method | Description | |
---|---|---|
AddCatchClause ( |
Add a catch-clause to the end of the list, and sets its parent to this node. Add a catch-clause to the end of the list, and sets its parent to this node. |
|
GetCatchClauses ( ) : IList |
Returns list of
|
|
GetFinallyBlock ( ) : AstNode |
Returns finally block, or
|
|
GetFinallyPosition ( ) : int |
Returns position of
|
|
GetTryBlock ( ) : AstNode | ||
SetCatchClauses ( IList |
Sets list of
|
|
SetFinallyBlock ( AstNode finallyBlock ) : void |
Sets finally block, and sets its parent to this node. Sets finally block, and sets its parent to this node. May be |
|
SetFinallyPosition ( int finallyPosition ) : void |
Sets position of
|
|
SetTryBlock ( AstNode tryBlock ) : void |
Sets try block. Sets try block. Also sets its parent to this node. |
|
ToSource ( int depth ) : string | ||
TryStatement ( ) : System.Collections.Generic | ||
TryStatement ( int pos ) : System.Collections.Generic | ||
TryStatement ( int pos, int len ) : System.Collections.Generic | ||
Visit ( NodeVisitor v ) : void |
Visits this node, then the try-block, then any catch clauses, and then any finally block. Visits this node, then the try-block, then any catch clauses, and then any finally block. |
public AddCatchClause ( |
||
clause | ||
return | void |
public SetCatchClauses ( IList |
||
catchClauses | IList |
|
return | void |
public SetFinallyBlock ( AstNode finallyBlock ) : void | ||
finallyBlock | AstNode | |
return | void |
public SetFinallyPosition ( int finallyPosition ) : void | ||
finallyPosition | int | |
return | void |
public SetTryBlock ( AstNode tryBlock ) : void | ||
tryBlock | AstNode | |
return | void |
public TryStatement ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
public TryStatement ( int pos ) : System.Collections.Generic | ||
pos | int | |
return | System.Collections.Generic |
public TryStatement ( int pos, int len ) : System.Collections.Generic | ||
pos | int | |
len | int | |
return | System.Collections.Generic |