OLD | NEW |
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.class_builder; | 5 library fasta.class_builder; |
6 | 6 |
7 import '../errors.dart' show internalError; | 7 import '../errors.dart' show internalError; |
8 | 8 |
9 import 'builder.dart' | 9 import 'builder.dart' |
10 show | 10 show |
11 Builder, | 11 Builder, |
12 ConstructorReferenceBuilder, | 12 ConstructorReferenceBuilder, |
13 LibraryBuilder, | 13 LibraryBuilder, |
14 MetadataBuilder, | 14 MetadataBuilder, |
15 MixinApplicationBuilder, | 15 MixinApplicationBuilder, |
16 NamedTypeBuilder, | 16 NamedTypeBuilder, |
17 TypeBuilder, | 17 TypeBuilder, |
18 TypeDeclarationBuilder, | 18 TypeDeclarationBuilder, |
19 TypeVariableBuilder; | 19 TypeVariableBuilder; |
20 | 20 |
21 import 'scope.dart' show AccessErrorBuilder, AmbiguousBuilder, Scope; | 21 import '../scope.dart' show AccessErrorBuilder, AmbiguousBuilder, Scope; |
22 | 22 |
23 abstract class ClassBuilder<T extends TypeBuilder, R> | 23 abstract class ClassBuilder<T extends TypeBuilder, R> |
24 extends TypeDeclarationBuilder<T, R> { | 24 extends TypeDeclarationBuilder<T, R> { |
25 final List<TypeVariableBuilder> typeVariables; | 25 final List<TypeVariableBuilder> typeVariables; |
26 | 26 |
27 T supertype; | 27 T supertype; |
28 | 28 |
29 List<T> interfaces; | 29 List<T> interfaces; |
30 | 30 |
31 final Map<String, Builder> members; | 31 final Map<String, Builder> members; |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 } | 193 } |
194 | 194 |
195 void addWarning(int charOffset, String message) { | 195 void addWarning(int charOffset, String message) { |
196 library.addWarning(charOffset, message, fileUri: fileUri); | 196 library.addWarning(charOffset, message, fileUri: fileUri); |
197 } | 197 } |
198 | 198 |
199 void addNit(int charOffset, String message) { | 199 void addNit(int charOffset, String message) { |
200 library.addNit(charOffset, message, fileUri: fileUri); | 200 library.addNit(charOffset, message, fileUri: fileUri); |
201 } | 201 } |
202 } | 202 } |
OLD | NEW |