C# Class Rhino.Regexp.NativeRegExp

Inheritance: Rhino.IdScriptableObject, System.Function
Exibir arquivo Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method Description
Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
Construct ( Context cx, Scriptable scope, object args ) : Scriptable
ExecIdCall ( IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
GetClassName ( ) : string
GetTypeOf ( ) : string

Gets the value to be returned by the typeof operator called on this object.

Gets the value to be returned by the typeof operator called on this object.

Init ( Context cx, Scriptable scope, bool @sealed ) : void
ToString ( ) : string

Protected Methods

Method Description
FindInstanceIdInfo ( string s ) : int
FindPrototypeId ( string s ) : int
GetInstanceIdName ( int id ) : string
GetInstanceIdValue ( int id ) : object
GetMaxInstanceId ( ) : int
InitPrototypeId ( int id ) : void
SetInstanceIdValue ( int id, object value ) : void

Private Methods

Method Description
AddCharacterRangeToCharSet ( RECharSet cs, char c1, char c2 ) : void
AddCharacterToCharSet ( RECharSet cs, char c ) : void
AddIndex ( byte array, int pc, int index ) : int
BackrefMatcher ( REGlobalData gData, int parenIndex, string input, int end ) : bool
CalculateBitmapSize ( CompilerState state, RENode target, char src, int index, int end ) : bool
ClassMatcher ( REGlobalData gData, RECharSet charSet, char ch ) : bool
Compile ( Context cx, Scriptable scope, object args ) : Scriptable
CompileRE ( Context cx, string str, string global, bool flat ) : RECompiled
DoFlat ( CompilerState state, char c ) : void
Downcase ( char ch ) : char
EmitREBytecode ( CompilerState state, RECompiled re, int pc, RENode t ) : int
EscapeRegExp ( object src ) : string
ExecSub ( Context cx, Scriptable scopeObj, object args, int matchType ) : object
ExecuteREBytecode ( REGlobalData gData, string input, int end ) : bool
ExecuteRegExp ( Context cx, Scriptable scope, RegExpImpl res, string str, int indexp, int matchType ) : object
FlatNIMatcher ( REGlobalData gData, int matchChars, int length, string input, int end ) : bool
FlatNMatcher ( REGlobalData gData, int matchChars, int length, string input, int end ) : bool
GetDecimalValue ( char c, CompilerState state, int maxValue, string overflowMessageId ) : int
GetFlags ( ) : int
GetImpl ( Context cx ) : RegExpImpl
GetIndex ( byte array, int pc ) : int
GetOffset ( byte array, int pc ) : int
IsControlLetter ( char c ) : bool
IsDigit ( char c ) : bool
IsLineTerm ( char c ) : bool
IsREWhiteSpace ( int c ) : bool
IsWord ( char c ) : bool
MatchRegExp ( REGlobalData gData, RECompiled re, string input, int start, int end, bool multiline ) : bool
NativeRegExp ( ) : System
NativeRegExp ( Scriptable scope, RECompiled regexpCompiled ) : System
ParseAlternative ( CompilerState state ) : bool
ParseDisjunction ( CompilerState state ) : bool
ParseTerm ( CompilerState state ) : bool
PopProgState ( REGlobalData gData ) : REProgState
ProcessCharSet ( REGlobalData gData, RECharSet charSet ) : void
ProcessCharSetImpl ( REGlobalData gData, RECharSet charSet ) : void
PushBackTrackState ( REGlobalData gData, byte op, int pc ) : void
PushBackTrackState ( REGlobalData gData, byte op, int pc, int cp, int continuationOp, int continuationPc ) : void
PushProgState ( REGlobalData gData, int min, int max, int cp, REBackTrackData backTrackLastToSave, int continuationOp, int continuationPc ) : void
RealThis ( Scriptable thisObj, IdFunctionObject f ) : NativeRegExp
ReopIsSimple ( int op ) : bool
ReportError ( string messageId, string arg ) : void
ReportWarning ( Context cx, string messageId, string arg ) : void
ResolveForwardJump ( byte array, int from, int pc ) : void
SimpleMatch ( REGlobalData gData, string input, int op, byte program, int pc, int end, bool updatecp ) : int
ToASCIIHexDigit ( int c ) : int
Upcase ( char ch ) : char

Method Details

Call() public method

public Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
cx Rhino.Context
scope Scriptable
thisObj Scriptable
args object
return object

Construct() public method

public Construct ( Context cx, Scriptable scope, object args ) : Scriptable
cx Rhino.Context
scope Scriptable
args object
return Scriptable

ExecIdCall() public method

public ExecIdCall ( IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
f Rhino.IdFunctionObject
cx Rhino.Context
scope Scriptable
thisObj Scriptable
args object
return object

FindInstanceIdInfo() protected method

protected FindInstanceIdInfo ( string s ) : int
s string
return int

FindPrototypeId() protected method

protected FindPrototypeId ( string s ) : int
s string
return int

GetClassName() public method

public GetClassName ( ) : string
return string

GetInstanceIdName() protected method

protected GetInstanceIdName ( int id ) : string
id int
return string

GetInstanceIdValue() protected method

protected GetInstanceIdValue ( int id ) : object
id int
return object

GetMaxInstanceId() protected method

protected GetMaxInstanceId ( ) : int
return int

GetTypeOf() public method

Gets the value to be returned by the typeof operator called on this object.
Gets the value to be returned by the typeof operator called on this object.
public GetTypeOf ( ) : string
return string

Init() public static method

public static Init ( Context cx, Scriptable scope, bool @sealed ) : void
cx Rhino.Context
scope Scriptable
@sealed bool
return void

InitPrototypeId() protected method

protected InitPrototypeId ( int id ) : void
id int
return void

SetInstanceIdValue() protected method

protected SetInstanceIdValue ( int id, object value ) : void
id int
value object
return void

ToString() public method

public ToString ( ) : string
return string