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

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

Issue 2767653002: Implement fullNameForErrors on all Builders. (Closed)
Patch Set: Used <unnamed> instead of empty string. Created 3 years, 9 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 Builder, LibraryBuilder; 7 import 'builder.dart' show Builder, LibraryBuilder;
8 8
9 /// Represents the import of a getter and setter from two different libraries. 9 /// Represents the import of a getter and setter from two different libraries.
10 class MixedAccessor extends Builder { 10 class MixedAccessor extends Builder {
11 final Builder getter; 11 final Builder getter;
12 final Builder setter; 12 final Builder setter;
13 13
14 MixedAccessor(this.getter, this.setter, LibraryBuilder parent) 14 MixedAccessor(this.getter, this.setter, LibraryBuilder parent)
15 : super( 15 : super(
16 parent, 16 parent,
17 -1, // Synthetic element has no charOffset. 17 -1, // Synthetic element has no charOffset.
18 parent.fileUri) { 18 parent.fileUri) {
19 next = getter; 19 next = getter;
20 } 20 }
21
22 @override
23 String get fullNameForErrors => getter.fullNameForErrors;
21 } 24 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/builder/metadata_builder.dart ('k') | pkg/front_end/lib/src/fasta/builder/prefix_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698