|
nany
|
Atoms. More...
#include <atom-map.h>
Public Member Functions | |
| Atom & | createNamespace (Atom &parent, const AnyString &name) |
| Create a new atom related to a part of a namespace. | |
| Atom & | createFuncdef (Atom &parent, const AnyString &name) |
| Create a new atom related to a function. | |
| Atom & | createClassdef (Atom &parent, const AnyString &name) |
| Create a new atom related to a class. | |
| Atom & | createVardef (Atom &parent, const AnyString &name) |
| Create a new atom related to a variable. | |
| Atom & | createTypealias (Atom &parent, const AnyString &name) |
| Create a new atom related to a type alias. | |
| Atom & | createUnit (Atom &parent, const AnyString &name) |
| Create a new atom related to an unit (source file) | |
| const ir::Sequence * | ircodeIfExists (uint32_t atomid, uint32_t index) const |
| Find the IR sequence for a given {atomid/instanceid} (null if not found) | |
| const ir::Sequence & | ircode (uint32_t atomid, uint32_t index) const |
| Find the IR code for a given {atomid/instanceid}. | |
| AnyString | symbolname (uint32_t atomid, uint32_t index) const |
| Retrieve the human readable name of an atom (empty if not found) | |
| yuni::Ref< Atom > | findAtom (uint32_t atomid) const |
| Retrive an Atom object from its unique id (const) | |
| yuni::Ref< Atom > | findAtom (uint32_t atomid) |
| Retrive an Atom object from its unique id. | |
| bool | fetchAndIndexCoreObjects () |
| Try to retrieve the corresponding classes for core objects (bool, i32...) | |
Public Attributes | |
| Atom | root |
| The root atom (global namespace) | |
| StringRefs & | stringrefs |
| String catalog. | |
| struct { | |
| yuni::Ref< Atom > object [nyt_count] | |
| } | core |
Friends | |
| struct | ClassdefTable |
Atoms.
1.8.12