#include <mim/world.h>
Classes | |
| struct | Entry |
Public Member Functions | |
| Annexes (Driver *driver) | |
Getters | |
| Driver & | driver () |
| auto & | flags2entry () |
| An annex's flags map to its full name and its Def. | |
| const auto & | flags2entry () const |
| auto | entries () const |
| auto | defs () const |
| auto & | sym2flags () |
| const auto & | sym2flags () const |
| size_t | size () const |
attach | |
| const Def * | attach (flags_t, Sym, const Def *) |
| const Def * | attach (plugin_t p, tag_t t, sub_t s, Sym sym, const Def *def) |
| void | attach_alias (flags_t, Sym) |
| Registers a further Sym for an already attach()ed annex, sharing its flags_t;. | |
| void | attach_alias (plugin_t p, tag_t t, sub_t s, Sym sym) |
| const Def * | reattach (flags_t flags, const Def *def) |
| Overwrites the Def of an already attach()ed annex, keeping its Sym. | |
Iterators | |
| auto | begin () const |
| auto | end () const |
Friends | |
| void | swap (Annexes &a1, Annexes &a2) noexcept |
| struct mim::World::Annexes::Entry |
|
inline |
Definition at line 61 of file world.cpp.
References mim::Annex::demangle(), driver(), mim::World::flags(), mim::Driver::log(), and mim::World::sym().
Referenced by mim::ast::Emitter::attach(), attach(), and mim::RWPhase::rewrite_annex().
|
inline |
Definition at line 236 of file world.h.
References attach(), mim::Annex::flags(), and mim::World::sym().
| void mim::World::Annexes::attach_alias | ( | flags_t | flags, |
| Sym | sym ) |
Registers a further Sym for an already attach()ed annex, sharing its flags_t;.
Definition at line 72 of file world.cpp.
References mim::Annex::demangle(), driver(), mim::World::flags(), and mim::World::sym().
Definition at line 242 of file world.h.
References attach_alias(), mim::Annex::flags(), and mim::World::sym().
Referenced by attach_alias().
|
inline |
|
inline |
Definition at line 220 of file world.h.
Referenced by Annexes(), attach(), and attach_alias().
|
inline |
|
inline |
An annex's flags map to its full name and its Def.
Definition at line 222 of file world.h.
Referenced by mim::Unload::start().
|
inline |
Overwrites the Def of an already attach()ed annex, keeping its Sym.
Unlike attach(), this expects flags to be present;
Definition at line 246 of file world.h.
References mim::World::flags().
Referenced by mim::InplaceRWPhase::rewrite_annex().
|
inline |
Definition at line 228 of file world.h.
Referenced by mim::Unload::start().
|
inline |