internal Uint16ArrayConstructor( Engine engine, Realm realm, IntrinsicTypedArrayConstructor functionPrototype, IntrinsicTypedArrayPrototype objectPrototype) : base(engine, realm, functionPrototype, objectPrototype, TypedArrayElementType.Uint16) { }
internal TypedArrayPrototype( Engine engine, IntrinsicTypedArrayPrototype objectPrototype, TypedArrayConstructor constructor, TypedArrayElementType type) : base(engine) { _prototype = objectPrototype; _constructor = constructor; _arrayElementType = type; }
internal IntrinsicTypedArrayConstructor( Engine engine, Realm realm, ObjectInstance functionPrototype, ObjectInstance objectPrototype, string functionName) : base(engine, realm, new JsString(functionName)) { _prototype = functionPrototype; PrototypeObject = new IntrinsicTypedArrayPrototype(engine, realm, objectPrototype, this); _length = new PropertyDescriptor(JsNumber.PositiveZero, PropertyFlag.Configurable); _prototypeDescriptor = new PropertyDescriptor(PrototypeObject, PropertyFlag.AllForbidden); }
internal TypedArrayConstructor( Engine engine, Realm realm, IntrinsicTypedArrayConstructor functionPrototype, IntrinsicTypedArrayPrototype objectPrototype, TypedArrayElementType type) : base(engine, realm, new JsString(type.GetTypedArrayName())) { _arrayElementType = type; _prototype = functionPrototype; PrototypeObject = new TypedArrayPrototype(engine, objectPrototype, this, type); _length = new PropertyDescriptor(JsNumber.PositiveThree, PropertyFlag.Configurable); _prototypeDescriptor = new PropertyDescriptor(PrototypeObject, PropertyFlag.AllForbidden); }