Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Side by Side Diff: pkg/analyzer/lib/src/generated/engine.dart

Issue 1095113003: Convert EnginePlugin.taskDescriptors into a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/plugin/engine_plugin.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 {}
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/plugin/engine_plugin.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698