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.builder; | 5 library fasta.builder; |
6 | 6 |
7 import '../errors.dart' show internalError; | 7 import '../errors.dart' show internalError; |
8 | 8 |
9 export 'class_builder.dart' show ClassBuilder; | 9 export 'class_builder.dart' show ClassBuilder; |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... |
41 export 'member_builder.dart' show MemberBuilder; | 41 export 'member_builder.dart' show MemberBuilder; |
42 | 42 |
43 export 'modifier_builder.dart' show ModifierBuilder; | 43 export 'modifier_builder.dart' show ModifierBuilder; |
44 | 44 |
45 export 'prefix_builder.dart' show PrefixBuilder; | 45 export 'prefix_builder.dart' show PrefixBuilder; |
46 | 46 |
47 export 'invalid_type_builder.dart' show InvalidTypeBuilder; | 47 export 'invalid_type_builder.dart' show InvalidTypeBuilder; |
48 | 48 |
49 export 'mixed_accessor.dart' show MixedAccessor; | 49 export 'mixed_accessor.dart' show MixedAccessor; |
50 | 50 |
51 export 'scope.dart' show AccessErrorBuilder; | 51 export '../scope.dart' show AccessErrorBuilder, Scope; |
52 | 52 |
53 export 'builtin_type_builder.dart' show BuiltinTypeBuilder; | 53 export 'builtin_type_builder.dart' show BuiltinTypeBuilder; |
54 | 54 |
55 export 'dynamic_type_builder.dart' show DynamicTypeBuilder; | 55 export 'dynamic_type_builder.dart' show DynamicTypeBuilder; |
56 | 56 |
57 export 'void_type_builder.dart' show VoidTypeBuilder; | 57 export 'void_type_builder.dart' show VoidTypeBuilder; |
58 | 58 |
59 export 'function_type_builder.dart' show FunctionTypeBuilder; | 59 export 'function_type_builder.dart' show FunctionTypeBuilder; |
60 | 60 |
61 import 'library_builder.dart' show LibraryBuilder; | 61 import 'library_builder.dart' show LibraryBuilder; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 128 |
129 Uri computeLibraryUri() { | 129 Uri computeLibraryUri() { |
130 Builder builder = this; | 130 Builder builder = this; |
131 do { | 131 do { |
132 if (builder is LibraryBuilder) return builder.uri; | 132 if (builder is LibraryBuilder) return builder.uri; |
133 builder = builder.parent; | 133 builder = builder.parent; |
134 } while (builder != null); | 134 } while (builder != null); |
135 return internalError("No library parent."); | 135 return internalError("No library parent."); |
136 } | 136 } |
137 } | 137 } |
OLD | NEW |