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 14 matching lines...) Expand all Loading... |
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), | 32 sourceID: function():(number), |
33 line: function():number, | 33 line: function():number, |
34 column: function():number, | 34 column: function():number, |
| 35 contextId: function():number, |
35 thisObject: !Object, | 36 thisObject: !Object, |
36 evaluate: function(string):*, | 37 evaluate: function(string):*, |
37 restart: function():undefined, | 38 restart: function():undefined, |
38 setVariableValue: function(number, string, *):undefined, | 39 setVariableValue: function(number, string, *):undefined, |
39 isAtReturn: boolean, | 40 isAtReturn: boolean, |
40 details: function():!JavaScriptCallFrameDetails | 41 details: function():!JavaScriptCallFrameDetails |
41 }} */ | 42 }} */ |
42 var JavaScriptCallFrame; | 43 var JavaScriptCallFrame; |
43 | 44 |
44 /** | 45 /** |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} | 483 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} |
483 | 484 |
484 /** | 485 /** |
485 * @interface | 486 * @interface |
486 * @extends {Mirror} | 487 * @extends {Mirror} |
487 */ | 488 */ |
488 function ContextMirror() {} | 489 function ContextMirror() {} |
489 | 490 |
490 /** @return {string|undefined} */ | 491 /** @return {string|undefined} */ |
491 ContextMirror.prototype.data = function() {} | 492 ContextMirror.prototype.data = function() {} |
OLD | NEW |