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 | 4 |
5 library test.src.task.driver_test; | 5 library test.src.task.driver_test; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:collection'; | 8 import 'dart:collection'; |
9 | 9 |
10 import 'package:analyzer/src/cancelable_future.dart'; | 10 import 'package:analyzer/src/cancelable_future.dart'; |
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 ResolverVisitorFactory get resolverVisitorFactory => | 507 ResolverVisitorFactory get resolverVisitorFactory => |
508 baseContext.resolverVisitorFactory; | 508 baseContext.resolverVisitorFactory; |
509 | 509 |
510 SourceFactory get sourceFactory => baseContext.sourceFactory; | 510 SourceFactory get sourceFactory => baseContext.sourceFactory; |
511 | 511 |
512 void set sourceFactory(SourceFactory factory) { | 512 void set sourceFactory(SourceFactory factory) { |
513 baseContext.sourceFactory = factory; | 513 baseContext.sourceFactory = factory; |
514 } | 514 } |
515 | 515 |
516 @override | 516 @override |
| 517 List<Source> get sources => baseContext.sources; |
| 518 |
| 519 @override |
517 AnalysisContextStatistics get statistics => baseContext.statistics; | 520 AnalysisContextStatistics get statistics => baseContext.statistics; |
518 | 521 |
519 @override | 522 @override |
520 TypeProvider get typeProvider => baseContext.typeProvider; | 523 TypeProvider get typeProvider => baseContext.typeProvider; |
521 | 524 |
522 @override | 525 @override |
523 TypeResolverVisitorFactory get typeResolverVisitorFactory => | 526 TypeResolverVisitorFactory get typeResolverVisitorFactory => |
524 baseContext.typeResolverVisitorFactory; | 527 baseContext.typeResolverVisitorFactory; |
525 | 528 |
526 @override | 529 @override |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
783 void setContents(Source source, String contents) { | 786 void setContents(Source source, String contents) { |
784 baseContext.setContents(source, contents); | 787 baseContext.setContents(source, contents); |
785 } | 788 } |
786 | 789 |
787 @override | 790 @override |
788 void visitCacheItems(void callback(Source source, SourceEntry dartEntry, | 791 void visitCacheItems(void callback(Source source, SourceEntry dartEntry, |
789 DataDescriptor rowDesc, CacheState state)) { | 792 DataDescriptor rowDesc, CacheState state)) { |
790 baseContext.visitCacheItems(callback); | 793 baseContext.visitCacheItems(callback); |
791 } | 794 } |
792 } | 795 } |
OLD | NEW |