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