Searched refs:sourceSlice (Results 1 – 4 of 4) sorted by relevance
/external/v8/test/mjsunit/ |
D | mirror-script.js | 93 assertEquals('(function(){\n', mirror.sourceSlice(0, 1).sourceText()); 94 assertEquals(' 1;\n', mirror.sourceSlice(1, 2).sourceText()); 95 assertEquals('})', mirror.sourceSlice(2, 3).sourceText()); 96 assertEquals('(function(){\n 1;\n', mirror.sourceSlice(0, 2).sourceText()); 97 assertEquals(' 1;\n})', mirror.sourceSlice(1, 3).sourceText()); 98 assertEquals('(function(){\n 1;\n})', mirror.sourceSlice(0, 3).sourceText());
|
D | debug-sourceslice.js | 58 assertEquals(source, script.sourceSlice().sourceText()); 63 var slice = script.sourceSlice(n, n + slice_size);
|
/external/v8/src/ |
D | mirror-debugger.js | 1876 ScriptMirror.prototype.sourceSlice = function (opt_from_line, opt_to_line) { method in ScriptMirror 1877 return this.script_.sourceSlice(opt_from_line, opt_to_line);
|
D | debug-debugger.js | 2211 var slice = script.sourceSlice(from_line, to_line);
|