| Index: runtime/vm/object.h
|
| ===================================================================
|
| --- runtime/vm/object.h (revision 23883)
|
| +++ runtime/vm/object.h (working copy)
|
| @@ -2251,6 +2251,11 @@
|
|
|
| void AddExport(const Namespace& ns) const;
|
|
|
| + void AddClassMetadata(const Class& cls, intptr_t token_pos) const;
|
| + void AddFieldMetadata(const Field& field, intptr_t token_pos) const;
|
| + void AddFunctionMetadata(const Function& func, intptr_t token_pos) const;
|
| + RawObject* GetMetadata(const Object& obj) const;
|
| +
|
| // Library imports.
|
| void AddImport(const Namespace& ns) const;
|
| intptr_t num_imports() const { return raw_ptr()->num_imports_; }
|
| @@ -2333,6 +2338,7 @@
|
| RawArray* exports() const { return raw_ptr()->exports_; }
|
| bool HasExports() const;
|
| RawArray* loaded_scripts() const { return raw_ptr()->loaded_scripts_; }
|
| + RawGrowableObjectArray* metadata() const { return raw_ptr()->metadata_; }
|
| RawArray* dictionary() const { return raw_ptr()->dictionary_; }
|
| void InitClassDictionary() const;
|
| void InitImportList() const;
|
| @@ -2341,6 +2347,9 @@
|
| bool import_core_lib);
|
| RawObject* LookupEntry(const String& name, intptr_t *index) const;
|
|
|
| + RawString* MakeMetadataName(const Object& obj) const;
|
| + RawField* GetMetadataField(const String& metaname) const;
|
| +
|
| FINAL_HEAP_OBJECT_IMPLEMENTATION(Library, Object);
|
|
|
| friend class Bootstrap;
|
|
|