Class JSOrdinary
java.lang.Object
com.oracle.truffle.js.runtime.builtins.JSClass
com.oracle.truffle.js.runtime.builtins.JSNonProxy
com.oracle.truffle.js.runtime.builtins.JSOrdinary
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JSOrdinarystatic final com.oracle.truffle.api.strings.TruffleStringstatic final JSOrdinarystatic final JSOrdinarystatic final JSOrdinarystatic final com.oracle.truffle.api.strings.TruffleStringstatic final CompilableBiFunction<JSContext, JSDynamicObject, com.oracle.truffle.api.object.Shape> static final com.oracle.truffle.api.strings.TruffleStringFields inherited from class com.oracle.truffle.js.runtime.builtins.JSNonProxy
GET_SYMBOL_SPECIES_NAME -
Method Summary
Modifier and TypeMethodDescriptionstatic JSObjectcreate(JSObjectFactory factory, JSRealm realm, JSDynamicObject proto) static JSObjectcreate(JSContext context, com.oracle.truffle.api.object.Shape shape, JSDynamicObject proto) static JSObjectcreate(JSContext context, JSObjectFactory factory, JSRealm realm) static JSObjectstatic JSObjectcreate(JSContext context, JSRealm realm, JSDynamicObject proto) static JSObjectcreateInit(JSRealm realm) static JSObjectcreateInit(JSRealm realm, JSDynamicObject prototype) static JSObjectcreateInitWithInstancePrototype(JSDynamicObject prototype, JSContext context) static JSObjectcreateWithNullPrototype(JSContext context) static JSObjectcreateWithNullPrototypeInit(JSContext context) static JSObjectcreateWithoutPrototype(JSContext context, JSDynamicObject proto) static JSObjectcreateWithPrototype(JSDynamicObject prototype, JSContext context) static JSObjectcreateWithPrototype(JSDynamicObject prototype, JSContext context, JSOrdinary instanceLayout) static JSObjectcreateWithRealm(JSContext context, JSObjectFactory factory, JSRealm realm) get(JSDynamicObject thisObj, long index) getIntrinsicDefaultProto(JSRealm realm) Allows invokevirtual of this method instead of invokeinterface.booleanstatic booleanstatic booleanisJSOrdinaryObject(Object obj) com.oracle.truffle.api.object.ShapemakeInitialShape(JSContext context, JSDynamicObject prototype) Methods inherited from class com.oracle.truffle.js.runtime.builtins.JSNonProxy
checkProtoCycle, createSymbolSpeciesGetterFunction, defineOwnProperty, delete, delete, deletePropertyDefault, getHelper, getHelper, getMethodHelper, getOwnHelper, getOwnHelper, getOwnProperty, getOwnPropertyKeys, getPrototypeOf, hasOwnProperty, hasOwnProperty, hasProperty, hasProperty, invokeAccessorPropertySetter, isExtensible, ordinaryGetOwnProperty, ordinaryGetOwnPropertyIntl, ordinaryIsExtensible, ordinaryOwnPropertyKeys, ordinaryOwnPropertyKeys, ordinaryOwnPropertyKeysSlow, ordinaryPreventExtensions, ordinarySet, ordinarySetIndex, ordinarySetWithReceiver, performOrdinarySetWithOwnDescriptor, preventExtensions, putConstructorSpeciesGetter, set, set, setIntegrityLevelFast, setPropertySlow, setPrototypeOf, testIntegrityLevelFast, usesOrdinaryGetOwnProperty, usesOrdinaryIsExtensibleMethods inherited from class com.oracle.truffle.js.runtime.builtins.JSClass
filterOwnPropertyKeys, get, isInstance, isInstance, isInstance, isInstance, ownPropertyKeys, toString
-
Field Details
-
TYPE_NAME
public static final com.oracle.truffle.api.strings.TruffleString TYPE_NAME -
CLASS_NAME
public static final com.oracle.truffle.api.strings.TruffleString CLASS_NAME -
PROTOTYPE_NAME
public static final com.oracle.truffle.api.strings.TruffleString PROTOTYPE_NAME -
INSTANCE
-
SHAPE_SUPPLIER
public static final CompilableBiFunction<JSContext,JSDynamicObject, SHAPE_SUPPLIERcom.oracle.truffle.api.object.Shape> -
BARE_INSTANCE
-
INTERNAL_FIELD_INSTANCE
-
OVERLOADED_OPERATORS_INSTANCE
-
-
Method Details
-
create
-
createWithRealm
-
create
-
create
-
create
-
createWithPrototype
-
createWithNullPrototype
-
createWithPrototype
public static JSObject createWithPrototype(JSDynamicObject prototype, JSContext context, JSOrdinary instanceLayout) -
createInitWithInstancePrototype
public static JSObject createInitWithInstancePrototype(JSDynamicObject prototype, JSContext context) -
createWithoutPrototype
-
create
public static JSObject create(JSContext context, com.oracle.truffle.api.object.Shape shape, JSDynamicObject proto) -
createInit
-
createInit
-
createWithNullPrototypeInit
-
isJSOrdinaryObject
-
isJSOrdinaryObject
-
get
-
hasOnlyShapeProperties
Description copied from class:JSClassIf true,JSClass.ownPropertyKeys(com.oracle.truffle.js.runtime.objects.JSDynamicObject)andJSShape.getPropertyKeyList(com.oracle.truffle.api.object.Shape, boolean, boolean)enumerate the same keys.- Overrides:
hasOnlyShapePropertiesin classJSNonProxy
-
makeInitialShape
public com.oracle.truffle.api.object.Shape makeInitialShape(JSContext context, JSDynamicObject prototype) - Overrides:
makeInitialShapein classJSClass
-
getIntrinsicDefaultProto
Description copied from class:JSClassAllows invokevirtual of this method instead of invokeinterface. Classes overriding this method should implementPrototypeSupplier.- Specified by:
getIntrinsicDefaultProtoin interfacePrototypeSupplier- Overrides:
getIntrinsicDefaultProtoin classJSClass- See Also:
-