OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1458 | 1458 |
1459 /** | 1459 /** |
1460 * Returns an array containing the names of the enumerable properties | 1460 * Returns an array containing the names of the enumerable properties |
1461 * of this object, including properties from prototype objects. The | 1461 * of this object, including properties from prototype objects. The |
1462 * array returned by this method contains the same values as would | 1462 * array returned by this method contains the same values as would |
1463 * be enumerated by a for-in statement over this object. | 1463 * be enumerated by a for-in statement over this object. |
1464 */ | 1464 */ |
1465 V8EXPORT Local<Array> GetPropertyNames(); | 1465 V8EXPORT Local<Array> GetPropertyNames(); |
1466 | 1466 |
1467 /** | 1467 /** |
| 1468 * This function has the same functionality as GetPropertyNames but |
| 1469 * the returned array doesn't contain the names of properties from |
| 1470 * prototype objects. |
| 1471 */ |
| 1472 V8EXPORT Local<Array> GetOwnPropertyNames(); |
| 1473 |
| 1474 /** |
1468 * Get the prototype object. This does not skip objects marked to | 1475 * Get the prototype object. This does not skip objects marked to |
1469 * be skipped by __proto__ and it does not consult the security | 1476 * be skipped by __proto__ and it does not consult the security |
1470 * handler. | 1477 * handler. |
1471 */ | 1478 */ |
1472 V8EXPORT Local<Value> GetPrototype(); | 1479 V8EXPORT Local<Value> GetPrototype(); |
1473 | 1480 |
1474 /** | 1481 /** |
1475 * Set the prototype object. This does not skip objects marked to | 1482 * Set the prototype object. This does not skip objects marked to |
1476 * be skipped by __proto__ and it does not consult the security | 1483 * be skipped by __proto__ and it does not consult the security |
1477 * handler. | 1484 * handler. |
(...skipping 2662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4140 | 4147 |
4141 | 4148 |
4142 } // namespace v8 | 4149 } // namespace v8 |
4143 | 4150 |
4144 | 4151 |
4145 #undef V8EXPORT | 4152 #undef V8EXPORT |
4146 #undef TYPE_CHECK | 4153 #undef TYPE_CHECK |
4147 | 4154 |
4148 | 4155 |
4149 #endif // V8_H_ | 4156 #endif // V8_H_ |
OLD | NEW |