| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 isAtReturn: boolean, | 54 isAtReturn: boolean, |
| 55 details: function():!JavaScriptCallFrameDetails | 55 details: function():!JavaScriptCallFrameDetails |
| 56 }} */ | 56 }} */ |
| 57 var JavaScriptCallFrame; | 57 var JavaScriptCallFrame; |
| 58 | 58 |
| 59 /** | 59 /** |
| 60 * @const | 60 * @const |
| 61 */ | 61 */ |
| 62 var Debug = {}; | 62 var Debug = {}; |
| 63 | 63 |
| 64 Debug.clearStepping = function() {} | |
| 65 | |
| 66 Debug.clearAllBreakPoints = function() {} | 64 Debug.clearAllBreakPoints = function() {} |
| 67 | 65 |
| 68 /** @return {!Array<!Script>} */ | 66 /** @return {!Array<!Script>} */ |
| 69 Debug.scripts = function() {} | 67 Debug.scripts = function() {} |
| 70 | 68 |
| 71 /** | 69 /** |
| 72 * @param {number} scriptId | 70 * @param {number} scriptId |
| 73 * @param {number=} line | 71 * @param {number=} line |
| 74 * @param {number=} column | 72 * @param {number=} column |
| 75 * @param {string=} condition | 73 * @param {string=} condition |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 /** @interface */ | 183 /** @interface */ |
| 186 function BreakEvent() {} | 184 function BreakEvent() {} |
| 187 | 185 |
| 188 /** @return {!Array<!BreakPoint>|undefined} */ | 186 /** @return {!Array<!BreakPoint>|undefined} */ |
| 189 BreakEvent.prototype.breakPointsHit = function() {} | 187 BreakEvent.prototype.breakPointsHit = function() {} |
| 190 | 188 |
| 191 | 189 |
| 192 /** @interface */ | 190 /** @interface */ |
| 193 function ExecutionState() {} | 191 function ExecutionState() {} |
| 194 | 192 |
| 195 /** @param {!Debug.StepAction} action */ | |
| 196 ExecutionState.prototype.prepareStep = function(action) {} | |
| 197 | |
| 198 /** | 193 /** |
| 199 * @param {string} source | 194 * @param {string} source |
| 200 * @param {boolean} disableBreak | 195 * @param {boolean} disableBreak |
| 201 * @param {*=} additionalContext | 196 * @param {*=} additionalContext |
| 202 */ | 197 */ |
| 203 ExecutionState.prototype.evaluateGlobal = function(source, disableBreak, additio
nalContext) {} | 198 ExecutionState.prototype.evaluateGlobal = function(source, disableBreak, additio
nalContext) {} |
| 204 | 199 |
| 205 /** @return {number} */ | 200 /** @return {number} */ |
| 206 ExecutionState.prototype.frameCount = function() {} | 201 ExecutionState.prototype.frameCount = function() {} |
| 207 | 202 |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} | 503 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} |
| 509 | 504 |
| 510 /** | 505 /** |
| 511 * @interface | 506 * @interface |
| 512 * @extends {Mirror} | 507 * @extends {Mirror} |
| 513 */ | 508 */ |
| 514 function ContextMirror() {} | 509 function ContextMirror() {} |
| 515 | 510 |
| 516 /** @return {string|undefined} */ | 511 /** @return {string|undefined} */ |
| 517 ContextMirror.prototype.data = function() {} | 512 ContextMirror.prototype.data = function() {} |
| OLD | NEW |