Class OwnPropertyKeysNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.access.OwnPropertyKeysNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
[[OwnPropertyKeys]]. The returned keys are instanceof TruffleString or Symbol.
Requires a
JSObject or a foreign object with members, throws a TypeError otherwise.-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OwnPropertyKeysNodecreate()doForeignObject(Object obj, com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.interop.InteropLibrary interop, com.oracle.truffle.api.interop.InteropLibrary members, com.oracle.truffle.api.interop.InteropLibrary asString, com.oracle.truffle.api.strings.TruffleString.SwitchEncodingNode switchEncodingNode, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch) doNotObject(Object obj) doObject(JSObject obj, JSClassProfile classProfile) static OwnPropertyKeysNodeMethods inherited from class JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace, reportLoopCount, reportLoopCountMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
Constructor Details
-
OwnPropertyKeysNode
public OwnPropertyKeysNode()
-
-
Method Details
-
execute
-
doObject
-
doForeignObject
protected static List<Object> doForeignObject(Object obj, com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.interop.InteropLibrary interop, com.oracle.truffle.api.interop.InteropLibrary members, com.oracle.truffle.api.interop.InteropLibrary asString, com.oracle.truffle.api.strings.TruffleString.SwitchEncodingNode switchEncodingNode, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch) -
doNotObject
-
create
-
getUncached
-