EcmaScriptArrayObject

Overview

Class used to store arrays in EcmaScript. This overrides some of the functionality of the plain EcmaScriptObject to make it match the behavior of EcmaScript arrays.

Location

 

constructor (Int32, GlobalObject)

 

constructor(aCapacity: Int32; aRoot: GlobalObject)

 

EcmaScriptArrayObject(Int32 aCapacity, GlobalObject aRoot)

 

Sub New(aCapacity As Int32, aRoot As GlobalObject)

Parameters:

  • aCapacity:
  • aRoot:

constructor (GlobalObject, Object)

 

constructor(aRoot: GlobalObject; aLength: Object)

 

EcmaScriptArrayObject(GlobalObject aRoot, Object aLength)

 

Sub New(aRoot As GlobalObject, aLength As Object)

Parameters:

  • aRoot:
  • aLength:

constructor (GlobalObject)    (declared in EcmaScriptObject)

Instantiates a new instance of this class.

 

constructor(obj: GlobalObject)

 

EcmaScriptArrayObject(GlobalObject obj)

 

Sub New(obj As GlobalObject)

Parameters:

  • obj: the global object it belongs to

constructor (GlobalObject, EcmaScriptObject)    (declared in EcmaScriptObject)

Instantiates a new instance of this class.

 

constructor(obj: GlobalObject; aProto: EcmaScriptObject)

 

EcmaScriptArrayObject(GlobalObject obj, EcmaScriptObject aProto)

 

Sub New(obj As GlobalObject, aProto As EcmaScriptObject)

Parameters:

  • obj: the global object it belongs to
  • aProto: prototype for this object

AddValue (Object)

 

method AddValue(aItem: Object)

 

void AddValue(Object aItem)

 

Sub AddValue(aItem As Object)

Parameters:

  • aItem:

AddValue (String, Object): EcmaScriptObject    (declared in EcmaScriptObject)

Add a new value to this property bag, with the default settings (deletable, modifyable)

 

method AddValue(aValue: String; aData: Object): EcmaScriptObject

 

EcmaScriptObject AddValue(String aValue, Object aData)

 

Function AddValue(aValue As String, aData As Object) As EcmaScriptObject

Parameters:

  • aValue: the name of the value to add
  • aData: the actual value

AddValues (array of String, array of Object): EcmaScriptObject    (declared in EcmaScriptObject)

Adds a list of values to the property bag, aData and aValue have to have the same length.

 

method AddValues(aValue: array of String; aData: array of Object): EcmaScriptObject

 

EcmaScriptObject AddValues(String[] aValue, Object[] aData)

 

Function AddValues(aValue As String(), aData As Object()) As EcmaScriptObject

Parameters:

  • aValue: the names of the values to add
  • aData: the values that belong with the names

AddValues (array of Object): EcmaScriptArrayObject

 

method AddValues(items: array of Object): EcmaScriptArrayObject

 

EcmaScriptArrayObject AddValues(Object[] items)

 

Function AddValues(items As Object()) As EcmaScriptArrayObject

Parameters:

  • items:

Call    (declared in EcmaScriptObject)

Invokes this object as if it's a function. By default this raises an error, however there are descendants that override this and invoke a method.

 

method Call(context: ExecutionContext; params args: array of Object): Object

 

Object Call(ExecutionContext context, params Object[] args)

 

Function Call(context As ExecutionContext, ParamArray args As Object()) As Object

Parameters:

  • context: current execution context
  • args: arguments

CallEx    (declared in EcmaScriptObject)

Invokes this object as if it's a function. By default this raises an error, however there are descendants that override this and invoke a method.

 

method CallEx(context: ExecutionContext; aSelf: Object; params args: array of Object): Object

 

Object CallEx(ExecutionContext context, Object aSelf, params Object[] args)

 

Function CallEx(context As ExecutionContext, aSelf As Object, ParamArray args As Object()) As Object

Parameters:

  • context: current execution context
  • aSelf: "this" pointer
  • args: arguments

CallHelper    (declared in EcmaScriptObject)

Internal helper function for the engine.

 

class method CallHelper(Ref: Object; aSelf: Object; arg: array of Object; ec: ExecutionContext): Object

 

static Object CallHelper(Object Ref, Object aSelf, Object[] arg, ExecutionContext ec)

 

Shared Function CallHelper(Ref As Object, aSelf As Object, arg As Object(), ec As ExecutionContext) As Object

Parameters:

  • Ref:
  • aSelf:
  • arg:
  • ec:

CanPut    (declared in EcmaScriptObject)

 

method CanPut(name: String): Boolean

 

Boolean CanPut(String name)

 

Function CanPut(name As String) As Boolean

Parameters:

  • name:

Class    (declared in EcmaScriptObject)

The name of this object, it's used by the default "toString" implementation to show what kind of type this is.

 

property Class: String read write;

 

String Class { get; set; }

 

Property Class() As String

Construct    (declared in EcmaScriptObject)

Constructs a new instance of this. Used for "new something" expressions in Javascript. By default this raises an error, however there are descendants that override this and invoke a method.

 

method Construct(context: ExecutionContext; params args: array of Object): Object

 

Object Construct(ExecutionContext context, params Object[] args)

 

Function Construct(context As ExecutionContext, ParamArray args As Object()) As Object

Parameters:

  • context: execution context
  • args: arguemnts

Constructor

 

class var Constructor: ConstructorInfo;

 

static ConstructorInfo Constructor

 

Shared FIELD Constructor() As ConstructorInfo

DefineOwnProperty

 

method DefineOwnProperty(aName: String; aValue: PropertyValue; aThrow: Boolean): Boolean

 

Boolean DefineOwnProperty(String aName, PropertyValue aValue, Boolean aThrow)

 

Function DefineOwnProperty(aName As String, aValue As PropertyValue, aThrow As Boolean) As Boolean

Parameters:

  • aName:
  • aValue:
  • aThrow:

Delete    (declared in EcmaScriptObject)

Delete a property, returns true on success.

 

method Delete(aName: String; aThrow: Boolean): Boolean

 

Boolean Delete(String aName, Boolean aThrow)

 

Function Delete(aName As String, aThrow As Boolean) As Boolean

Parameters:

  • aName: name of the property to delete
  • aThrow: If true, raise an exception on failure

Extensible    (declared in EcmaScriptObject)

This property defines if the object is read only or not, if false, it's read only. Defaults to true.

 

property Extensible: Boolean read write;

 

Boolean Extensible { get; set; }

 

Property Extensible() As Boolean

FromPropertyDescriptor    (declared in EcmaScriptObject)

Converts a property value to an descriptor object. The settings of the values are turned into properties in the object.

 

method FromPropertyDescriptor(aProp: PropertyValue): EcmaScriptObject

 

EcmaScriptObject FromPropertyDescriptor(PropertyValue aProp)

 

Function FromPropertyDescriptor(aProp As PropertyValue) As EcmaScriptObject

Parameters:

  • aProp: value to convert

Get    (declared in EcmaScriptObject)

Returns a property by name. If this property is a get/set pair it executes the get method.

 

method Get(aExecutionContext: ExecutionContext; aFlags: Int32; aName: String): Object

 

Object Get(ExecutionContext aExecutionContext, Int32 aFlags, String aName)

 

Function Get(aExecutionContext As ExecutionContext, aFlags As Int32, aName As String) As Object

Parameters:

  • aExecutionContext: current context
  • aFlags: Bitmask for flags; 1 = strict; 2 = used [] access
  • aName: name of the property to get

GetNames    (declared in EcmaScriptObject)

Returns the names in this object. Differs from the Names property in that it allows for changes while iterating.

 

method GetNames: IEnumerator<String>

 

IEnumerator<String> GetNames()

 

Function GetNames() As IEnumerator<String>

GetOwnProperty (String): PropertyValue    (declared in EcmaScriptObject)

 

method GetOwnProperty(name: String): PropertyValue

 

PropertyValue GetOwnProperty(String name)

 

Function GetOwnProperty(name As String) As PropertyValue

Parameters:

  • name:

GetOwnProperty (String, Boolean): PropertyValue    (declared in EcmaScriptObject)

 

method GetOwnProperty(name: String; getPropertyValue: Boolean): PropertyValue

 

PropertyValue GetOwnProperty(String name, Boolean getPropertyValue)

 

Function GetOwnProperty(name As String, getPropertyValue As Boolean) As PropertyValue

Parameters:

  • name:
  • getPropertyValue:

GetProperty    (declared in EcmaScriptObject)

 

method GetProperty(name: String): PropertyValue

 

PropertyValue GetProperty(String name)

 

Function GetProperty(name As String) As PropertyValue

Parameters:

  • name:

HasProperty    (declared in EcmaScriptObject)

Returns true if there is a property by that name.

 

method HasProperty(aName: String): Boolean

 

Boolean HasProperty(String aName)

 

Function HasProperty(aName As String) As Boolean

Parameters:

  • aName: Name of the property to check

IntGetNames    (declared in EcmaScriptObject)

Internal method used by the compiler.

 

method IntGetNames: IEnumerable<String>

 

IEnumerable<String> IntGetNames()

 

Function IntGetNames() As IEnumerable<String>

IsAccessorDescriptor    (declared in EcmaScriptObject)

Returns true if the property passed is an accessor, that is it has a get/set method.

 

method IsAccessorDescriptor(aProp: PropertyValue): Boolean

 

Boolean IsAccessorDescriptor(PropertyValue aProp)

 

Function IsAccessorDescriptor(aProp As PropertyValue) As Boolean

Parameters:

  • aProp: property to check

IsDataDescriptor    (declared in EcmaScriptObject)

Returns true if the property passed is a data property.

 

method IsDataDescriptor(aProp: PropertyValue): Boolean

 

Boolean IsDataDescriptor(PropertyValue aProp)

 

Function IsDataDescriptor(aProp As PropertyValue) As Boolean

Parameters:

  • aProp: Property to check

IsGenericDescriptor    (declared in EcmaScriptObject)

Returns true if the property has no value at all.

 

method IsGenericDescriptor(aProp: PropertyValue): Boolean

 

Boolean IsGenericDescriptor(PropertyValue aProp)

 

Function IsGenericDescriptor(aProp As PropertyValue) As Boolean

Parameters:

  • aProp: Property

Length

 

property Length: UInt32 read;

 

UInt32 Length { get; }

 

ReadOnly Property Length() As UInt32

Method_AddValue

 

class var Method_AddValue: MethodInfo;

 

static MethodInfo Method_AddValue

 

Shared FIELD Method_AddValue() As MethodInfo

Method_Call    (declared in EcmaScriptObject)

 

class var Method_Call: MethodInfo;

 

static MethodInfo Method_Call

 

Shared FIELD Method_Call() As MethodInfo

Method_CallEx    (declared in EcmaScriptObject)

 

class var Method_CallEx: MethodInfo;

 

static MethodInfo Method_CallEx

 

Shared FIELD Method_CallEx() As MethodInfo

Method_CallHelper    (declared in EcmaScriptObject)

 

class var Method_CallHelper: MethodInfo;

 

static MethodInfo Method_CallHelper

 

Shared FIELD Method_CallHelper() As MethodInfo

Method_Construct    (declared in EcmaScriptObject)

 

class var Method_Construct: MethodInfo;

 

static MethodInfo Method_Construct

 

Shared FIELD Method_Construct() As MethodInfo

Method_GetNames    (declared in EcmaScriptObject)

 

class var Method_GetNames: MethodInfo;

 

static MethodInfo Method_GetNames

 

Shared FIELD Method_GetNames() As MethodInfo

Method_ObjectLiteralSet    (declared in EcmaScriptObject)

 

class var Method_ObjectLiteralSet: MethodInfo;

 

static MethodInfo Method_ObjectLiteralSet

 

Shared FIELD Method_ObjectLiteralSet() As MethodInfo

Names    (declared in EcmaScriptObject)

Returns an enumerable that holds all property names in the object.

 

property Names: IEnumerable<String> read;

 

IEnumerable<String> Names { get; }

 

ReadOnly Property Names() As IEnumerable<String>

ObjectLiteralSet    (declared in EcmaScriptObject)

Internal engine function.

 

method ObjectLiteralSet(aName: String; aMode: FunctionDeclarationType; aData: Object; aStrict: Boolean): EcmaScriptObject

 

EcmaScriptObject ObjectLiteralSet(String aName, FunctionDeclarationType aMode, Object aData, Boolean aStrict)

 

Function ObjectLiteralSet(aName As String, aMode As FunctionDeclarationType, aData As Object, aStrict As Boolean) As EcmaScriptObject

Parameters:

  • aName:
  • aMode:
  • aData:
  • aStrict:

Prototype    (declared in EcmaScriptObject)

Defines the prototype of the object. If not set, it's the default "object" prototype (Object.prototype), when setting this manually, make sure it's not circular.

 

property Prototype: EcmaScriptObject read write;

 

EcmaScriptObject Prototype { get; set; }

 

Property Prototype() As EcmaScriptObject

Put    (declared in EcmaScriptObject)

 

method Put(context: ExecutionContext; propertyName: String; propertyValue: Object; flags: Int32): Object

 

Object Put(ExecutionContext context, String propertyName, Object propertyValue, Int32 flags)

 

Function Put(context As ExecutionContext, propertyName As String, propertyValue As Object, flags As Int32) As Object

Parameters:

  • context:
  • propertyName:
  • propertyValue:
  • flags:

Root    (declared in EcmaScriptObject)

Returns the GlobalObject this object belongs to.

 

property Root: GlobalObject read write;

 

GlobalObject Root { get; set; }

 

Property Root() As GlobalObject

ToPropertyDescriptor    (declared in EcmaScriptObject)

Converts a descriptor object back to a PropertyValue.

 

method ToPropertyDescriptor(aProp: EcmaScriptObject): PropertyValue

 

PropertyValue ToPropertyDescriptor(EcmaScriptObject aProp)

 

Function ToPropertyDescriptor(aProp As EcmaScriptObject) As PropertyValue

Parameters:

  • aProp: property to convert

ToString    (declared in EcmaScriptObject)

Returns a string representation of this object.

 

method ToString: String

 

String ToString()

 

Function ToString() As String

TryGetArrayIndex

 

class method TryGetArrayIndex(s: String; out val: UInt32): Boolean

 

static Boolean TryGetArrayIndex(String s, out UInt32 val)

 

Shared Function TryGetArrayIndex(s As String, <OutAttribute> ByRef val As UInt32) As Boolean

Parameters:

  • s:
  • val:

Value    (declared in EcmaScriptObject)

Holds the primitive type this object wraps, generally only used by the Number and String constructor.

 

property Value: Object read write;

 

Object Value { get; set; }

 

Property Value() As Object

Values    (declared in EcmaScriptObject)

Returns the property bag that holds the actual values.

 

property Values: Dictionary<String, PropertyValue> read;

 

Dictionary<String, PropertyValue> Values { get; }

 

ReadOnly Property Values() As Dictionary<String, PropertyValue>

 

Constructor

 

class var Constructor: ConstructorInfo;

 

static ConstructorInfo Constructor

 

Shared FIELD Constructor() As ConstructorInfo

Method_AddValue

 

class var Method_AddValue: MethodInfo;

 

static MethodInfo Method_AddValue

 

Shared FIELD Method_AddValue() As MethodInfo

Method_Call    (declared in EcmaScriptObject)

 

class var Method_Call: MethodInfo;

 

static MethodInfo Method_Call

 

Shared FIELD Method_Call() As MethodInfo

Method_CallEx    (declared in EcmaScriptObject)

 

class var Method_CallEx: MethodInfo;

 

static MethodInfo Method_CallEx

 

Shared FIELD Method_CallEx() As MethodInfo

Method_CallHelper    (declared in EcmaScriptObject)

 

class var Method_CallHelper: MethodInfo;

 

static MethodInfo Method_CallHelper

 

Shared FIELD Method_CallHelper() As MethodInfo

Method_Construct    (declared in EcmaScriptObject)

 

class var Method_Construct: MethodInfo;

 

static MethodInfo Method_Construct

 

Shared FIELD Method_Construct() As MethodInfo

Method_GetNames    (declared in EcmaScriptObject)

 

class var Method_GetNames: MethodInfo;

 

static MethodInfo Method_GetNames

 

Shared FIELD Method_GetNames() As MethodInfo

Method_ObjectLiteralSet    (declared in EcmaScriptObject)

 

class var Method_ObjectLiteralSet: MethodInfo;

 

static MethodInfo Method_ObjectLiteralSet

 

Shared FIELD Method_ObjectLiteralSet() As MethodInfo

 

Class    (declared in EcmaScriptObject)

The name of this object, it's used by the default "toString" implementation to show what kind of type this is.

 

property Class: String read write;

 

String Class { get; set; }

 

Property Class() As String

Extensible    (declared in EcmaScriptObject)

This property defines if the object is read only or not, if false, it's read only. Defaults to true.

 

property Extensible: Boolean read write;

 

Boolean Extensible { get; set; }

 

Property Extensible() As Boolean

Length

 

property Length: UInt32 read;

 

UInt32 Length { get; }

 

ReadOnly Property Length() As UInt32

Names    (declared in EcmaScriptObject)

Returns an enumerable that holds all property names in the object.

 

property Names: IEnumerable<String> read;

 

IEnumerable<String> Names { get; }

 

ReadOnly Property Names() As IEnumerable<String>

Prototype    (declared in EcmaScriptObject)

Defines the prototype of the object. If not set, it's the default "object" prototype (Object.prototype), when setting this manually, make sure it's not circular.

 

property Prototype: EcmaScriptObject read write;

 

EcmaScriptObject Prototype { get; set; }

 

Property Prototype() As EcmaScriptObject

Root    (declared in EcmaScriptObject)

Returns the GlobalObject this object belongs to.

 

property Root: GlobalObject read write;

 

GlobalObject Root { get; set; }

 

Property Root() As GlobalObject

Value    (declared in EcmaScriptObject)

Holds the primitive type this object wraps, generally only used by the Number and String constructor.

 

property Value: Object read write;

 

Object Value { get; set; }

 

Property Value() As Object

Values    (declared in EcmaScriptObject)

Returns the property bag that holds the actual values.

 

property Values: Dictionary<String, PropertyValue> read;

 

Dictionary<String, PropertyValue> Values { get; }

 

ReadOnly Property Values() As Dictionary<String, PropertyValue>

 

CallHelper    (declared in EcmaScriptObject)

Internal helper function for the engine.

 

class method CallHelper(Ref: Object; aSelf: Object; arg: array of Object; ec: ExecutionContext): Object

 

static Object CallHelper(Object Ref, Object aSelf, Object[] arg, ExecutionContext ec)

 

Shared Function CallHelper(Ref As Object, aSelf As Object, arg As Object(), ec As ExecutionContext) As Object

Parameters:

  • Ref:
  • aSelf:
  • arg:
  • ec:

TryGetArrayIndex

 

class method TryGetArrayIndex(s: String; out val: UInt32): Boolean

 

static Boolean TryGetArrayIndex(String s, out UInt32 val)

 

Shared Function TryGetArrayIndex(s As String, <OutAttribute> ByRef val As UInt32) As Boolean

Parameters:

  • s:
  • val:

 

constructor (Int32, GlobalObject)

 

constructor(aCapacity: Int32; aRoot: GlobalObject)

 

EcmaScriptArrayObject(Int32 aCapacity, GlobalObject aRoot)

 

Sub New(aCapacity As Int32, aRoot As GlobalObject)

Parameters:

  • aCapacity:
  • aRoot:

constructor (GlobalObject, Object)

 

constructor(aRoot: GlobalObject; aLength: Object)

 

EcmaScriptArrayObject(GlobalObject aRoot, Object aLength)

 

Sub New(aRoot As GlobalObject, aLength As Object)

Parameters:

  • aRoot:
  • aLength:

constructor (GlobalObject)    (declared in EcmaScriptObject)

Instantiates a new instance of this class.

 

constructor(obj: GlobalObject)

 

EcmaScriptArrayObject(GlobalObject obj)

 

Sub New(obj As GlobalObject)

Parameters:

  • obj: the global object it belongs to

constructor (GlobalObject, EcmaScriptObject)    (declared in EcmaScriptObject)

Instantiates a new instance of this class.

 

constructor(obj: GlobalObject; aProto: EcmaScriptObject)

 

EcmaScriptArrayObject(GlobalObject obj, EcmaScriptObject aProto)

 

Sub New(obj As GlobalObject, aProto As EcmaScriptObject)

Parameters:

  • obj: the global object it belongs to
  • aProto: prototype for this object

AddValue (Object)

 

method AddValue(aItem: Object)

 

void AddValue(Object aItem)

 

Sub AddValue(aItem As Object)

Parameters:

  • aItem:

AddValue (String, Object): EcmaScriptObject    (declared in EcmaScriptObject)

Add a new value to this property bag, with the default settings (deletable, modifyable)

 

method AddValue(aValue: String; aData: Object): EcmaScriptObject

 

EcmaScriptObject AddValue(String aValue, Object aData)

 

Function AddValue(aValue As String, aData As Object) As EcmaScriptObject

Parameters:

  • aValue: the name of the value to add
  • aData: the actual value

AddValues (array of String, array of Object): EcmaScriptObject    (declared in EcmaScriptObject)

Adds a list of values to the property bag, aData and aValue have to have the same length.

 

method AddValues(aValue: array of String; aData: array of Object): EcmaScriptObject

 

EcmaScriptObject AddValues(String[] aValue, Object[] aData)

 

Function AddValues(aValue As String(), aData As Object()) As EcmaScriptObject

Parameters:

  • aValue: the names of the values to add
  • aData: the values that belong with the names

AddValues (array of Object): EcmaScriptArrayObject

 

method AddValues(items: array of Object): EcmaScriptArrayObject

 

EcmaScriptArrayObject AddValues(Object[] items)

 

Function AddValues(items As Object()) As EcmaScriptArrayObject

Parameters:

  • items:

Call    (declared in EcmaScriptObject)

Invokes this object as if it's a function. By default this raises an error, however there are descendants that override this and invoke a method.

 

method Call(context: ExecutionContext; params args: array of Object): Object

 

Object Call(ExecutionContext context, params Object[] args)

 

Function Call(context As ExecutionContext, ParamArray args As Object()) As Object

Parameters:

  • context: current execution context
  • args: arguments

CallEx    (declared in EcmaScriptObject)

Invokes this object as if it's a function. By default this raises an error, however there are descendants that override this and invoke a method.

 

method CallEx(context: ExecutionContext; aSelf: Object; params args: array of Object): Object

 

Object CallEx(ExecutionContext context, Object aSelf, params Object[] args)

 

Function CallEx(context As ExecutionContext, aSelf As Object, ParamArray args As Object()) As Object

Parameters:

  • context: current execution context
  • aSelf: "this" pointer
  • args: arguments

CanPut    (declared in EcmaScriptObject)

 

method CanPut(name: String): Boolean

 

Boolean CanPut(String name)

 

Function CanPut(name As String) As Boolean

Parameters:

  • name:

Construct    (declared in EcmaScriptObject)

Constructs a new instance of this. Used for "new something" expressions in Javascript. By default this raises an error, however there are descendants that override this and invoke a method.

 

method Construct(context: ExecutionContext; params args: array of Object): Object

 

Object Construct(ExecutionContext context, params Object[] args)

 

Function Construct(context As ExecutionContext, ParamArray args As Object()) As Object

Parameters:

  • context: execution context
  • args: arguemnts

DefineOwnProperty

 

method DefineOwnProperty(aName: String; aValue: PropertyValue; aThrow: Boolean): Boolean

 

Boolean DefineOwnProperty(String aName, PropertyValue aValue, Boolean aThrow)

 

Function DefineOwnProperty(aName As String, aValue As PropertyValue, aThrow As Boolean) As Boolean

Parameters:

  • aName:
  • aValue:
  • aThrow:

Delete    (declared in EcmaScriptObject)

Delete a property, returns true on success.

 

method Delete(aName: String; aThrow: Boolean): Boolean

 

Boolean Delete(String aName, Boolean aThrow)

 

Function Delete(aName As String, aThrow As Boolean) As Boolean

Parameters:

  • aName: name of the property to delete
  • aThrow: If true, raise an exception on failure

FromPropertyDescriptor    (declared in EcmaScriptObject)

Converts a property value to an descriptor object. The settings of the values are turned into properties in the object.

 

method FromPropertyDescriptor(aProp: PropertyValue): EcmaScriptObject

 

EcmaScriptObject FromPropertyDescriptor(PropertyValue aProp)

 

Function FromPropertyDescriptor(aProp As PropertyValue) As EcmaScriptObject

Parameters:

  • aProp: value to convert

Get    (declared in EcmaScriptObject)

Returns a property by name. If this property is a get/set pair it executes the get method.

 

method Get(aExecutionContext: ExecutionContext; aFlags: Int32; aName: String): Object

 

Object Get(ExecutionContext aExecutionContext, Int32 aFlags, String aName)

 

Function Get(aExecutionContext As ExecutionContext, aFlags As Int32, aName As String) As Object

Parameters:

  • aExecutionContext: current context
  • aFlags: Bitmask for flags; 1 = strict; 2 = used [] access
  • aName: name of the property to get

GetNames    (declared in EcmaScriptObject)

Returns the names in this object. Differs from the Names property in that it allows for changes while iterating.

 

method GetNames: IEnumerator<String>

 

IEnumerator<String> GetNames()

 

Function GetNames() As IEnumerator<String>

GetOwnProperty (String): PropertyValue    (declared in EcmaScriptObject)

 

method GetOwnProperty(name: String): PropertyValue

 

PropertyValue GetOwnProperty(String name)

 

Function GetOwnProperty(name As String) As PropertyValue

Parameters:

  • name:

GetOwnProperty (String, Boolean): PropertyValue    (declared in EcmaScriptObject)

 

method GetOwnProperty(name: String; getPropertyValue: Boolean): PropertyValue

 

PropertyValue GetOwnProperty(String name, Boolean getPropertyValue)

 

Function GetOwnProperty(name As String, getPropertyValue As Boolean) As PropertyValue

Parameters:

  • name:
  • getPropertyValue:

GetProperty    (declared in EcmaScriptObject)

 

method GetProperty(name: String): PropertyValue

 

PropertyValue GetProperty(String name)

 

Function GetProperty(name As String) As PropertyValue

Parameters:

  • name:

HasProperty    (declared in EcmaScriptObject)

Returns true if there is a property by that name.

 

method HasProperty(aName: String): Boolean

 

Boolean HasProperty(String aName)

 

Function HasProperty(aName As String) As Boolean

Parameters:

  • aName: Name of the property to check

IntGetNames    (declared in EcmaScriptObject)

Internal method used by the compiler.

 

method IntGetNames: IEnumerable<String>

 

IEnumerable<String> IntGetNames()

 

Function IntGetNames() As IEnumerable<String>

IsAccessorDescriptor    (declared in EcmaScriptObject)

Returns true if the property passed is an accessor, that is it has a get/set method.

 

method IsAccessorDescriptor(aProp: PropertyValue): Boolean

 

Boolean IsAccessorDescriptor(PropertyValue aProp)

 

Function IsAccessorDescriptor(aProp As PropertyValue) As Boolean

Parameters:

  • aProp: property to check

IsDataDescriptor    (declared in EcmaScriptObject)

Returns true if the property passed is a data property.

 

method IsDataDescriptor(aProp: PropertyValue): Boolean

 

Boolean IsDataDescriptor(PropertyValue aProp)

 

Function IsDataDescriptor(aProp As PropertyValue) As Boolean

Parameters:

  • aProp: Property to check

IsGenericDescriptor    (declared in EcmaScriptObject)

Returns true if the property has no value at all.

 

method IsGenericDescriptor(aProp: PropertyValue): Boolean

 

Boolean IsGenericDescriptor(PropertyValue aProp)

 

Function IsGenericDescriptor(aProp As PropertyValue) As Boolean

Parameters:

  • aProp: Property

ObjectLiteralSet    (declared in EcmaScriptObject)

Internal engine function.

 

method ObjectLiteralSet(aName: String; aMode: FunctionDeclarationType; aData: Object; aStrict: Boolean): EcmaScriptObject

 

EcmaScriptObject ObjectLiteralSet(String aName, FunctionDeclarationType aMode, Object aData, Boolean aStrict)

 

Function ObjectLiteralSet(aName As String, aMode As FunctionDeclarationType, aData As Object, aStrict As Boolean) As EcmaScriptObject

Parameters:

  • aName:
  • aMode:
  • aData:
  • aStrict:

Put    (declared in EcmaScriptObject)

 

method Put(context: ExecutionContext; propertyName: String; propertyValue: Object; flags: Int32): Object

 

Object Put(ExecutionContext context, String propertyName, Object propertyValue, Int32 flags)

 

Function Put(context As ExecutionContext, propertyName As String, propertyValue As Object, flags As Int32) As Object

Parameters:

  • context:
  • propertyName:
  • propertyValue:
  • flags:

ToPropertyDescriptor    (declared in EcmaScriptObject)

Converts a descriptor object back to a PropertyValue.

 

method ToPropertyDescriptor(aProp: EcmaScriptObject): PropertyValue

 

PropertyValue ToPropertyDescriptor(EcmaScriptObject aProp)

 

Function ToPropertyDescriptor(aProp As EcmaScriptObject) As PropertyValue

Parameters:

  • aProp: property to convert

ToString    (declared in EcmaScriptObject)

Returns a string representation of this object.

 

method ToString: String

 

String ToString()

 

Function ToString() As String