MimIR 0.1
MimIR is my Intermediate Representation
|
Wraps a LamDecl as Expr. More...
#include <mim/ast/ast.h>
Public Member Functions | |
LamExpr (Ptr< LamDecl > &&lam) | |
const LamDecl * | lam () const |
void | bind (Scopes &) const override |
Ref | emit_decl (Emitter &, Ref type) const override |
void | emit_body (Emitter &, Ref decl) const override |
std::ostream & | stream (Tab &, std::ostream &) const override |
Public Member Functions inherited from mim::ast::Expr | |
Ref | emit (Emitter &) 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 | |
Public Types inherited from mim::ast::Expr | |
enum class | Prec { Err , Bot , Where , Arrow , Pi , App , Extract , Lit } |
Static Public Member Functions inherited from mim::ast::Expr | |
static constexpr bool | is_rassoc (Prec p) |
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 248 of file emit.cpp.
References mim::ast::PiExpr::emit_body(), and mim::ast::PiExpr::emit_decl().
Reimplemented from mim::ast::Expr.
Reimplemented from mim::ast::Expr.
|
overridevirtual |