| 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 'dart:uri'; | |
| 9 import 'implementation/apiimpl.dart'; | 8 import 'implementation/apiimpl.dart'; |
| 10 | 9 |
| 11 // Unless explicitly allowed, passing [:null:] for any argument to the | 10 // Unless explicitly allowed, passing [:null:] for any argument to the |
| 12 // methods of library will result in an Error being thrown. | 11 // methods of library will result in an Error being thrown. |
| 13 | 12 |
| 14 /** | 13 /** |
| 15 * Returns a future that completes to the source corresponding to | 14 * Returns a future that completes to the source corresponding to |
| 16 * [uri]. If an exception occurs, the future completes with this | 15 * [uri]. If an exception occurs, the future completes with this |
| 17 * exception. | 16 * exception. |
| 18 */ | 17 */ |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 final String name; | 167 final String name; |
| 169 | 168 |
| 170 /** | 169 /** |
| 171 * This constructor is not private to support user-defined | 170 * This constructor is not private to support user-defined |
| 172 * diagnostic kinds. | 171 * diagnostic kinds. |
| 173 */ | 172 */ |
| 174 const Diagnostic(this.ordinal, this.name); | 173 const Diagnostic(this.ordinal, this.name); |
| 175 | 174 |
| 176 String toString() => name; | 175 String toString() => name; |
| 177 } | 176 } |
| OLD | NEW |