MimIR 0.1
MimIR is my Intermediate Representation
|
.rec dbg: type = body
More...
#include <mim/ast/ast.h>
Public Member Functions | |
RecDecl (Loc loc, Dbg dbg, Ptr< Expr > &&type, Ptr< Expr > &&body, Ptr< RecDecl > &&next) | |
Dbg | dbg () const |
const Expr * | type () const |
const Expr * | body () const |
const RecDecl * | next () const |
void | bind (Scopes &) const override |
virtual void | bind_decl (Scopes &) const |
virtual void | bind_body (Scopes &) const |
void | emit (Emitter &) const override |
virtual void | emit_decl (Emitter &) const |
virtual void | emit_body (Emitter &) const |
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.
|
virtual |
Reimplemented in mim::ast::LamDecl.
|
virtual |
Reimplemented in mim::ast::LamDecl.
Definition at line 267 of file bind.cpp.
References mim::ast::Node::loc().
|
overridevirtual |
Implements mim::ast::ValDecl.
|
virtual |
Reimplemented in mim::ast::LamDecl.
|
virtual |
Reimplemented in mim::ast::LamDecl.
|
overridevirtual |