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
Afficher le fichier Open project: hazzik/Rhino.Net Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public ContinueStatement ( ) : System.Text
Résultat System.Text

ContinueStatement() public méthode

public ContinueStatement ( Name label ) : System.Text
label Name
Résultat System.Text

ContinueStatement() public méthode

public ContinueStatement ( int pos ) : System.Text
pos int
Résultat System.Text

ContinueStatement() public méthode

public ContinueStatement ( int pos, Name label ) : System.Text
pos int
label Name
Résultat System.Text

ContinueStatement() public méthode

public ContinueStatement ( int pos, int len ) : System.Text
pos int
len int
Résultat System.Text

ContinueStatement() public méthode

public ContinueStatement ( int pos, int len, Name label ) : System.Text
pos int
len int
label Name
Résultat System.Text

GetLabel() public méthode

Returns the intended label of this continue statement
public GetLabel ( ) : Name
Résultat Name

GetTarget() public méthode

Returns continue target
public GetTarget ( ) : Loop
Résultat Loop

SetLabel() public méthode

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. ///
Résultat void

SetTarget() public méthode

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
Résultat void

ToSource() public méthode

public ToSource ( int depth ) : string
depth int
Résultat string

Visit() public méthode

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