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.source_library_builder; | 5 library fasta.source_library_builder; |
6 | 6 |
7 import 'package:kernel/ast.dart' show ProcedureKind; | 7 import 'package:kernel/ast.dart' show ProcedureKind; |
8 | 8 |
9 import '../../base/resolve_relative_uri.dart' show resolveRelativeUri; | 9 import '../../base/resolve_relative_uri.dart' show resolveRelativeUri; |
10 | 10 |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 String documentationComment, | 200 String documentationComment, |
201 List<MetadataBuilder> metadata, | 201 List<MetadataBuilder> metadata, |
202 int modifiers, | 202 int modifiers, |
203 String name, | 203 String name, |
204 List<TypeVariableBuilder> typeVariables, | 204 List<TypeVariableBuilder> typeVariables, |
205 T supertype, | 205 T supertype, |
206 List<T> interfaces, | 206 List<T> interfaces, |
207 int charOffset); | 207 int charOffset); |
208 | 208 |
209 void addNamedMixinApplication( | 209 void addNamedMixinApplication( |
| 210 String documentationComment, |
210 List<MetadataBuilder> metadata, | 211 List<MetadataBuilder> metadata, |
211 String name, | 212 String name, |
212 List<TypeVariableBuilder> typeVariables, | 213 List<TypeVariableBuilder> typeVariables, |
213 int modifiers, | 214 int modifiers, |
214 T mixinApplication, | 215 T mixinApplication, |
215 List<T> interfaces, | 216 List<T> interfaces, |
216 int charOffset); | 217 int charOffset); |
217 | 218 |
218 void addField( | 219 void addField( |
219 List<MetadataBuilder> metadata, | 220 List<MetadataBuilder> metadata, |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 /// synthesize type variables on the factory matching the class'. | 647 /// synthesize type variables on the factory matching the class'. |
647 void addFactoryDeclaration( | 648 void addFactoryDeclaration( |
648 ProcedureBuilder procedure, DeclarationBuilder<T> factoryDeclaration) { | 649 ProcedureBuilder procedure, DeclarationBuilder<T> factoryDeclaration) { |
649 factoryDeclarations[procedure] = factoryDeclaration; | 650 factoryDeclarations[procedure] = factoryDeclaration; |
650 } | 651 } |
651 | 652 |
652 Scope toScope(Scope parent) { | 653 Scope toScope(Scope parent) { |
653 return new Scope(members, setters, parent, isModifiable: false); | 654 return new Scope(members, setters, parent, isModifiable: false); |
654 } | 655 } |
655 } | 656 } |
OLD | NEW |