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

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

Issue 2490903002: Simplify accesses to Script::line_ends (Closed)
Patch Set: Address comments Created 4 years, 1 month 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/bootstrapper.cc ('k') | src/objects.cc » ('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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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() {}
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698