public abstract class CreateObjectNode extends JavaScriptBaseNode
| Modifier and Type | Class and Description |
|---|---|
protected static class |
CreateObjectNode.CreateObjectWithCachedPrototypeNode |
static class |
CreateObjectNode.CreateObjectWithPrototypeNode |
| Modifier | Constructor and Description |
|---|---|
protected |
CreateObjectNode(JSContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract CreateObjectNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
static CreateObjectNode |
create(JSContext context) |
static CreateObjectNode.CreateObjectWithPrototypeNode |
createOrdinaryWithPrototype(JSContext context) |
static CreateObjectNode.CreateObjectWithPrototypeNode |
createOrdinaryWithPrototype(JSContext context,
JavaScriptNode prototypeExpression) |
static CreateObjectNode.CreateObjectWithPrototypeNode |
createWithPrototype(JSContext context,
JavaScriptNode prototypeExpression,
JSClass jsclass) |
JSObject |
execute(com.oracle.truffle.api.frame.VirtualFrame frame) |
abstract JSObject |
executeWithRealm(com.oracle.truffle.api.frame.VirtualFrame frame,
JSRealm realm) |
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 CreateObjectNode(JSContext context)
public static CreateObjectNode create(JSContext context)
public static CreateObjectNode.CreateObjectWithPrototypeNode createOrdinaryWithPrototype(JSContext context)
public static CreateObjectNode.CreateObjectWithPrototypeNode createOrdinaryWithPrototype(JSContext context, JavaScriptNode prototypeExpression)
public static CreateObjectNode.CreateObjectWithPrototypeNode createWithPrototype(JSContext context, JavaScriptNode prototypeExpression, JSClass jsclass)
public JSObject execute(com.oracle.truffle.api.frame.VirtualFrame frame)
public abstract JSObject executeWithRealm(com.oracle.truffle.api.frame.VirtualFrame frame, JSRealm realm)
protected abstract CreateObjectNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)