| 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 2447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2458 static Local<Symbol> For(Isolate *isolate, Local<String> name); | 2458 static Local<Symbol> For(Isolate *isolate, Local<String> name); |
| 2459 | 2459 |
| 2460 // Retrieve a global symbol. Similar to |For|, but using a separate | 2460 // Retrieve a global symbol. Similar to |For|, but using a separate |
| 2461 // registry that is not accessible by (and cannot clash with) JavaScript code. | 2461 // registry that is not accessible by (and cannot clash with) JavaScript code. |
| 2462 static Local<Symbol> ForApi(Isolate *isolate, Local<String> name); | 2462 static Local<Symbol> ForApi(Isolate *isolate, Local<String> name); |
| 2463 | 2463 |
| 2464 // Well-known symbols | 2464 // Well-known symbols |
| 2465 static Local<Symbol> GetIterator(Isolate* isolate); | 2465 static Local<Symbol> GetIterator(Isolate* isolate); |
| 2466 static Local<Symbol> GetUnscopables(Isolate* isolate); | 2466 static Local<Symbol> GetUnscopables(Isolate* isolate); |
| 2467 static Local<Symbol> GetToStringTag(Isolate* isolate); | 2467 static Local<Symbol> GetToStringTag(Isolate* isolate); |
| 2468 static Local<Symbol> GetIsConcatSpreadable(Isolate* isolate); |
| 2468 | 2469 |
| 2469 V8_INLINE static Symbol* Cast(v8::Value* obj); | 2470 V8_INLINE static Symbol* Cast(v8::Value* obj); |
| 2470 | 2471 |
| 2471 private: | 2472 private: |
| 2472 Symbol(); | 2473 Symbol(); |
| 2473 static void CheckCast(v8::Value* obj); | 2474 static void CheckCast(v8::Value* obj); |
| 2474 }; | 2475 }; |
| 2475 | 2476 |
| 2476 | 2477 |
| 2477 /** | 2478 /** |
| (...skipping 5876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8354 */ | 8355 */ |
| 8355 | 8356 |
| 8356 | 8357 |
| 8357 } // namespace v8 | 8358 } // namespace v8 |
| 8358 | 8359 |
| 8359 | 8360 |
| 8360 #undef TYPE_CHECK | 8361 #undef TYPE_CHECK |
| 8361 | 8362 |
| 8362 | 8363 |
| 8363 #endif // V8_H_ | 8364 #endif // V8_H_ |
| OLD | NEW |