Home
last modified time | relevance | path

Searched refs:sourceSlice (Results 1 – 4 of 4) sorted by relevance

/external/v8/test/mjsunit/
Dmirror-script.js93 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());
Ddebug-sourceslice.js58 assertEquals(source, script.sourceSlice().sourceText());
63 var slice = script.sourceSlice(n, n + slice_size);
/external/v8/src/
Dmirror-debugger.js1876 ScriptMirror.prototype.sourceSlice = function (opt_from_line, opt_to_line) { method in ScriptMirror
1877 return this.script_.sourceSlice(opt_from_line, opt_to_line);
Ddebug-debugger.js2211 var slice = script.sourceSlice(from_line, to_line);