Class JSArrayGetOwnPropertyNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.array.JSArrayGetOwnPropertyNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
-
Nested Class Summary
Nested 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 static PropertyDescriptordoCached(JSArrayObject arrayObject, long index, boolean needValue, boolean needEnumerability, boolean needConfigurability, boolean needWritability, ScriptArray arrayType) protected static PropertyDescriptordoUncached(JSArrayObject target, long index, boolean needValue, boolean needEnumerability, boolean needConfigurability, boolean needWritability) abstract PropertyDescriptorexecute(com.oracle.truffle.api.nodes.Node node, JSArrayObject target, long index, boolean needValue, boolean needEnumerability, boolean needConfigurability, boolean needWritability) Methods 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
-
MAX_TYPE_COUNT
protected static final int MAX_TYPE_COUNT- See Also:
-
-
Constructor Details
-
JSArrayGetOwnPropertyNode
protected JSArrayGetOwnPropertyNode()
-
-
Method Details
-
execute
public abstract PropertyDescriptor execute(com.oracle.truffle.api.nodes.Node node, JSArrayObject target, long index, boolean needValue, boolean needEnumerability, boolean needConfigurability, boolean needWritability) -
doCached
protected static PropertyDescriptor doCached(JSArrayObject arrayObject, long index, boolean needValue, boolean needEnumerability, boolean needConfigurability, boolean needWritability, ScriptArray arrayType) -
doUncached
protected static PropertyDescriptor doUncached(JSArrayObject target, long index, boolean needValue, boolean needEnumerability, boolean needConfigurability, boolean needWritability)
-