C# Класс Jurassic.Library.RegExpConstructor

Represents the built-in javascript RegExp object.
Наследование: ClrStubFunction
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddDeprecatedProperties void
AddDeprecatedProperty void
Call RegExpInstance
Construct RegExpInstance
GetDeclarativeProperties List
GetGroup1Adapter object
GetGroup2Adapter object
GetGroup3Adapter object
GetGroup4Adapter object
GetGroup5Adapter object
GetGroup6Adapter object
GetGroup7Adapter object
GetGroup8Adapter object
GetGroup9Adapter object
GetInputAdapter object
GetLastMatchAdapter object
GetLastParenAdapter object
GetLeftContextAdapter object
GetRightContextAdapter object
RegExpConstructor System
SetDeprecatedProperties void
__GETTER__Species object
__STUB__Call object
__STUB__Construct ObjectInstance

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

Метод Описание
GetGroup1 ( ) : string

Gets the value of RegExp.$1.

GetGroup2 ( ) : string

Gets the value of RegExp.$2.

GetGroup3 ( ) : string

Gets the value of RegExp.$3.

GetGroup4 ( ) : string

Gets the value of RegExp.$4.

GetGroup5 ( ) : string

Gets the value of RegExp.$5.

GetGroup6 ( ) : string

Gets the value of RegExp.$6.

GetGroup7 ( ) : string

Gets the value of RegExp.$7.

GetGroup8 ( ) : string

Gets the value of RegExp.$8.

GetGroup9 ( ) : string

Gets the value of RegExp.$9.

GetInput ( ) : string

Gets the value of RegExp.input and RegExp.$_.

GetLastMatch ( ) : string

Gets the value of RegExp.lastMatch and RegExp.$&.

GetLastParen ( ) : string

Gets the value of RegExp.lastParen and RegExp.$+.

GetLeftContext ( ) : string

Gets the value of RegExp.leftContext and RegExp.$`.

GetRightContext ( ) : string

Gets the value of RegExp.rightContext and RegExp.$'.

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

Метод Описание
AddDeprecatedProperties ( List properties ) : void

Adds the deprecated RegExp properties to the given list.

AddDeprecatedProperty ( List properties, string propertyName, Func getter, PropertyAttributes attributes ) : void

Initializes a single deprecated property.

Call ( object patternOrRegExp, string flags = null ) : RegExpInstance
Construct ( object patternOrRegExp, string flags = null ) : RegExpInstance
GetDeclarativeProperties ( ScriptEngine engine ) : List
GetGroup1Adapter ( ScriptEngine engine, object thisObj, object args ) : object

Adapter for GetGroup1().

GetGroup2Adapter ( ScriptEngine engine, object thisObj, object args ) : object

Adapter for GetGroup2().

GetGroup3Adapter ( ScriptEngine engine, object thisObj, object args ) : object

Adapter for GetGroup3().

GetGroup4Adapter ( ScriptEngine engine, object thisObj, object args ) : object

Adapter for GetGroup4().

GetGroup5Adapter ( ScriptEngine engine, object thisObj, object args ) : object

Adapter for GetGroup5().

GetGroup6Adapter ( ScriptEngine engine, object thisObj, object args ) : object

Adapter for GetGroup6().

GetGroup7Adapter ( ScriptEngine engine, object thisObj, object args ) : object

Adapter for GetGroup7().

GetGroup8Adapter ( ScriptEngine engine, object thisObj, object args ) : object

Adapter for GetGroup8().

GetGroup9Adapter ( ScriptEngine engine, object thisObj, object args ) : object

Adapter for GetGroup9().

GetInputAdapter ( ScriptEngine engine, object thisObj, object args ) : object

Adapter for GetInput().

GetLastMatchAdapter ( ScriptEngine engine, object thisObj, object args ) : object

Adapter for GetLastMatch().

GetLastParenAdapter ( ScriptEngine engine, object thisObj, object args ) : object

Adapter for GetLastParen().

GetLeftContextAdapter ( ScriptEngine engine, object thisObj, object args ) : object

Adapter for GetLeftContext().

GetRightContextAdapter ( ScriptEngine engine, object thisObj, object args ) : object

Adapter for GetRightContext().

RegExpConstructor ( ObjectInstance prototype ) : System

Creates a new RegExp object.

SetDeprecatedProperties ( string input, System match ) : void

Sets the deprecated RegExp properties.

__GETTER__Species ( ScriptEngine engine, object thisObj, object args ) : object
__STUB__Call ( ScriptEngine engine, object thisObj, object args ) : object
__STUB__Construct ( ScriptEngine engine, object thisObj, object args ) : ObjectInstance

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

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

Gets the value of RegExp.$1.
public GetGroup1 ( ) : string
Результат string

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

Gets the value of RegExp.$2.
public GetGroup2 ( ) : string
Результат string

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

Gets the value of RegExp.$3.
public GetGroup3 ( ) : string
Результат string

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

Gets the value of RegExp.$4.
public GetGroup4 ( ) : string
Результат string

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

Gets the value of RegExp.$5.
public GetGroup5 ( ) : string
Результат string

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

Gets the value of RegExp.$6.
public GetGroup6 ( ) : string
Результат string

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

Gets the value of RegExp.$7.
public GetGroup7 ( ) : string
Результат string

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

Gets the value of RegExp.$8.
public GetGroup8 ( ) : string
Результат string

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

Gets the value of RegExp.$9.
public GetGroup9 ( ) : string
Результат string

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

Gets the value of RegExp.input and RegExp.$_.
public GetInput ( ) : string
Результат string

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

Gets the value of RegExp.lastMatch and RegExp.$&.
public GetLastMatch ( ) : string
Результат string

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

Gets the value of RegExp.lastParen and RegExp.$+.
public GetLastParen ( ) : string
Результат string

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

Gets the value of RegExp.leftContext and RegExp.$`.
public GetLeftContext ( ) : string
Результат string

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

Gets the value of RegExp.rightContext and RegExp.$'.
public GetRightContext ( ) : string
Результат string