| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 2187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2198 Handle<Value> data = Handle<Value>(), | 2198 Handle<Value> data = Handle<Value>(), |
| 2199 AccessControl settings = DEFAULT, | 2199 AccessControl settings = DEFAULT, |
| 2200 PropertyAttribute attribute = None); | 2200 PropertyAttribute attribute = None); |
| 2201 | 2201 |
| 2202 // This function is not yet stable and should not be used at this time. | 2202 // This function is not yet stable and should not be used at this time. |
| 2203 bool SetDeclaredAccessor(Local<String> name, | 2203 bool SetDeclaredAccessor(Local<String> name, |
| 2204 Local<DeclaredAccessorDescriptor> descriptor, | 2204 Local<DeclaredAccessorDescriptor> descriptor, |
| 2205 PropertyAttribute attribute = None, | 2205 PropertyAttribute attribute = None, |
| 2206 AccessControl settings = DEFAULT); | 2206 AccessControl settings = DEFAULT); |
| 2207 | 2207 |
| 2208 void SetAccessorProperty(Local<String> name, |
| 2209 Local<Function> getter, |
| 2210 Handle<Function> setter = Handle<Function>(), |
| 2211 PropertyAttribute attribute = None, |
| 2212 AccessControl settings = DEFAULT); |
| 2213 |
| 2208 /** | 2214 /** |
| 2209 * Functionality for private properties. | 2215 * Functionality for private properties. |
| 2210 * This is an experimental feature, use at your own risk. | 2216 * This is an experimental feature, use at your own risk. |
| 2211 * Note: Private properties are inherited. Do not rely on this, since it may | 2217 * Note: Private properties are inherited. Do not rely on this, since it may |
| 2212 * change. | 2218 * change. |
| 2213 */ | 2219 */ |
| 2214 bool HasPrivate(Handle<Private> key); | 2220 bool HasPrivate(Handle<Private> key); |
| 2215 bool SetPrivate(Handle<Private> key, Handle<Value> value); | 2221 bool SetPrivate(Handle<Private> key, Handle<Value> value); |
| 2216 bool DeletePrivate(Handle<Private> key); | 2222 bool DeletePrivate(Handle<Private> key); |
| 2217 Local<Value> GetPrivate(Handle<Private> key); | 2223 Local<Value> GetPrivate(Handle<Private> key); |
| (...skipping 4393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6611 */ | 6617 */ |
| 6612 | 6618 |
| 6613 | 6619 |
| 6614 } // namespace v8 | 6620 } // namespace v8 |
| 6615 | 6621 |
| 6616 | 6622 |
| 6617 #undef TYPE_CHECK | 6623 #undef TYPE_CHECK |
| 6618 | 6624 |
| 6619 | 6625 |
| 6620 #endif // V8_H_ | 6626 #endif // V8_H_ |
| OLD | NEW |