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

Side by Side Diff: pkg/front_end/lib/src/fasta/builder/field_builder.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.field_builder; 5 library fasta.field_builder;
6 6
7 import 'builder.dart' show 7 import 'builder.dart' show
8 LibraryBuilder,
8 MemberBuilder; 9 MemberBuilder;
9 10
10 abstract class FieldBuilder<T> extends MemberBuilder { 11 abstract class FieldBuilder<T> extends MemberBuilder {
11 final String name; 12 final String name;
12 13
13 final int modifiers; 14 final int modifiers;
14 15
15 FieldBuilder(this.name, this.modifiers); 16 FieldBuilder(this.name, this.modifiers, LibraryBuilder compilationUnit,
17 int charOffset)
18 : super(compilationUnit, charOffset);
16 19
17 void set initializer(T value); 20 void set initializer(T value);
18 21
19 bool get isField => true; 22 bool get isField => true;
20 } 23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698