| OLD | NEW |
| 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 Loading... |
| 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, boolean):*, | 34 evaluate: function(string):*, |
| 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 Loading... |
| 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 | |
| 364 */ | 363 */ |
| 365 FrameMirror.prototype.evaluate = function(source, throwOnSideEffect) {} | 364 FrameMirror.prototype.evaluate = function(source) {} |
| 366 | 365 |
| 367 FrameMirror.prototype.restart = function() {} | 366 FrameMirror.prototype.restart = function() {} |
| 368 | 367 |
| 369 /** @param {number} index */ | 368 /** @param {number} index */ |
| 370 FrameMirror.prototype.scope = function(index) {} | 369 FrameMirror.prototype.scope = function(index) {} |
| 371 | 370 |
| 372 | 371 |
| 373 /** | 372 /** |
| 374 * @interface | 373 * @interface |
| 375 * @extends {Mirror} | 374 * @extends {Mirror} |
| (...skipping 29 matching lines...) Expand all Loading... |
| 405 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} | 404 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} |
| 406 | 405 |
| 407 /** | 406 /** |
| 408 * @interface | 407 * @interface |
| 409 * @extends {Mirror} | 408 * @extends {Mirror} |
| 410 */ | 409 */ |
| 411 function ContextMirror() {} | 410 function ContextMirror() {} |
| 412 | 411 |
| 413 /** @return {string|undefined} */ | 412 /** @return {string|undefined} */ |
| 414 ContextMirror.prototype.data = function() {} | 413 ContextMirror.prototype.data = function() {} |
| OLD | NEW |