• Home
  • Raw
  • Download

Lines Matching full:be

49     // 1. Let patternIsRegExp be IsRegExp(pattern).  in RegExpConstructor()
53 // 3. If NewTarget is not undefined, let newTarget be NewTarget. in RegExpConstructor()
63 // 4.a Let newTarget be the active function object. in RegExpConstructor()
68 // 4.b.i Let patternConstructor be Get(pattern, "constructor"). in RegExpConstructor()
89 // 5.a Let P be the value of pattern’s [[OriginalSource]] internal slot. in RegExpConstructor()
92 … // 5.b If flags is undefined, let F be the value of pattern’s [[OriginalFlags]] internal slot. in RegExpConstructor()
95 // 5.c Else, let F be flags. in RegExpConstructor()
104 // 6.a Let P be Get(pattern, "source"). in RegExpConstructor()
110 // 6.c.i Let F be Get(pattern, "flags"). in RegExpConstructor()
115 // 6.d Else, let F be flags. in RegExpConstructor()
119 // 7.a Let P be pattern. in RegExpConstructor()
121 // 7.b Let F be flags. in RegExpConstructor()
128 // 8. Let O be RegExpAlloc(newTarget). in RegExpConstructor()
145 // 1. Let R be the this value. in Exec()
147 // 4. Let S be ToString(string). in Exec()
182 // 1. Let R be the this value. in Test()
185 // 3. Let string be ToString(S). in Test()
196 // 5. Let match be RegExpExec(R, string). in Test()
211 // 1. Let R be the this value. in ToString()
222 // 3. Let pattern be ToString(Get(R, "source")). in ToString()
228 // 5. Let flags be ToString(Get(R, "flags")). in ToString()
233 // 7. Let result be the String value formed by concatenating "/", pattern, and "/", and flags. in ToString()
246 // 1. Let R be the this value. in GetFlags()
252 // 3. Let result be the empty String. in GetFlags()
308 // 1. Let R be the this value. in GetSource()
321 // 5. Let src be the value of R’s [[OriginalSource]] internal slot. in GetSource()
324 // 6. Let flags be the value of R’s [[OriginalFlags]] internal slot. in GetSource()
367 // 1. Let rx be the this value. in Match()
369 // 3. Let S be ToString(string) in Match()
384 // 5. Let global be ToBoolean(Get(rx, "global")). in Match()
423 // a. Let fullUnicode be ToBoolean(Get(rx, "unicode")). in Match()
431 // c. Let setStatus be Set(rx, "lastIndex", 0, true). in Match()
437 // e. Let A be ArrayCreate(0). in Match()
439 // f. Let n be 0. in Match()
444 // i. Let result be RegExpExec(rx, S). in Match()
464 // 1. Let matchStr be ToString(Get(result, "0")). in Match()
473 // 3. Let status be CreateDataProperty(A, ToString(n), matchStr). in Match()
477 // a. Let thisIndex be ToLength(Get(rx, "lastIndex")). in Match()
484 // c. Let nextIndex be AdvanceStringIndex(S, thisIndex, fullUnicode). in Match()
485 // d. Let setStatus be Set(rx, "lastIndex", nextIndex, true). in Match()
505 // 1. Let R be the this value. in MatchAll()
513 // 3. Let S be ? ToString(string). in MatchAll()
518 // 4. Let C be ? SpeciesConstructor(R, %RegExp%). in MatchAll()
525 // 5. Let flags be ? ToString(? Get(R, "flags")). in MatchAll()
531 // 6. Let matcher be ? Construct(C, « R, flags »). in MatchAll()
541 // 7. Let lastIndex be ? ToLength(? Get(R, "lastIndex")). in MatchAll()
552 // 9. If flags contains "g", let global be true. in MatchAll()
553 // 10. Else, let global be false. in MatchAll()
560 // 11. If flags contains "u", let fullUnicode be true. in MatchAll()
561 // 12. Else, let fullUnicode be false. in MatchAll()
632 // 12. Let done be false. in RegExpReplaceFast()
663 // a. Let setStatus be Set(R, "lastIndex", e, true). in RegExpReplaceFast()
697 // 1. Let rx be the this value. in Replace()
703 // 3. Let S be ToString(string). in Replace()
712 // 5. Let lengthS be the number of code unit elements in S. in Replace()
714 // 6. Let functionalReplace be IsCallable(replaceValue). in Replace()
722 // 8. Let global be ToBoolean(Get(rx, "global")). in Replace()
734 // a. Let fullUnicode be ToBoolean(Get(rx, "unicode")). in Replace()
742 // c. Let setStatus be Set(rx, "lastIndex", 0, true). in Replace()
790 // 11. Let results be a new empty List. in Replace()
793 // 12. Let done be false. in Replace()
798 // a. Let result be RegExpExec(rx, S). in Replace()
813 // iii. Else, 1. Let matchStr be ToString(Get(result, "0")). in Replace()
822 // a. Let thisIndex be ToLength(Get(rx, "lastIndex")). in Replace()
834 // c. Let nextIndex be AdvanceStringIndex(S, thisIndex, fullUnicode). in Replace()
837 // d. Let setStatus be Set(rx, "lastIndex", nextIndex, true). in Replace()
844 // 14. Let accumulatedResult be the empty String value. in Replace()
846 // 15. Let nextSourcePosition be 0. in Replace()
855 // a. Let nCaptures be ToLength(Get(result, "length")). in Replace()
862 // c. Let nCaptures be max(nCaptures − 1, 0). in Replace()
864 // d. Let matched be ToString(Get(result, "0")). in Replace()
870 // f. Let matchLength be the number of code units in matched. in Replace()
872 // g. Let position be ToInteger(Get(result, "index")). in Replace()
885 // i. Let position be max(min(position, lengthS), 0). in Replace()
887 // j. Let n be 1. in Replace()
889 // k. Let captures be an empty List. in Replace()
893 // i. Let capN be Get(result, ToString(n)). in Replace()
899 // 1. Let capN be ToString(capN). in Replace()
909 // v. Let n be n+1 in Replace()
913 // j. Let namedCaptures be ? Get(result, "groups"). in Replace()
930 // i. Let replacerArgs be «matched». in Replace()
944 // iv. Let replValue be Call(replaceValue, undefined, replacerArgs). in Replace()
953 // v. Let replacement be ToString(replValue). in Replace()
974 …// ii. Let accumulatedResult be the String formed by concatenating the code units of the current v… in Replace()
981 // iii. Let nextSourcePosition be position + matchLength. in Replace()
1018 // 1. Let rx be the this value. in Search()
1020 // 3. Let S be ToString(string). in Search()
1030 // 4. Let previousLastIndex be ? Get(rx, "lastIndex"). in Search()
1041 // 6. Let result be ? RegExpExec(rx, S). in Search()
1044 // 7. Let currentLastIndex be ? Get(rx, "lastIndex"). in Search()
1071 // 1. Let rx be the this value. in Split()
1074 // 3. Let S be ToString(string). in Split()
1086 // 5. Let C be SpeciesConstructor(rx, %RegExp%). in Split()
1092 // 7. Let flags be ToString(Get(rx, "flags")). in Split()
1106 // 9. If flags contains "u", let unicodeMatching be true. in Split()
1107 // 10. Else, let unicodeMatching be false. in Split()
1110 // 11. If flags contains "y", let newFlags be flags. in Split()
1116 // 12. Else, let newFlags be the string that is the concatenation of flags and "y". in Split()
1121 // 17. If limit is undefined, let lim be 2^32–1; else let lim be ToUint32(limit). in Split()
1151 // 13. Let splitter be Construct(C, «rx, newFlags»). in Split()
1163 // 15. Let A be ArrayCreate(0). in Split()
1165 // 16. Let lengthA be 0. in Split()
1168 // 19. Let size be the number of elements in S. in Split()
1170 // 20. Let p be 0. in Split()
1178 // a. Let z be RegExpExec(splitter, S). in Split()
1192 // 23. Let q be p. in Split()
1198 // a. Let setStatus be Set(splitter, "lastIndex", q, true). in Split()
1206 // e. If z is null, let q be AdvanceStringIndex(S, q, unicodeMatching). in Split()
1211 // i. Let e be ToLength(Get(splitter, "lastIndex")). in Split()
1218 // iii. If e = p, let q be AdvanceStringIndex(S, q, unicodeMatching). in Split()
1223 … // 1. Let T be a String value equal to the substring of S consisting of the elements at indices p in Split()
1232 // 4. Let lengthA be lengthA +1. in Split()
1243 // 6. Let p be e. in Split()
1245 // 7. Let numberOfCaptures be ToLength(Get(z, "length")). in Split()
1253 // 9. Let numberOfCaptures be max(numberOfCaptures-1, 0). in Split()
1255 // 10. Let i be 1. in Split()
1259 // a. Let nextCapture be Get(z, ToString(i)). in Split()
1265 // d. Let i be i + 1. in Split()
1267 // e. Let lengthA be lengthA +1. in Split()
1279 // 12. Let q be p. in Split()
1284 …// 25. Let T be a String value equal to the substring of S consisting of the elements at indices p… in Split()
1334 // 5. Let length be the number of code units in S. in AdvanceStringIndex()
1340 // 7. Let first be the code unit value at index index in S. in AdvanceStringIndex()
1346 // 9. Let second be the code unit value at index index+1 in S. in AdvanceStringIndex()
1358 // 1. Let R be the this value. in GetFlagsInternal()
1370 // 4. Let flags be the value of R’s [[OriginalFlags]] internal slot. in GetFlagsInternal()
1439 // a. Let setStatus be Set(R, "lastIndex", e, true). in RegExpBuiltinExec()
1478 // a. Let capture_i be ith element of r's captures List in RegExpBuiltinExec()
1529 // 3. Let exec be Get(R, "exec"). in RegExpExec()
1567 * 1. Let obj be OrdinaryCreateFromConstructor(newTarget, "%RegExpPrototype%", in RegExpAlloc()
1650 ASSERT((flags & 0xC0) == 0); // 0xC0: first 2 bits of flags must be 0 in FlagsBitsToString()
1693 // 1. If pattern is undefined, let P be the empty String. in RegExpInitialize()
1697 // 2. Else, let P be ToString(pattern). in RegExpInitialize()
1702 // 4. If flags is undefined, let F be the empty String. in RegExpInitialize()
1708 // 5. Else, let F be ToString(flags). in RegExpInitialize()
1762 // 14. Let setStatus be Set(obj, "lastIndex", 0, true). in RegExpInitialize()
1779 // 1. Let obj be RegExpAlloc(%RegExp%). in RegExpCreate()