C# Class Rhino.Ast.Label

AST node representing a label.
AST node representing a label. It is a distinct node type so it can record its length and position for code-processing tools. Node type is Rhino.Token.LABEL .

Inheritance: Jump
Afficher le fichier Open project: hazzik/Rhino.Net Class Usage Examples

Méthodes publiques

Méthode Description
GetName ( ) : string

Returns the label text

Label ( ) : System
Label ( int pos ) : System
Label ( int pos, int len ) : System
Label ( int pos, int len, string name ) : System
SetName ( string name ) : void

Sets the label text

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

Visits this label.

Visits this label. There are no children to visit.

Method Details

GetName() public méthode

Returns the label text
public GetName ( ) : string
Résultat string

Label() public méthode

public Label ( ) : System
Résultat System

Label() public méthode

public Label ( int pos ) : System
pos int
Résultat System

Label() public méthode

public Label ( int pos, int len ) : System
pos int
len int
Résultat System

Label() public méthode

public Label ( int pos, int len, string name ) : System
pos int
len int
name string
Résultat System

SetName() public méthode

Sets the label text
/// if name is /// null /// or the /// empty string. ///
public SetName ( string name ) : void
name string
Résultat void

ToSource() public méthode

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

Visit() public méthode

Visits this label.
Visits this label. There are no children to visit.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
Résultat void