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

Unified Diff: src/accessors.h

Issue 2388153003: [modules] Implement namespace imports. (Closed)
Patch Set: Add comment on VisitModuleNamespaceImports. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/accessors.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/accessors.h
diff --git a/src/accessors.h b/src/accessors.h
index 2171a35c74169db33895bef7defe4a4dfa6d211b..813695c696986323f568cd19aa8360873cbc85b3 100644
--- a/src/accessors.h
+++ b/src/accessors.h
@@ -30,6 +30,7 @@ class AccessorInfo;
V(FunctionName) \
V(FunctionLength) \
V(FunctionPrototype) \
+ V(ModuleNamespaceToStringTag) \
V(ScriptColumnOffset) \
V(ScriptCompilationType) \
V(ScriptContextData) \
@@ -48,10 +49,11 @@ class AccessorInfo;
V(StringLength)
#define ACCESSOR_SETTER_LIST(V) \
- V(ReconfigureToDataProperty) \
V(ArrayLengthSetter) \
V(ErrorStackSetter) \
- V(FunctionPrototypeSetter)
+ V(FunctionPrototypeSetter) \
+ V(ModuleNamespaceEntrySetter) \
+ V(ReconfigureToDataProperty)
// Accessors contains all predefined proxy accessors.
@@ -74,6 +76,12 @@ class Accessors : public AllStatic {
ACCESSOR_SETTER_LIST(ACCESSOR_SETTER_DECLARATION)
#undef ACCESSOR_SETTER_DECLARATION
+ static void ModuleNamespaceEntryGetter(
+ v8::Local<v8::Name> name,
+ const v8::PropertyCallbackInfo<v8::Value>& info);
+ static Handle<AccessorInfo> ModuleNamespaceEntryInfo(
+ Isolate* isolate, Handle<String> name, PropertyAttributes attributes);
+
enum DescriptorId {
#define ACCESSOR_INFO_DECLARATION(name) \
k##name##Getter, \
« no previous file with comments | « no previous file | src/accessors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698