OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 fasta.class_builder; | 5 library fasta.class_builder; |
6 | 6 |
7 import '../problems.dart' show internalProblem; | 7 import '../problems.dart' show internalProblem; |
8 | 8 |
9 import 'builder.dart' | 9 import 'builder.dart' |
10 show | 10 show |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 library.addCompileTimeError(message, charOffset, fileUri); | 213 library.addCompileTimeError(message, charOffset, fileUri); |
214 } | 214 } |
215 | 215 |
216 void addWarning(Message message, int charOffset) { | 216 void addWarning(Message message, int charOffset) { |
217 library.addWarning(message, charOffset, fileUri); | 217 library.addWarning(message, charOffset, fileUri); |
218 } | 218 } |
219 | 219 |
220 void addNit(Message message, int charOffset) { | 220 void addNit(Message message, int charOffset) { |
221 library.addNit(message, charOffset, fileUri); | 221 library.addNit(message, charOffset, fileUri); |
222 } | 222 } |
223 | |
224 void deprecated_addCompileTimeError(int charOffset, String message) { | |
225 library.deprecated_addCompileTimeError(charOffset, message, | |
226 fileUri: fileUri); | |
227 } | |
228 | |
229 void deprecated_addWarning(int charOffset, String message) { | |
230 library.deprecated_addWarning(charOffset, message, fileUri: fileUri); | |
231 } | |
232 } | 223 } |
OLD | NEW |