| 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; |
| (...skipping 5802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5813 void set logger(Logger logger) { | 5813 void set logger(Logger logger) { |
| 5814 this._logger = logger == null ? Logger.NULL : logger; | 5814 this._logger = logger == null ? Logger.NULL : logger; |
| 5815 } | 5815 } |
| 5816 | 5816 |
| 5817 /** | 5817 /** |
| 5818 * Return the task manager used to manage the tasks used to analyze code. | 5818 * Return the task manager used to manage the tasks used to analyze code. |
| 5819 */ | 5819 */ |
| 5820 TaskManager get taskManager { | 5820 TaskManager get taskManager { |
| 5821 if (_taskManager == null) { | 5821 if (_taskManager == null) { |
| 5822 _taskManager = new TaskManager(); | 5822 _taskManager = new TaskManager(); |
| 5823 _taskManager.addTaskDescriptors(enginePlugin.taskDescriptors()); | 5823 _taskManager.addTaskDescriptors(enginePlugin.taskDescriptors); |
| 5824 } | 5824 } |
| 5825 return _taskManager; | 5825 return _taskManager; |
| 5826 } | 5826 } |
| 5827 | 5827 |
| 5828 /** | 5828 /** |
| 5829 * Clear any caches holding on to analysis results so that a full re-analysis | 5829 * Clear any caches holding on to analysis results so that a full re-analysis |
| 5830 * will be performed the next time an analysis context is created. | 5830 * will be performed the next time an analysis context is created. |
| 5831 */ | 5831 */ |
| 5832 void clearCaches() { | 5832 void clearCaches() { |
| 5833 partitionManager.clearCache(); | 5833 partitionManager.clearCache(); |
| (...skipping 5902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11736 visitElement(Element element) { | 11736 visitElement(Element element) { |
| 11737 if (element.id == _id) { | 11737 if (element.id == _id) { |
| 11738 result = element; | 11738 result = element; |
| 11739 throw new _ElementByIdFinderException(); | 11739 throw new _ElementByIdFinderException(); |
| 11740 } | 11740 } |
| 11741 super.visitElement(element); | 11741 super.visitElement(element); |
| 11742 } | 11742 } |
| 11743 } | 11743 } |
| 11744 | 11744 |
| 11745 class _ElementByIdFinderException {} | 11745 class _ElementByIdFinderException {} |
| OLD | NEW |