public final class JSOrdinary extends JSNonProxy implements PrototypeSupplier
JSOrdinaryObjectusesOrdinaryGetOwnProperty| Modifier and Type | Field and Description |
|---|---|
static JSOrdinary |
BARE_INSTANCE |
static com.oracle.truffle.api.strings.TruffleString |
CLASS_NAME |
static JSOrdinary |
INSTANCE |
static JSOrdinary |
INTERNAL_FIELD_INSTANCE |
static JSOrdinary |
OVERLOADED_OPERATORS_INSTANCE |
static com.oracle.truffle.api.strings.TruffleString |
PROTOTYPE_NAME |
static CompilableBiFunction<JSContext,JSDynamicObject,com.oracle.truffle.api.object.Shape> |
SHAPE_SUPPLIER |
static com.oracle.truffle.api.strings.TruffleString |
TYPE_NAME |
GET_SYMBOL_SPECIES_NAMEcheckProtoCycle, createSymbolSpeciesGetterFunction, defineOwnProperty, delete, delete, deletePropertyDefault, getBuiltinToStringTag, getHelper, getHelper, getMethodHelper, getOwnHelper, getOwnHelper, getOwnProperty, getOwnPropertyKeys, getPrototypeOf, hasOwnProperty, hasOwnProperty, hasProperty, hasProperty, invokeAccessorPropertySetter, isExtensible, ordinaryGetOwnProperty, ordinaryGetOwnPropertyIntl, ordinaryIsExtensible, ordinaryOwnPropertyKeys, ordinaryOwnPropertyKeys, ordinaryOwnPropertyKeysSlow, ordinarySet, ordinarySetIndex, ordinarySetWithReceiver, performOrdinarySetWithOwnDescriptor, preventExtensions, preventExtensionsImpl, putConstructorSpeciesGetter, set, set, setIntegrityLevel, setIntegrityLevelFast, setPropertySlow, setPrototypeOf, testIntegrityLevel, testIntegrityLevelFast, toString, usesOrdinaryGetOwnProperty, usesOrdinaryIsExtensibledefaultToString, filterOwnPropertyKeys, formatToString, get, getToStringTag, isInstance, isInstance, isInstance, isInstance, ownPropertyKeys, testIntegrityLevelDefaultpublic static final com.oracle.truffle.api.strings.TruffleString TYPE_NAME
public static final com.oracle.truffle.api.strings.TruffleString CLASS_NAME
public static final com.oracle.truffle.api.strings.TruffleString PROTOTYPE_NAME
public static final JSOrdinary INSTANCE
public static final CompilableBiFunction<JSContext,JSDynamicObject,com.oracle.truffle.api.object.Shape> SHAPE_SUPPLIER
public static final JSOrdinary BARE_INSTANCE
public static final JSOrdinary INTERNAL_FIELD_INSTANCE
public static final JSOrdinary OVERLOADED_OPERATORS_INSTANCE
public static JSObject create(JSContext context, JSObjectFactory factory, JSRealm realm)
public static JSObject createWithRealm(JSContext context, JSObjectFactory factory, JSRealm realm)
public static JSObject create(JSContext context, JSRealm realm, JSDynamicObject proto)
public static JSObject create(JSObjectFactory factory, JSRealm realm, JSDynamicObject proto)
public static JSObject createWithPrototype(JSDynamicObject prototype, JSContext context)
public static JSObject createWithPrototype(JSDynamicObject prototype, JSContext context, JSOrdinary instanceLayout)
public static JSObject createInitWithInstancePrototype(JSDynamicObject prototype, JSContext context)
public static JSObject createWithoutPrototype(JSContext context, JSDynamicObject proto)
public static JSObject create(JSContext context, com.oracle.truffle.api.object.Shape shape, JSDynamicObject proto)
public static JSObject createInit(JSRealm realm, JSDynamicObject prototype)
public static boolean isJSOrdinaryObject(Object obj)
public static boolean isJSOrdinaryObject(JSDynamicObject obj)
public com.oracle.truffle.api.strings.TruffleString getClassName(JSDynamicObject object)
JSClassgetClassName in class JSClassobject - object to be usedpublic com.oracle.truffle.api.strings.TruffleString toDisplayStringImpl(JSDynamicObject obj, boolean allowSideEffects, ToDisplayStringFormat format, int depth)
JSClasstoDisplayStringImpl in class JSNonProxyformat - formatting parametersdepth - current nesting depthpublic Object get(JSDynamicObject thisObj, long index)
public boolean hasOnlyShapeProperties(JSDynamicObject obj)
JSClassJSClass.ownPropertyKeys(com.oracle.truffle.js.runtime.objects.JSDynamicObject) and JSShape.getProperties(com.oracle.truffle.api.object.Shape) enumerate the same keys.hasOnlyShapeProperties in class JSNonProxypublic com.oracle.truffle.api.object.Shape makeInitialShape(JSContext context, JSDynamicObject prototype)
makeInitialShape in class JSClasspublic JSDynamicObject getIntrinsicDefaultProto(JSRealm realm)
JSClassPrototypeSupplier.getIntrinsicDefaultProto in interface PrototypeSuppliergetIntrinsicDefaultProto in class JSClassPrototypeSupplier.getIntrinsicDefaultProto(com.oracle.truffle.js.runtime.JSRealm)