C# Class Rhino.Ast.RegExpLiteral

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

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

Méthodes publiques

Méthode Description
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.

Method Details

GetFlags() public méthode

Returns regexp flags, null or "" if no flags specified
public GetFlags ( ) : string
Résultat string

GetValue() public méthode

Returns the regexp string without delimiters
public GetValue ( ) : string
Résultat string

RegExpLiteral() public méthode

public RegExpLiteral ( ) : Rhino
Résultat Rhino

RegExpLiteral() public méthode

public RegExpLiteral ( int pos ) : Rhino
pos int
Résultat Rhino

RegExpLiteral() public méthode

public RegExpLiteral ( int pos, int len ) : Rhino
pos int
len int
Résultat Rhino

SetFlags() public méthode

Sets regexp flags.
Sets regexp flags. Can be null or "".
public SetFlags ( string flags ) : void
flags string
Résultat void

SetValue() public méthode

Sets the regexp string without delimiters
/// } if value is /// null ///
public SetValue ( string value ) : void
value string
Résultat void

ToSource() public méthode

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

Visit() public méthode

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