| 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 2112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2123 // To minimize the potential for clashes, use qualified names as keys. | 2123 // To minimize the potential for clashes, use qualified names as keys. |
| 2124 static Local<Symbol> For(Isolate *isolate, Local<String> name); | 2124 static Local<Symbol> For(Isolate *isolate, Local<String> name); |
| 2125 | 2125 |
| 2126 // Retrieve a global symbol. Similar to |For|, but using a separate | 2126 // Retrieve a global symbol. Similar to |For|, but using a separate |
| 2127 // registry that is not accessible by (and cannot clash with) JavaScript code. | 2127 // registry that is not accessible by (and cannot clash with) JavaScript code. |
| 2128 static Local<Symbol> ForApi(Isolate *isolate, Local<String> name); | 2128 static Local<Symbol> ForApi(Isolate *isolate, Local<String> name); |
| 2129 | 2129 |
| 2130 // Well-known symbols | 2130 // Well-known symbols |
| 2131 static Local<Symbol> GetIterator(Isolate* isolate); | 2131 static Local<Symbol> GetIterator(Isolate* isolate); |
| 2132 static Local<Symbol> GetUnscopables(Isolate* isolate); | 2132 static Local<Symbol> GetUnscopables(Isolate* isolate); |
| 2133 static Local<Symbol> GetToStringTag(Isolate* isolate); |
| 2133 | 2134 |
| 2134 V8_INLINE static Symbol* Cast(v8::Value* obj); | 2135 V8_INLINE static Symbol* Cast(v8::Value* obj); |
| 2135 | 2136 |
| 2136 private: | 2137 private: |
| 2137 Symbol(); | 2138 Symbol(); |
| 2138 static void CheckCast(v8::Value* obj); | 2139 static void CheckCast(v8::Value* obj); |
| 2139 }; | 2140 }; |
| 2140 | 2141 |
| 2141 | 2142 |
| 2142 /** | 2143 /** |
| (...skipping 4896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7039 */ | 7040 */ |
| 7040 | 7041 |
| 7041 | 7042 |
| 7042 } // namespace v8 | 7043 } // namespace v8 |
| 7043 | 7044 |
| 7044 | 7045 |
| 7045 #undef TYPE_CHECK | 7046 #undef TYPE_CHECK |
| 7046 | 7047 |
| 7047 | 7048 |
| 7048 #endif // V8_H_ | 7049 #endif // V8_H_ |
| OLD | NEW |