MimIR 0.1
MimIR is my Intermediate Representation
|
ret ptrn = callee $ arg; body
More...
#include <mim/ast/ast.h>
Public Member Functions | |
RetExpr (Loc loc, Ptr< Ptrn > &&ptrn, Ptr< Expr > &&callee, Ptr< Expr > &&arg, Ptr< Expr > body) | |
const Ptrn * | ptrn () const |
const Expr * | callee () const |
const Expr * | arg () const |
const Expr * | body () const |
void | bind (Scopes &) const override |
std::ostream & | stream (Tab &, std::ostream &) const override |
Public Member Functions inherited from mim::ast::Expr | |
Ref | emit (Emitter &) const |
virtual Ref | emit_decl (Emitter &, Ref) const |
virtual void | emit_body (Emitter &, Ref) const |
Public Member Functions inherited from mim::ast::Node | |
Loc | loc () const |
void | dump () const |
Private Member Functions | |
Ref | emit_ (Emitter &) const override |
Additional Inherited Members | |
Protected Member Functions inherited from mim::ast::Expr | |
Expr (Loc loc) | |
Protected Member Functions inherited from mim::ast::Node | |
Node (Loc loc) | |
virtual | ~Node () |
|
overridevirtual |
Implements mim::ast::Expr.
Implements mim::ast::Expr.
Definition at line 251 of file emit.cpp.
References mim::ast::Expr::emit(), mim::error(), mim::ast::Node::loc(), and mim::Pi::ret_pi().
|
overridevirtual |
Implements mim::ast::Node.
Definition at line 132 of file stream.cpp.
References mim::Tab::print(), and mim::println().