Chromium Code Reviews| 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 4815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4826 * this template. | 4826 * this template. |
| 4827 */ | 4827 */ |
| 4828 int InternalFieldCount(); | 4828 int InternalFieldCount(); |
| 4829 | 4829 |
| 4830 /** | 4830 /** |
| 4831 * Sets the number of internal fields for objects generated from | 4831 * Sets the number of internal fields for objects generated from |
| 4832 * this template. | 4832 * this template. |
| 4833 */ | 4833 */ |
| 4834 void SetInternalFieldCount(int value); | 4834 void SetInternalFieldCount(int value); |
| 4835 | 4835 |
| 4836 /** | |
| 4837 * Returns true if the object will be an immutable prototype exotic object. | |
| 4838 */ | |
| 4839 bool ImmutableProto(); | |
|
jochen (gone - plz use gerrit)
2016/07/01 14:16:09
nit. IsImmutableProto()?
Dan Ehrenberg
2016/07/01 18:51:28
Done
| |
| 4840 | |
| 4841 /** | |
| 4842 * Makes the ObjectTempate for an immutable prototype exotic object, with an | |
| 4843 * immutable __proto__. | |
| 4844 */ | |
| 4845 void SetImmutableProto(); | |
| 4846 | |
| 4836 private: | 4847 private: |
| 4837 ObjectTemplate(); | 4848 ObjectTemplate(); |
| 4838 static Local<ObjectTemplate> New(internal::Isolate* isolate, | 4849 static Local<ObjectTemplate> New(internal::Isolate* isolate, |
| 4839 Local<FunctionTemplate> constructor); | 4850 Local<FunctionTemplate> constructor); |
| 4840 friend class FunctionTemplate; | 4851 friend class FunctionTemplate; |
| 4841 }; | 4852 }; |
| 4842 | 4853 |
| 4843 | 4854 |
| 4844 /** | 4855 /** |
| 4845 * A Signature specifies which receiver is valid for a function. | 4856 * A Signature specifies which receiver is valid for a function. |
| (...skipping 4055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8901 */ | 8912 */ |
| 8902 | 8913 |
| 8903 | 8914 |
| 8904 } // namespace v8 | 8915 } // namespace v8 |
| 8905 | 8916 |
| 8906 | 8917 |
| 8907 #undef TYPE_CHECK | 8918 #undef TYPE_CHECK |
| 8908 | 8919 |
| 8909 | 8920 |
| 8910 #endif // INCLUDE_V8_H_ | 8921 #endif // INCLUDE_V8_H_ |
| OLD | NEW |