public final class JSGlobal extends JSNonProxy
usesOrdinaryGetOwnProperty| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_NAME |
static String |
EVAL_NAME |
static JSGlobal |
INSTANCE |
EMPTY_STRING_ARRAY| Modifier and Type | Method and Description |
|---|---|
static com.oracle.truffle.api.object.DynamicObject |
create(JSRealm realm,
com.oracle.truffle.api.object.DynamicObject objectPrototype) |
static com.oracle.truffle.api.object.DynamicObject |
createGlobalScope(JSContext context) |
String |
getClassName(com.oracle.truffle.api.object.DynamicObject object)
The [[Class]] internal property.
|
static boolean |
isJSGlobalObject(com.oracle.truffle.api.object.DynamicObject obj) |
static boolean |
isJSGlobalObject(Object obj) |
static com.oracle.truffle.api.object.Shape |
makeGlobalObjectShape(JSContext context,
com.oracle.truffle.api.object.DynamicObject objectPrototype) |
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, usesOrdinaryIsExtensibledefaultToString, filterOwnPropertyKeys, formatToString, get, get, getToStringTag, isInstance, isInstance, isInstance, isInstance, makeInitialShape, ownPropertyKeys, testIntegrityLevelDefaultpublic static final String CLASS_NAME
public static final String EVAL_NAME
public static final JSGlobal INSTANCE
public static com.oracle.truffle.api.object.DynamicObject create(JSRealm realm, com.oracle.truffle.api.object.DynamicObject objectPrototype)
public static com.oracle.truffle.api.object.Shape makeGlobalObjectShape(JSContext context, com.oracle.truffle.api.object.DynamicObject objectPrototype)
public static com.oracle.truffle.api.object.DynamicObject createGlobalScope(JSContext context)
public static boolean isJSGlobalObject(Object obj)
public static boolean isJSGlobalObject(com.oracle.truffle.api.object.DynamicObject obj)
public String getClassName(com.oracle.truffle.api.object.DynamicObject object)
JSClassgetClassName in class JSClassobject - object to be used