Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Side by Side Diff: include/v8.h

Issue 7912: Property enumeration (Closed)
Patch Set: Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 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 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 PropertyAttribute attribs = None); 1015 PropertyAttribute attribs = None);
1016 Local<Value> Get(Handle<Value> key); 1016 Local<Value> Get(Handle<Value> key);
1017 1017
1018 // TODO(1245389): Replace the type-specific versions of these 1018 // TODO(1245389): Replace the type-specific versions of these
1019 // functions with generic ones that accept a Handle<Value> key. 1019 // functions with generic ones that accept a Handle<Value> key.
1020 bool Has(Handle<String> key); 1020 bool Has(Handle<String> key);
1021 bool Delete(Handle<String> key); 1021 bool Delete(Handle<String> key);
1022 bool Has(uint32_t index); 1022 bool Has(uint32_t index);
1023 bool Delete(uint32_t index); 1023 bool Delete(uint32_t index);
1024 1024
1025 Local<Array> GetProperties();
Kasper Lund 2008/10/23 10:13:26 Should this have a comment that describes what thi
1026
1025 /** 1027 /**
1026 * Get the prototype object. This does not skip objects marked to 1028 * Get the prototype object. This does not skip objects marked to
1027 * be skipped by __proto__ and it does not consult the security 1029 * be skipped by __proto__ and it does not consult the security
1028 * handler. 1030 * handler.
1029 */ 1031 */
1030 Local<Value> GetPrototype(); 1032 Local<Value> GetPrototype();
1031 1033
1032 /** 1034 /**
1033 * Call builtin Object.prototype.toString on this object. 1035 * Call builtin Object.prototype.toString on this object.
1034 * This is different from Value::ToString() that may call 1036 * This is different from Value::ToString() that may call
(...skipping 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after
2416 2418
2417 } // namespace v8 2419 } // namespace v8
2418 2420
2419 2421
2420 #undef EXPORT 2422 #undef EXPORT
2421 #undef EXPORT_INLINE 2423 #undef EXPORT_INLINE
2422 #undef TYPE_CHECK 2424 #undef TYPE_CHECK
2423 2425
2424 2426
2425 #endif // V8_H_ 2427 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698