Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: runtime/vm/kernel.cc

Issue 2893803003: Add metadata annotations to library definitions. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/kernel.h ('k') | runtime/vm/kernel_binary.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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)
OLDNEW
« no previous file with comments | « runtime/vm/kernel.h ('k') | runtime/vm/kernel_binary.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698