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

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

Issue 2991993002: Reapply 47ecf72 after it was reverted in e431e93e872d9a1c97a5177ebb09d5416f1d659a. (Closed)
Patch Set: Created 3 years, 4 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 LibraryBuilder, MemberBuilder; 7 import 'builder.dart' show LibraryBuilder, MemberBuilder;
8 8
9 import 'package:kernel/ast.dart' show DartType; 9 import 'package:kernel/ast.dart' show DartType;
10 10
11 abstract class FieldBuilder<T> extends MemberBuilder { 11 abstract class FieldBuilder<T> extends MemberBuilder {
12 final String name; 12 final String name;
13 13
14 final int modifiers; 14 final int modifiers;
15 15
16 FieldBuilder( 16 FieldBuilder(String documentationComment, this.name, this.modifiers,
17 this.name, this.modifiers, LibraryBuilder compilationUnit, int charOffset) 17 LibraryBuilder compilationUnit, int charOffset)
18 : super(compilationUnit, charOffset); 18 : super(compilationUnit, charOffset, documentationComment);
19 19
20 String get debugName => "FieldBuilder"; 20 String get debugName => "FieldBuilder";
21 21
22 DartType get builtType; 22 DartType get builtType;
23 23
24 void set initializer(T value); 24 void set initializer(T value);
25 25
26 bool get hasInitializer; 26 bool get hasInitializer;
27 27
28 bool get isField => true; 28 bool get isField => true;
29 29
30 bool get hasImplicitType; 30 bool get hasImplicitType;
31 } 31 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart ('k') | pkg/front_end/lib/src/fasta/builder/member_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698