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 4807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4818 * this template. | 4818 * this template. |
4819 */ | 4819 */ |
4820 int InternalFieldCount(); | 4820 int InternalFieldCount(); |
4821 | 4821 |
4822 /** | 4822 /** |
4823 * Sets the number of internal fields for objects generated from | 4823 * Sets the number of internal fields for objects generated from |
4824 * this template. | 4824 * this template. |
4825 */ | 4825 */ |
4826 void SetInternalFieldCount(int value); | 4826 void SetInternalFieldCount(int value); |
4827 | 4827 |
| 4828 /** |
| 4829 * Returns true if the object will be an immutable prototype exotic object. |
| 4830 */ |
| 4831 bool IsImmutableProto(); |
| 4832 |
| 4833 /** |
| 4834 * Makes the ObjectTempate for an immutable prototype exotic object, with an |
| 4835 * immutable __proto__. |
| 4836 */ |
| 4837 void SetImmutableProto(); |
| 4838 |
4828 private: | 4839 private: |
4829 ObjectTemplate(); | 4840 ObjectTemplate(); |
4830 static Local<ObjectTemplate> New(internal::Isolate* isolate, | 4841 static Local<ObjectTemplate> New(internal::Isolate* isolate, |
4831 Local<FunctionTemplate> constructor); | 4842 Local<FunctionTemplate> constructor); |
4832 friend class FunctionTemplate; | 4843 friend class FunctionTemplate; |
4833 }; | 4844 }; |
4834 | 4845 |
4835 | 4846 |
4836 /** | 4847 /** |
4837 * A Signature specifies which receiver is valid for a function. | 4848 * A Signature specifies which receiver is valid for a function. |
(...skipping 4053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8891 */ | 8902 */ |
8892 | 8903 |
8893 | 8904 |
8894 } // namespace v8 | 8905 } // namespace v8 |
8895 | 8906 |
8896 | 8907 |
8897 #undef TYPE_CHECK | 8908 #undef TYPE_CHECK |
8898 | 8909 |
8899 | 8910 |
8900 #endif // INCLUDE_V8_H_ | 8911 #endif // INCLUDE_V8_H_ |
OLD | NEW |