C# Class Jurassic.Library.ArgumentsInstance

Represents an arguments object.
Inheritance: ObjectInstance
Mostra file Open project: paulbartrum/jurassic

Public Methods

Method Description
ArgumentsInstance ( ObjectInstance prototype, Jurassic.Library.UserDefinedFunction callee, DeclarativeScope scope, object argumentValues ) : System

Creates a new Arguments instance.

Delete ( uint index, bool throwOnError ) : bool

Deletes the property with the given array index.

Private Methods

Method Description
ArgumentGetter ( ScriptEngine engine, Compiler scope, object thisObject, Library functionObject, object argumentValues ) : object

Used to retrieve the value of an argument.

ArgumentSetter ( ScriptEngine engine, Compiler scope, object thisObject, Library functionObject, object argumentValues ) : object

Used to set the value of an argument.

Method Details

ArgumentsInstance() public method

Creates a new Arguments instance.
public ArgumentsInstance ( ObjectInstance prototype, Jurassic.Library.UserDefinedFunction callee, DeclarativeScope scope, object argumentValues ) : System
prototype ObjectInstance The next object in the prototype chain.
callee Jurassic.Library.UserDefinedFunction The function that was called.
scope Jurassic.Compiler.DeclarativeScope The function scope.
argumentValues object The argument values that were passed to the function.
return System

Delete() public method

Deletes the property with the given array index.
public Delete ( uint index, bool throwOnError ) : bool
index uint The array index of the property to delete.
throwOnError bool true to throw an exception if the property could not /// be set because the property was marked as non-configurable.
return bool