Method | Description | |
---|---|---|
AddLabel ( |
Adds a label and sets its parent to this node. Adds a label and sets its parent to this node. |
|
GetFirstLabel ( ) : |
||
GetLabelByName ( string name ) : |
Returns label with specified name from the label list for this labeled statement. Returns label with specified name from the label list for this labeled statement. Returns |
|
GetLabels ( ) : IList |
Returns label list
|
|
GetStatement ( ) : AstNode |
Returns the labeled statement
|
|
HasSideEffects ( ) : bool | ||
LabeledStatement ( ) : System.Collections.Generic | ||
LabeledStatement ( int pos ) : System.Collections.Generic | ||
LabeledStatement ( int pos, int len ) : System.Collections.Generic | ||
SetLabels ( IList labels ) : void |
Sets label list, setting the parent of each label in the list. Sets label list, setting the parent of each label in the list. Replaces any existing labels. |
|
SetStatement ( AstNode statement ) : void |
Sets the labeled statement, and sets its parent to this node. Sets the labeled statement, and sets its parent to this node. |
|
ToSource ( int depth ) : string | ||
Visit ( NodeVisitor v ) : void |
Visits this node, then each label in the label-list, and finally the statement. Visits this node, then each label in the label-list, and finally the statement. |
public GetLabelByName ( string name ) : |
||
name | string | |
return |
public LabeledStatement ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
public LabeledStatement ( int pos ) : System.Collections.Generic | ||
pos | int | |
return | System.Collections.Generic |
public LabeledStatement ( int pos, int len ) : System.Collections.Generic | ||
pos | int | |
len | int | |
return | System.Collections.Generic |
public SetStatement ( AstNode statement ) : void | ||
statement | AstNode | |
return | void |