MimIR 0.1
MimIR is my Intermediate Representation
|
#include <mim/ast/ast.h>
Public Member Functions | |
Import (Loc loc, Tok::Tag tag, Dbg dbg, Ptr< Module > &&module) | |
Dbg | dbg () const |
Tok::Tag | tag () const |
const Module * | module () const |
void | bind (Scopes &) const |
void | emit (Emitter &) const |
std::ostream & | stream (Tab &, std::ostream &) const |
Public Member Functions inherited from mim::ast::Node | |
Loc | loc () const |
void | dump () const |
Friends | |
void | swap (Import &i1, Import &i2) noexcept |
Additional Inherited Members | |
Protected Member Functions inherited from mim::ast::Node | |
Node (Loc loc) | |
virtual | ~Node () |
void mim::ast::Import::bind | ( | Scopes & | s | ) | const |
Definition at line 88 of file bind.cpp.
References mim::ast::Module::bind(), and module().
void mim::ast::Import::emit | ( | Emitter & | e | ) | const |
Definition at line 47 of file emit.cpp.
References mim::ast::Module::emit(), and module().
|
inline |
|
virtual |
Implements mim::ast::Node.
Definition at line 41 of file stream.cpp.
References mim::Tab::println(), and tag().
|
inline |