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

Side by Side Diff: pkg/analyzer/lib/src/context/context.dart

Issue 1496873004: Fix warnings (Closed) Base URL: https://github.com/dart-lang/sdk.git@analyzer-breaking-0.27
Patch Set: Created 5 years 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 | « no previous file | 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 library analyzer.src.context.context; 5 library analyzer.src.context.context;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'package:analyzer/instrumentation/instrumentation.dart'; 10 import 'package:analyzer/instrumentation/instrumentation.dart';
(...skipping 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1302 buffer.write(" "); 1302 buffer.write(" ");
1303 buffer.writeln(source.fullName); 1303 buffer.writeln(source.fullName);
1304 } 1304 }
1305 _logInformation(buffer.toString()); 1305 _logInformation(buffer.toString());
1306 } 1306 }
1307 return changedSources.length > 0; 1307 return changedSources.length > 0;
1308 } 1308 }
1309 1309
1310 @deprecated 1310 @deprecated
1311 @override 1311 @override
1312 void visitCacheItems(void callback(Source source, SourceEntry dartEntry, 1312 void visitCacheItems(void callback(
1313 DataDescriptor rowDesc, CacheState state)) {} 1313 Source source, dynamic dartEntry, dynamic rowDesc, CacheState state)) {}
1314 1314
1315 @override 1315 @override
1316 void visitContentCache(ContentCacheVisitor visitor) { 1316 void visitContentCache(ContentCacheVisitor visitor) {
1317 _contentCache.accept(visitor); 1317 _contentCache.accept(visitor);
1318 } 1318 }
1319 1319
1320 /** 1320 /**
1321 * Add all of the sources contained in the given source [container] to the 1321 * Add all of the sources contained in the given source [container] to the
1322 * given list of [sources]. 1322 * given list of [sources].
1323 */ 1323 */
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
2074 } 2074 }
2075 DartSdk sdk = factory.dartSdk; 2075 DartSdk sdk = factory.dartSdk;
2076 if (sdk == null) { 2076 if (sdk == null) {
2077 throw new IllegalArgumentException( 2077 throw new IllegalArgumentException(
2078 "The source factory for an SDK analysis context must have a DartUriRes olver"); 2078 "The source factory for an SDK analysis context must have a DartUriRes olver");
2079 } 2079 }
2080 return new AnalysisCache( 2080 return new AnalysisCache(
2081 <CachePartition>[AnalysisEngine.instance.partitionManager.forSdk(sdk)]); 2081 <CachePartition>[AnalysisEngine.instance.partitionManager.forSdk(sdk)]);
2082 } 2082 }
2083 } 2083 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698