| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 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 /** \mainpage V8 API Reference Guide | 5 /** \mainpage V8 API Reference Guide |
| 6 * | 6 * |
| 7 * V8 is Google's open source JavaScript engine. | 7 * V8 is Google's open source JavaScript engine. |
| 8 * | 8 * |
| 9 * This set of documents provides reference material generated from the | 9 * This set of documents provides reference material generated from the |
| 10 * V8 header file, include/v8.h. | 10 * V8 header file, include/v8.h. |
| (...skipping 4168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4179 */ | 4179 */ |
| 4180 bool HasInstance(Handle<Value> object); | 4180 bool HasInstance(Handle<Value> object); |
| 4181 | 4181 |
| 4182 private: | 4182 private: |
| 4183 FunctionTemplate(); | 4183 FunctionTemplate(); |
| 4184 friend class Context; | 4184 friend class Context; |
| 4185 friend class ObjectTemplate; | 4185 friend class ObjectTemplate; |
| 4186 }; | 4186 }; |
| 4187 | 4187 |
| 4188 | 4188 |
| 4189 enum class PropertyHandlerFlags { kNone = 0, kAllCanRead = 1 }; | 4189 enum class PropertyHandlerFlags { |
| 4190 kNone = 0, |
| 4191 // See ALL_CAN_READ above. |
| 4192 kAllCanRead = 1, |
| 4193 // Will not call into interceptor for properties on the receiver or prototype |
| 4194 // chain. Currently only valid for named interceptors. |
| 4195 kNonMasking = 1 << 1, |
| 4196 // Will not call into interceptor for symbol lookup. Only meaningful for |
| 4197 // named interceptors. |
| 4198 kOnlyInterceptStrings = 1 << 2, |
| 4199 }; |
| 4190 | 4200 |
| 4191 | 4201 |
| 4192 struct NamedPropertyHandlerConfiguration { | 4202 struct NamedPropertyHandlerConfiguration { |
| 4193 NamedPropertyHandlerConfiguration( | 4203 NamedPropertyHandlerConfiguration( |
| 4194 /** Note: getter is required **/ | 4204 /** Note: getter is required **/ |
| 4195 GenericNamedPropertyGetterCallback getter = 0, | 4205 GenericNamedPropertyGetterCallback getter = 0, |
| 4196 GenericNamedPropertySetterCallback setter = 0, | 4206 GenericNamedPropertySetterCallback setter = 0, |
| 4197 GenericNamedPropertyQueryCallback query = 0, | 4207 GenericNamedPropertyQueryCallback query = 0, |
| 4198 GenericNamedPropertyDeleterCallback deleter = 0, | 4208 GenericNamedPropertyDeleterCallback deleter = 0, |
| 4199 GenericNamedPropertyEnumeratorCallback enumerator = 0, | 4209 GenericNamedPropertyEnumeratorCallback enumerator = 0, |
| (...skipping 3716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7916 */ | 7926 */ |
| 7917 | 7927 |
| 7918 | 7928 |
| 7919 } // namespace v8 | 7929 } // namespace v8 |
| 7920 | 7930 |
| 7921 | 7931 |
| 7922 #undef TYPE_CHECK | 7932 #undef TYPE_CHECK |
| 7923 | 7933 |
| 7924 | 7934 |
| 7925 #endif // V8_H_ | 7935 #endif // V8_H_ |
| OLD | NEW |