C# Класс Rhino.Ast.RegExpLiteral

AST node for a RegExp literal.
AST node for a RegExp literal. Node type is Rhino.Token.REGEXP .

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

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

Метод Описание
GetFlags ( ) : string

Returns regexp flags, null or "" if no flags specified

GetValue ( ) : string

Returns the regexp string without delimiters

RegExpLiteral ( ) : Rhino
RegExpLiteral ( int pos ) : Rhino
RegExpLiteral ( int pos, int len ) : Rhino
SetFlags ( string flags ) : void

Sets regexp flags.

Sets regexp flags. Can be null or "".

SetValue ( string value ) : void

Sets the regexp string without delimiters

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

Visits this node.

Visits this node. There are no children to visit.

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

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

Returns regexp flags, null or "" if no flags specified
public GetFlags ( ) : string
Результат string

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

Returns the regexp string without delimiters
public GetValue ( ) : string
Результат string

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

public RegExpLiteral ( ) : Rhino
Результат Rhino

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

public RegExpLiteral ( int pos ) : Rhino
pos int
Результат Rhino

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

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

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

Sets regexp flags.
Sets regexp flags. Can be null or "".
public SetFlags ( string flags ) : void
flags string
Результат void

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

Sets the regexp string without delimiters
/// } if value is /// null ///
public SetValue ( string value ) : void
value string
Результат void

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

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

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

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