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

Side by Side Diff: pkg/compiler/lib/src/elements/operators.dart

Issue 2862163003: Move resolution/operators.dart to elements/operators.dart (Closed)
Patch Set: Created 3 years, 7 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 dart2js.operators; 5 library dart2js.operators;
6 6
7 import '../elements/elements.dart'; 7 import 'elements.dart' show PublicName;
8 import '../universe/call_structure.dart' show CallStructure; 8 import '../universe/call_structure.dart' show CallStructure;
9 import '../universe/selector.dart' show Selector, SelectorKind; 9 import '../universe/selector.dart' show Selector, SelectorKind;
10 10
11 enum UnaryOperatorKind { 11 enum UnaryOperatorKind {
12 NOT, 12 NOT,
13 NEGATE, 13 NEGATE,
14 COMPLEMENT, 14 COMPLEMENT,
15 } 15 }
16 16
17 class UnaryOperator { 17 class UnaryOperator {
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 // ignore: MISSING_RETURN 502 // ignore: MISSING_RETURN
503 static IncDecOperator fromKind(IncDecOperatorKind kind) { 503 static IncDecOperator fromKind(IncDecOperatorKind kind) {
504 switch (kind) { 504 switch (kind) {
505 case IncDecOperatorKind.INC: 505 case IncDecOperatorKind.INC:
506 return INC; 506 return INC;
507 case IncDecOperatorKind.DEC: 507 case IncDecOperatorKind.DEC:
508 return DEC; 508 return DEC;
509 } 509 }
510 } 510 }
511 } 511 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/constants/expressions.dart ('k') | pkg/compiler/lib/src/inferrer/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698