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
Mostrar archivo Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method 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 method

Returns the label text
public GetName ( ) : string
return string

Label() public method

public Label ( ) : System
return System

Label() public method

public Label ( int pos ) : System
pos int
return System

Label() public method

public Label ( int pos, int len ) : System
pos int
len int
return System

Label() public method

public Label ( int pos, int len, string name ) : System
pos int
len int
name string
return System

SetName() public method

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

ToSource() public method

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

Visit() public method

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