3#include <gyoji-misc/pointers.hpp>
4#include <gyoji-mir/types.hpp>
111 void dump(FILE *out)
const;
A symbol defined globally inside a namespace.
Definition symbols.hpp:24
~Symbol()
Move along, nothing to see here.
Definition symbols.cpp:10
std::string get_name() const
Definition symbols.cpp:14
const Type * get_type() const
Definition symbols.cpp:18
Symbol table for the intermediate representation (MIR)
Definition symbols.hpp:72
void define_symbol(std::string name, const Type *symbol_type)
Create a new global symbol.
Definition symbols.cpp:30
const Symbol * get_symbol(std::string name) const
Look up a symbol by name.
Definition symbols.cpp:52
Symbols()
Definition symbols.cpp:23
void dump(FILE *out) const
Definition symbols.cpp:40
~Symbols()
Move along, nothing to see here.
Definition symbols.cpp:26
This represents a type as declared in a translation unit.
Definition types.hpp:299
Middle intermediate representation (MIR) of a translation unit.
Definition gyoji-mir.hpp:37