| 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 2120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2131 // To minimize the potential for clashes, use qualified names as keys. | 2131 // To minimize the potential for clashes, use qualified names as keys. |
| 2132 static Local<Symbol> For(Isolate *isolate, Local<String> name); | 2132 static Local<Symbol> For(Isolate *isolate, Local<String> name); |
| 2133 | 2133 |
| 2134 // Retrieve a global symbol. Similar to |For|, but using a separate | 2134 // Retrieve a global symbol. Similar to |For|, but using a separate |
| 2135 // registry that is not accessible by (and cannot clash with) JavaScript code. | 2135 // registry that is not accessible by (and cannot clash with) JavaScript code. |
| 2136 static Local<Symbol> ForApi(Isolate *isolate, Local<String> name); | 2136 static Local<Symbol> ForApi(Isolate *isolate, Local<String> name); |
| 2137 | 2137 |
| 2138 // Well-known symbols | 2138 // Well-known symbols |
| 2139 static Local<Symbol> GetIterator(Isolate* isolate); | 2139 static Local<Symbol> GetIterator(Isolate* isolate); |
| 2140 static Local<Symbol> GetUnscopables(Isolate* isolate); | 2140 static Local<Symbol> GetUnscopables(Isolate* isolate); |
| 2141 static Local<Symbol> GetToStringTag(Isolate* isolate); |
| 2141 | 2142 |
| 2142 V8_INLINE static Symbol* Cast(v8::Value* obj); | 2143 V8_INLINE static Symbol* Cast(v8::Value* obj); |
| 2143 | 2144 |
| 2144 private: | 2145 private: |
| 2145 Symbol(); | 2146 Symbol(); |
| 2146 static void CheckCast(v8::Value* obj); | 2147 static void CheckCast(v8::Value* obj); |
| 2147 }; | 2148 }; |
| 2148 | 2149 |
| 2149 | 2150 |
| 2150 /** | 2151 /** |
| (...skipping 4905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7056 */ | 7057 */ |
| 7057 | 7058 |
| 7058 | 7059 |
| 7059 } // namespace v8 | 7060 } // namespace v8 |
| 7060 | 7061 |
| 7061 | 7062 |
| 7062 #undef TYPE_CHECK | 7063 #undef TYPE_CHECK |
| 7063 | 7064 |
| 7064 | 7065 |
| 7065 #endif // V8_H_ | 7066 #endif // V8_H_ |
| OLD | NEW |