Method | Description | |
---|---|---|
CatchClause ( ) : System.Text | ||
CatchClause ( int pos ) : System.Text | ||
CatchClause ( int pos, int len ) : System.Text | ||
GetBody ( ) : |
Returns catch body
|
|
GetCatchCondition ( ) : AstNode |
Returns catch condition node, if present
|
|
GetIfPosition ( ) : int |
Returns position of "if" keyword
|
|
GetLp ( ) : int |
Returns left paren position
|
|
GetRp ( ) : int |
Returns right paren position
|
|
GetVarName ( ) : |
Returns catch variable node
|
|
SetBody ( |
Sets catch body, and sets its parent to this node. Sets catch body, and sets its parent to this node. |
|
SetCatchCondition ( AstNode catchCondition ) : void |
Sets catch condition node, and sets its parent to this node. Sets catch condition node, and sets its parent to this node. |
|
SetIfPosition ( int ifPosition ) : void |
Sets position of "if" keyword
|
|
SetLp ( int lp ) : void |
Sets left paren position
|
|
SetParens ( int lp, int rp ) : void |
Sets both paren positions
|
|
SetRp ( int rp ) : void |
Sets right paren position
|
|
SetVarName ( |
Sets catch variable node, and sets its parent to this node. Sets catch variable node, and sets its parent to this node. |
|
ToSource ( int depth ) : string | ||
Visit ( NodeVisitor v ) : void |
Visits this node, the catch var name node, the condition if non-
|
public CatchClause ( int pos, int len ) : System.Text | ||
pos | int | |
len | int | |
return | System.Text |
public SetCatchCondition ( AstNode catchCondition ) : void | ||
catchCondition | AstNode |
/// catch condition node. Can be
/// null
/// .
/// |
return | void |
public SetIfPosition ( int ifPosition ) : void | ||
ifPosition | int | position of "if" keyword, if present, or -1 |
return | void |
public SetVarName ( |
||
varName | catch variable | |
return | void |