|
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 |
Public Member Functions inherited from mim::ast::Expr | |
| const Def * | emit (Emitter &) const |
| virtual const Def * | emit_decl (Emitter &, const Def *) const |
| virtual void | emit_body (Emitter &, const Def *) const |
Public Member Functions inherited from mim::ast::Node | |
| Loc | loc () const |
| void | dump () const |
Private Member Functions | |
| const Def * | emit_ (Emitter &) const override |
Additional Inherited Members | |
| enum class | Prec { Err , Bot , Where , Arrow , Pi , Inj , App , Union , Extract , Lit } |
| 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 () |
Definition at line 764 of file ast.h.
References mim::ast::Expr::Expr(), index(), mim::ast::Node::loc(), and tuple().
Definition at line 768 of file ast.h.
References mim::ast::Expr::Expr(), index(), mim::ast::Node::loc(), and tuple().
|
overridevirtual |
Implements mim::ast::Expr.
|
inline |
Implements mim::ast::Expr.
Definition at line 349 of file emit.cpp.
References decl(), mim::error(), mim::get(), index(), and tuple().
|
inline |
Definition at line 774 of file ast.h.
Referenced by bind(), emit_(), ExtractExpr(), ExtractExpr(), and stream().
|
overridevirtual |
Implements mim::ast::Node.
Definition at line 167 of file stream.cpp.
References index(), mim::print(), and tuple().
|
inline |
Definition at line 773 of file ast.h.
References mim::ast::Expr::Expr().
Referenced by bind(), emit_(), ExtractExpr(), ExtractExpr(), and stream().