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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 Debug.debuggerFlags = function() {} | 79 Debug.debuggerFlags = function() {} |
80 | 80 |
81 | 81 |
82 /** @enum */ | 82 /** @enum */ |
83 const BreakPositionAlignment = { | 83 const BreakPositionAlignment = { |
84 Statement: 0, | 84 Statement: 0, |
85 BreakPosition: 1 | 85 BreakPosition: 1 |
86 }; | 86 }; |
87 Debug.BreakPositionAlignment = BreakPositionAlignment; | 87 Debug.BreakPositionAlignment = BreakPositionAlignment; |
88 | 88 |
89 /** @enum */ | |
90 Debug.StepAction = { StepOut: 0, | |
91 StepNext: 1, | |
92 StepIn: 2, | |
93 StepFrame: 3 }; | |
94 | |
95 /** @enum */ | |
96 const ScriptCompilationType = { Host: 0, | |
97 Eval: 1, | |
98 JSON: 2 }; | |
99 Debug.ScriptCompilationType = ScriptCompilationType; | |
100 | |
101 | 89 |
102 /** @interface */ | 90 /** @interface */ |
103 function DebuggerFlag() {} | 91 function DebuggerFlag() {} |
104 | 92 |
105 /** @param {boolean} value */ | 93 /** @param {boolean} value */ |
106 DebuggerFlag.prototype.setValue = function(value) {} | 94 DebuggerFlag.prototype.setValue = function(value) {} |
107 | 95 |
108 | 96 |
109 /** @typedef {{ | 97 /** @typedef {{ |
110 * breakPointsActive: !DebuggerFlag | 98 * breakPointsActive: !DebuggerFlag |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} | 462 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} |
475 | 463 |
476 /** | 464 /** |
477 * @interface | 465 * @interface |
478 * @extends {Mirror} | 466 * @extends {Mirror} |
479 */ | 467 */ |
480 function ContextMirror() {} | 468 function ContextMirror() {} |
481 | 469 |
482 /** @return {string|undefined} */ | 470 /** @return {string|undefined} */ |
483 ContextMirror.prototype.data = function() {} | 471 ContextMirror.prototype.data = function() {} |
OLD | NEW |