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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 Loading... | |
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() {} |
OLD | NEW |