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 ClassesNested 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 TypeMethodDescriptionstatic CreateObjectNodecreateOrdinaryWithPrototype(JSContext context) createWithPrototype(JSContext context, JSClass jsclass) final JSObjectabstract JSObjectexecuteWithPrototype(JSRealm realm, Object proto) booleanMethods inherited from class JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace, reportLoopCount, reportLoopCountMethods 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, reportReplace, toString
-
Field Details
-
context
-
-
Constructor Details
-
CreateObjectNode
-
-
Method Details
-
create
-
createOrdinaryWithPrototype
public static CreateObjectNode.CreateObjectWithPrototypeNode createOrdinaryWithPrototype(JSContext context) -
createWithPrototype
public static CreateObjectNode.CreateObjectWithPrototypeNode createWithPrototype(JSContext context, JSClass jsclass) -
execute
-
executeWithPrototype
-
seenArrayPrototype
public boolean seenArrayPrototype()
-