C# Класс 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 .

Наследование: Jump
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

GetName() публичный Метод

Returns the label text
public GetName ( ) : string
Результат string

Label() публичный Метод

public Label ( ) : System
Результат System

Label() публичный Метод

public Label ( int pos ) : System
pos int
Результат System

Label() публичный Метод

public Label ( int pos, int len ) : System
pos int
len int
Результат System

Label() публичный Метод

public Label ( int pos, int len, string name ) : System
pos int
len int
name string
Результат System

SetName() публичный Метод

Sets the label text
/// if name is /// null /// or the /// empty string. ///
public SetName ( string name ) : void
name string
Результат void

ToSource() публичный Метод

public ToSource ( int depth ) : string
depth int
Результат string

Visit() публичный Метод

Visits this label.
Visits this label. There are no children to visit.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
Результат void