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 import 'package:front_end/src/base/source.dart'; | 5 import 'package:front_end/src/base/source.dart'; |
6 | 6 |
7 /** | 7 /** |
8 * Information about a single top-level declaration. | 8 * Information about a single top-level declaration. |
9 */ | 9 */ |
10 class TopLevelDeclaration { | 10 class TopLevelDeclaration { |
(...skipping 15 matching lines...) Expand all Loading... |
26 */ | 26 */ |
27 class TopLevelLibraryDeclarations { | 27 class TopLevelLibraryDeclarations { |
28 /** | 28 /** |
29 * The source of the library. | 29 * The source of the library. |
30 */ | 30 */ |
31 final Source source; | 31 final Source source; |
32 | 32 |
33 /** | 33 /** |
34 * Top-level declarations in the export namespace of the library. | 34 * Top-level declarations in the export namespace of the library. |
35 */ | 35 */ |
36 final List<TopLevelDeclaration> declarations = []; | 36 final List<TopLevelDeclaration> declarations; |
37 | 37 |
38 TopLevelLibraryDeclarations(this.source); | 38 TopLevelLibraryDeclarations(this.source, this.declarations); |
39 } | 39 } |
OLD | NEW |