| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |