Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: src/inspector/debugger_script_externs.js

Issue 2685483002: [debugger] expose side-effect free evaluate to inspector. (Closed)
Patch Set: tag as experimental Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** @typedef {{ 5 /** @typedef {{
6 type: string, 6 type: string,
7 object: !Object, 7 object: !Object,
8 name: (string|undefined), 8 name: (string|undefined),
9 startLocation: (!RawLocation|undefined), 9 startLocation: (!RawLocation|undefined),
10 endLocation: (!RawLocation|undefined) 10 endLocation: (!RawLocation|undefined)
(...skipping 13 matching lines...) Expand all
24 this: !Object, 24 this: !Object,
25 scopeChain: !Array<!Scope>, 25 scopeChain: !Array<!Scope>,
26 functionLocation: (RawLocation|undefined), 26 functionLocation: (RawLocation|undefined),
27 returnValue: (*|undefined) 27 returnValue: (*|undefined)
28 }} */ 28 }} */
29 var JavaScriptCallFrameDetails; 29 var JavaScriptCallFrameDetails;
30 30
31 /** @typedef {{ 31 /** @typedef {{
32 contextId: function():number, 32 contextId: function():number,
33 thisObject: !Object, 33 thisObject: !Object,
34 evaluate: function(string):*, 34 evaluate: function(string, boolean):*,
35 restart: function():undefined, 35 restart: function():undefined,
36 setVariableValue: function(number, string, *):undefined, 36 setVariableValue: function(number, string, *):undefined,
37 isAtReturn: boolean, 37 isAtReturn: boolean,
38 details: function():!JavaScriptCallFrameDetails 38 details: function():!JavaScriptCallFrameDetails
39 }} */ 39 }} */
40 var JavaScriptCallFrame; 40 var JavaScriptCallFrame;
41 41
42 /** 42 /**
43 * @const 43 * @const
44 */ 44 */
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 FrameMirror.prototype.allScopes = function(ignoreNestedScopes) {} 353 FrameMirror.prototype.allScopes = function(ignoreNestedScopes) {}
354 354
355 /** @return {!FrameDetails} */ 355 /** @return {!FrameDetails} */
356 FrameMirror.prototype.details = function() {} 356 FrameMirror.prototype.details = function() {}
357 357
358 /** @return {!ScriptMirror} */ 358 /** @return {!ScriptMirror} */
359 FrameMirror.prototype.script = function() {} 359 FrameMirror.prototype.script = function() {}
360 360
361 /** 361 /**
362 * @param {string} source 362 * @param {string} source
363 * @param {boolean} throwOnSideEffect
363 */ 364 */
364 FrameMirror.prototype.evaluate = function(source) {} 365 FrameMirror.prototype.evaluate = function(source, throwOnSideEffect) {}
365 366
366 FrameMirror.prototype.restart = function() {} 367 FrameMirror.prototype.restart = function() {}
367 368
368 /** @param {number} index */ 369 /** @param {number} index */
369 FrameMirror.prototype.scope = function(index) {} 370 FrameMirror.prototype.scope = function(index) {}
370 371
371 372
372 /** 373 /**
373 * @interface 374 * @interface
374 * @extends {Mirror} 375 * @extends {Mirror}
(...skipping 29 matching lines...) Expand all
404 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} 405 ScopeMirror.prototype.setVariableValue = function(name, newValue) {}
405 406
406 /** 407 /**
407 * @interface 408 * @interface
408 * @extends {Mirror} 409 * @extends {Mirror}
409 */ 410 */
410 function ContextMirror() {} 411 function ContextMirror() {}
411 412
412 /** @return {string|undefined} */ 413 /** @return {string|undefined} */
413 ContextMirror.prototype.data = function() {} 414 ContextMirror.prototype.data = function() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698