Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: include/v8.h

Issue 2361593002: [modules] Do path resolution relative to each module file in d8 (Closed)
Patch Set: Review comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 * Returns the number of modules requested by this module. 1082 * Returns the number of modules requested by this module.
1083 */ 1083 */
1084 int GetModuleRequestsLength() const; 1084 int GetModuleRequestsLength() const;
1085 1085
1086 /** 1086 /**
1087 * Returns the ith module specifier in this module. 1087 * Returns the ith module specifier in this module.
1088 * i must be < GetModuleRequestsLength() and >= 0. 1088 * i must be < GetModuleRequestsLength() and >= 0.
1089 */ 1089 */
1090 Local<String> GetModuleRequest(int i) const; 1090 Local<String> GetModuleRequest(int i) const;
1091 1091
1092 void SetEmbedderData(Local<Value> data);
1093 Local<Value> GetEmbedderData() const;
1094
1092 typedef MaybeLocal<Module> (*ResolveCallback)(Local<Context> context, 1095 typedef MaybeLocal<Module> (*ResolveCallback)(Local<Context> context,
1093 Local<String> specifier, 1096 Local<String> specifier,
1094 Local<Module> referrer, 1097 Local<Module> referrer,
1095 Local<Value> data); 1098 Local<Value> data);
1096 1099
1097 /** 1100 /**
1098 * ModuleDeclarationInstantiation 1101 * ModuleDeclarationInstantiation
1099 * 1102 *
1100 * Returns false if an exception occurred during instantiation. 1103 * Returns false if an exception occurred during instantiation.
1101 */ 1104 */
(...skipping 8463 matching lines...) Expand 10 before | Expand all | Expand 10 after
9565 */ 9568 */
9566 9569
9567 9570
9568 } // namespace v8 9571 } // namespace v8
9569 9572
9570 9573
9571 #undef TYPE_CHECK 9574 #undef TYPE_CHECK
9572 9575
9573 9576
9574 #endif // INCLUDE_V8_H_ 9577 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698