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 | |
8 Builder; | |
9 | |
10 /// Represents the import of a getter and setter from two different libraries. | |
11 class MixedAccessor extends Builder { | |
12 final Builder getter; | |
13 final Builder setter; | |
14 | |
15 MixedAccessor(this.getter, this.setter) { | |
16 next = getter; | |
Johnni Winther
2017/01/16 13:01:19
Do we know that `getter.next == setter` ?
ahe
2017/01/16 15:26:33
No. Only things declared in the same parent can be
| |
17 } | |
18 } | |
OLD | NEW |