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 2489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2500 * Access hidden properties on JavaScript objects. These properties are | 2500 * Access hidden properties on JavaScript objects. These properties are |
2501 * hidden from the executing JavaScript and only accessible through the V8 | 2501 * hidden from the executing JavaScript and only accessible through the V8 |
2502 * C++ API. Hidden properties introduced by V8 internally (for example the | 2502 * C++ API. Hidden properties introduced by V8 internally (for example the |
2503 * identity hash) are prefixed with "v8::". | 2503 * identity hash) are prefixed with "v8::". |
2504 */ | 2504 */ |
2505 bool SetHiddenValue(Handle<String> key, Handle<Value> value); | 2505 bool SetHiddenValue(Handle<String> key, Handle<Value> value); |
2506 Local<Value> GetHiddenValue(Handle<String> key); | 2506 Local<Value> GetHiddenValue(Handle<String> key); |
2507 bool DeleteHiddenValue(Handle<String> key); | 2507 bool DeleteHiddenValue(Handle<String> key); |
2508 | 2508 |
2509 /** | 2509 /** |
2510 * Returns true if this is an instance of an api function (one | |
2511 * created from a function created from a function template) and has | |
2512 * been modified since it was created. Note that this method is | |
2513 * conservative and may return true for objects that haven't actually | |
2514 * been modified. | |
2515 */ | |
2516 bool IsDirty(); | |
2517 | |
2518 /** | |
2519 * Clone this object with a fast but shallow copy. Values will point | 2510 * Clone this object with a fast but shallow copy. Values will point |
2520 * to the same values as the original object. | 2511 * to the same values as the original object. |
2521 */ | 2512 */ |
2522 Local<Object> Clone(); | 2513 Local<Object> Clone(); |
2523 | 2514 |
2524 /** | 2515 /** |
2525 * Returns the context in which the object was created. | 2516 * Returns the context in which the object was created. |
2526 */ | 2517 */ |
2527 Local<Context> CreationContext(); | 2518 Local<Context> CreationContext(); |
2528 | 2519 |
(...skipping 4519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7048 */ | 7039 */ |
7049 | 7040 |
7050 | 7041 |
7051 } // namespace v8 | 7042 } // namespace v8 |
7052 | 7043 |
7053 | 7044 |
7054 #undef TYPE_CHECK | 7045 #undef TYPE_CHECK |
7055 | 7046 |
7056 | 7047 |
7057 #endif // V8_H_ | 7048 #endif // V8_H_ |
OLD | NEW |