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")
123 tokens.replace(0, "x") # supercedes insert at 0
144 tokens.replace(0, "z")
153 tokens.replace(2, "x")
164 tokens.replace(2, "x")
173 tokens.replace(2, "x")
183 tokens.replace(2, 4, "x")
193 tokens.replace(2, 4, "x")
205 tokens.replace(2, 4, "x")
215 tokens.replace(0, 6, "x")
224 tokens.replace(2, 4, "xyz")
233 tokens.replace(2, 4, "xyz")
234 tokens.replace(3, 5, "foo") # overlaps, error
245 tokens.replace(2, 4, "xyz")
246 tokens.replace(1, 3, "foo") # overlap, error
257 tokens.replace(2, 2, "xyz")
258 tokens.replace(0, 3, "foo")
286 tokens.replace(0, 2, "foo")
314 tokens.replace(1, 2, "foo")
315 tokens.replace(0, 3, "bar") # wipes prior nested replace
323 tokens.replace(0, 3, "bar")
324 tokens.replace(1, 2, "foo") # cannot split earlier replace
335 tokens.replace(1, 2, "foo")
336 tokens.replace(0, 2, "bar") # wipes prior nested replace
344 tokens.replace(1, 2, "foo")
345 tokens.replace(1, 3, "bar") # wipes prior nested replace
353 tokens.replace(1, 2, "foo")
354 tokens.replace(1, 2, "foo") # drop previous, identical
363 tokens.replace(1, 2, "foo") # kill prev insert
372 tokens.replace(2, 3, "foo")
380 tokens.replace(2, 3, "foo")
414 tokens.replace(4, 8, "0") # replace 3 * 0 with 0
442 tokens.replace(4, 8, "0") # replace 3 * 0 with 0