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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, | 242 * is_debugger_script: boolean, |
243 * source: string, | 243 * source: string, |
244 * line_ends: !Array<number>, | |
245 * line_offset: number, | 244 * line_offset: number, |
246 * column_offset: number, | 245 * column_offset: number, |
247 * nameOrSourceURL: function():string, | 246 * nameOrSourceURL: function():string, |
248 * compilationType: function():!ScriptCompilationType, | 247 * compilationType: function():!ScriptCompilationType, |
249 * }} | 248 * }} |
250 */ | 249 */ |
251 var Script; | 250 var Script; |
252 | 251 |
253 /** @interface */ | 252 /** @interface */ |
254 function ScopeDetails() {} | 253 function ScopeDetails() {} |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} | 502 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} |
504 | 503 |
505 /** | 504 /** |
506 * @interface | 505 * @interface |
507 * @extends {Mirror} | 506 * @extends {Mirror} |
508 */ | 507 */ |
509 function ContextMirror() {} | 508 function ContextMirror() {} |
510 | 509 |
511 /** @return {string|undefined} */ | 510 /** @return {string|undefined} */ |
512 ContextMirror.prototype.data = function() {} | 511 ContextMirror.prototype.data = function() {} |
OLD | NEW |