| 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 7075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7086 @override | 7086 @override |
| 7087 Source get source { | 7087 Source get source { |
| 7088 if (_definingCompilationUnit == null) { | 7088 if (_definingCompilationUnit == null) { |
| 7089 return null; | 7089 return null; |
| 7090 } | 7090 } |
| 7091 return _definingCompilationUnit.source; | 7091 return _definingCompilationUnit.source; |
| 7092 } | 7092 } |
| 7093 | 7093 |
| 7094 @override | 7094 @override |
| 7095 List<CompilationUnitElement> get units { | 7095 List<CompilationUnitElement> get units { |
| 7096 List<CompilationUnitElement> units = | 7096 List<CompilationUnitElement> units = new List<CompilationUnitElement>(); |
| 7097 new List<CompilationUnitElement>(1 + _parts.length); | 7097 units.add(_definingCompilationUnit); |
| 7098 units[0] = _definingCompilationUnit; | 7098 units.addAll(_parts); |
| 7099 JavaSystem.arraycopy(_parts, 0, units, 1, _parts.length); | |
| 7100 return units; | 7099 return units; |
| 7101 } | 7100 } |
| 7102 | 7101 |
| 7103 @override | 7102 @override |
| 7104 List<LibraryElement> get visibleLibraries { | 7103 List<LibraryElement> get visibleLibraries { |
| 7105 Set<LibraryElement> visibleLibraries = new Set(); | 7104 Set<LibraryElement> visibleLibraries = new Set(); |
| 7106 _addVisibleLibraries(visibleLibraries, false); | 7105 _addVisibleLibraries(visibleLibraries, false); |
| 7107 return new List.from(visibleLibraries); | 7106 return new List.from(visibleLibraries); |
| 7108 } | 7107 } |
| 7109 | 7108 |
| (...skipping 3314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10424 // void <: void (by reflexivity) | 10423 // void <: void (by reflexivity) |
| 10425 // bottom <: void (as bottom is a subtype of all types). | 10424 // bottom <: void (as bottom is a subtype of all types). |
| 10426 // void <: dynamic (as dynamic is a supertype of all types) | 10425 // void <: dynamic (as dynamic is a supertype of all types) |
| 10427 return identical(type, this) || type.isDynamic; | 10426 return identical(type, this) || type.isDynamic; |
| 10428 } | 10427 } |
| 10429 | 10428 |
| 10430 @override | 10429 @override |
| 10431 VoidTypeImpl substitute2( | 10430 VoidTypeImpl substitute2( |
| 10432 List<DartType> argumentTypes, List<DartType> parameterTypes) => this; | 10431 List<DartType> argumentTypes, List<DartType> parameterTypes) => this; |
| 10433 } | 10432 } |
| OLD | NEW |