Class JSGlobal
java.lang.Object
com.oracle.truffle.js.runtime.builtins.JSClass
com.oracle.truffle.js.runtime.builtins.JSNonProxy
com.oracle.truffle.js.runtime.builtins.JSGlobal
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.oracle.truffle.api.strings.TruffleStringstatic final com.oracle.truffle.api.strings.TruffleStringstatic final JSGlobalFields inherited from class JSNonProxy
GET_SYMBOL_SPECIES_NAME -
Method Summary
Modifier and TypeMethodDescriptionstatic JSObjectcreate(JSRealm realm, JSDynamicObject objectPrototype) static JSObjectcreateGlobalScope(JSContext context) static booleanstatic booleanisJSGlobalObject(Object obj) static com.oracle.truffle.api.object.ShapemakeGlobalObjectShape(JSContext context, JSDynamicObject objectPrototype) booleansetPrototypeOf(JSDynamicObject thisObj, JSDynamicObject newPrototype) 9.1.2 [[SetPrototypeOf]] (V).Methods inherited from class JSNonProxy
checkProtoCycle, createSymbolSpeciesGetterFunction, defineOwnProperty, delete, delete, deletePropertyDefault, getHelper, getHelper, getMethodHelper, getOwnHelper, getOwnHelper, getOwnProperty, getOwnPropertyKeys, getPrototypeOf, hasOnlyShapeProperties, hasOwnProperty, hasOwnProperty, hasProperty, hasProperty, invokeAccessorPropertySetter, isExtensible, ordinaryGetOwnProperty, ordinaryGetOwnPropertyIntl, ordinaryIsExtensible, ordinaryOwnPropertyKeys, ordinaryOwnPropertyKeys, ordinaryOwnPropertyKeysSlow, ordinaryPreventExtensions, ordinarySet, ordinarySetIndex, ordinarySetWithReceiver, performOrdinarySetWithOwnDescriptor, preventExtensions, putConstructorSpeciesGetter, set, set, setIntegrityLevelFast, setPropertySlow, testIntegrityLevelFast, usesOrdinaryGetOwnProperty, usesOrdinaryIsExtensibleMethods inherited from class JSClass
filterOwnPropertyKeys, get, get, getIntrinsicDefaultProto, isInstance, isInstance, isInstance, isInstance, makeInitialShape, ownPropertyKeys, toString
-
Field Details
-
CLASS_NAME
public static final com.oracle.truffle.api.strings.TruffleString CLASS_NAME -
EVAL_NAME
public static final com.oracle.truffle.api.strings.TruffleString EVAL_NAME -
INSTANCE
-
-
Method Details
-
create
-
makeGlobalObjectShape
public static com.oracle.truffle.api.object.Shape makeGlobalObjectShape(JSContext context, JSDynamicObject objectPrototype) -
createGlobalScope
-
isJSGlobalObject
-
isJSGlobalObject
-
setPrototypeOf
Description copied from class:JSClass9.1.2 [[SetPrototypeOf]] (V).- Overrides:
setPrototypeOfin classJSNonProxy
-