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

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

Issue 1348063002: Make the universe parts into small libraries. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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/elements.dart';
8 import '../universe/universe.dart' show 8 import '../universe/call_structure.dart' show
9 CallStructure, 9 CallStructure;
10 import '../universe/selector.dart' show
10 Selector, 11 Selector,
11 SelectorKind; 12 SelectorKind;
12 13
13 enum UnaryOperatorKind { 14 enum UnaryOperatorKind {
14 NOT, 15 NOT,
15 NEGATE, 16 NEGATE,
16 COMPLEMENT, 17 COMPLEMENT,
17 } 18 }
18 19
19 class UnaryOperator { 20 class UnaryOperator {
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 const IncDecOperator._(IncDecOperatorKind.DEC, '--', BinaryOperator.SUB); 411 const IncDecOperator._(IncDecOperatorKind.DEC, '--', BinaryOperator.SUB);
411 412
412 static IncDecOperator parse(String value) { 413 static IncDecOperator parse(String value) {
413 switch (value) { 414 switch (value) {
414 case '++': return INC; 415 case '++': return INC;
415 case '--': return DEC; 416 case '--': return DEC;
416 default: return null; 417 default: return null;
417 } 418 }
418 } 419 }
419 } 420 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | pkg/compiler/lib/src/resolution/registry.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698