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

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

Issue 931953002: Move js_ast library to its own package under pkg (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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: pkg/compiler/lib/src/js/precedence.dart
diff --git a/pkg/compiler/lib/src/js/precedence.dart b/pkg/compiler/lib/src/js/precedence.dart
deleted file mode 100644
index 6d66f1fca5a74c22b24aad9058cede3588202aed..0000000000000000000000000000000000000000
--- a/pkg/compiler/lib/src/js/precedence.dart
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library precedence;
-
-const EXPRESSION = 0;
-const ASSIGNMENT = EXPRESSION + 1;
-const LOGICAL_OR = ASSIGNMENT + 1;
-const LOGICAL_AND = LOGICAL_OR + 1;
-const BIT_OR = LOGICAL_AND + 1;
-const BIT_XOR = BIT_OR + 1;
-const BIT_AND = BIT_XOR + 1;
-const EQUALITY = BIT_AND + 1;
-const RELATIONAL = EQUALITY + 1;
-const SHIFT = RELATIONAL + 1;
-const ADDITIVE = SHIFT + 1;
-const MULTIPLICATIVE = ADDITIVE + 1;
-const UNARY = MULTIPLICATIVE + 1;
-const LEFT_HAND_SIDE = UNARY + 1;
-// We merge new, call and member expressions.
-// This means that we have to emit parenthesis for 'new's. For example `new X;`
-// should be printed as `new X();`. This simplifies the requirements.
-const CALL = LEFT_HAND_SIDE;
-const PRIMARY = CALL + 1;

Powered by Google App Engine
This is Rietveld 408576698