MimIR 0.1
MimIR is my Intermediate Representation
|
tuple#index
More...
#include <mim/ast/ast.h>
Public Member Functions | |
ExtractExpr (Loc loc, Ptr< Expr > &&tuple, Ptr< Expr > &&index) | |
ExtractExpr (Loc loc, Ptr< Expr > &&tuple, Dbg index) | |
const Expr * | tuple () const |
const auto & | index () const |
const Decl * | decl () const |
void | bind (Scopes &) const override |
std::ostream & | stream (Tab &, std::ostream &) const override |
![]() | |
Ref | emit (Emitter &) const |
virtual Ref | emit_decl (Emitter &, Ref) const |
virtual void | emit_body (Emitter &, Ref) const |
![]() | |
Loc | loc () const |
void | dump () const |
Private Member Functions | |
Ref | emit_ (Emitter &) const override |
Additional Inherited Members | |
![]() | |
Expr (Loc loc) | |
![]() | |
Node (Loc loc) | |
virtual | ~Node () |
|
overridevirtual |
Implements mim::ast::Expr.
Definition at line 300 of file emit.cpp.
References mim::error(), and std::get().
|
overridevirtual |
Implements mim::ast::Node.
Definition at line 147 of file stream.cpp.
References std::get(), and mim::print().