#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 |
| const flags_t * | flags (const Def *d) const |
The flags of the annex def, if it is one. | |
| const flags_t * | opaque (const Def *d) const |
| Like flags() but only for an Axm or a non-Lam mutable - whose identity phases must preserve. | |
| 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) |
Iterators | |
| auto | begin () const |
| auto | end () const |
Friends | |
| void | swap (Annexes &a1, Annexes &a2) noexcept |
| struct mim::World::Annexes::Entry |
|
inline |
Definition at line 137 of file world.cpp.
References mim::Annex::demangle(), driver(), flags(), mim::Driver::log(), and mim::World::sym().
Referenced by mim::ast::Emitter::attach(), and attach().
|
inline |
Definition at line 252 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 149 of file world.cpp.
References mim::Annex::demangle(), driver(), flags(), and mim::World::sym().
Referenced by mim::ast::Emitter::attach_alias().
Definition at line 258 of file world.h.
References attach_alias(), mim::Annex::flags(), and mim::World::sym().
Referenced by attach_alias().
|
inline |
|
inline |
Definition at line 232 of file world.h.
Referenced by Annexes(), attach(), and attach_alias().
|
inline |
The flags of the annex def, if it is one.
Definition at line 243 of file world.h.
Referenced by attach(), attach_alias(), and opaque().
|
inline |
|
inline |
|
inline |