public final class JSDataView extends JSNonProxy implements JSConstructorFactory.Default, PrototypeSupplier
usesOrdinaryGetOwnProperty
JSConstructorFactory.Default.WithSpecies
JSConstructorFactory.Default, JSConstructorFactory.WithFunctions, JSConstructorFactory.WithFunctionsAndSpecies
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME |
static JSDataView |
INSTANCE |
static String |
PROTOTYPE_NAME |
EMPTY_STRING_ARRAY
Modifier and Type | Method and Description |
---|---|
static JSConstructor |
createConstructor(JSRealm realm) |
static com.oracle.truffle.api.object.DynamicObject |
createDataView(JSContext context,
com.oracle.truffle.api.object.DynamicObject arrayBuffer,
int offset,
int length) |
com.oracle.truffle.api.object.DynamicObject |
createPrototype(JSRealm realm,
com.oracle.truffle.api.object.DynamicObject ctor) |
static com.oracle.truffle.api.object.DynamicObject |
getArrayBuffer(com.oracle.truffle.api.object.DynamicObject thisObj) |
String |
getClassName() |
String |
getClassName(com.oracle.truffle.api.object.DynamicObject object)
The [[Class]] internal property.
|
com.oracle.truffle.api.object.DynamicObject |
getIntrinsicDefaultProto(JSRealm realm) |
static boolean |
isJSDataView(Object obj) |
com.oracle.truffle.api.object.Shape |
makeInitialShape(JSContext ctx,
com.oracle.truffle.api.object.DynamicObject prototype) |
static int |
typedArrayGetLength(com.oracle.truffle.api.object.DynamicObject thisObj) |
static int |
typedArrayGetLengthChecked(com.oracle.truffle.api.object.DynamicObject thisObj) |
static int |
typedArrayGetOffset(com.oracle.truffle.api.object.DynamicObject thisObj) |
static int |
typedArrayGetOffsetChecked(com.oracle.truffle.api.object.DynamicObject thisObj) |
checkProtoCycle, createSymbolSpeciesGetterFunction, defineOwnProperty, delete, delete, deletePropertyDefault, getBuiltinToStringTag, getHelper, getHelper, getMethodHelper, getOwnHelper, getOwnHelper, getOwnProperty, getOwnPropertyKeys, getPrototypeOf, hasOnlyShapeProperties, hasOwnProperty, hasOwnProperty, hasProperty, hasProperty, invokeAccessorPropertySetter, isExtensible, ordinaryGetOwnProperty, ordinaryGetOwnPropertyIntl, ordinaryOwnPropertyKeys, ordinaryOwnPropertyKeys, ordinaryOwnPropertyKeysSlow, ordinarySet, ordinarySetIndex, ordinarySetWithReceiver, performOrdinarySetWithOwnDescriptor, preventExtensions, preventExtensionsImpl, putConstructorSpeciesGetter, set, set, setIntegrityLevel, setIntegrityLevelFast, setPropertySlow, setPrototypeOf, testIntegrityLevel, testIntegrityLevelFast, toDisplayStringImpl, toString, usesOrdinaryGetOwnProperty, usesOrdinaryIsExtensible
defaultToString, filterOwnPropertyKeys, formatToString, get, get, getToStringTag, isInstance, isInstance, isInstance, isInstance, ownPropertyKeys, testIntegrityLevelDefault
dispatch, equals, hashCode, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createConstructorAndPrototype
createConstructorObject, fillConstructor
public static final String CLASS_NAME
public static final String PROTOTYPE_NAME
public static final JSDataView INSTANCE
public static int typedArrayGetLength(com.oracle.truffle.api.object.DynamicObject thisObj)
public static int typedArrayGetOffset(com.oracle.truffle.api.object.DynamicObject thisObj)
public static com.oracle.truffle.api.object.DynamicObject getArrayBuffer(com.oracle.truffle.api.object.DynamicObject thisObj)
public static com.oracle.truffle.api.object.DynamicObject createDataView(JSContext context, com.oracle.truffle.api.object.DynamicObject arrayBuffer, int offset, int length)
public com.oracle.truffle.api.object.DynamicObject createPrototype(JSRealm realm, com.oracle.truffle.api.object.DynamicObject ctor)
createPrototype
in interface JSConstructorFactory
public static int typedArrayGetLengthChecked(com.oracle.truffle.api.object.DynamicObject thisObj)
public static int typedArrayGetOffsetChecked(com.oracle.truffle.api.object.DynamicObject thisObj)
public com.oracle.truffle.api.object.Shape makeInitialShape(JSContext ctx, com.oracle.truffle.api.object.DynamicObject prototype)
makeInitialShape
in class JSClass
public static JSConstructor createConstructor(JSRealm realm)
public String getClassName()
getClassName
in interface JSConstructorFactory
public String getClassName(com.oracle.truffle.api.object.DynamicObject object)
JSClass
getClassName
in class JSClass
object
- object to be usedpublic static boolean isJSDataView(Object obj)
public com.oracle.truffle.api.object.DynamicObject getIntrinsicDefaultProto(JSRealm realm)
getIntrinsicDefaultProto
in interface PrototypeSupplier