C# Class Rhino.Ast.ContinueStatement

A continue statement.
A continue statement. Node type is Rhino.Token.CONTINUE .

ContinueStatement : continue [no LineTerminator here] [Identifier] ;
Inheritance: Jump
Show file Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method Description
ContinueStatement ( ) : System.Text
ContinueStatement ( Name label ) : System.Text
ContinueStatement ( int pos ) : System.Text
ContinueStatement ( int pos, Name label ) : System.Text
ContinueStatement ( int pos, int len ) : System.Text
ContinueStatement ( int pos, int len, Name label ) : System.Text
GetLabel ( ) : Name

Returns the intended label of this continue statement

GetTarget ( ) : Loop

Returns continue target

SetLabel ( Name label ) : void

Sets the intended label of this continue statement.

Sets the intended label of this continue statement. Only applies if the statement was of the form "continue <label>".

SetTarget ( Loop target ) : void

Sets continue target.

Sets continue target. Does NOT set the parent of the target node: the target node is an ancestor of this node.

ToSource ( int depth ) : string
Visit ( NodeVisitor v ) : void

Visits this node, then visits the label if non- null .

Method Details

ContinueStatement() public method

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

ContinueStatement() public method

public ContinueStatement ( Name label ) : System.Text
label Name
return System.Text

ContinueStatement() public method

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

ContinueStatement() public method

public ContinueStatement ( int pos, Name label ) : System.Text
pos int
label Name
return System.Text

ContinueStatement() public method

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

ContinueStatement() public method

public ContinueStatement ( int pos, int len, Name label ) : System.Text
pos int
len int
label Name
return System.Text

GetLabel() public method

Returns the intended label of this continue statement
public GetLabel ( ) : Name
return Name

GetTarget() public method

Returns continue target
public GetTarget ( ) : Loop
return Loop

SetLabel() public method

Sets the intended label of this continue statement.
Sets the intended label of this continue statement. Only applies if the statement was of the form "continue <label>".
public SetLabel ( Name label ) : void
label Name /// the continue label, or /// null /// if not present. ///
return void

SetTarget() public method

Sets continue target.
Sets continue target. Does NOT set the parent of the target node: the target node is an ancestor of this node.
/// if target is /// null ///
public SetTarget ( Loop target ) : void
target Loop continue target
return void

ToSource() public method

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

Visit() public method

Visits this node, then visits the label if non- null .
public Visit ( NodeVisitor v ) : void
v NodeVisitor
return void