OLD | NEW |
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1092 Local<Array> GetPropertyNames(); | 1092 Local<Array> GetPropertyNames(); |
1093 | 1093 |
1094 /** | 1094 /** |
1095 * Get the prototype object. This does not skip objects marked to | 1095 * Get the prototype object. This does not skip objects marked to |
1096 * be skipped by __proto__ and it does not consult the security | 1096 * be skipped by __proto__ and it does not consult the security |
1097 * handler. | 1097 * handler. |
1098 */ | 1098 */ |
1099 Local<Value> GetPrototype(); | 1099 Local<Value> GetPrototype(); |
1100 | 1100 |
1101 /** | 1101 /** |
| 1102 * Finds an instance of the given function template in the prototype |
| 1103 * chain. |
| 1104 */ |
| 1105 Local<Object> FindInstanceInPrototypeChain(Handle<FunctionTemplate> tmpl); |
| 1106 |
| 1107 /** |
1102 * Call builtin Object.prototype.toString on this object. | 1108 * Call builtin Object.prototype.toString on this object. |
1103 * This is different from Value::ToString() that may call | 1109 * This is different from Value::ToString() that may call |
1104 * user-defined toString function. This one does not. | 1110 * user-defined toString function. This one does not. |
1105 */ | 1111 */ |
1106 Local<String> ObjectProtoToString(); | 1112 Local<String> ObjectProtoToString(); |
1107 | 1113 |
1108 /** Gets the number of internal fields for this Object. */ | 1114 /** Gets the number of internal fields for this Object. */ |
1109 int InternalFieldCount(); | 1115 int InternalFieldCount(); |
1110 /** Gets the value in an internal field. */ | 1116 /** Gets the value in an internal field. */ |
1111 Local<Value> GetInternalField(int index); | 1117 Local<Value> GetInternalField(int index); |
(...skipping 1557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2669 | 2675 |
2670 } // namespace v8 | 2676 } // namespace v8 |
2671 | 2677 |
2672 | 2678 |
2673 #undef V8EXPORT | 2679 #undef V8EXPORT |
2674 #undef V8EXPORT_INLINE | 2680 #undef V8EXPORT_INLINE |
2675 #undef TYPE_CHECK | 2681 #undef TYPE_CHECK |
2676 | 2682 |
2677 | 2683 |
2678 #endif // V8_H_ | 2684 #endif // V8_H_ |
OLD | NEW |