MimIR 0.1
MimIR is my Intermediate Representation
|
#include <mim/ast/ast.h>
Public Member Functions | |
Arm (Loc loc, Ptr< Ptrn > &&ptrn, Ptr< Expr > &&body) | |
const Ptrn * | ptrn () const |
const Expr * | body () const |
virtual void | bind (Scopes &) const |
Lam * | emit (Emitter &) const |
std::ostream & | stream (Tab &, std::ostream &) const override |
![]() | |
Loc | loc () const |
void | dump () const |
Additional Inherited Members | |
![]() | |
Node (Loc loc) | |
virtual | ~Node () |
Definition at line 500 of file ast.h.
References body(), mim::ast::Node::loc(), mim::ast::Node::Node(), and ptrn().
|
virtual |
Definition at line 155 of file bind.cpp.
References mim::ast::Expr::bind(), mim::ast::Ptrn::bind(), body(), and ptrn().
|
inline |
Definition at line 222 of file emit.cpp.
References body(), emit(), mim::ast::Ptrn::emit_type(), mim::ast::Ptrn::emit_value(), mim::ast::Node::loc(), ptrn(), and mim::Def::set().
Referenced by emit().
|
inline |
|
overridevirtual |
Implements mim::ast::Node.
Definition at line 118 of file stream.cpp.
References body(), mim::print(), and ptrn().