public final class Nullish extends JSDynamicObject
JSDynamicObject.IsIdenticalOrUndefined| Constructor and Description |
|---|
Nullish() |
| Modifier and Type | Method and Description |
|---|---|
com.oracle.truffle.api.strings.TruffleString |
defaultToString()
Follows 19.1.3.6 Object.prototype.toString(), basically: "[object " + [[Symbol.toStringTag]]
+ "]" or typically "[object Object]" (for non built-in types) if [[Symbol.toStringTag]] is
not present.
|
boolean |
defineOwnProperty(Object key,
PropertyDescriptor desc,
boolean doThrow)
9.1.6 [[DefineOwnProperty]] (P, Desc).
|
boolean |
delete(long index,
boolean isStrict) |
boolean |
delete(Object index,
boolean isStrict)
9.1.10 [[Delete]] (P).
|
com.oracle.truffle.api.strings.TruffleString |
getClassName()
The [[Class]] internal property.
|
Object |
getHelper(Object thisObj,
long index,
com.oracle.truffle.api.nodes.Node encapsulatingNode) |
Object |
getHelper(Object thisObj,
Object name,
com.oracle.truffle.api.nodes.Node encapsulatingNode) |
Object |
getMethodHelper(Object thisObj,
Object name,
com.oracle.truffle.api.nodes.Node encapsulatingNode) |
Object |
getOwnHelper(Object thisObj,
long index,
com.oracle.truffle.api.nodes.Node encapsulatingNode) |
Object |
getOwnHelper(Object thisObj,
Object name,
com.oracle.truffle.api.nodes.Node encapsulatingNode) |
PropertyDescriptor |
getOwnProperty(Object propertyKey)
9.1.5 [[GetOwnProperty]] (P).
|
List<Object> |
getOwnPropertyKeys(boolean string,
boolean symbols)
GetOwnPropertyKeys (O, type).
|
JSDynamicObject |
getPrototypeOf()
9.1.1 [[GetPrototypeOf]] ().
|
boolean |
hasOnlyShapeProperties()
If true,
JSDynamicObject.ownPropertyKeys() and JSShape.getProperties(com.oracle.truffle.api.object.Shape) enumerate the same keys. |
boolean |
hasOwnProperty(long propIdx) |
boolean |
hasOwnProperty(Object propName) |
boolean |
hasProperty(long propIdx) |
boolean |
hasProperty(Object propName)
9.1.7 [[HasProperty]] (P).
|
boolean |
isExtensible()
9.1.3 [[IsExtensible]] ().
|
boolean |
preventExtensions(boolean doThrow)
9.1.4 [[PreventExtensions]] ().
|
boolean |
set(long index,
Object value,
Object receiver,
boolean isStrict,
com.oracle.truffle.api.nodes.Node encapsulatingNode) |
boolean |
set(Object key,
Object value,
Object receiver,
boolean isStrict,
com.oracle.truffle.api.nodes.Node encapsulatingNode)
9.1.9 [[Set]] (P, V, Receiver).
|
boolean |
setPrototypeOf(JSDynamicObject newPrototype)
9.1.2 [[SetPrototypeOf]] (V).
|
com.oracle.truffle.api.strings.TruffleString |
toDisplayStringImpl(boolean allowSideEffects,
ToDisplayStringFormat format,
int depth)
A more informative toString variant, mainly used for error messages.
|
String |
toString() |
getBuiltinToStringTag, getDynamicType, getIntOrDefault, getJSClass, getJSClass, getJSContext, getJSContext, getJSSharedData, getKeyArray, getObjectFlags, getOrDefault, getOrNull, getProperty, getPropertyArray, getPropertyFlags, getValue, getValue, hasProperty, identityHashCode, isJSDynamicObject, ownPropertyKeys, removeKey, setIntegrityLevel, setJSClass, setObjectFlags, setPropertyFlags, testIntegrityLevel, testProperties, updatePropertyFlagspublic com.oracle.truffle.api.strings.TruffleString getClassName()
JSDynamicObjectgetClassName in class JSDynamicObjectpublic com.oracle.truffle.api.strings.TruffleString toDisplayStringImpl(boolean allowSideEffects,
ToDisplayStringFormat format,
int depth)
JSDynamicObjecttoDisplayStringImpl in class JSDynamicObjectformat - formatting parametersdepth - current nesting depthpublic com.oracle.truffle.api.strings.TruffleString defaultToString()
JSDynamicObjectFor ES5, if follows 15.2.4.2 Object.prototype.toString(), basically: "[object " + [[Class]] + "]".
defaultToString in class JSDynamicObjectJSDynamicObject.getBuiltinToStringTag()public Object getOwnHelper(Object thisObj, Object name, com.oracle.truffle.api.nodes.Node encapsulatingNode)
getOwnHelper in class JSDynamicObjectpublic Object getOwnHelper(Object thisObj, long index, com.oracle.truffle.api.nodes.Node encapsulatingNode)
getOwnHelper in class JSDynamicObjectpublic Object getMethodHelper(Object thisObj, Object name, com.oracle.truffle.api.nodes.Node encapsulatingNode)
getMethodHelper in class JSDynamicObjectpublic Object getHelper(Object thisObj, Object name, com.oracle.truffle.api.nodes.Node encapsulatingNode)
getHelper in class JSDynamicObjectpublic Object getHelper(Object thisObj, long index, com.oracle.truffle.api.nodes.Node encapsulatingNode)
getHelper in class JSDynamicObjectpublic boolean hasOwnProperty(Object propName)
hasOwnProperty in class JSDynamicObjectpublic boolean hasOwnProperty(long propIdx)
hasOwnProperty in class JSDynamicObjectpublic boolean hasProperty(Object propName)
JSDynamicObjecthasProperty in class JSDynamicObjectpublic boolean hasProperty(long propIdx)
hasProperty in class JSDynamicObjectpublic boolean set(Object key, Object value, Object receiver, boolean isStrict, com.oracle.truffle.api.nodes.Node encapsulatingNode)
JSDynamicObjectset in class JSDynamicObjectpublic boolean set(long index,
Object value,
Object receiver,
boolean isStrict,
com.oracle.truffle.api.nodes.Node encapsulatingNode)
set in class JSDynamicObjectpublic boolean delete(Object index, boolean isStrict)
JSDynamicObjectdelete in class JSDynamicObjectpublic boolean delete(long index,
boolean isStrict)
delete in class JSDynamicObjectpublic List<Object> getOwnPropertyKeys(boolean string, boolean symbols)
JSDynamicObjectgetOwnPropertyKeys in class JSDynamicObjectpublic boolean defineOwnProperty(Object key, PropertyDescriptor desc, boolean doThrow)
JSDynamicObjectdefineOwnProperty in class JSDynamicObjectpublic boolean preventExtensions(boolean doThrow)
JSDynamicObjectpreventExtensions in class JSDynamicObjectpublic boolean isExtensible()
JSDynamicObjectisExtensible in class JSDynamicObjectpublic boolean hasOnlyShapeProperties()
JSDynamicObjectJSDynamicObject.ownPropertyKeys() and JSShape.getProperties(com.oracle.truffle.api.object.Shape) enumerate the same keys.hasOnlyShapeProperties in class JSDynamicObjectpublic JSDynamicObject getPrototypeOf()
JSDynamicObjectgetPrototypeOf in class JSDynamicObjectpublic boolean setPrototypeOf(JSDynamicObject newPrototype)
JSDynamicObjectsetPrototypeOf in class JSDynamicObjectpublic PropertyDescriptor getOwnProperty(Object propertyKey)
JSDynamicObjectgetOwnProperty in class JSDynamicObject