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 1511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1522 PropertyMirror.prototype.attributes = function() { | 1522 PropertyMirror.prototype.attributes = function() { |
1523 return %DebugPropertyAttributesFromDetails(this.details_); | 1523 return %DebugPropertyAttributesFromDetails(this.details_); |
1524 }; | 1524 }; |
1525 | 1525 |
1526 | 1526 |
1527 PropertyMirror.prototype.propertyType = function() { | 1527 PropertyMirror.prototype.propertyType = function() { |
1528 return %DebugPropertyTypeFromDetails(this.details_); | 1528 return %DebugPropertyTypeFromDetails(this.details_); |
1529 }; | 1529 }; |
1530 | 1530 |
1531 | 1531 |
1532 PropertyMirror.prototype.insertionIndex = function() { | |
1533 return %DebugPropertyIndexFromDetails(this.details_); | |
1534 }; | |
1535 | |
1536 | |
1537 /** | 1532 /** |
1538 * Returns whether this property has a getter defined through __defineGetter__. | 1533 * Returns whether this property has a getter defined through __defineGetter__. |
1539 * @return {booolean} True if this property has a getter | 1534 * @return {booolean} True if this property has a getter |
1540 */ | 1535 */ |
1541 PropertyMirror.prototype.hasGetter = function() { | 1536 PropertyMirror.prototype.hasGetter = function() { |
1542 return this.getter_ ? true : false; | 1537 return this.getter_ ? true : false; |
1543 }; | 1538 }; |
1544 | 1539 |
1545 | 1540 |
1546 /** | 1541 /** |
(...skipping 1496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3043 // Functions needed by the debugger runtime. | 3038 // Functions needed by the debugger runtime. |
3044 utils.InstallFunctions(utils, DONT_ENUM, [ | 3039 utils.InstallFunctions(utils, DONT_ENUM, [ |
3045 "ClearMirrorCache", ClearMirrorCache | 3040 "ClearMirrorCache", ClearMirrorCache |
3046 ]); | 3041 ]); |
3047 | 3042 |
3048 // Export to debug.js | 3043 // Export to debug.js |
3049 utils.Export(function(to) { | 3044 utils.Export(function(to) { |
3050 to.MirrorType = MirrorType; | 3045 to.MirrorType = MirrorType; |
3051 }); | 3046 }); |
3052 }) | 3047 }) |
OLD | NEW |