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

Наследование: Rhino.IdScriptableObject, System.Function
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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

Защищенные методы

Метод Описание
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

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

Метод Описание
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

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

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

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

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

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

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

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
Результат object

FindInstanceIdInfo() защищенный Метод

protected FindInstanceIdInfo ( string s ) : int
s string
Результат int

FindPrototypeId() защищенный Метод

protected FindPrototypeId ( string s ) : int
s string
Результат int

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

public GetClassName ( ) : string
Результат string

GetInstanceIdName() защищенный Метод

protected GetInstanceIdName ( int id ) : string
id int
Результат string

GetInstanceIdValue() защищенный Метод

protected GetInstanceIdValue ( int id ) : object
id int
Результат object

GetMaxInstanceId() защищенный Метод

protected GetMaxInstanceId ( ) : int
Результат int

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

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
Результат string

Init() публичный статический Метод

public static Init ( Context cx, Scriptable scope, bool @sealed ) : void
cx Rhino.Context
scope Scriptable
@sealed bool
Результат void

InitPrototypeId() защищенный Метод

protected InitPrototypeId ( int id ) : void
id int
Результат void

SetInstanceIdValue() защищенный Метод

protected SetInstanceIdValue ( int id, object value ) : void
id int
value object
Результат void

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

public ToString ( ) : string
Результат string