Class LazyRegexResultArray
java.lang.Object
com.oracle.truffle.js.runtime.array.ScriptArray
com.oracle.truffle.js.runtime.array.DynamicArray
com.oracle.truffle.js.runtime.array.dyn.AbstractConstantArray
com.oracle.truffle.js.runtime.array.dyn.AbstractConstantLazyArray
com.oracle.truffle.js.runtime.array.dyn.LazyRegexResultArray
-
Nested Class Summary
Nested classes/interfaces inherited from class DynamicArray
DynamicArray.DynamicArrayCacheNested classes/interfaces inherited from class ScriptArray
ScriptArray.CreateWritableProfileAccess, ScriptArray.DefaultIterator, ScriptArray.SetLengthProfileAccess -
Field Summary
FieldsFields inherited from class DynamicArray
cache, INTEGRITY_LEVEL_FROZEN, INTEGRITY_LEVEL_FROZEN_LENGTH_READONLY, INTEGRITY_LEVEL_MASK, INTEGRITY_LEVEL_NONE, INTEGRITY_LEVEL_NONE_LENGTH_READONLY, INTEGRITY_LEVEL_NOT_EXTENSIBLE, INTEGRITY_LEVEL_NOT_EXTENSIBLE_LENGTH_READONLY, INTEGRITY_LEVEL_SEALED, INTEGRITY_LEVEL_SEALED_LENGTH_READONLY, INTEGRITY_LEVELS, integrityLevel, LENGTH_NOT_WRITABLE, LENGTH_WRITABLE_MASKFields inherited from class ScriptArray
EMPTY_OBJECT_ARRAY -
Method Summary
Modifier and TypeMethodDescriptioncloneArray(JSDynamicObject object) static LazyRegexResultArraycreateWritable(JSContext context, JSDynamicObject object, long index, Object value, com.oracle.truffle.api.object.DynamicObjectLibrary lazyRegexResultNode, com.oracle.truffle.api.object.DynamicObjectLibrary lazyRegexResultOriginalInputNode, com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode substringNode, TRegexUtil.InvokeGetGroupBoundariesMethodNode getStartNode, TRegexUtil.InvokeGetGroupBoundariesMethodNode getEndNode) createWriteableObject(JSDynamicObject object, long index, Object value, com.oracle.truffle.api.nodes.Node node, ScriptArray.CreateWritableProfileAccess profile) getElementInBounds(JSDynamicObject object, int index) static ObjectmaterializeGroup(JSContext context, JSDynamicObject object, int index, com.oracle.truffle.api.object.DynamicObjectLibrary lazyRegexResultNode, com.oracle.truffle.api.object.DynamicObjectLibrary lazyRegexResultOriginalInputNode, com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode substringNode, TRegexUtil.InvokeGetGroupBoundariesMethodNode getStartNode, TRegexUtil.InvokeGetGroupBoundariesMethodNode getEndNode) protected DynamicArraywithIntegrityLevel(int newIntegrityLevel) Methods inherited from class AbstractConstantLazyArray
addRangeImpl, createWriteableDouble, createWriteableInt, createWriteableJSObject, deleteElementImpl, hasElement, length, lengthInt, removeRangeImpl, setLengthImplMethods inherited from class AbstractConstantArray
firstElementIndex, getElement, getElementInBounds, hasHoles, isInBoundsFast, lastElementIndex, nextElementIndex, previousElementIndex, setElementImplMethods inherited from class DynamicArray
createCache, freeze, isExtensible, isFrozen, isLengthNotWritable, isSealed, maybePreinitializeCache, preventExtensions, seal, setIntegrityLevel, setLengthNotWritable, toStringMethods inherited from class ScriptArray
addRange, asIterable, canDeleteElement, cast, createConstantArray, createConstantEmptyArray, deleteElement, hasHolesOrUnused, isHolesType, isInstance, makeMultiRangeList, makeRangeList, nextPower, ownPropertyKeys, ownPropertyKeysContiguous, ownPropertyKeysHoles, removeRange, removeRange, setElement, setLength, setLength, shiftRange, shiftRangeImpl, toArray, traceArrayTransition, traceWrite, valueIsByte
-
Field Details
-
LAZY_REGEX_RESULT_ARRAY
-
-
Method Details
-
createLazyRegexResultArray
-
materializeGroup
public static Object materializeGroup(JSContext context, JSDynamicObject object, int index, com.oracle.truffle.api.object.DynamicObjectLibrary lazyRegexResultNode, com.oracle.truffle.api.object.DynamicObjectLibrary lazyRegexResultOriginalInputNode, com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode substringNode, TRegexUtil.InvokeGetGroupBoundariesMethodNode getStartNode, TRegexUtil.InvokeGetGroupBoundariesMethodNode getEndNode) -
createWritable
public ScriptArray createWritable(JSContext context, JSDynamicObject object, long index, Object value, com.oracle.truffle.api.object.DynamicObjectLibrary lazyRegexResultNode, com.oracle.truffle.api.object.DynamicObjectLibrary lazyRegexResultOriginalInputNode, com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode substringNode, TRegexUtil.InvokeGetGroupBoundariesMethodNode getStartNode, TRegexUtil.InvokeGetGroupBoundariesMethodNode getEndNode) -
getElementInBounds
- Specified by:
getElementInBoundsin classAbstractConstantArray
-
createWriteableObject
public AbstractObjectArray createWriteableObject(JSDynamicObject object, long index, Object value, com.oracle.truffle.api.nodes.Node node, ScriptArray.CreateWritableProfileAccess profile) - Specified by:
createWriteableObjectin classAbstractConstantArray
-
cloneArray
- Specified by:
cloneArrayin classDynamicArray
-
withIntegrityLevel
- Specified by:
withIntegrityLevelin classDynamicArray
-