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

Side by Side Diff: include/v8.h

Issue 2812603002: [api] consistently expose all well-known symbols. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
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 2751 matching lines...) Expand 10 before | Expand all | Expand 10 after
2762 */ 2762 */
2763 static Local<Symbol> For(Isolate *isolate, Local<String> name); 2763 static Local<Symbol> For(Isolate *isolate, Local<String> name);
2764 2764
2765 /** 2765 /**
2766 * Retrieve a global symbol. Similar to |For|, but using a separate 2766 * Retrieve a global symbol. Similar to |For|, but using a separate
2767 * registry that is not accessible by (and cannot clash with) JavaScript code. 2767 * registry that is not accessible by (and cannot clash with) JavaScript code.
2768 */ 2768 */
2769 static Local<Symbol> ForApi(Isolate *isolate, Local<String> name); 2769 static Local<Symbol> ForApi(Isolate *isolate, Local<String> name);
2770 2770
2771 // Well-known symbols 2771 // Well-known symbols
2772 static Local<Symbol> GetHasInstance(Isolate* isolate);
2773 static Local<Symbol> GetIsConcatSpreadable(Isolate* isolate);
2772 static Local<Symbol> GetIterator(Isolate* isolate); 2774 static Local<Symbol> GetIterator(Isolate* isolate);
2773 static Local<Symbol> GetUnscopables(Isolate* isolate); 2775 static Local<Symbol> GetMatch(Isolate* isolate);
2776 static Local<Symbol> GetReplace(Isolate* isolate);
2777 static Local<Symbol> GetSearch(Isolate* isolate);
2778 static Local<Symbol> GetSplit(Isolate* isolate);
2774 static Local<Symbol> GetToPrimitive(Isolate* isolate); 2779 static Local<Symbol> GetToPrimitive(Isolate* isolate);
2775 static Local<Symbol> GetToStringTag(Isolate* isolate); 2780 static Local<Symbol> GetToStringTag(Isolate* isolate);
2776 static Local<Symbol> GetIsConcatSpreadable(Isolate* isolate); 2781 static Local<Symbol> GetUnscopables(Isolate* isolate);
2777 2782
2778 V8_INLINE static Symbol* Cast(Value* obj); 2783 V8_INLINE static Symbol* Cast(Value* obj);
2779 2784
2780 private: 2785 private:
2781 Symbol(); 2786 Symbol();
2782 static void CheckCast(Value* obj); 2787 static void CheckCast(Value* obj);
2783 }; 2788 };
2784 2789
2785 2790
2786 /** 2791 /**
(...skipping 7213 matching lines...) Expand 10 before | Expand all | Expand 10 after
10000 */ 10005 */
10001 10006
10002 10007
10003 } // namespace v8 10008 } // namespace v8
10004 10009
10005 10010
10006 #undef TYPE_CHECK 10011 #undef TYPE_CHECK
10007 10012
10008 10013
10009 #endif // INCLUDE_V8_H_ 10014 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698