C# Class Jurassic.Library.RegExpConstructor

Represents the built-in javascript RegExp object.
Inheritance: ClrStubFunction
Mostra file Open project: paulbartrum/jurassic Class Usage Examples

Private Properties

Property Type Description
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

Public Methods

Method Description
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.$'.

Private Methods

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

Method Details

GetGroup1() public method

Gets the value of RegExp.$1.
public GetGroup1 ( ) : string
return string

GetGroup2() public method

Gets the value of RegExp.$2.
public GetGroup2 ( ) : string
return string

GetGroup3() public method

Gets the value of RegExp.$3.
public GetGroup3 ( ) : string
return string

GetGroup4() public method

Gets the value of RegExp.$4.
public GetGroup4 ( ) : string
return string

GetGroup5() public method

Gets the value of RegExp.$5.
public GetGroup5 ( ) : string
return string

GetGroup6() public method

Gets the value of RegExp.$6.
public GetGroup6 ( ) : string
return string

GetGroup7() public method

Gets the value of RegExp.$7.
public GetGroup7 ( ) : string
return string

GetGroup8() public method

Gets the value of RegExp.$8.
public GetGroup8 ( ) : string
return string

GetGroup9() public method

Gets the value of RegExp.$9.
public GetGroup9 ( ) : string
return string

GetInput() public method

Gets the value of RegExp.input and RegExp.$_.
public GetInput ( ) : string
return string

GetLastMatch() public method

Gets the value of RegExp.lastMatch and RegExp.$&.
public GetLastMatch ( ) : string
return string

GetLastParen() public method

Gets the value of RegExp.lastParen and RegExp.$+.
public GetLastParen ( ) : string
return string

GetLeftContext() public method

Gets the value of RegExp.leftContext and RegExp.$`.
public GetLeftContext ( ) : string
return string

GetRightContext() public method

Gets the value of RegExp.rightContext and RegExp.$'.
public GetRightContext ( ) : string
return string