Class ArrayPrototypeBuiltins.JSArrayOperation
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.JavaScriptNode
com.oracle.truffle.js.nodes.function.AbstractBodyNode
com.oracle.truffle.js.nodes.function.JSBuiltinNode
com.oracle.truffle.js.builtins.ArrayPrototypeBuiltins.BasicArrayOperation
com.oracle.truffle.js.builtins.ArrayPrototypeBuiltins.JSArrayOperation
- All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode,com.oracle.truffle.api.nodes.NodeInterface,Cloneable
- Direct Known Subclasses:
ArrayFunctionBuiltins.JSArrayFunctionOperation,ArrayPrototypeBuiltins.AbstractArraySortNode,ArrayPrototypeBuiltins.ArrayForEachIndexCallOperation,ArrayPrototypeBuiltins.JSArrayConcatNode,ArrayPrototypeBuiltins.JSArrayFindIndexNode,ArrayPrototypeBuiltins.JSArrayFindNode,ArrayPrototypeBuiltins.JSArrayFlatMapNode,ArrayPrototypeBuiltins.JSArrayFlatNode,ArrayPrototypeBuiltins.JSArrayJoinNode,ArrayPrototypeBuiltins.JSArrayOperationWithToInt,ArrayPrototypeBuiltins.JSArrayPopNode,ArrayPrototypeBuiltins.JSArrayPushNode,ArrayPrototypeBuiltins.JSArrayReverseNode,ArrayPrototypeBuiltins.JSArrayShiftNode,ArrayPrototypeBuiltins.JSArrayToLocaleStringNode,ArrayPrototypeBuiltins.JSArrayToReversedNode,ArrayPrototypeBuiltins.JSArrayUnshiftNode,TypedArrayPrototypeBuiltins.JSArrayBufferViewReverseNode
- Enclosing class:
ArrayPrototypeBuiltins
public abstract static class ArrayPrototypeBuiltins.JSArrayOperation
extends ArrayPrototypeBuiltins.BasicArrayOperation
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.js.nodes.function.JSBuiltinNode
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedNested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.ChildrenNested classes/interfaces inherited from interface com.oracle.truffle.api.instrumentation.InstrumentableNode
com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode -
Field Summary
FieldsFields inherited from class com.oracle.truffle.js.builtins.ArrayPrototypeBuiltins.BasicArrayOperation
errorBranch, isTypedArrayImplementationFields inherited from class com.oracle.truffle.js.nodes.function.JSBuiltinNode
ARGUMENTSFields inherited from class com.oracle.truffle.js.nodes.JavaScriptNode
INTERMEDIATE_VALUE -
Constructor Summary
ConstructorsConstructorDescriptionJSArrayOperation(JSContext context, JSBuiltin builtin) JSArrayOperation(JSContext context, JSBuiltin builtin, boolean isTypedArrayImplementation) -
Method Summary
Modifier and TypeMethodDescriptionprotected JSArrayObjectarrayCreate(long length) protected final JSObjectcreateEmpty(Object thisObj, long length) protected booleanhasProperty(Object target, long propertyIdx) protected longnextElementIndex(Object target, long currentIndex, long length) protected longpreviousElementIndex(Object target, long currentIndex) protected Objectprotected Objectprotected voidprotected voidprotected static final voidprotected final JSTypedArrayObjecttypedArrayCreateSameType(JSTypedArrayObject thisObj, long length) protected voidprotected voidprotected voidprotected voidMethods inherited from class com.oracle.truffle.js.builtins.ArrayPrototypeBuiltins.BasicArrayOperation
checkCallbackIsFunction, checkOutOfBounds, getArraySpeciesConstructorNode, getLength, isCallable, reportLoopCount, reportLoopCount, toObject, toObjectOrValidateTypedArray, validateTypedArrayMethods inherited from class com.oracle.truffle.js.nodes.function.JSBuiltinNode
copyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, isSplitImmediately, tryCreateInlinedMethods inherited from class com.oracle.truffle.js.nodes.function.AbstractBodyNode
executeBoolean, executeDouble, executeInt, executeVoidMethods inherited from class com.oracle.truffle.js.nodes.JavaScriptNode
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsMethods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode
getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperatorsMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.oracle.truffle.api.instrumentation.InstrumentableNode
findNearestNodeAt, findNearestNodeAt, materializeInstrumentableNodes
-
Field Details
-
THROW_ERROR
protected static final boolean THROW_ERROR- See Also:
-
-
Constructor Details
-
JSArrayOperation
-
JSArrayOperation
-
-
Method Details
-
setLength
-
setLength
-
read
-
read
-
write
-
write
-
writeOwn
-
writeOwn
-
hasProperty
-
nextElementIndex
-
previousElementIndex
-
throwLengthError
protected static final void throwLengthError() -
createEmpty
-
typedArrayCreateSameType
protected final JSTypedArrayObject typedArrayCreateSameType(JSTypedArrayObject thisObj, long length) -
arrayCreate
-