OLD | NEW |
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 compiler; | 5 library compiler; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'implementation/apiimpl.dart'; | 8 import 'implementation/apiimpl.dart'; |
9 | 9 |
10 // Unless explicitly allowed, passing [:null:] for any argument to the | 10 // Unless explicitly allowed, passing [:null:] for any argument to the |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 final String name; | 178 final String name; |
179 | 179 |
180 /** | 180 /** |
181 * This constructor is not private to support user-defined | 181 * This constructor is not private to support user-defined |
182 * diagnostic kinds. | 182 * diagnostic kinds. |
183 */ | 183 */ |
184 const Diagnostic(this.ordinal, this.name); | 184 const Diagnostic(this.ordinal, this.name); |
185 | 185 |
186 String toString() => name; | 186 String toString() => name; |
187 } | 187 } |
OLD | NEW |