| 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):*, | 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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 FrameMirror.prototype.allScopes = function(ignoreNestedScopes) {} | 403 FrameMirror.prototype.allScopes = function(ignoreNestedScopes) {} |
| 404 | 404 |
| 405 /** @return {!FrameDetails} */ | 405 /** @return {!FrameDetails} */ |
| 406 FrameMirror.prototype.details = function() {} | 406 FrameMirror.prototype.details = function() {} |
| 407 | 407 |
| 408 /** @return {!ScriptMirror} */ | 408 /** @return {!ScriptMirror} */ |
| 409 FrameMirror.prototype.script = function() {} | 409 FrameMirror.prototype.script = function() {} |
| 410 | 410 |
| 411 /** | 411 /** |
| 412 * @param {string} source | 412 * @param {string} source |
| 413 * @param {boolean} allowSideEffect |
| 413 */ | 414 */ |
| 414 FrameMirror.prototype.evaluate = function(source) {} | 415 FrameMirror.prototype.evaluate = function(source, allowSideEffect) {} |
| 415 | 416 |
| 416 FrameMirror.prototype.restart = function() {} | 417 FrameMirror.prototype.restart = function() {} |
| 417 | 418 |
| 418 /** @param {number} index */ | 419 /** @param {number} index */ |
| 419 FrameMirror.prototype.scope = function(index) {} | 420 FrameMirror.prototype.scope = function(index) {} |
| 420 | 421 |
| 421 | 422 |
| 422 /** | 423 /** |
| 423 * @interface | 424 * @interface |
| 424 * @extends {Mirror} | 425 * @extends {Mirror} |
| (...skipping 29 matching lines...) Expand all Loading... |
| 454 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} | 455 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} |
| 455 | 456 |
| 456 /** | 457 /** |
| 457 * @interface | 458 * @interface |
| 458 * @extends {Mirror} | 459 * @extends {Mirror} |
| 459 */ | 460 */ |
| 460 function ContextMirror() {} | 461 function ContextMirror() {} |
| 461 | 462 |
| 462 /** @return {string|undefined} */ | 463 /** @return {string|undefined} */ |
| 463 ContextMirror.prototype.data = function() {} | 464 ContextMirror.prototype.data = function() {} |
| OLD | NEW |