public abstract class CopyDataPropertiesNode extends JavaScriptBaseNode
| Modifier | Constructor and Description |
|---|---|
protected |
CopyDataPropertiesNode(JSContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected static JSDynamicObject |
copyDataProperties(JSDynamicObject target,
JSObject source,
Object[] excludedItems,
boolean withExcluded,
ReadElementNode getNode,
JSGetOwnPropertyNode getOwnProperty,
ListSizeNode listSize,
ListGetNode listGet,
JSClassProfile classProfile,
com.oracle.truffle.api.strings.TruffleString.EqualNode equalsNode) |
protected JSDynamicObject |
copyDataPropertiesForeign(JSDynamicObject target,
Object from,
Object[] excludedItems,
boolean withExcluded,
com.oracle.truffle.api.interop.InteropLibrary objInterop,
com.oracle.truffle.api.interop.InteropLibrary iteratorInterop,
com.oracle.truffle.api.interop.InteropLibrary arrayInterop,
com.oracle.truffle.api.interop.InteropLibrary stringInterop,
ImportValueNode importValue,
JSToStringNode toString,
com.oracle.truffle.api.strings.TruffleString.EqualNode equalsNode,
com.oracle.truffle.api.strings.TruffleString.SwitchEncodingNode switchEncodingNode,
com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode toJavaStringNode) |
static CopyDataPropertiesNode |
create(JSContext context) |
protected static JSDynamicObject |
doNullOrUndefined(JSDynamicObject target,
Object value,
Object[] excludedItems,
boolean withExcluded) |
Object |
execute(Object target,
Object source) |
Object |
execute(Object target,
Object source,
Object[] excludedItems) |
protected abstract Object |
executeImpl(Object target,
Object source,
Object[] excludedItems,
boolean withExcluded) |
copy, getLanguage, getRealm, hasOverloadedOperators, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringprotected final JSContext context
protected CopyDataPropertiesNode(JSContext context)
public static CopyDataPropertiesNode create(JSContext context)
protected abstract Object executeImpl(Object target, Object source, Object[] excludedItems, boolean withExcluded)
protected static JSDynamicObject doNullOrUndefined(JSDynamicObject target, Object value, Object[] excludedItems, boolean withExcluded)
protected static JSDynamicObject copyDataProperties(JSDynamicObject target, JSObject source, Object[] excludedItems, boolean withExcluded, ReadElementNode getNode, JSGetOwnPropertyNode getOwnProperty, ListSizeNode listSize, ListGetNode listGet, JSClassProfile classProfile, com.oracle.truffle.api.strings.TruffleString.EqualNode equalsNode)
protected final JSDynamicObject copyDataPropertiesForeign(JSDynamicObject target, Object from, Object[] excludedItems, boolean withExcluded, com.oracle.truffle.api.interop.InteropLibrary objInterop, com.oracle.truffle.api.interop.InteropLibrary iteratorInterop, com.oracle.truffle.api.interop.InteropLibrary arrayInterop, com.oracle.truffle.api.interop.InteropLibrary stringInterop, ImportValueNode importValue, JSToStringNode toString, com.oracle.truffle.api.strings.TruffleString.EqualNode equalsNode, com.oracle.truffle.api.strings.TruffleString.SwitchEncodingNode switchEncodingNode, com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode toJavaStringNode)