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 11 matching lines...) Expand all Loading... |
22 functionName: string, | 22 functionName: string, |
23 location: !RawLocation, | 23 location: !RawLocation, |
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 sourceID: function():(number), | |
33 line: function():number, | |
34 column: function():number, | |
35 contextId: function():number, | 32 contextId: function():number, |
36 thisObject: !Object, | 33 thisObject: !Object, |
37 evaluate: function(string):*, | 34 evaluate: function(string):*, |
38 restart: function():undefined, | 35 restart: function():undefined, |
39 setVariableValue: function(number, string, *):undefined, | 36 setVariableValue: function(number, string, *):undefined, |
40 isAtReturn: boolean, | 37 isAtReturn: boolean, |
41 details: function():!JavaScriptCallFrameDetails | 38 details: function():!JavaScriptCallFrameDetails |
42 }} */ | 39 }} */ |
43 var JavaScriptCallFrame; | 40 var JavaScriptCallFrame; |
44 | 41 |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} | 459 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} |
463 | 460 |
464 /** | 461 /** |
465 * @interface | 462 * @interface |
466 * @extends {Mirror} | 463 * @extends {Mirror} |
467 */ | 464 */ |
468 function ContextMirror() {} | 465 function ContextMirror() {} |
469 | 466 |
470 /** @return {string|undefined} */ | 467 /** @return {string|undefined} */ |
471 ContextMirror.prototype.data = function() {} | 468 ContextMirror.prototype.data = function() {} |
OLD | NEW |