Index: pkg/fasta/lib/src/builder/field_builder.dart |
diff --git a/pkg/fasta/lib/src/builder/field_builder.dart b/pkg/fasta/lib/src/builder/field_builder.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1625cd151d50c21458bceaefc05c55ac75b52518 |
--- /dev/null |
+++ b/pkg/fasta/lib/src/builder/field_builder.dart |
@@ -0,0 +1,20 @@ |
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+library fasta.field_builder; |
+ |
+import 'builder.dart' show |
+ MemberBuilder; |
+ |
+abstract class FieldBuilder<T> extends MemberBuilder { |
+ final String name; |
+ |
+ final int modifiers; |
+ |
+ FieldBuilder(this.name, this.modifiers); |
+ |
+ void set initializer(T value); |
+ |
+ bool get isField => true; |
+} |