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

Unified Diff: runtime/vm/kernel.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/kernel/lib/text/ast_to_text.dart ('k') | runtime/vm/kernel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/kernel.h
diff --git a/runtime/vm/kernel.h b/runtime/vm/kernel.h
index 65289c60fc3e8cd234479a1725b70c395426dd97..a66e9b82f3f5285213111f4485fb9cb2f29a3c33 100644
--- a/runtime/vm/kernel.h
+++ b/runtime/vm/kernel.h
@@ -474,6 +474,7 @@ class Library : public LinkedNode {
StringIndex import_uri() { return import_uri_index_; }
intptr_t source_uri_index() { return source_uri_index_; }
StringIndex name() { return name_index_; }
+ List<Expression>& annotations() { return annotations_; }
List<LibraryDependency>& dependencies() { return dependency_; }
List<Typedef>& typedefs() { return typedefs_; }
List<Class>& classes() { return classes_; }
@@ -492,6 +493,7 @@ class Library : public LinkedNode {
StringIndex name_index_;
StringIndex import_uri_index_;
intptr_t source_uri_index_;
+ List<Expression> annotations_;
List<LibraryDependency> dependency_;
List<Typedef> typedefs_;
List<Class> classes_;
« no previous file with comments | « pkg/kernel/lib/text/ast_to_text.dart ('k') | runtime/vm/kernel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698