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:async'; | 10 import 'dart:async'; |
(...skipping 5804 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5815 */ | 5815 */ |
5816 void set logger(Logger logger) { | 5816 void set logger(Logger logger) { |
5817 this._logger = logger == null ? Logger.NULL : logger; | 5817 this._logger = logger == null ? Logger.NULL : logger; |
5818 } | 5818 } |
5819 | 5819 |
5820 /** | 5820 /** |
5821 * Return the list of supported plugins for processing by clients. | 5821 * Return the list of supported plugins for processing by clients. |
5822 */ | 5822 */ |
5823 List<Plugin> get supportedPlugins { | 5823 List<Plugin> get supportedPlugins { |
5824 if (_supportedPlugins == null) { | 5824 if (_supportedPlugins == null) { |
5825 _supportedPlugins = <Plugin>[enginePlugin, commandLinePlugin, optionsPlugi
n]; | 5825 _supportedPlugins = <Plugin>[ |
| 5826 enginePlugin, |
| 5827 commandLinePlugin, |
| 5828 optionsPlugin |
| 5829 ]; |
5826 } | 5830 } |
5827 return _supportedPlugins; | 5831 return _supportedPlugins; |
5828 } | 5832 } |
5829 | 5833 |
5830 /** | 5834 /** |
5831 * Return the task manager used to manage the tasks used to analyze code. | 5835 * Return the task manager used to manage the tasks used to analyze code. |
5832 */ | 5836 */ |
5833 TaskManager get taskManager { | 5837 TaskManager get taskManager { |
5834 if (_taskManager == null) { | 5838 if (_taskManager == null) { |
5835 if (enginePlugin.taskExtensionPoint == null) { | 5839 if (enginePlugin.taskExtensionPoint == null) { |
(...skipping 5964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11800 PendingFuture pendingFuture = | 11804 PendingFuture pendingFuture = |
11801 new PendingFuture<T>(_context, source, computeValue); | 11805 new PendingFuture<T>(_context, source, computeValue); |
11802 if (!pendingFuture.evaluate(sourceEntry)) { | 11806 if (!pendingFuture.evaluate(sourceEntry)) { |
11803 _context._pendingFutureSources | 11807 _context._pendingFutureSources |
11804 .putIfAbsent(source, () => <PendingFuture>[]) | 11808 .putIfAbsent(source, () => <PendingFuture>[]) |
11805 .add(pendingFuture); | 11809 .add(pendingFuture); |
11806 } | 11810 } |
11807 return pendingFuture.future; | 11811 return pendingFuture.future; |
11808 } | 11812 } |
11809 } | 11813 } |
OLD | NEW |