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.loader; | 5 library fasta.loader; |
6 | 6 |
7 import 'dart:async' show Future; | 7 import 'dart:async' show Future; |
8 | 8 |
9 import 'dart:collection' show Queue; | 9 import 'dart:collection' show Queue; |
10 | 10 |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 | 162 |
163 Builder getCompileTimeError() => target.getCompileTimeError(this); | 163 Builder getCompileTimeError() => target.getCompileTimeError(this); |
164 | 164 |
165 Builder getDuplicatedFieldInitializerError() { | 165 Builder getDuplicatedFieldInitializerError() { |
166 return target.getDuplicatedFieldInitializerError(this); | 166 return target.getDuplicatedFieldInitializerError(this); |
167 } | 167 } |
168 | 168 |
169 Builder getFallThroughError() => target.getFallThroughError(this); | 169 Builder getFallThroughError() => target.getFallThroughError(this); |
170 | 170 |
171 Builder getNativeAnnotation() => target.getNativeAnnotation(this); | 171 Builder getNativeAnnotation() => target.getNativeAnnotation(this); |
172 | |
173 Builder getNoSuchMethodError() => target.getNoSuchMethodError(this); | |
174 } | 172 } |
175 | 173 |
176 String format(double d, int fractionDigits, int width) { | 174 String format(double d, int fractionDigits, int width) { |
177 return d.toStringAsFixed(fractionDigits).padLeft(width); | 175 return d.toStringAsFixed(fractionDigits).padLeft(width); |
178 } | 176 } |
OLD | NEW |