C# Class Jurassic.Library.WeakMapInstance

The WeakMap object is a collection of key/value pairs in which the keys are weakly referenced. The keys must be objects and the values can be arbitrary values.
Inheritance: ObjectInstance
Mostra file Open project: paulbartrum/jurassic Class Usage Examples

Public Methods

Method Description
WeakMapInstance ( ObjectInstance prototype ) : System

Creates a new WeakMap instance.

Private Methods

Method Description
CreatePrototype ( ScriptEngine engine, WeakMapConstructor constructor ) : ObjectInstance

Creates the WeakMap prototype object.

Delete ( object key ) : bool
Get ( object key ) : object
GetDeclarativeProperties ( ScriptEngine engine ) : List
Has ( object key ) : bool
Set ( object key, object value ) : WeakMapInstance
__STUB__Delete ( ScriptEngine engine, object thisObj, object args ) : object
__STUB__Get ( ScriptEngine engine, object thisObj, object args ) : object
__STUB__Has ( ScriptEngine engine, object thisObj, object args ) : object
__STUB__Set ( ScriptEngine engine, object thisObj, object args ) : object

Method Details

WeakMapInstance() public method

Creates a new WeakMap instance.
public WeakMapInstance ( ObjectInstance prototype ) : System
prototype ObjectInstance The next object in the prototype chain.
return System