OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 library rasta.kernel; | 5 library rasta.kernel; |
6 | 6 |
7 import 'dart:async' show | 7 import 'dart:async' show |
8 Future; | 8 Future; |
9 | 9 |
10 import 'dart:collection' show | 10 import 'dart:collection' show |
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 return getDartCoreMethod('_unresolvedSuperSetterError'); | 675 return getDartCoreMethod('_unresolvedSuperSetterError'); |
676 } | 676 } |
677 | 677 |
678 ir.Procedure getUnresolvedSuperMethodBuilder() { | 678 ir.Procedure getUnresolvedSuperMethodBuilder() { |
679 return getDartCoreMethod('_unresolvedSuperMethodError'); | 679 return getDartCoreMethod('_unresolvedSuperMethodError'); |
680 } | 680 } |
681 | 681 |
682 ir.Procedure getGenericNoSuchMethodBuilder() { | 682 ir.Procedure getGenericNoSuchMethodBuilder() { |
683 return getDartCoreMethod('_genericNoSuchMethod'); | 683 return getDartCoreMethod('_genericNoSuchMethod'); |
684 } | 684 } |
| 685 |
| 686 ir.Procedure getFallThroughErrorBuilder() { |
| 687 return getDartCoreMethod('_fallThroughError'); |
| 688 } |
685 } | 689 } |
686 | 690 |
687 class ConstructorTarget { | 691 class ConstructorTarget { |
688 final ConstructorElement element; | 692 final ConstructorElement element; |
689 final DartType type; | 693 final DartType type; |
690 | 694 |
691 ConstructorTarget(this.element, this.type); | 695 ConstructorTarget(this.element, this.type); |
692 | 696 |
693 String toString() => "ConstructorTarget($element, $type)"; | 697 String toString() => "ConstructorTarget($element, $type)"; |
694 } | 698 } |
OLD | NEW |