Class CreateObjectNode.CreateObjectWithPrototypeNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.access.CreateObjectNode
com.oracle.truffle.js.nodes.access.CreateObjectNode.CreateObjectWithPrototypeNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
- Direct Known Subclasses:
CreateObjectNode.CreateObjectWithCachedPrototypeNode
- Enclosing class:
CreateObjectNode
public abstract static class CreateObjectNode.CreateObjectWithPrototypeNode
extends CreateObjectNode
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.js.nodes.access.CreateObjectNode
CreateObjectNode.CreateObjectWithCachedPrototypeNode, CreateObjectNode.CreateObjectWithPrototypeNodeNested 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 -
Field Summary
FieldsFields inherited from class com.oracle.truffle.js.nodes.access.CreateObjectNode
context -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreateObjectWithPrototypeNode(JSContext context, JavaScriptNode prototypeExpression) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract CreateObjectNode.CreateObjectWithPrototypeNodecopyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) abstract JSObjectexecute(JSDynamicObject prototype) final JSObjectexecuteWithRealm(com.oracle.truffle.api.frame.VirtualFrame frame, JSRealm realm) Methods inherited from class com.oracle.truffle.js.nodes.access.CreateObjectNode
create, createOrdinaryWithPrototype, createOrdinaryWithPrototype, createWithPrototype, execute, seenArrayPrototypeMethods 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
-
Field Details
-
prototypeExpression
-
-
Constructor Details
-
CreateObjectWithPrototypeNode
-
-
Method Details
-
execute
-
executeWithRealm
public final JSObject executeWithRealm(com.oracle.truffle.api.frame.VirtualFrame frame, JSRealm realm) - Specified by:
executeWithRealmin classCreateObjectNode
-
copyUninitialized
protected abstract CreateObjectNode.CreateObjectWithPrototypeNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) - Specified by:
copyUninitializedin classCreateObjectNode
-