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

Side by Side Diff: pkg/front_end/lib/src/fasta/operator.dart

Issue 2699743002: Get rid of two more warnings. (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 fasta.operators; 5 library fasta.operators;
6 6
7 /// The user-definable operators in Dart. 7 /// The user-definable operators in Dart.
8 /// 8 ///
9 /// The names have been chosen to represent their normal semantic meaning. 9 /// The names have been chosen to represent their normal semantic meaning.
10 enum Operator { 10 enum Operator {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 case Operator.leftShift: return "<<"; 70 case Operator.leftShift: return "<<";
71 case Operator.lessThan: return "<"; 71 case Operator.lessThan: return "<";
72 case Operator.lessThanEquals: return "<="; 72 case Operator.lessThanEquals: return "<=";
73 case Operator.modulo: return "%"; 73 case Operator.modulo: return "%";
74 case Operator.multiply: return "*"; 74 case Operator.multiply: return "*";
75 case Operator.rightShift: return ">>"; 75 case Operator.rightShift: return ">>";
76 case Operator.subtract: return "-"; 76 case Operator.subtract: return "-";
77 case Operator.truncatingDivide: return "~/"; 77 case Operator.truncatingDivide: return "~/";
78 case Operator.unaryMinus: return "unary-"; 78 case Operator.unaryMinus: return "unary-";
79 } 79 }
80 return null;
ahe 2017/02/15 22:16:06 Why is this necessary?
80 } 81 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698