C# Класс Rhino.Regexp.RegExpImpl

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

Защищенные свойства (Protected)

Свойство Тип Описание
input string
lastMatch SubString
lastParen SubString
leftContext SubString
multiline bool
parens Rhino.Regexp.SubString[]
rightContext SubString

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

Метод Описание
Action ( Context cx, Scriptable scope, Scriptable thisObj, object args, int actionType ) : object
CompileRegExp ( Context cx, string source, string flags ) : object
Find_split ( Context cx, Scriptable scope, string target, string separator, Scriptable reObj, int ip, int matchlen, bool matched, string parensp ) : int
IsRegExp ( Scriptable obj ) : bool
Js_split ( Context cx, Scriptable scope, string target, object args ) : object
WrapRegExp ( Context cx, Scriptable scope, object compiled ) : Scriptable

Приватные методы

Метод Описание
Do_replace ( GlobData rdata, Context cx, RegExpImpl regExpImpl ) : void

Analog of do_replace in jsstr.c

Find_split ( Context cx, Scriptable scope, string target, string separator, int version, RegExpProxy reProxy, Scriptable re, int ip, int matchlen, bool matched, string parensp ) : int
GetParenSubString ( int i ) : SubString

Analog of REGEXP_PAREN_SUBSTRING in C jsregexp.h.

Analog of REGEXP_PAREN_SUBSTRING in C jsregexp.h. Assumes zero-based; i.e., for $3, i==2

InterpretDollar ( Context cx, RegExpImpl res, string da, int dp, int skip ) : SubString
MatchOrReplace ( Context cx, Scriptable scope, Scriptable thisObj, object args, RegExpImpl reImpl, GlobData data, bool forceFlat ) : object

Analog of C match_or_replace.

Analog of C match_or_replace.

Match_glob ( GlobData mdata, Context cx, Scriptable scope, int count, RegExpImpl reImpl ) : void
Replace_glob ( GlobData rdata, Context cx, Scriptable scope, RegExpImpl reImpl, int leftIndex, int leftlen ) : void

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

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

public Action ( Context cx, Scriptable scope, Scriptable thisObj, object args, int actionType ) : object
cx Rhino.Context
scope Scriptable
thisObj Scriptable
args object
actionType int
Результат object

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

public CompileRegExp ( Context cx, string source, string flags ) : object
cx Rhino.Context
source string
flags string
Результат object

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

public Find_split ( Context cx, Scriptable scope, string target, string separator, Scriptable reObj, int ip, int matchlen, bool matched, string parensp ) : int
cx Rhino.Context
scope Scriptable
target string
separator string
reObj Scriptable
ip int
matchlen int
matched bool
parensp string
Результат int

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

public IsRegExp ( Scriptable obj ) : bool
obj Scriptable
Результат bool

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

public Js_split ( Context cx, Scriptable scope, string target, object args ) : object
cx Rhino.Context
scope Scriptable
target string
args object
Результат object

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

public WrapRegExp ( Context cx, Scriptable scope, object compiled ) : Scriptable
cx Rhino.Context
scope Scriptable
compiled object
Результат Scriptable

Описание свойств

input защищенное свойство

protected string input
Результат string

lastMatch защищенное свойство

protected SubString,Rhino.Regexp lastMatch
Результат SubString

lastParen защищенное свойство

protected SubString,Rhino.Regexp lastParen
Результат SubString

leftContext защищенное свойство

protected SubString,Rhino.Regexp leftContext
Результат SubString

multiline защищенное свойство

protected bool multiline
Результат bool

parens защищенное свойство

protected SubString[],Rhino.Regexp parens
Результат Rhino.Regexp.SubString[]

rightContext защищенное свойство

protected SubString,Rhino.Regexp rightContext
Результат SubString