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 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 * @constructor | 530 * @constructor |
531 * @extends ValueMirror | 531 * @extends ValueMirror |
532 */ | 532 */ |
533 function NumberMirror(value) { | 533 function NumberMirror(value) { |
534 %_Call(ValueMirror, this, MirrorType.NUMBER_TYPE, value); | 534 %_Call(ValueMirror, this, MirrorType.NUMBER_TYPE, value); |
535 } | 535 } |
536 inherits(NumberMirror, ValueMirror); | 536 inherits(NumberMirror, ValueMirror); |
537 | 537 |
538 | 538 |
539 NumberMirror.prototype.toText = function() { | 539 NumberMirror.prototype.toText = function() { |
540 return %_NumberToString(this.value_); | 540 return %NumberToString(this.value_); |
541 }; | 541 }; |
542 | 542 |
543 | 543 |
544 /** | 544 /** |
545 * Mirror object for string values. | 545 * Mirror object for string values. |
546 * @param {string} value The string value reflected by this mirror | 546 * @param {string} value The string value reflected by this mirror |
547 * @constructor | 547 * @constructor |
548 * @extends ValueMirror | 548 * @extends ValueMirror |
549 */ | 549 */ |
550 function StringMirror(value) { | 550 function StringMirror(value) { |
(...skipping 1850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2401 "GeneratorMirror", GeneratorMirror, | 2401 "GeneratorMirror", GeneratorMirror, |
2402 "PropertyMirror", PropertyMirror, | 2402 "PropertyMirror", PropertyMirror, |
2403 "InternalPropertyMirror", InternalPropertyMirror, | 2403 "InternalPropertyMirror", InternalPropertyMirror, |
2404 "FrameMirror", FrameMirror, | 2404 "FrameMirror", FrameMirror, |
2405 "ScriptMirror", ScriptMirror, | 2405 "ScriptMirror", ScriptMirror, |
2406 "ScopeMirror", ScopeMirror, | 2406 "ScopeMirror", ScopeMirror, |
2407 "FrameDetails", FrameDetails, | 2407 "FrameDetails", FrameDetails, |
2408 ]); | 2408 ]); |
2409 | 2409 |
2410 }) | 2410 }) |
OLD | NEW |