OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 library initialize.transformer; | 4 library initialize.transformer; |
5 | 5 |
6 import 'dart:async'; | 6 import 'dart:async'; |
7 import 'dart:collection' show Queue; | 7 import 'dart:collection' show Queue; |
8 import 'package:analyzer/src/generated/ast.dart'; | 8 import 'package:analyzer/src/generated/ast.dart'; |
9 import 'package:analyzer/src/generated/element.dart'; | 9 import 'package:analyzer/src/generated/element.dart'; |
10 import 'package:barback/barback.dart'; | 10 import 'package:barback/barback.dart'; |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 error = false; | 455 error = false; |
456 } else { | 456 } else { |
457 error = true; | 457 error = true; |
458 } | 458 } |
459 if (error) { | 459 if (error) { |
460 print('Bad value for "$field" in the initialize transformer. ' | 460 print('Bad value for "$field" in the initialize transformer. ' |
461 'Expected either one String or a list of Strings.'); | 461 'Expected either one String or a list of Strings.'); |
462 } | 462 } |
463 return files; | 463 return files; |
464 } | 464 } |
OLD | NEW |