| 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 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1088 */ | 1088 */ |
| 1089 int GetIdentityHash() const; | 1089 int GetIdentityHash() const; |
| 1090 | 1090 |
| 1091 typedef MaybeLocal<Module> (*ResolveCallback)(Local<Context> context, | 1091 typedef MaybeLocal<Module> (*ResolveCallback)(Local<Context> context, |
| 1092 Local<String> specifier, | 1092 Local<String> specifier, |
| 1093 Local<Module> referrer); | 1093 Local<Module> referrer); |
| 1094 | 1094 |
| 1095 /** | 1095 /** |
| 1096 * ModuleDeclarationInstantiation | 1096 * ModuleDeclarationInstantiation |
| 1097 * | 1097 * |
| 1098 * Returns false if an exception occurred during instantiation. | 1098 * Returns false if an exception occurred during instantiation. (In the case |
| 1099 * where the callback throws an exception, that exception is propagated.) |
| 1099 */ | 1100 */ |
| 1100 V8_WARN_UNUSED_RESULT bool Instantiate(Local<Context> context, | 1101 V8_WARN_UNUSED_RESULT bool Instantiate(Local<Context> context, |
| 1101 ResolveCallback callback); | 1102 ResolveCallback callback); |
| 1102 | 1103 |
| 1103 /** | 1104 /** |
| 1104 * ModuleEvaluation | 1105 * ModuleEvaluation |
| 1105 * | 1106 * |
| 1106 * Returns the completion value. | 1107 * Returns the completion value. |
| 1107 */ | 1108 */ |
| 1108 V8_WARN_UNUSED_RESULT MaybeLocal<Value> Evaluate(Local<Context> context); | 1109 V8_WARN_UNUSED_RESULT MaybeLocal<Value> Evaluate(Local<Context> context); |
| (...skipping 8952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10061 */ | 10062 */ |
| 10062 | 10063 |
| 10063 | 10064 |
| 10064 } // namespace v8 | 10065 } // namespace v8 |
| 10065 | 10066 |
| 10066 | 10067 |
| 10067 #undef TYPE_CHECK | 10068 #undef TYPE_CHECK |
| 10068 | 10069 |
| 10069 | 10070 |
| 10070 #endif // INCLUDE_V8_H_ | 10071 #endif // INCLUDE_V8_H_ |
| OLD | NEW |