|
MimIR 0.1
MimIR is my Intermediate Representation
|
#include <mim/ast/ast.h>
Public Member Functions | |
| LitExpr (Loc loc, Tok tok, Ptr< Expr > &&type) | |
| Tok | tok () const |
| Tok::Tag | tag () const |
| const Expr * | type () 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 | |
| Public Types inherited from mim::ast::Expr | |
| using | Prec = ast::Prec |
| Backward-compatible alias; prefer the free-standing ast::Prec. | |
| 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 374 of file ast.h.
References mim::ast::Expr::Expr(), mim::ast::Node::loc(), tok(), and type().
|
overridevirtual |
Implements mim::ast::Expr.
Definition at line 128 of file bind.cpp.
References mim::ast::Expr::bind(), mim::ast::Node::loc(), tag(), and type().
Implements mim::ast::Expr.
Definition at line 179 of file emit.cpp.
References mim::ast::Expr::emit(), mim::ast::Tok::lit_i(), tag(), tok(), and type().
|
overridevirtual |
Implements mim::ast::Node.
Definition at line 82 of file stream.cpp.
References mim::ast::Tok::lit_u(), mim::print(), tag(), tok(), and type().
|
inline |
|
inline |
|
inline |