Lines Matching refs:replace
54 tokens.replace(0, "x")
63 tokens.replace(2, "x")
72 tokens.replace(1, "x")
81 tokens.replace(1, "x")
82 tokens.replace(1, "y")
92 tokens.replace(1, "x")
93 tokens.replace(1, "y")
102 tokens.replace(1, "x")
112 tokens.replace(0, 2, "x")
127 tokens.replace(0, "x") # supercedes insert at 0
148 tokens.replace(0, "z")
157 tokens.replace(2, "x")
168 tokens.replace(2, "x")
177 tokens.replace(2, "x")
187 tokens.replace(2, 4, "x")
197 tokens.replace(2, 4, "x")
212 tokens.replace(2, 4, "x")
222 tokens.replace(0, 6, "x")
231 tokens.replace(2, 4, "xyz")
240 tokens.replace(2, 4, "xyz")
241 tokens.replace(3, 5, "foo") # overlaps, error
255 tokens.replace(2, 4, "xyz")
256 tokens.replace(1, 3, "foo") # overlap, error
270 tokens.replace(2, 2, "xyz")
271 tokens.replace(0, 3, "foo")
299 tokens.replace(0, 2, "foo")
327 tokens.replace(1, 2, "foo")
328 tokens.replace(0, 3, "bar") # wipes prior nested replace
336 tokens.replace(0, 3, "bar")
337 tokens.replace(1, 2, "foo") # cannot split earlier replace
351 tokens.replace(1, 2, "foo")
352 tokens.replace(0, 2, "bar") # wipes prior nested replace
360 tokens.replace(1, 2, "foo")
361 tokens.replace(1, 3, "bar") # wipes prior nested replace
369 tokens.replace(1, 2, "foo")
370 tokens.replace(1, 2, "foo") # drop previous, identical
379 tokens.replace(1, 2, "foo") # kill prev insert
388 tokens.replace(2, 3, "foo")
396 tokens.replace(2, 3, "foo")
430 tokens.replace(4, 8, "0") # replace 3 * 0 with 0
458 tokens.replace(4, 8, "0") # replace 3 * 0 with 0