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 2208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2219 Local<Object> FindInstanceInPrototypeChain(Handle<FunctionTemplate> tmpl); | 2219 Local<Object> FindInstanceInPrototypeChain(Handle<FunctionTemplate> tmpl); |
2220 | 2220 |
2221 /** | 2221 /** |
2222 * Call builtin Object.prototype.toString on this object. | 2222 * Call builtin Object.prototype.toString on this object. |
2223 * This is different from Value::ToString() that may call | 2223 * This is different from Value::ToString() that may call |
2224 * user-defined toString function. This one does not. | 2224 * user-defined toString function. This one does not. |
2225 */ | 2225 */ |
2226 Local<String> ObjectProtoToString(); | 2226 Local<String> ObjectProtoToString(); |
2227 | 2227 |
2228 /** | 2228 /** |
2229 * Returns the function invoked as a constructor for this object. | |
2230 * May be the null value. | |
2231 */ | |
2232 Local<Value> GetConstructor(); | |
2233 | |
2234 /** | |
2235 * Returns the name of the function invoked as a constructor for this object. | 2229 * Returns the name of the function invoked as a constructor for this object. |
2236 */ | 2230 */ |
2237 Local<String> GetConstructorName(); | 2231 Local<String> GetConstructorName(); |
2238 | 2232 |
2239 /** Gets the number of internal fields for this Object. */ | 2233 /** Gets the number of internal fields for this Object. */ |
2240 int InternalFieldCount(); | 2234 int InternalFieldCount(); |
2241 | 2235 |
2242 /** Same as above, but works for Persistents */ | 2236 /** Same as above, but works for Persistents */ |
2243 V8_INLINE static int InternalFieldCount( | 2237 V8_INLINE static int InternalFieldCount( |
2244 const PersistentBase<Object>& object) { | 2238 const PersistentBase<Object>& object) { |
(...skipping 4490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6735 */ | 6729 */ |
6736 | 6730 |
6737 | 6731 |
6738 } // namespace v8 | 6732 } // namespace v8 |
6739 | 6733 |
6740 | 6734 |
6741 #undef TYPE_CHECK | 6735 #undef TYPE_CHECK |
6742 | 6736 |
6743 | 6737 |
6744 #endif // V8_H_ | 6738 #endif // V8_H_ |
OLD | NEW |