| 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 3427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3438 * 26.2.1). | 3438 * 26.2.1). |
| 3439 */ | 3439 */ |
| 3440 class V8_EXPORT Proxy : public Object { | 3440 class V8_EXPORT Proxy : public Object { |
| 3441 public: | 3441 public: |
| 3442 Local<Object> GetTarget(); | 3442 Local<Object> GetTarget(); |
| 3443 Local<Value> GetHandler(); | 3443 Local<Value> GetHandler(); |
| 3444 bool IsRevoked(); | 3444 bool IsRevoked(); |
| 3445 void Revoke(); | 3445 void Revoke(); |
| 3446 | 3446 |
| 3447 /** | 3447 /** |
| 3448 * Creates a new empty Map. | 3448 * Creates a new Proxy for the target object. |
| 3449 */ | 3449 */ |
| 3450 static MaybeLocal<Proxy> New(Local<Context> context, | 3450 static MaybeLocal<Proxy> New(Local<Context> context, |
| 3451 Local<Object> local_target, | 3451 Local<Object> local_target, |
| 3452 Local<Object> local_handler); | 3452 Local<Object> local_handler); |
| 3453 | 3453 |
| 3454 V8_INLINE static Proxy* Cast(Value* obj); | 3454 V8_INLINE static Proxy* Cast(Value* obj); |
| 3455 | 3455 |
| 3456 private: | 3456 private: |
| 3457 Proxy(); | 3457 Proxy(); |
| 3458 static void CheckCast(Value* obj); | 3458 static void CheckCast(Value* obj); |
| (...skipping 5496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8955 */ | 8955 */ |
| 8956 | 8956 |
| 8957 | 8957 |
| 8958 } // namespace v8 | 8958 } // namespace v8 |
| 8959 | 8959 |
| 8960 | 8960 |
| 8961 #undef TYPE_CHECK | 8961 #undef TYPE_CHECK |
| 8962 | 8962 |
| 8963 | 8963 |
| 8964 #endif // INCLUDE_V8_H_ | 8964 #endif // INCLUDE_V8_H_ |
| OLD | NEW |