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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 * @param {*} value | 299 * @param {*} value |
300 */ | 300 */ |
301 function UnresolvedFunctionMirror(value) {} | 301 function UnresolvedFunctionMirror(value) {} |
302 | 302 |
303 /** | 303 /** |
304 * @interface | 304 * @interface |
305 * @extends {ObjectMirror} | 305 * @extends {ObjectMirror} |
306 */ | 306 */ |
307 function GeneratorMirror () {} | 307 function GeneratorMirror () {} |
308 | 308 |
309 /** @return {string} */ | |
310 GeneratorMirror.prototype.status = function() {} | |
311 | |
312 /** @return {!SourceLocation|undefined} */ | |
313 GeneratorMirror.prototype.sourceLocation = function() {} | |
314 | |
315 /** @return {!FunctionMirror} */ | |
316 GeneratorMirror.prototype.func = function() {} | |
317 | |
318 /** @return {number} */ | 309 /** @return {number} */ |
319 GeneratorMirror.prototype.scopeCount = function() {} | 310 GeneratorMirror.prototype.scopeCount = function() {} |
320 | 311 |
321 /** | 312 /** |
322 * @param {number} index | 313 * @param {number} index |
323 * @return {!ScopeMirror|undefined} | 314 * @return {!ScopeMirror|undefined} |
324 */ | 315 */ |
325 GeneratorMirror.prototype.scope = function(index) {} | 316 GeneratorMirror.prototype.scope = function(index) {} |
326 | 317 |
327 | 318 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} | 395 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} |
405 | 396 |
406 /** | 397 /** |
407 * @interface | 398 * @interface |
408 * @extends {Mirror} | 399 * @extends {Mirror} |
409 */ | 400 */ |
410 function ContextMirror() {} | 401 function ContextMirror() {} |
411 | 402 |
412 /** @return {string|undefined} */ | 403 /** @return {string|undefined} */ |
413 ContextMirror.prototype.data = function() {} | 404 ContextMirror.prototype.data = function() {} |
OLD | NEW |