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 2692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2703 // To minimize the potential for clashes, use qualified names as keys. | 2703 // To minimize the potential for clashes, use qualified names as keys. |
2704 static Local<Symbol> For(Isolate *isolate, Local<String> name); | 2704 static Local<Symbol> For(Isolate *isolate, Local<String> name); |
2705 | 2705 |
2706 // Retrieve a global symbol. Similar to |For|, but using a separate | 2706 // Retrieve a global symbol. Similar to |For|, but using a separate |
2707 // registry that is not accessible by (and cannot clash with) JavaScript code. | 2707 // registry that is not accessible by (and cannot clash with) JavaScript code. |
2708 static Local<Symbol> ForApi(Isolate *isolate, Local<String> name); | 2708 static Local<Symbol> ForApi(Isolate *isolate, Local<String> name); |
2709 | 2709 |
2710 // Well-known symbols | 2710 // Well-known symbols |
2711 static Local<Symbol> GetIterator(Isolate* isolate); | 2711 static Local<Symbol> GetIterator(Isolate* isolate); |
2712 static Local<Symbol> GetUnscopables(Isolate* isolate); | 2712 static Local<Symbol> GetUnscopables(Isolate* isolate); |
| 2713 static Local<Symbol> GetToPrimitive(Isolate* isolate); |
2713 static Local<Symbol> GetToStringTag(Isolate* isolate); | 2714 static Local<Symbol> GetToStringTag(Isolate* isolate); |
2714 static Local<Symbol> GetIsConcatSpreadable(Isolate* isolate); | 2715 static Local<Symbol> GetIsConcatSpreadable(Isolate* isolate); |
2715 | 2716 |
2716 V8_INLINE static Symbol* Cast(Value* obj); | 2717 V8_INLINE static Symbol* Cast(Value* obj); |
2717 | 2718 |
2718 private: | 2719 private: |
2719 Symbol(); | 2720 Symbol(); |
2720 static void CheckCast(Value* obj); | 2721 static void CheckCast(Value* obj); |
2721 }; | 2722 }; |
2722 | 2723 |
(...skipping 7133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9856 */ | 9857 */ |
9857 | 9858 |
9858 | 9859 |
9859 } // namespace v8 | 9860 } // namespace v8 |
9860 | 9861 |
9861 | 9862 |
9862 #undef TYPE_CHECK | 9863 #undef TYPE_CHECK |
9863 | 9864 |
9864 | 9865 |
9865 #endif // INCLUDE_V8_H_ | 9866 #endif // INCLUDE_V8_H_ |
OLD | NEW |