C# Class Rhino.Regexp.RegExpImpl

Inheritance: RegExpProxy
Mostrar archivo Open project: hazzik/Rhino.Net Class Usage Examples

Protected Properties

Property Type Description
input string
lastMatch SubString
lastParen SubString
leftContext SubString
multiline bool
parens Rhino.Regexp.SubString[]
rightContext SubString

Public Methods

Method 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

Method 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 method

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

CompileRegExp() public method

public CompileRegExp ( Context cx, string source, string flags ) : object
cx Rhino.Context
source string
flags string
return object

Find_split() public method

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
return int

IsRegExp() public method

public IsRegExp ( Scriptable obj ) : bool
obj Scriptable
return bool

Js_split() public method

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

WrapRegExp() public method

public WrapRegExp ( Context cx, Scriptable scope, object compiled ) : Scriptable
cx Rhino.Context
scope Scriptable
compiled object
return Scriptable

Property Details

input protected_oe property

protected string input
return string

lastMatch protected_oe property

protected SubString,Rhino.Regexp lastMatch
return SubString

lastParen protected_oe property

protected SubString,Rhino.Regexp lastParen
return SubString

leftContext protected_oe property

protected SubString,Rhino.Regexp leftContext
return SubString

multiline protected_oe property

protected bool multiline
return bool

parens protected_oe property

protected SubString[],Rhino.Regexp parens
return Rhino.Regexp.SubString[]

rightContext protected_oe property

protected SubString,Rhino.Regexp rightContext
return SubString