public final class JSGlobal extends JSNonProxy
usesOrdinaryGetOwnProperty| Modifier and Type | Field and Description |
|---|---|
static com.oracle.truffle.api.strings.TruffleString |
CLASS_NAME |
static com.oracle.truffle.api.strings.TruffleString |
EVAL_NAME |
static JSGlobal |
INSTANCE |
GET_SYMBOL_SPECIES_NAME| Modifier and Type | Method and Description |
|---|---|
static JSObject |
create(JSRealm realm,
JSDynamicObject objectPrototype) |
static JSObject |
createGlobalScope(JSContext context) |
com.oracle.truffle.api.strings.TruffleString |
getClassName(JSDynamicObject object)
The [[Class]] internal property.
|
static boolean |
isJSGlobalObject(JSDynamicObject obj) |
static boolean |
isJSGlobalObject(Object obj) |
static com.oracle.truffle.api.object.Shape |
makeGlobalObjectShape(JSContext context,
JSDynamicObject objectPrototype) |
boolean |
setPrototypeOf(JSDynamicObject thisObj,
JSDynamicObject newPrototype)
9.1.2 [[SetPrototypeOf]] (V).
|
checkProtoCycle, createSymbolSpeciesGetterFunction, defineOwnProperty, delete, delete, deletePropertyDefault, getBuiltinToStringTag, getHelper, getHelper, getMethodHelper, getOwnHelper, getOwnHelper, getOwnProperty, getOwnPropertyKeys, getPrototypeOf, hasOnlyShapeProperties, hasOwnProperty, hasOwnProperty, hasProperty, hasProperty, invokeAccessorPropertySetter, isExtensible, ordinaryGetOwnProperty, ordinaryGetOwnPropertyIntl, ordinaryIsExtensible, ordinaryOwnPropertyKeys, ordinaryOwnPropertyKeys, ordinaryOwnPropertyKeysSlow, ordinarySet, ordinarySetIndex, ordinarySetWithReceiver, performOrdinarySetWithOwnDescriptor, preventExtensions, preventExtensionsImpl, putConstructorSpeciesGetter, set, set, setIntegrityLevel, setIntegrityLevelFast, setPropertySlow, testIntegrityLevel, testIntegrityLevelFast, toDisplayStringImpl, toString, usesOrdinaryGetOwnProperty, usesOrdinaryIsExtensibledefaultToString, filterOwnPropertyKeys, formatToString, get, get, getIntrinsicDefaultProto, getToStringTag, isInstance, isInstance, isInstance, isInstance, makeInitialShape, ownPropertyKeys, testIntegrityLevelDefaultpublic static final com.oracle.truffle.api.strings.TruffleString CLASS_NAME
public static final com.oracle.truffle.api.strings.TruffleString EVAL_NAME
public static final JSGlobal INSTANCE
public static JSObject create(JSRealm realm, JSDynamicObject objectPrototype)
public static com.oracle.truffle.api.object.Shape makeGlobalObjectShape(JSContext context, JSDynamicObject objectPrototype)
public static boolean isJSGlobalObject(Object obj)
public static boolean isJSGlobalObject(JSDynamicObject obj)
public com.oracle.truffle.api.strings.TruffleString getClassName(JSDynamicObject object)
JSClassgetClassName in class JSClassobject - object to be usedpublic boolean setPrototypeOf(JSDynamicObject thisObj, JSDynamicObject newPrototype)
JSClasssetPrototypeOf in class JSNonProxy