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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 */ | 65 */ |
66 Debug.findBreakPointActualLocations = function(breakId) {} | 66 Debug.findBreakPointActualLocations = function(breakId) {} |
67 | 67 |
68 /** | 68 /** |
69 * @param {number} breakId | 69 * @param {number} breakId |
70 * @param {boolean} remove | 70 * @param {boolean} remove |
71 * @return {!BreakPoint|undefined} | 71 * @return {!BreakPoint|undefined} |
72 */ | 72 */ |
73 Debug.findBreakPoint = function(breakId, remove) {} | 73 Debug.findBreakPoint = function(breakId, remove) {} |
74 | 74 |
75 /** @return {!DebuggerFlags} */ | |
76 Debug.debuggerFlags = function() {} | |
77 | |
78 | |
79 /** @enum */ | 75 /** @enum */ |
80 const BreakPositionAlignment = { | 76 const BreakPositionAlignment = { |
81 Statement: 0, | 77 Statement: 0, |
82 BreakPosition: 1 | 78 BreakPosition: 1 |
83 }; | 79 }; |
84 Debug.BreakPositionAlignment = BreakPositionAlignment; | 80 Debug.BreakPositionAlignment = BreakPositionAlignment; |
85 | 81 |
86 | |
87 /** @interface */ | |
88 function DebuggerFlag() {} | |
89 | |
90 /** @param {boolean} value */ | |
91 DebuggerFlag.prototype.setValue = function(value) {} | |
92 | |
93 | |
94 /** @typedef {{ | |
95 * breakPointsActive: !DebuggerFlag | |
96 * }} | |
97 */ | |
98 var DebuggerFlags; | |
99 | |
100 /** @const */ | 82 /** @const */ |
101 var LiveEdit = {} | 83 var LiveEdit = {} |
102 | 84 |
103 /** | 85 /** |
104 * @param {!Script} script | 86 * @param {!Script} script |
105 * @param {string} newSource | 87 * @param {string} newSource |
106 * @param {boolean} previewOnly | 88 * @param {boolean} previewOnly |
107 * @return {!{stack_modified: (boolean|undefined)}} | 89 * @return {!{stack_modified: (boolean|undefined)}} |
108 */ | 90 */ |
109 LiveEdit.SetScriptSource = function(script, newSource, previewOnly, change_log)
{} | 91 LiveEdit.SetScriptSource = function(script, newSource, previewOnly, change_log)
{} |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} | 378 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} |
397 | 379 |
398 /** | 380 /** |
399 * @interface | 381 * @interface |
400 * @extends {Mirror} | 382 * @extends {Mirror} |
401 */ | 383 */ |
402 function ContextMirror() {} | 384 function ContextMirror() {} |
403 | 385 |
404 /** @return {string|undefined} */ | 386 /** @return {string|undefined} */ |
405 ContextMirror.prototype.data = function() {} | 387 ContextMirror.prototype.data = function() {} |
OLD | NEW |