| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 /** | 5 /** |
| 6 * This header contains a set of experimental V8 APIs. We hope these will | 6 * This header contains a set of experimental V8 APIs. We hope these will |
| 7 * become a part of standard V8, but they may also be removed if we deem the | 7 * become a part of standard V8, but they may also be removed if we deem the |
| 8 * experiment to not be successul. | 8 * experiment to not be successul. |
| 9 */ | 9 */ |
| 10 #ifndef V8_INCLUDE_V8_EXPERIMENTAL_H_ | 10 #ifndef V8_INCLUDE_V8_EXPERIMENTAL_H_ |
| 11 #define V8_INCLUDE_V8_EXPERIMENTAL_H_ | 11 #define V8_INCLUDE_V8_EXPERIMENTAL_H_ |
| 12 | 12 |
| 13 #include "include/v8.h" | 13 #include "v8.h" // NOLINT(build/include) |
| 14 | 14 |
| 15 namespace v8 { | 15 namespace v8 { |
| 16 namespace experimental { | 16 namespace experimental { |
| 17 | 17 |
| 18 // Allow the embedder to construct accessors that V8 can compile and use | 18 // Allow the embedder to construct accessors that V8 can compile and use |
| 19 // directly, without jumping into the runtime. | 19 // directly, without jumping into the runtime. |
| 20 class V8_EXPORT FastAccessorBuilder { | 20 class V8_EXPORT FastAccessorBuilder { |
| 21 public: | 21 public: |
| 22 struct ValueId { | 22 struct ValueId { |
| 23 size_t value_id; | 23 size_t value_id; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 45 FastAccessorBuilder() = delete; | 45 FastAccessorBuilder() = delete; |
| 46 FastAccessorBuilder(const FastAccessorBuilder&) = delete; | 46 FastAccessorBuilder(const FastAccessorBuilder&) = delete; |
| 47 ~FastAccessorBuilder() = delete; | 47 ~FastAccessorBuilder() = delete; |
| 48 void operator=(const FastAccessorBuilder&) = delete; | 48 void operator=(const FastAccessorBuilder&) = delete; |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace experimental | 51 } // namespace experimental |
| 52 } // namespace v8 | 52 } // namespace v8 |
| 53 | 53 |
| 54 #endif // V8_INCLUDE_V8_EXPERIMENTAL_H_ | 54 #endif // V8_INCLUDE_V8_EXPERIMENTAL_H_ |
| OLD | NEW |