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 #include "vm/kernel.h" | 5 #include "vm/kernel.h" |
6 | 6 |
7 #if !defined(DART_PRECOMPILED_RUNTIME) | 7 #if !defined(DART_PRECOMPILED_RUNTIME) |
8 namespace dart { | 8 namespace dart { |
9 | 9 |
10 namespace kernel { | 10 namespace kernel { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 Library::~Library() {} | 47 Library::~Library() {} |
48 | 48 |
49 | 49 |
50 void Library::AcceptTreeVisitor(TreeVisitor* visitor) { | 50 void Library::AcceptTreeVisitor(TreeVisitor* visitor) { |
51 visitor->VisitLibrary(this); | 51 visitor->VisitLibrary(this); |
52 } | 52 } |
53 | 53 |
54 | 54 |
55 void Library::VisitChildren(Visitor* visitor) { | 55 void Library::VisitChildren(Visitor* visitor) { |
| 56 VisitList(&typedefs(), visitor); |
56 VisitList(&classes(), visitor); | 57 VisitList(&classes(), visitor); |
57 VisitList(&procedures(), visitor); | 58 VisitList(&procedures(), visitor); |
58 VisitList(&fields(), visitor); | 59 VisitList(&fields(), visitor); |
59 } | 60 } |
60 | 61 |
61 | 62 |
62 LibraryDependency::~LibraryDependency() {} | 63 LibraryDependency::~LibraryDependency() {} |
63 | 64 |
64 | 65 |
65 Combinator::~Combinator() {} | 66 Combinator::~Combinator() {} |
(...skipping 1223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1289 | 1290 |
1290 void Program::VisitChildren(Visitor* visitor) { | 1291 void Program::VisitChildren(Visitor* visitor) { |
1291 VisitList(&libraries(), visitor); | 1292 VisitList(&libraries(), visitor); |
1292 } | 1293 } |
1293 | 1294 |
1294 | 1295 |
1295 } // namespace kernel | 1296 } // namespace kernel |
1296 | 1297 |
1297 } // namespace dart | 1298 } // namespace dart |
1298 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 1299 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
OLD | NEW |