MimIR 0.1
MimIR is my Intermediate Representation
|
dbg: type
More...
#include <mim/ast/ast.h>
Public Member Functions | |
IdPtrn (Loc loc, bool rebind, Dbg dbg, Ptr< Expr > &&type) | |
const Expr * | type () const |
void | bind (Scopes &, bool quiet=false) const override |
Ref | emit_type (Emitter &) const override |
std::ostream & | stream (Tab &, std::ostream &) const override |
Public Member Functions inherited from mim::ast::Ptrn | |
Ptrn (Loc loc, bool rebind, Dbg dbg) | |
bool | rebind () const |
Dbg | dbg () const |
Ref | emit_value (Emitter &, Ref) const |
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 |
Static Public Member Functions | |
static Ptr< IdPtrn > | mk_type (AST &ast, Ptr< Expr > &&type) |
static Ptr< IdPtrn > | mk_id (AST &ast, Dbg dbg, Ptr< Expr > &&type) |
Static Public Member Functions inherited from mim::ast::Ptrn | |
static Ptr< Expr > | to_expr (AST &, Ptr< Ptrn > &&) |
static Ptr< Ptrn > | to_ptrn (Ptr< Expr > &&) |
Additional Inherited Members | |
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::Ptrn.
Definition at line 96 of file bind.cpp.
References mim::ast::Expr::bind(), mim::ast::Ptrn::dbg(), mim::ast::Ptrn::rebind(), and type().
Referenced by mim::ast::PiExpr::Dom::bind().
Implements mim::ast::Ptrn.
Definition at line 70 of file emit.cpp.
References mim::ast::Expr::emit(), mim::ast::Node::loc(), and type().
Referenced by mim::ast::GrpPtrn::emit_type().
|
inlinestatic |
Definition at line 218 of file ast.h.
References mim::ast::Ptrn::dbg(), mim::ast::Node::loc(), mim::Dbg::loc(), mim::ast::AST::ptr(), and type().
Definition at line 214 of file ast.h.
References mim::ast::Node::loc(), mim::ast::AST::ptr(), mim::ast::AST::sym_anon(), and type().
|
overridevirtual |
Implements mim::ast::Node.
Definition at line 55 of file stream.cpp.
References mim::ast::Ptrn::dbg(), mim::print(), and type().
|
inline |