| 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 2678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2689 // To minimize the potential for clashes, use qualified names as keys. | 2689 // To minimize the potential for clashes, use qualified names as keys. |
| 2690 static Local<Symbol> For(Isolate *isolate, Local<String> name); | 2690 static Local<Symbol> For(Isolate *isolate, Local<String> name); |
| 2691 | 2691 |
| 2692 // Retrieve a global symbol. Similar to |For|, but using a separate | 2692 // Retrieve a global symbol. Similar to |For|, but using a separate |
| 2693 // registry that is not accessible by (and cannot clash with) JavaScript code. | 2693 // registry that is not accessible by (and cannot clash with) JavaScript code. |
| 2694 static Local<Symbol> ForApi(Isolate *isolate, Local<String> name); | 2694 static Local<Symbol> ForApi(Isolate *isolate, Local<String> name); |
| 2695 | 2695 |
| 2696 // Well-known symbols | 2696 // Well-known symbols |
| 2697 static Local<Symbol> GetIterator(Isolate* isolate); | 2697 static Local<Symbol> GetIterator(Isolate* isolate); |
| 2698 static Local<Symbol> GetUnscopables(Isolate* isolate); | 2698 static Local<Symbol> GetUnscopables(Isolate* isolate); |
| 2699 static Local<Symbol> GetToPrimitive(Isolate* isolate); |
| 2699 static Local<Symbol> GetToStringTag(Isolate* isolate); | 2700 static Local<Symbol> GetToStringTag(Isolate* isolate); |
| 2700 static Local<Symbol> GetIsConcatSpreadable(Isolate* isolate); | 2701 static Local<Symbol> GetIsConcatSpreadable(Isolate* isolate); |
| 2701 | 2702 |
| 2702 V8_INLINE static Symbol* Cast(Value* obj); | 2703 V8_INLINE static Symbol* Cast(Value* obj); |
| 2703 | 2704 |
| 2704 private: | 2705 private: |
| 2705 Symbol(); | 2706 Symbol(); |
| 2706 static void CheckCast(Value* obj); | 2707 static void CheckCast(Value* obj); |
| 2707 }; | 2708 }; |
| 2708 | 2709 |
| (...skipping 7122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9831 */ | 9832 */ |
| 9832 | 9833 |
| 9833 | 9834 |
| 9834 } // namespace v8 | 9835 } // namespace v8 |
| 9835 | 9836 |
| 9836 | 9837 |
| 9837 #undef TYPE_CHECK | 9838 #undef TYPE_CHECK |
| 9838 | 9839 |
| 9839 | 9840 |
| 9840 #endif // INCLUDE_V8_H_ | 9841 #endif // INCLUDE_V8_H_ |
| OLD | NEW |