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

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

Issue 840083002: Use Logger instead of InstrumentationService. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | « pkg/analyzer/lib/src/generated/element.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:math" as math; 10 import "dart:math" as math;
(...skipping 2221 matching lines...) Expand 10 before | Expand all | Expand 10 after
2232 } 2232 }
2233 CompilationUnit fullUnit = getResolvedCompilationUnit2( 2233 CompilationUnit fullUnit = getResolvedCompilationUnit2(
2234 incrementalResolutionValidation_lastUnitSource, 2234 incrementalResolutionValidation_lastUnitSource,
2235 incrementalResolutionValidation_lastLibrarySource); 2235 incrementalResolutionValidation_lastLibrarySource);
2236 if (fullUnit != null) { 2236 if (fullUnit != null) {
2237 try { 2237 try {
2238 assertSameResolution(incrementalResolutionValidation_lastUnit, fullUnit) ; 2238 assertSameResolution(incrementalResolutionValidation_lastUnit, fullUnit) ;
2239 } on IncrementalResolutionMismatch catch (mismatch, stack) { 2239 } on IncrementalResolutionMismatch catch (mismatch, stack) {
2240 String failure = mismatch.message; 2240 String failure = mismatch.message;
2241 String message = 'Incremental resolution mismatch:\n$failure\nat\n$stack '; 2241 String message = 'Incremental resolution mismatch:\n$failure\nat\n$stack ';
2242 AnalysisEngine.instance.instrumentationService.logError(message); 2242 AnalysisEngine.instance.logger.logError(message);
2243 } 2243 }
2244 } 2244 }
2245 incrementalResolutionValidation_lastUnitSource = null; 2245 incrementalResolutionValidation_lastUnitSource = null;
2246 incrementalResolutionValidation_lastLibrarySource = null; 2246 incrementalResolutionValidation_lastLibrarySource = null;
2247 incrementalResolutionValidation_lastUnit = null; 2247 incrementalResolutionValidation_lastUnit = null;
2248 } 2248 }
2249 2249
2250 @override 2250 @override
2251 void recordLibraryElements(Map<Source, LibraryElement> elementMap) { 2251 void recordLibraryElements(Map<Source, LibraryElement> elementMap) {
2252 Source htmlSource = _sourceFactory.forUri(DartSdk.DART_HTML); 2252 Source htmlSource = _sourceFactory.forUri(DartSdk.DART_HTML);
(...skipping 9908 matching lines...) Expand 10 before | Expand all | Expand 10 after
12161 if (element.id == _id) { 12161 if (element.id == _id) {
12162 result = element; 12162 result = element;
12163 throw new _ElementByIdFinderException(); 12163 throw new _ElementByIdFinderException();
12164 } 12164 }
12165 super.visitElement(element); 12165 super.visitElement(element);
12166 } 12166 }
12167 } 12167 }
12168 12168
12169 class _ElementByIdFinderException { 12169 class _ElementByIdFinderException {
12170 } 12170 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/element.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698