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

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

Issue 2568083002: [inspector] add scope type for modules. (Closed)
Patch Set: Created 4 years 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
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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 192
193 193
194 /** @enum */ 194 /** @enum */
195 var ScopeType = { Global: 0, 195 var ScopeType = { Global: 0,
196 Local: 1, 196 Local: 1,
197 With: 2, 197 With: 2,
198 Closure: 3, 198 Closure: 3,
199 Catch: 4, 199 Catch: 4,
200 Block: 5, 200 Block: 5,
201 Script: 6, 201 Script: 6,
202 Eval: 7 }; 202 Eval: 7,
203 Module: 8};
jgruber 2016/12/12 13:23:48 Nit: Whitespace before bracket.
203 204
204 205
205 /** @typedef {{ 206 /** @typedef {{
206 * script: number, 207 * script: number,
207 * position: number, 208 * position: number,
208 * line: number, 209 * line: number,
209 * column:number, 210 * column:number,
210 * start: number, 211 * start: number,
211 * end: number, 212 * end: number,
212 * }} 213 * }}
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} 483 ScopeMirror.prototype.setVariableValue = function(name, newValue) {}
483 484
484 /** 485 /**
485 * @interface 486 * @interface
486 * @extends {Mirror} 487 * @extends {Mirror}
487 */ 488 */
488 function ContextMirror() {} 489 function ContextMirror() {}
489 490
490 /** @return {string|undefined} */ 491 /** @return {string|undefined} */
491 ContextMirror.prototype.data = function() {} 492 ContextMirror.prototype.data = function() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698