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 4085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 receiver is valid for a function. | 4102 * A Signature specifies which receiver is valid for a function. |
4103 */ | 4103 */ |
4104 class V8_EXPORT Signature : public Data { | 4104 class V8_EXPORT Signature : public Data { |
4105 public: | 4105 public: |
4106 V8_DEPRECATED("An embedder needs to check the arguments itself", | |
4107 static Local<Signature> New( | |
4108 Isolate* isolate, Handle<FunctionTemplate> receiver, | |
4109 int argc, Handle<FunctionTemplate> argv[] = 0)); | |
4110 | |
4111 static Local<Signature> New( | 4106 static Local<Signature> New( |
4112 Isolate* isolate, | 4107 Isolate* isolate, |
4113 Handle<FunctionTemplate> receiver = Handle<FunctionTemplate>()); | 4108 Handle<FunctionTemplate> receiver = Handle<FunctionTemplate>()); |
4114 | 4109 |
4115 private: | 4110 private: |
4116 Signature(); | 4111 Signature(); |
4117 }; | 4112 }; |
4118 | 4113 |
4119 | 4114 |
4120 /** | 4115 /** |
(...skipping 3381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7502 */ | 7497 */ |
7503 | 7498 |
7504 | 7499 |
7505 } // namespace v8 | 7500 } // namespace v8 |
7506 | 7501 |
7507 | 7502 |
7508 #undef TYPE_CHECK | 7503 #undef TYPE_CHECK |
7509 | 7504 |
7510 | 7505 |
7511 #endif // V8_H_ | 7506 #endif // V8_H_ |
OLD | NEW |