public abstract static class JSToObjectNode.JSToObjectWrapperNode extends JSUnaryNode
operandNodeINTERMEDIATE_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
JSToObjectWrapperNode(JavaScriptNode operand,
JSToObjectNode toObjectNode) |
| Modifier and Type | Method and Description |
|---|---|
protected JavaScriptNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
static JSToObjectNode.JSToObjectWrapperNode |
createToObject(JSContext context,
JavaScriptNode child)
This factory method forces the creation of an JSObjectCastNode; in contrast to
create it does not check the child and try to omit unnecessary cast nodes. |
static JSToObjectNode.JSToObjectWrapperNode |
createToObjectFromWith(JSContext context,
JavaScriptNode child,
boolean checkForNullOrUndefined) |
protected Object |
doDefault(Object value) |
abstract com.oracle.truffle.api.object.DynamicObject |
executeDynamicObject(Object thisObj) |
createWrapper, execute, expressionToString, getNodeObject, getOperandaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, execute, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeString, executeVoid, findBlockScopeNode, getSourceSection, hasSourceSection, hasTag, 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 JSToObjectWrapperNode(JavaScriptNode operand, JSToObjectNode toObjectNode)
public abstract com.oracle.truffle.api.object.DynamicObject executeDynamicObject(Object thisObj)
public static JSToObjectNode.JSToObjectWrapperNode createToObject(JSContext context, JavaScriptNode child)
create it does not check the child and try to omit unnecessary cast nodes.public static JSToObjectNode.JSToObjectWrapperNode createToObjectFromWith(JSContext context, JavaScriptNode child, boolean checkForNullOrUndefined)
protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized in class JavaScriptNode