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

Side by Side Diff: include/v8.h

Issue 848173002: Remove support for signatures with arguments (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years, 11 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 4081 matching lines...) Expand 10 before | Expand all | Expand 10 after
4092 4092
4093 private: 4093 private:
4094 ObjectTemplate(); 4094 ObjectTemplate();
4095 static Local<ObjectTemplate> New(internal::Isolate* isolate, 4095 static Local<ObjectTemplate> New(internal::Isolate* isolate,
4096 Handle<FunctionTemplate> constructor); 4096 Handle<FunctionTemplate> constructor);
4097 friend class FunctionTemplate; 4097 friend class FunctionTemplate;
4098 }; 4098 };
4099 4099
4100 4100
4101 /** 4101 /**
4102 * A Signature specifies which receivers and arguments are valid 4102 * A Signature specifies which receiver is valid for a function.
4103 * parameters to a function.
4104 */ 4103 */
4105 class V8_EXPORT Signature : public Data { 4104 class V8_EXPORT Signature : public Data {
4106 public: 4105 public:
4107 static Local<Signature> New(Isolate* isolate, 4106 V8_DEPRECATED("An embedder needs to check the arguments itself",
4108 Handle<FunctionTemplate> receiver = 4107 static Local<Signature> New(
4109 Handle<FunctionTemplate>(), 4108 Isolate* isolate, Handle<FunctionTemplate> receiver,
4110 int argc = 0, 4109 int argc, Handle<FunctionTemplate> argv[] = 0));
4111 Handle<FunctionTemplate> argv[] = 0); 4110
4111 static Local<Signature> New(
4112 Isolate* isolate,
4113 Handle<FunctionTemplate> receiver = Handle<FunctionTemplate>());
4112 4114
4113 private: 4115 private:
4114 Signature(); 4116 Signature();
4115 }; 4117 };
4116 4118
4117 4119
4118 /** 4120 /**
4119 * An AccessorSignature specifies which receivers are valid parameters 4121 * An AccessorSignature specifies which receivers are valid parameters
4120 * to an accessor callback. 4122 * to an accessor callback.
4121 */ 4123 */
(...skipping 3378 matching lines...) Expand 10 before | Expand all | Expand 10 after
7500 */ 7502 */
7501 7503
7502 7504
7503 } // namespace v8 7505 } // namespace v8
7504 7506
7505 7507
7506 #undef TYPE_CHECK 7508 #undef TYPE_CHECK
7507 7509
7508 7510
7509 #endif // V8_H_ 7511 #endif // 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