MimIR 0.1
MimIR is my Intermediate Representation
|
Just wraps TuplePtrn as Expr. More...
#include <mim/ast/ast.h>
Public Member Functions | |
SigmaExpr (Ptr< TuplePtrn > &&ptrn) | |
const TuplePtrn * | ptrn () 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 |
Friends | |
Ptr< Ptrn > | Ptrn::to_ptrn (Ptr< Expr > &&) |
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.
Reimplemented from mim::ast::Expr.
Reimplemented from mim::ast::Expr.
|
overridevirtual |
Implements mim::ast::Node.
Definition at line 135 of file stream.cpp.
|
friend |