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

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

Issue 1180883003: Don't create navigation regions for not existing sources. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « pkg/analysis_server/lib/src/computer/computer_navigation.dart ('k') | no next file » | 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:async'; 10 import 'dart:async';
(...skipping 5804 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/computer/computer_navigation.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698