|
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 () |
Definition at line 1078 of file ast.h.
References dbg(), mim::ast::Node::loc(), module(), mim::ast::Node::Node(), and tag().
Referenced by swap.
| void mim::ast::Import::bind | ( | Scopes & | s | ) | const |
Definition at line 91 of file bind.cpp.
References mim::ast::Module::bind(), and module().
|
inline |
| void mim::ast::Import::emit | ( | Emitter & | e | ) | const |
Definition at line 53 of file emit.cpp.
References mim::ast::Module::emit(), and module().
|
inline |
|
virtual |
Implements mim::ast::Node.
Definition at line 42 of file stream.cpp.
References mim::Tab::println(), and tag().
|
inline |