Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: pkg/front_end/lib/src/fasta/builder/mixed_accessor.dart

Issue 2691523002: Ensure locations are always provided, but don't store them yet. (Closed)
Patch Set: Address comments. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library fasta.mixed_accessor; 5 library fasta.mixed_accessor;
6 6
7 import 'builder.dart' show 7 import 'builder.dart' show
8 Builder; 8 Builder,
9 LibraryBuilder;
9 10
10 /// Represents the import of a getter and setter from two different libraries. 11 /// Represents the import of a getter and setter from two different libraries.
11 class MixedAccessor extends Builder { 12 class MixedAccessor extends Builder {
12 final Builder getter; 13 final Builder getter;
13 final Builder setter; 14 final Builder setter;
14 15
15 MixedAccessor(this.getter, this.setter) { 16 MixedAccessor(this.getter, this.setter, LibraryBuilder parent)
17 : super(parent, -1, // Synthetic element has no charOffset.
18 parent.fileUri) {
16 next = getter; 19 next = getter;
17 } 20 }
18 } 21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698