public final class JSGlobalObject extends JSBuiltinObject
usesOrdinaryGetOwnProperty
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME |
static String |
CLASS_NAME_LOAD_EXTENSIONS |
static String |
CLASS_NAME_NASHORN_EXTENSIONS |
static String |
CLASS_NAME_PRINT_EXTENSIONS |
static String |
CLASS_NAME_SHELL_EXTENSIONS |
static String |
EVAL_NAME |
static JSGlobalObject |
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) |
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) |
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, preventExtensions, putConstructorSpeciesGetter, safeToString, set, set, setIntegrityLevel, setOwn, setOwn, setPrototypeOf, toString, usesOrdinaryGetOwnProperty, usesOrdinaryIsExtensible
defaultToString, dispatch, filterOwnPropertyKeys, formatToString, get, get, getToStringTag, isInstance, isInstance, isInstance, isInstance, makeInitialShape, ownPropertyKeys, testIntegrityLevel
public static final String CLASS_NAME
public static final String EVAL_NAME
public static final String CLASS_NAME_NASHORN_EXTENSIONS
public static final String CLASS_NAME_SHELL_EXTENSIONS
public static final String CLASS_NAME_PRINT_EXTENSIONS
public static final String CLASS_NAME_LOAD_EXTENSIONS
public static final JSGlobalObject INSTANCE
public static com.oracle.truffle.api.object.DynamicObject create(JSRealm realm, com.oracle.truffle.api.object.DynamicObject objectPrototype)
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)
JSClass
getClassName
in class JSClass
object
- object to be used