Chromium Code Reviews| 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 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine; | 8 library engine; |
| 9 | 9 |
| 10 import "dart:math" as math; | 10 import "dart:math" as math; |
| 11 import 'dart:async'; | 11 import 'dart:async'; |
| 12 import 'dart:collection'; | 12 import 'dart:collection'; |
| 13 | 13 |
| 14 import 'package:analyzer/src/cancelable_future.dart'; | 14 import 'package:analyzer/src/cancelable_future.dart'; |
| 15 import 'package:analyzer/src/context/cache.dart' as cache; | 15 import 'package:analyzer/src/context/cache.dart' as cache; |
| 16 import 'package:analyzer/src/context/context.dart' as newContext; | 16 import 'package:analyzer/src/context/context.dart' as newContext; |
| 17 import 'package:analyzer/src/generated/incremental_resolution_validator.dart'; | 17 import 'package:analyzer/src/generated/incremental_resolution_validator.dart'; |
| 18 import 'package:analyzer/src/plugin/engine_plugin.dart'; | 18 import 'package:analyzer/src/plugin/engine_plugin.dart'; |
| 19 import 'package:analyzer/src/plugin/linter_plugin.dart'; | |
|
kevmoo
2015/05/08 22:19:18
I don't see this file as part of the CL. Missing?
| |
| 19 import 'package:analyzer/src/services/lint.dart'; | 20 import 'package:analyzer/src/services/lint.dart'; |
| 20 import 'package:analyzer/src/task/manager.dart'; | 21 import 'package:analyzer/src/task/manager.dart'; |
| 21 import 'package:analyzer/src/task/task_dart.dart'; | 22 import 'package:analyzer/src/task/task_dart.dart'; |
| 22 import 'package:analyzer/task/dart.dart'; | 23 import 'package:analyzer/task/dart.dart'; |
| 23 import 'package:analyzer/task/model.dart'; | 24 import 'package:analyzer/task/model.dart'; |
| 24 | 25 |
| 25 import '../../instrumentation/instrumentation.dart'; | 26 import '../../instrumentation/instrumentation.dart'; |
| 26 import 'ast.dart'; | 27 import 'ast.dart'; |
| 27 import 'constant.dart'; | 28 import 'constant.dart'; |
| 28 import 'element.dart'; | 29 import 'element.dart'; |
| (...skipping 5670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5699 */ | 5700 */ |
| 5700 Logger _logger = Logger.NULL; | 5701 Logger _logger = Logger.NULL; |
| 5701 | 5702 |
| 5702 /** | 5703 /** |
| 5703 * The plugin that defines the extension points and extensions that are | 5704 * The plugin that defines the extension points and extensions that are |
| 5704 * inherently defined by the analysis engine. | 5705 * inherently defined by the analysis engine. |
| 5705 */ | 5706 */ |
| 5706 final EnginePlugin enginePlugin = new EnginePlugin(); | 5707 final EnginePlugin enginePlugin = new EnginePlugin(); |
| 5707 | 5708 |
| 5708 /** | 5709 /** |
| 5710 * The plugin that defines the extension points and extensions that are | |
| 5711 * inherently defined by the linter. | |
| 5712 */ | |
| 5713 final LinterPlugin linterPlugin = new LinterPlugin(); | |
| 5714 | |
| 5715 /** | |
| 5709 * The instrumentation service that is to be used by this analysis engine. | 5716 * The instrumentation service that is to be used by this analysis engine. |
| 5710 */ | 5717 */ |
| 5711 InstrumentationService _instrumentationService = | 5718 InstrumentationService _instrumentationService = |
| 5712 InstrumentationService.NULL_SERVICE; | 5719 InstrumentationService.NULL_SERVICE; |
| 5713 | 5720 |
| 5714 /** | 5721 /** |
| 5715 * The partition manager being used to manage the shared partitions. | 5722 * The partition manager being used to manage the shared partitions. |
| 5716 */ | 5723 */ |
| 5717 final PartitionManager partitionManager = new PartitionManager(); | 5724 final PartitionManager partitionManager = new PartitionManager(); |
| 5718 | 5725 |
| (...skipping 5945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 11664 PendingFuture pendingFuture = | 11671 PendingFuture pendingFuture = |
| 11665 new PendingFuture<T>(_context, source, computeValue); | 11672 new PendingFuture<T>(_context, source, computeValue); |
| 11666 if (!pendingFuture.evaluate(sourceEntry)) { | 11673 if (!pendingFuture.evaluate(sourceEntry)) { |
| 11667 _context._pendingFutureSources | 11674 _context._pendingFutureSources |
| 11668 .putIfAbsent(source, () => <PendingFuture>[]) | 11675 .putIfAbsent(source, () => <PendingFuture>[]) |
| 11669 .add(pendingFuture); | 11676 .add(pendingFuture); |
| 11670 } | 11677 } |
| 11671 return pendingFuture.future; | 11678 return pendingFuture.future; |
| 11672 } | 11679 } |
| 11673 } | 11680 } |
| OLD | NEW |