MimIR 0.1
MimIR is my Intermediate Representation
|
One of: More...
#include <mim/ast/ast.h>
Classes | |
class | Dom |
Public Member Functions | |
PiExpr (Loc loc, Tok::Tag tag, Ptrs< Dom > &&doms, Ptr< Expr > &&codom) | |
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 | |
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 |
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 () |
One of:
dom_0 ... dom_n-1 -> codom
Cn dom_0 ... dom_n-1
Fn dom_0 ... dom_n-1 -> codom
|
overrideprivatevirtual |
Implements mim::ast::Expr.
Definition at line 148 of file bind.cpp.
References mim::ast::Expr::bind(), mim::ast::PiExpr::Dom::bind(), and mim::ast::Node::loc().
Implements mim::ast::Expr.
Definition at line 224 of file emit.cpp.
References mim::ast::Expr::emit(), mim::ast::PiExpr::Dom::emit_type(), mim::ast::PiExpr::Dom::pi_, and mim::Pi::set_codom().
Reimplemented from mim::ast::Expr.
Definition at line 222 of file emit.cpp.
References mim::ast::Expr::emit().
Referenced by mim::ast::LamExpr::emit_().
Reimplemented from mim::ast::Expr.
Definition at line 217 of file emit.cpp.
References mim::ast::Node::loc().
Referenced by mim::ast::LamExpr::emit_().
|
overrideprivatevirtual |