| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 barback.errors; | 5 library barback.errors; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:io'; | |
| 9 | 8 |
| 10 import 'package:stack_trace/stack_trace.dart'; | 9 import 'package:stack_trace/stack_trace.dart'; |
| 11 | 10 |
| 12 import 'asset_id.dart'; | 11 import 'asset_id.dart'; |
| 13 import 'transformer.dart'; | 12 import 'transformer.dart'; |
| 14 | 13 |
| 15 /// Error thrown when an asset with [id] cannot be found. | 14 /// Error thrown when an asset with [id] cannot be found. |
| 16 class AssetNotFoundException implements Exception { | 15 class AssetNotFoundException implements Exception { |
| 17 final AssetId id; | 16 final AssetId id; |
| 18 | 17 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 | 113 |
| 115 bool operator==(other) => | 114 bool operator==(other) => |
| 116 other is TransformInfo && | 115 other is TransformInfo && |
| 117 other.transformer == transformer && | 116 other.transformer == transformer && |
| 118 other.primaryId == primaryId; | 117 other.primaryId == primaryId; |
| 119 | 118 |
| 120 int get hashCode => transformer.hashCode ^ primaryId.hashCode; | 119 int get hashCode => transformer.hashCode ^ primaryId.hashCode; |
| 121 | 120 |
| 122 String toString() => "$transformer on $primaryId"; | 121 String toString() => "$transformer on $primaryId"; |
| 123 } | 122 } |
| OLD | NEW |