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

Unified Diff: src/globals.h

Issue 2108193003: [modules] AST and parser rework. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@anonymous-declarations
Patch Set: . Created 4 years, 5 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
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index 622af22e7f25a72088f9ec17c17a3bbb6ee6cb17..df965e74ac8eb514da047a97ef0cf5ac1ddac343 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -859,6 +859,9 @@ enum VariableMode {
LET, // declared via 'let' declarations (first lexical)
+ // TODO(neis): Is it correct to make this one of the lexical modes?
+ IMPORT, // declared via 'import' declarations (except namespace imports)
+
CONST, // declared via 'const' declarations (last lexical)
// Variables introduced by the compiler:

Powered by Google App Engine
This is Rietveld 408576698