MimIR 0.1
MimIR is my Intermediate Representation
|
cfun dbg dom -> codom
More...
#include <mim/ast/ast.h>
Public Member Functions | |
CDecl (Loc loc, Tok::Tag tag, Dbg dbg, Ptr< Ptrn > &&dom, Ptr< Expr > &&codom) | |
Dbg | dbg () const |
Tok::Tag | tag () const |
const Ptrn * | dom () const |
const Expr * | codom () const |
void | bind (Scopes &) const override |
void | emit (Emitter &) const override |
std::ostream & | stream (Tab &, std::ostream &) const override |
Public Member Functions inherited from mim::ast::ValDecl | |
Public Member Functions inherited from mim::ast::Decl | |
Ref | def () const |
Public Member Functions inherited from mim::ast::Node | |
Loc | loc () const |
void | dump () const |
Additional Inherited Members | |
Protected Member Functions inherited from mim::ast::ValDecl | |
ValDecl (Loc loc) | |
Protected Member Functions inherited from mim::ast::Decl | |
Decl (Loc loc) | |
Protected Member Functions inherited from mim::ast::Node | |
Node (Loc loc) | |
virtual | ~Node () |
Protected Attributes inherited from mim::ast::Decl | |
Ref | def_ = nullptr |
|
overridevirtual |
Implements mim::ast::ValDecl.
Definition at line 322 of file bind.cpp.
References mim::ast::Expr::bind(), and mim::ast::PiExpr::Dom::bind().
|
overridevirtual |
Implements mim::ast::ValDecl.
Definition at line 458 of file emit.cpp.
References mim::ast::Expr::emit(), and mim::ast::PiExpr::Dom::emit_type().
|
overridevirtual |