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

Side by Side Diff: pkg/analyzer/lib/src/generated/element.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 | « no previous file | pkg/analyzer/lib/src/generated/engine.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.element; 8 library engine.element;
9 9
10 import 'dart:collection'; 10 import 'dart:collection';
(...skipping 1783 matching lines...) Expand 10 before | Expand all | Expand 10 after
1794 @override 1794 @override
1795 void appendTo(StringBuffer buffer) { 1795 void appendTo(StringBuffer buffer) {
1796 if (enclosingElement == null) { 1796 if (enclosingElement == null) {
1797 String message; 1797 String message;
1798 String name = displayName; 1798 String name = displayName;
1799 if (name != null && !name.isEmpty) { 1799 if (name != null && !name.isEmpty) {
1800 message = 'Found constructor element named $name with no enclosing eleme nt'; 1800 message = 'Found constructor element named $name with no enclosing eleme nt';
1801 } else { 1801 } else {
1802 message = 'Found unnamed constructor element with no enclosing element'; 1802 message = 'Found unnamed constructor element with no enclosing element';
1803 } 1803 }
1804 AnalysisEngine.instance.instrumentationService.logError(message); 1804 AnalysisEngine.instance.logger.logError(message);
1805 buffer.write('<unknown class>'); 1805 buffer.write('<unknown class>');
1806 } else { 1806 } else {
1807 buffer.write(enclosingElement.displayName); 1807 buffer.write(enclosingElement.displayName);
1808 } 1808 }
1809 String name = displayName; 1809 String name = displayName;
1810 if (name != null && !name.isEmpty) { 1810 if (name != null && !name.isEmpty) {
1811 buffer.write("."); 1811 buffer.write(".");
1812 buffer.write(name); 1812 buffer.write(name);
1813 } 1813 }
1814 super.appendTo(buffer); 1814 super.appendTo(buffer);
(...skipping 9351 matching lines...) Expand 10 before | Expand all | Expand 10 after
11166 // bottom <: void (as bottom is a subtype of all types). 11166 // bottom <: void (as bottom is a subtype of all types).
11167 // void <: dynamic (as dynamic is a supertype of all types) 11167 // void <: dynamic (as dynamic is a supertype of all types)
11168 return identical(type, this) || type.isDynamic; 11168 return identical(type, this) || type.isDynamic;
11169 } 11169 }
11170 11170
11171 @override 11171 @override
11172 VoidTypeImpl substitute2(List<DartType> argumentTypes, 11172 VoidTypeImpl substitute2(List<DartType> argumentTypes,
11173 List<DartType> parameterTypes) => 11173 List<DartType> parameterTypes) =>
11174 this; 11174 this;
11175 } 11175 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/engine.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698