public abstract class ToPropertyDescriptorNode extends JavaScriptBaseNode
| Modifier | Constructor and Description |
|---|---|
protected |
ToPropertyDescriptorNode(JSContext context) |
| Modifier and Type | Method and Description |
|---|---|
static ToPropertyDescriptorNode |
create(JSContext context) |
protected Object |
doDefault(com.oracle.truffle.api.object.DynamicObject obj,
com.oracle.truffle.api.profiles.BranchProfile hasGetBranch,
com.oracle.truffle.api.profiles.BranchProfile hasSetBranch,
com.oracle.truffle.api.profiles.BranchProfile hasEnumerableBranch,
com.oracle.truffle.api.profiles.BranchProfile hasConfigurableBranch,
com.oracle.truffle.api.profiles.BranchProfile hasValueBranch,
com.oracle.truffle.api.profiles.BranchProfile hasWritableBranch) |
protected Object |
doNonObject(Object obj,
JSToStringNode toStringNode) |
abstract Object |
execute(Object operand) |
protected Object |
nonSpecialized(com.oracle.truffle.api.object.DynamicObject obj)
If this node is executed only once, there is no need to create all the specializing child
nodes.
|
protected boolean |
wasExecuted(com.oracle.truffle.api.object.DynamicObject obj) |
copy, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringprotected ToPropertyDescriptorNode(JSContext context)
public static ToPropertyDescriptorNode create(JSContext context)
protected boolean wasExecuted(com.oracle.truffle.api.object.DynamicObject obj)
protected Object nonSpecialized(com.oracle.truffle.api.object.DynamicObject obj)
protected Object doDefault(com.oracle.truffle.api.object.DynamicObject obj, com.oracle.truffle.api.profiles.BranchProfile hasGetBranch, com.oracle.truffle.api.profiles.BranchProfile hasSetBranch, com.oracle.truffle.api.profiles.BranchProfile hasEnumerableBranch, com.oracle.truffle.api.profiles.BranchProfile hasConfigurableBranch, com.oracle.truffle.api.profiles.BranchProfile hasValueBranch, com.oracle.truffle.api.profiles.BranchProfile hasWritableBranch)
protected Object doNonObject(Object obj, JSToStringNode toStringNode)