| 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 2450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2461 static Local<Symbol> For(Isolate *isolate, Local<String> name); | 2461 static Local<Symbol> For(Isolate *isolate, Local<String> name); |
| 2462 | 2462 |
| 2463 // Retrieve a global symbol. Similar to |For|, but using a separate | 2463 // Retrieve a global symbol. Similar to |For|, but using a separate |
| 2464 // registry that is not accessible by (and cannot clash with) JavaScript code. | 2464 // registry that is not accessible by (and cannot clash with) JavaScript code. |
| 2465 static Local<Symbol> ForApi(Isolate *isolate, Local<String> name); | 2465 static Local<Symbol> ForApi(Isolate *isolate, Local<String> name); |
| 2466 | 2466 |
| 2467 // Well-known symbols | 2467 // Well-known symbols |
| 2468 static Local<Symbol> GetIterator(Isolate* isolate); | 2468 static Local<Symbol> GetIterator(Isolate* isolate); |
| 2469 static Local<Symbol> GetUnscopables(Isolate* isolate); | 2469 static Local<Symbol> GetUnscopables(Isolate* isolate); |
| 2470 static Local<Symbol> GetToStringTag(Isolate* isolate); | 2470 static Local<Symbol> GetToStringTag(Isolate* isolate); |
| 2471 static Local<Symbol> GetIsConcatSpreadable(Isolate* isolate); |
| 2471 | 2472 |
| 2472 V8_INLINE static Symbol* Cast(v8::Value* obj); | 2473 V8_INLINE static Symbol* Cast(v8::Value* obj); |
| 2473 | 2474 |
| 2474 private: | 2475 private: |
| 2475 Symbol(); | 2476 Symbol(); |
| 2476 static void CheckCast(v8::Value* obj); | 2477 static void CheckCast(v8::Value* obj); |
| 2477 }; | 2478 }; |
| 2478 | 2479 |
| 2479 | 2480 |
| 2480 /** | 2481 /** |
| (...skipping 5857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8338 */ | 8339 */ |
| 8339 | 8340 |
| 8340 | 8341 |
| 8341 } // namespace v8 | 8342 } // namespace v8 |
| 8342 | 8343 |
| 8343 | 8344 |
| 8344 #undef TYPE_CHECK | 8345 #undef TYPE_CHECK |
| 8345 | 8346 |
| 8346 | 8347 |
| 8347 #endif // V8_H_ | 8348 #endif // V8_H_ |
| OLD | NEW |