Class JSToPropertyKeyNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.cast.JSToPropertyKeyNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
This implements the abstract operation ToPropertyKey(argument).
-
Nested Class Summary
Nested ClassesNested 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 JSToPropertyKeyNodecreate()protected ObjectdoOther(Object value, JSToPrimitiveNode toPrimitiveNode, JSToStringNode toStringNode, com.oracle.truffle.api.profiles.InlinedConditionProfile isSymbol) protected Symbolprotected com.oracle.truffle.api.strings.TruffleStringdoTString(com.oracle.truffle.api.strings.TruffleString value) abstract ObjectMethods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplaceMethods 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, toString
-
Constructor Details
-
JSToPropertyKeyNode
public JSToPropertyKeyNode()
-
-
Method Details
-
create
-
execute
-
doTString
protected com.oracle.truffle.api.strings.TruffleString doTString(com.oracle.truffle.api.strings.TruffleString value) -
doSymbol
-
doOther
protected Object doOther(Object value, JSToPrimitiveNode toPrimitiveNode, JSToStringNode toStringNode, com.oracle.truffle.api.profiles.InlinedConditionProfile isSymbol)
-