Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: src/inspector/debugger_script_externs.js

Issue 2672213002: [inspector] introduced v8::debug::EntriesPreview for inspector (Closed)
Patch Set: addressed comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/inspector/debugger-script.js ('k') | src/inspector/v8-debugger.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 244
245 /** @interface */ 245 /** @interface */
246 function Mirror() {} 246 function Mirror() {}
247 247
248 /** @return {boolean} */ 248 /** @return {boolean} */
249 Mirror.prototype.isFunction = function() {} 249 Mirror.prototype.isFunction = function() {}
250 250
251 /** @return {boolean} */ 251 /** @return {boolean} */
252 Mirror.prototype.isGenerator = function() {} 252 Mirror.prototype.isGenerator = function() {}
253 253
254 /** @return {boolean} */
255 Mirror.prototype.isMap = function() {}
256
257 /** @return {boolean} */
258 Mirror.prototype.isSet = function() {}
259
260 /** @return {boolean} */
261 Mirror.prototype.isIterator = function() {}
262
263
264 /** 254 /**
265 * @interface 255 * @interface
266 * @extends {Mirror} 256 * @extends {Mirror}
267 */ 257 */
268 function ObjectMirror() {} 258 function ObjectMirror() {}
269 259
270 /** @return {!Array<!PropertyMirror>} */ 260 /** @return {!Array<!PropertyMirror>} */
271 ObjectMirror.prototype.properties = function() {} 261 ObjectMirror.prototype.properties = function() {}
272 262
273 263
(...skipping 29 matching lines...) Expand all
303 293
304 /** @return {!ContextMirror|undefined} */ 294 /** @return {!ContextMirror|undefined} */
305 FunctionMirror.prototype.context = function() {} 295 FunctionMirror.prototype.context = function() {}
306 296
307 /** 297 /**
308 * @constructor 298 * @constructor
309 * @param {*} value 299 * @param {*} value
310 */ 300 */
311 function UnresolvedFunctionMirror(value) {} 301 function UnresolvedFunctionMirror(value) {}
312 302
313
314 /** 303 /**
315 * @interface 304 * @interface
316 * @extends {ObjectMirror} 305 * @extends {ObjectMirror}
317 */
318 function MapMirror () {}
319
320 /**
321 * @param {number=} limit
322 * @return {!Array<!{key: *, value: *}>}
323 */
324 MapMirror.prototype.entries = function(limit) {}
325
326
327 /**
328 * @interface
329 * @extends {ObjectMirror}
330 */
331 function SetMirror () {}
332
333 /**
334 * @param {number=} limit
335 * @return {!Array<*>}
336 */
337 SetMirror.prototype.values = function(limit) {}
338
339
340 /**
341 * @interface
342 * @extends {ObjectMirror}
343 */
344 function IteratorMirror () {}
345
346 /**
347 * @param {number=} limit
348 * @return {!Array<*>}
349 */
350 IteratorMirror.prototype.preview = function(limit) {}
351
352
353 /**
354 * @interface
355 * @extends {ObjectMirror}
356 */ 306 */
357 function GeneratorMirror () {} 307 function GeneratorMirror () {}
358 308
359 /** @return {string} */ 309 /** @return {string} */
360 GeneratorMirror.prototype.status = function() {} 310 GeneratorMirror.prototype.status = function() {}
361 311
362 /** @return {!SourceLocation|undefined} */ 312 /** @return {!SourceLocation|undefined} */
363 GeneratorMirror.prototype.sourceLocation = function() {} 313 GeneratorMirror.prototype.sourceLocation = function() {}
364 314
365 /** @return {!FunctionMirror} */ 315 /** @return {!FunctionMirror} */
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} 404 ScopeMirror.prototype.setVariableValue = function(name, newValue) {}
455 405
456 /** 406 /**
457 * @interface 407 * @interface
458 * @extends {Mirror} 408 * @extends {Mirror}
459 */ 409 */
460 function ContextMirror() {} 410 function ContextMirror() {}
461 411
462 /** @return {string|undefined} */ 412 /** @return {string|undefined} */
463 ContextMirror.prototype.data = function() {} 413 ContextMirror.prototype.data = function() {}
OLDNEW
« no previous file with comments | « src/inspector/debugger-script.js ('k') | src/inspector/v8-debugger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698