C# Class Rhino.Regexp.RegExpImpl

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

Protected Properties

Свойство Type Description
input string
lastMatch SubString
lastParen SubString
leftContext SubString
multiline bool
parens Rhino.Regexp.SubString[]
rightContext SubString

Méthodes publiques

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

Private Methods

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

Method Details

Action() public méthode

public Action ( Context cx, Scriptable scope, Scriptable thisObj, object args, int actionType ) : object
cx Rhino.Context
scope Scriptable
thisObj Scriptable
args object
actionType int
Résultat object

CompileRegExp() public méthode

public CompileRegExp ( Context cx, string source, string flags ) : object
cx Rhino.Context
source string
flags string
Résultat object

Find_split() public méthode

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
Résultat int

IsRegExp() public méthode

public IsRegExp ( Scriptable obj ) : bool
obj Scriptable
Résultat bool

Js_split() public méthode

public Js_split ( Context cx, Scriptable scope, string target, object args ) : object
cx Rhino.Context
scope Scriptable
target string
args object
Résultat object

WrapRegExp() public méthode

public WrapRegExp ( Context cx, Scriptable scope, object compiled ) : Scriptable
cx Rhino.Context
scope Scriptable
compiled object
Résultat Scriptable

Property Details

input protected_oe property

protected string input
Résultat string

lastMatch protected_oe property

protected SubString,Rhino.Regexp lastMatch
Résultat SubString

lastParen protected_oe property

protected SubString,Rhino.Regexp lastParen
Résultat SubString

leftContext protected_oe property

protected SubString,Rhino.Regexp leftContext
Résultat SubString

multiline protected_oe property

protected bool multiline
Résultat bool

parens protected_oe property

protected SubString[],Rhino.Regexp parens
Résultat Rhino.Regexp.SubString[]

rightContext protected_oe property

protected SubString,Rhino.Regexp rightContext
Résultat SubString