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

Unified Diff: lib/src/js/precedence.dart

Issue 1183033004: js_ast: implement rest/spread parsing (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 6 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 | « lib/src/js/nodes.dart ('k') | lib/src/js/printer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/js/precedence.dart
diff --git a/lib/src/js/precedence.dart b/lib/src/js/precedence.dart
index d63253e1d395c2b1d818382556adc8241949a562..bfe00a2ae79e2567763cef5c51b5225e4f578aaf 100644
--- a/lib/src/js/precedence.dart
+++ b/lib/src/js/precedence.dart
@@ -5,7 +5,8 @@
library precedence;
const EXPRESSION = 0;
-const ASSIGNMENT = EXPRESSION + 1;
+const SPREAD = EXPRESSION + 1;
+const ASSIGNMENT = SPREAD + 1;
const LOGICAL_OR = ASSIGNMENT + 1;
const LOGICAL_AND = LOGICAL_OR + 1;
const BIT_OR = LOGICAL_AND + 1;
« no previous file with comments | « lib/src/js/nodes.dart ('k') | lib/src/js/printer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698