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

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

Issue 2788153002: Create separate scopes for constructors, setters, and other members. (Closed)
Patch Set: Update subpackage dependencies. Created 3 years, 8 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
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698