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

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

Issue 2944843002: All strong mode cleaning of dart2js. (Closed)
Patch Set: More issues discovered during testing. Created 3 years, 6 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
« no previous file with comments | « pkg/compiler/lib/src/elements/elements.dart ('k') | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 elements.jumps; 5 library elements.jumps;
6 6
7 import 'entities.dart'; 7 import 'entities.dart';
8 8
9 /// The label entity defined by a labeled statement. 9 /// The label entity defined by a labeled statement.
10 abstract class LabelDefinition<T> extends Entity { 10 abstract class LabelDefinition<T> extends Entity {
(...skipping 18 matching lines...) Expand all
29 29
30 bool get isTarget; 30 bool get isTarget;
31 bool get isBreakTarget; 31 bool get isBreakTarget;
32 bool get isContinueTarget; 32 bool get isContinueTarget;
33 bool get isSwitch; 33 bool get isSwitch;
34 34
35 // TODO(kasperl): Try to get rid of these. 35 // TODO(kasperl): Try to get rid of these.
36 void set isBreakTarget(bool value); 36 void set isBreakTarget(bool value);
37 void set isContinueTarget(bool value); 37 void set isContinueTarget(bool value);
38 38
39 LabelDefinition<T> addLabel(T label, String labelName); 39 LabelDefinition<T> addLabel(covariant T label, String labelName);
40 } 40 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/elements/elements.dart ('k') | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698