Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: include/v8.h

Issue 546803003: Update ObjectToString to Harmony-draft algorithm (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add lots more tests, make it safer Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « BUILD.gn ('k') | src/api.cc » ('j') | src/api.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/api.cc » ('j') | src/api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698