public abstract static class ObjectPrototypeBuiltins.ObjectOperation extends JSBuiltinNode
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
ObjectOperation(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected JSObject |
asJSObject(Object object)
Coerce to Object or throw TypeError.
|
protected JSException |
createTypeErrorCalledOnNonObject(Object value) |
protected JSDynamicObject |
toJSObject(Object target)
Convert to a DynamicObject that is a JavaScript object.
|
protected Object |
toObject(Object target)
Convert to a TruffleObject.
|
protected JSDynamicObject |
toOrAsJSObject(Object thisObj) |
copyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, isSplitImmediately, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetLanguage, getRealm, hasOverloadedOperatorsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected final JSDynamicObject toJSObject(Object target)
protected final JSObject asJSObject(Object object)
protected final JSDynamicObject toOrAsJSObject(Object thisObj)
protected final JSException createTypeErrorCalledOnNonObject(Object value)