Lines Matching defs:replacerArgs
1243 JSHandle<TaggedArray> replacerArgs =
1246 // i. Let replacerArgs be «matched».
1247 replacerArgs->Set(thread, 0, getMatchString.GetTaggedValue());
1248 // ii. Append in list order the elements of captures to the end of the List replacerArgs.
1249 // iii. Append position and S as the last two elements of replacerArgs.
1252 replacerArgs->Set(thread, index + 1, capturesList->Get(index));
1255 replacerArgs->Set(thread, index + 1, JSTaggedValue(position));
1256 replacerArgs->Set(thread, index + 2, inputStr.GetTaggedValue()); // 2: position of string
1258 replacerArgs->Set(thread, index + 3, namedCaptures.GetTaggedValue()); // 3: position of groups
1260 // iv. Let replValue be Call(replaceValue, undefined, replacerArgs).
1261 const uint32_t argsLength = replacerArgs->GetLength();
1265 info->SetCallArg(argsLength, replacerArgs);