| 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:uri'; | 7 #import('dart:uri'); |
| 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 |
| 11 // methods of library will result in a NullPointerException being | 11 // methods of library will result in a NullPointerException being |
| 12 // thrown. | 12 // thrown. |
| 13 | 13 |
| 14 /** | 14 /** |
| 15 * Returns a future that completes to the source corresponding to | 15 * Returns a future that completes to the source corresponding to |
| 16 * [uri]. If an exception occurs, the future completes with this | 16 * [uri]. If an exception occurs, the future completes with this |
| 17 * exception. | 17 * exception. |
| 18 */ | 18 */ |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 final String name; | 112 final String name; |
| 113 | 113 |
| 114 /** | 114 /** |
| 115 * This constructor is not private to support user-defined | 115 * This constructor is not private to support user-defined |
| 116 * diagnostic kinds. | 116 * diagnostic kinds. |
| 117 */ | 117 */ |
| 118 const Diagnostic(this.ordinal, this.name); | 118 const Diagnostic(this.ordinal, this.name); |
| 119 | 119 |
| 120 String toString() => name; | 120 String toString() => name; |
| 121 } | 121 } |
| OLD | NEW |