Class CreateObjectNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.access.CreateObjectNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
- Direct Known Subclasses:
CreateObjectNode.CreateObjectWithPrototypeNode
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classstatic classNested 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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract CreateObjectNodecopyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) static CreateObjectNodecreateOrdinaryWithPrototype(JSContext context) createOrdinaryWithPrototype(JSContext context, JavaScriptNode prototypeExpression) createWithPrototype(JSContext context, JavaScriptNode prototypeExpression, JSClass jsclass) execute(com.oracle.truffle.api.frame.VirtualFrame frame) abstract JSObjectexecuteWithRealm(com.oracle.truffle.api.frame.VirtualFrame frame, JSRealm realm) booleanMethods 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
-
context
-
-
Constructor Details
-
CreateObjectNode
-
-
Method Details
-
create
-
createOrdinaryWithPrototype
public static CreateObjectNode.CreateObjectWithPrototypeNode createOrdinaryWithPrototype(JSContext context) -
createOrdinaryWithPrototype
public static CreateObjectNode.CreateObjectWithPrototypeNode createOrdinaryWithPrototype(JSContext context, JavaScriptNode prototypeExpression) -
createWithPrototype
public static CreateObjectNode.CreateObjectWithPrototypeNode createWithPrototype(JSContext context, JavaScriptNode prototypeExpression, JSClass jsclass) -
execute
-
executeWithRealm
-
copyUninitialized
protected abstract CreateObjectNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) -
seenArrayPrototype
public boolean seenArrayPrototype()
-