C# 클래스 Rhino.Ast.RegExpLiteral

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

상속: AstNode
파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

공개 메소드들

메소드 설명
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