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) |
11 }} */ | 11 }} */ |
12 var Scope; | 12 var Scope; |
13 | 13 |
14 /** @typedef {{ | 14 /** @typedef {{ |
15 scriptId: string, | 15 scriptId: string, |
16 lineNumber: number, | 16 lineNumber: number, |
17 columnNumber: number | 17 columnNumber: number |
18 }} */ | 18 }} */ |
19 var RawLocation; | 19 var RawLocation; |
20 | 20 |
21 /** @typedef {{ | 21 /** @typedef {{ |
22 id: number, | |
23 name: string, | |
24 sourceURL: (string|undefined), | |
25 sourceMappingURL: (string|undefined), | |
26 source: string, | |
27 startLine: number, | |
28 endLine: number, | |
29 startColumn: number, | |
30 endColumn: number, | |
31 executionContextId: number, | |
32 executionContextAuxData: string | |
33 }} */ | |
34 var FormattedScript; | |
35 | |
36 /** @typedef {{ | |
37 functionName: string, | 22 functionName: string, |
38 location: !RawLocation, | 23 location: !RawLocation, |
39 this: !Object, | 24 this: !Object, |
40 scopeChain: !Array<!Scope>, | 25 scopeChain: !Array<!Scope>, |
41 functionLocation: (RawLocation|undefined), | 26 functionLocation: (RawLocation|undefined), |
42 returnValue: (*|undefined) | 27 returnValue: (*|undefined) |
43 }} */ | 28 }} */ |
44 var JavaScriptCallFrameDetails; | 29 var JavaScriptCallFrameDetails; |
45 | 30 |
46 /** @typedef {{ | 31 /** @typedef {{ |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 function BreakPoint() {} | 152 function BreakPoint() {} |
168 | 153 |
169 /** @return {!BreakPoint|undefined} */ | 154 /** @return {!BreakPoint|undefined} */ |
170 BreakPoint.prototype.script_break_point = function() {} | 155 BreakPoint.prototype.script_break_point = function() {} |
171 | 156 |
172 /** @return {number} */ | 157 /** @return {number} */ |
173 BreakPoint.prototype.number = function() {} | 158 BreakPoint.prototype.number = function() {} |
174 | 159 |
175 | 160 |
176 /** @interface */ | 161 /** @interface */ |
177 function CompileEvent() {} | |
178 | |
179 /** @return {!ScriptMirror} */ | |
180 CompileEvent.prototype.script = function() {} | |
181 | |
182 | |
183 /** @interface */ | |
184 function BreakEvent() {} | 162 function BreakEvent() {} |
185 | 163 |
186 /** @return {!Array<!BreakPoint>|undefined} */ | 164 /** @return {!Array<!BreakPoint>|undefined} */ |
187 BreakEvent.prototype.breakPointsHit = function() {} | 165 BreakEvent.prototype.breakPointsHit = function() {} |
188 | 166 |
189 | 167 |
190 /** @interface */ | 168 /** @interface */ |
191 function ExecutionState() {} | 169 function ExecutionState() {} |
192 | 170 |
193 /** | 171 /** |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 * column:number, | 208 * column:number, |
231 * start: number, | 209 * start: number, |
232 * end: number, | 210 * end: number, |
233 * }} | 211 * }} |
234 */ | 212 */ |
235 var SourceLocation; | 213 var SourceLocation; |
236 | 214 |
237 /** @typedef{{ | 215 /** @typedef{{ |
238 * id: number, | 216 * id: number, |
239 * context_data: (string|undefined), | 217 * context_data: (string|undefined), |
240 * source_url: (string|undefined), | |
241 * source_mapping_url: (string|undefined), | |
242 * is_debugger_script: boolean, | |
243 * source: string, | |
244 * line_offset: number, | |
245 * column_offset: number, | |
246 * nameOrSourceURL: function():string, | |
247 * compilationType: function():!ScriptCompilationType, | |
248 * }} | 218 * }} |
249 */ | 219 */ |
250 var Script; | 220 var Script; |
251 | 221 |
252 /** @interface */ | 222 /** @interface */ |
253 function ScopeDetails() {} | 223 function ScopeDetails() {} |
254 | 224 |
255 /** @return {!Object} */ | 225 /** @return {!Object} */ |
256 ScopeDetails.prototype.object = function() {} | 226 ScopeDetails.prototype.object = function() {} |
257 | 227 |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} | 472 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} |
503 | 473 |
504 /** | 474 /** |
505 * @interface | 475 * @interface |
506 * @extends {Mirror} | 476 * @extends {Mirror} |
507 */ | 477 */ |
508 function ContextMirror() {} | 478 function ContextMirror() {} |
509 | 479 |
510 /** @return {string|undefined} */ | 480 /** @return {string|undefined} */ |
511 ContextMirror.prototype.data = function() {} | 481 ContextMirror.prototype.data = function() {} |
OLD | NEW |