| 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 3557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3568 ElementLocation get location { | 3568 ElementLocation get location { |
| 3569 if (_cachedLocation == null) { | 3569 if (_cachedLocation == null) { |
| 3570 _cachedLocation = new ElementLocationImpl.con1(this); | 3570 _cachedLocation = new ElementLocationImpl.con1(this); |
| 3571 } | 3571 } |
| 3572 return _cachedLocation; | 3572 return _cachedLocation; |
| 3573 } | 3573 } |
| 3574 | 3574 |
| 3575 @override | 3575 @override |
| 3576 String get name => _name; | 3576 String get name => _name; |
| 3577 | 3577 |
| 3578 void set name(String name) { |
| 3579 this._name = name; |
| 3580 _cachedLocation = null; |
| 3581 _cachedHashCode = null; |
| 3582 } |
| 3583 |
| 3578 @override | 3584 @override |
| 3579 AstNode get node => getNodeMatching((node) => node is AstNode); | 3585 AstNode get node => getNodeMatching((node) => node is AstNode); |
| 3580 | 3586 |
| 3581 @override | 3587 @override |
| 3582 Source get source { | 3588 Source get source { |
| 3583 if (_enclosingElement == null) { | 3589 if (_enclosingElement == null) { |
| 3584 return null; | 3590 return null; |
| 3585 } | 3591 } |
| 3586 return _enclosingElement.source; | 3592 return _enclosingElement.source; |
| 3587 } | 3593 } |
| (...skipping 8906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12494 // bottom <: void (as bottom is a subtype of all types). | 12500 // bottom <: void (as bottom is a subtype of all types). |
| 12495 // void <: dynamic (as dynamic is a supertype of all types) | 12501 // void <: dynamic (as dynamic is a supertype of all types) |
| 12496 return identical(type, this) || type.isDynamic; | 12502 return identical(type, this) || type.isDynamic; |
| 12497 } | 12503 } |
| 12498 | 12504 |
| 12499 @override | 12505 @override |
| 12500 VoidTypeImpl substitute2(List<DartType> argumentTypes, | 12506 VoidTypeImpl substitute2(List<DartType> argumentTypes, |
| 12501 List<DartType> parameterTypes) => | 12507 List<DartType> parameterTypes) => |
| 12502 this; | 12508 this; |
| 12503 } | 12509 } |
| OLD | NEW |