| OLD | NEW |
| 1 // Copyright 2006-2012 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2012 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 (function(global, utils) { | 5 (function(global, utils) { |
| 6 "use strict"; | 6 "use strict"; |
| 7 | 7 |
| 8 // ---------------------------------------------------------------------------- | 8 // ---------------------------------------------------------------------------- |
| 9 // Imports | 9 // Imports |
| 10 | 10 |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 // NOTE: these constants should be backward-compatible, so | 250 // NOTE: these constants should be backward-compatible, so |
| 251 // add new ones to the end of this list. | 251 // add new ones to the end of this list. |
| 252 var ScopeType = { Global: 0, | 252 var ScopeType = { Global: 0, |
| 253 Local: 1, | 253 Local: 1, |
| 254 With: 2, | 254 With: 2, |
| 255 Closure: 3, | 255 Closure: 3, |
| 256 Catch: 4, | 256 Catch: 4, |
| 257 Block: 5, | 257 Block: 5, |
| 258 Script: 6, | 258 Script: 6, |
| 259 Eval: 7, | 259 Eval: 7, |
| 260 Module: 8, |
| 260 }; | 261 }; |
| 261 | 262 |
| 262 /** | 263 /** |
| 263 * Base class for all mirror objects. | 264 * Base class for all mirror objects. |
| 264 * @param {string} type The type of the mirror | 265 * @param {string} type The type of the mirror |
| 265 * @constructor | 266 * @constructor |
| 266 */ | 267 */ |
| 267 function Mirror(type) { | 268 function Mirror(type) { |
| 268 this.type_ = type; | 269 this.type_ = type; |
| 269 } | 270 } |
| (...skipping 2815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3085 // Functions needed by the debugger runtime. | 3086 // Functions needed by the debugger runtime. |
| 3086 utils.InstallFunctions(utils, DONT_ENUM, [ | 3087 utils.InstallFunctions(utils, DONT_ENUM, [ |
| 3087 "ClearMirrorCache", ClearMirrorCache | 3088 "ClearMirrorCache", ClearMirrorCache |
| 3088 ]); | 3089 ]); |
| 3089 | 3090 |
| 3090 // Export to debug.js | 3091 // Export to debug.js |
| 3091 utils.Export(function(to) { | 3092 utils.Export(function(to) { |
| 3092 to.MirrorType = MirrorType; | 3093 to.MirrorType = MirrorType; |
| 3093 }); | 3094 }); |
| 3094 }) | 3095 }) |
| OLD | NEW |