|
MimIR 0.1
MimIR is my Intermediate Representation
|
axm ptrn: type = value;
More...
#include <mim/ast/ast.h>
Classes | |
| class | Alias |
Public Member Functions | |
| AxmDecl (Loc loc, Dbg dbg, std::deque< Ptrs< Alias > > &&subs, Ptr< Expr > &&type, Dbg normalizer, Tok curry, Tok trip) | |
| Dbg | dbg () const |
| const auto & | subs () const |
| size_t | num_subs () const |
| const auto & | sub (size_t i) const |
| const Expr * | type () const |
| Dbg | normalizer () const |
| Tok | curry () const |
| Tok | trip () const |
| void | bind (Scopes &) const override |
| void | emit (Emitter &) const override |
| std::ostream & | stream (Tab &, std::ostream &) const override |
Public Member Functions inherited from mim::ast::Decl | |
| const Def * | def () const |
Public Member Functions inherited from mim::ast::Node | |
| Loc | loc () const |
| void | dump () const |
Additional Inherited Members | |
Protected Member Functions inherited from mim::ast::ValDecl | |
| ValDecl (Loc loc) | |
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 | |
| const Def * | def_ = nullptr |
|
inline |
Definition at line 877 of file ast.h.
References curry(), dbg(), mim::ast::Node::loc(), normalizer(), subs(), trip(), type(), and mim::ast::ValDecl::ValDecl().
Referenced by bind().
|
overridevirtual |
Implements mim::ast::ValDecl.
Definition at line 253 of file bind.cpp.
References AxmDecl(), dbg(), mim::error(), mim::ast::Node::loc(), normalizer(), num_subs(), sub(), subs(), and type().
|
inline |
|
inline |
|
overridevirtual |
Implements mim::ast::ValDecl.
Definition at line 383 of file emit.cpp.
References curry(), dbg(), mim::ast::Decl::def_, mim::error(), mim::Axm::infer_curry_and_trip(), num_subs(), sub(), trip(), and type().
|
inline |
|
inline |
|
overridevirtual |
Implements mim::ast::Node.
Definition at line 184 of file stream.cpp.
References curry(), dbg(), normalizer(), num_subs(), mim::print(), subs(), trip(), and type().
|
inline |
|
inline |
|
inline |
|
inline |