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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 * end: number, | 232 * end: number, |
233 * }} | 233 * }} |
234 */ | 234 */ |
235 var SourceLocation; | 235 var SourceLocation; |
236 | 236 |
237 /** @typedef{{ | 237 /** @typedef{{ |
238 * id: number, | 238 * id: number, |
239 * context_data: (string|undefined), | 239 * context_data: (string|undefined), |
240 * source_url: (string|undefined), | 240 * source_url: (string|undefined), |
241 * source_mapping_url: (string|undefined), | 241 * source_mapping_url: (string|undefined), |
242 * is_debugger_script: boolean, | |
243 * source: string, | 242 * source: string, |
244 * line_offset: number, | 243 * line_offset: number, |
245 * column_offset: number, | 244 * column_offset: number, |
246 * nameOrSourceURL: function():string, | 245 * nameOrSourceURL: function():string, |
247 * compilationType: function():!ScriptCompilationType, | 246 * compilationType: function():!ScriptCompilationType, |
248 * }} | 247 * }} |
249 */ | 248 */ |
250 var Script; | 249 var Script; |
251 | 250 |
252 /** @interface */ | 251 /** @interface */ |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} | 501 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} |
503 | 502 |
504 /** | 503 /** |
505 * @interface | 504 * @interface |
506 * @extends {Mirror} | 505 * @extends {Mirror} |
507 */ | 506 */ |
508 function ContextMirror() {} | 507 function ContextMirror() {} |
509 | 508 |
510 /** @return {string|undefined} */ | 509 /** @return {string|undefined} */ |
511 ContextMirror.prototype.data = function() {} | 510 ContextMirror.prototype.data = function() {} |
OLD | NEW |