| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 library fasta.mixed_accessor; | |
| 6 | |
| 7 import 'builder.dart' show Builder, LibraryBuilder; | |
| 8 | |
| 9 /// Represents the import of a getter and setter from two different libraries. | |
| 10 class MixedAccessor extends Builder { | |
| 11 final Builder getter; | |
| 12 final Builder setter; | |
| 13 | |
| 14 MixedAccessor(this.getter, this.setter, LibraryBuilder parent) | |
| 15 : super( | |
| 16 parent, | |
| 17 -1, // Synthetic element has no charOffset. | |
| 18 parent.fileUri) { | |
| 19 next = getter; | |
| 20 } | |
| 21 | |
| 22 @override | |
| 23 String get fullNameForErrors => getter.fullNameForErrors; | |
| 24 } | |
| OLD | NEW |