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

Side by Side Diff: dart/lib/compiler/implementation/js/precedence.dart

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library precedence; 5 #library("precedence");
6 6
7 const EXPRESSION = 0; 7 const EXPRESSION = 0;
8 const ASSIGNMENT = EXPRESSION + 1; 8 const ASSIGNMENT = EXPRESSION + 1;
9 const LOGICAL_OR = ASSIGNMENT + 1; 9 const LOGICAL_OR = ASSIGNMENT + 1;
10 const LOGICAL_AND = LOGICAL_OR + 1; 10 const LOGICAL_AND = LOGICAL_OR + 1;
11 const BIT_OR = LOGICAL_AND + 1; 11 const BIT_OR = LOGICAL_AND + 1;
12 const BIT_XOR = BIT_OR + 1; 12 const BIT_XOR = BIT_OR + 1;
13 const BIT_AND = BIT_XOR + 1; 13 const BIT_AND = BIT_XOR + 1;
14 const EQUALITY = BIT_AND + 1; 14 const EQUALITY = BIT_AND + 1;
15 const RELATIONAL = EQUALITY + 1; 15 const RELATIONAL = EQUALITY + 1;
16 const SHIFT = RELATIONAL + 1; 16 const SHIFT = RELATIONAL + 1;
17 const ADDITIVE = SHIFT + 1; 17 const ADDITIVE = SHIFT + 1;
18 const MULTIPLICATIVE = ADDITIVE + 1; 18 const MULTIPLICATIVE = ADDITIVE + 1;
19 const UNARY = MULTIPLICATIVE + 1; 19 const UNARY = MULTIPLICATIVE + 1;
20 const LEFT_HAND_SIDE = UNARY + 1; 20 const LEFT_HAND_SIDE = UNARY + 1;
21 // We merge new, call and member expressions. 21 // We merge new, call and member expressions.
22 // This means that we have to emit parenthesis for 'new's. For example `new X;` 22 // This means that we have to emit parenthesis for 'new's. For example `new X;`
23 // should be printed as `new X();`. This simplifies the requirements. 23 // should be printed as `new X();`. This simplifies the requirements.
24 const CALL = LEFT_HAND_SIDE; 24 const CALL = LEFT_HAND_SIDE;
25 const PRIMARY = CALL + 1; 25 const PRIMARY = CALL + 1;
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/js/nodes.dart ('k') | dart/lib/compiler/implementation/js/printer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698