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.kernel_builder; | 5 library fasta.kernel_builder; |
6 | 6 |
7 export 'kernel_class_builder.dart' show | 7 export 'kernel_class_builder.dart' show |
8 KernelClassBuilder; | 8 KernelClassBuilder; |
9 | 9 |
10 export 'kernel_enum_builder.dart' show | 10 export 'kernel_enum_builder.dart' show |
11 KernelEnumBuilder; | 11 KernelEnumBuilder; |
12 | 12 |
13 export 'kernel_field_builder.dart' show | 13 export 'kernel_field_builder.dart' show |
14 KernelFieldBuilder; | 14 KernelFieldBuilder; |
15 | 15 |
16 export 'kernel_formal_parameter_builder.dart' show | 16 export 'kernel_formal_parameter_builder.dart' show |
17 KernelFormalParameterBuilder; | 17 KernelFormalParameterBuilder; |
18 | 18 |
19 export 'kernel_function_type_alias_builder.dart' show | 19 export 'kernel_function_type_alias_builder.dart' show |
20 KernelFunctionTypeAliasBuilder; | 20 KernelFunctionTypeAliasBuilder; |
21 | 21 |
22 export 'kernel_interface_type_builder.dart' show | 22 export 'kernel_named_type_builder.dart' show |
23 KernelInterfaceTypeBuilder; | 23 KernelNamedTypeBuilder; |
24 | 24 |
25 export 'kernel_library_builder.dart' show | 25 export 'kernel_library_builder.dart' show |
26 KernelLibraryBuilder; | 26 KernelLibraryBuilder; |
27 | 27 |
28 export 'kernel_mixin_application_builder.dart' show | 28 export 'kernel_mixin_application_builder.dart' show |
29 KernelMixinApplicationBuilder; | 29 KernelMixinApplicationBuilder; |
30 | 30 |
31 export 'kernel_named_mixin_application_builder.dart' show | 31 export 'kernel_named_mixin_application_builder.dart' show |
32 KernelNamedMixinApplicationBuilder; | 32 KernelNamedMixinApplicationBuilder; |
33 | 33 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 charOffset ??= -1; | 103 charOffset ??= -1; |
104 if (charOffset == -1) { | 104 if (charOffset == -1) { |
105 charOffset = member.fileOffset ?? -1; | 105 charOffset = member.fileOffset ?? -1; |
106 } | 106 } |
107 if (charOffset == -1) { | 107 if (charOffset == -1) { |
108 charOffset = cls?.fileOffset ?? -1; | 108 charOffset = cls?.fileOffset ?? -1; |
109 } | 109 } |
110 name = (cls == null ? "" : "${cls.name}::") + name; | 110 name = (cls == null ? "" : "${cls.name}::") + name; |
111 return inputError(uri, charOffset, "Error in $name: $error"); | 111 return inputError(uri, charOffset, "Error in $name: $error"); |
112 } | 112 } |
OLD | NEW |