| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 pub.asset.transformer_isolate; | 5 library pub.asset.transformer_isolate; |
| 6 | 6 |
| 7 import 'dart:convert'; | 7 import 'dart:convert'; |
| 8 import 'dart:isolate'; | 8 import 'dart:isolate'; |
| 9 import 'dart:mirrors'; | 9 import 'dart:mirrors'; |
| 10 | 10 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 | 94 |
| 95 // Older barbacks don't support [AggregateTransformer], and calling | 95 // Older barbacks don't support [AggregateTransformer], and calling |
| 96 // [reflectClass] on an undefined class will throw an error, so we just define a | 96 // [reflectClass] on an undefined class will throw an error, so we just define a |
| 97 // null getter for them. | 97 // null getter for them. |
| 98 //# if barback >=0.14.1 | 98 //# if barback >=0.14.1 |
| 99 ClassMirror get _aggregateTransformerClass => | 99 ClassMirror get _aggregateTransformerClass => |
| 100 reflectClass(AggregateTransformer); | 100 reflectClass(AggregateTransformer); |
| 101 //# else | 101 //# else |
| 102 //> ClassMirror get _aggregateTransformerClass => null; | 102 //> ClassMirror get _aggregateTransformerClass => null; |
| 103 //# end | 103 //# end |
| OLD | NEW |