|
MimIR 0.1
MimIR is my Intermediate Representation
|
#include <mim/ast/ast.h>
Public Member Functions | |
| ErrorPtrn (Loc loc) | |
| void | bind (Scopes &, bool rebind, bool quiet) const override |
| const Def * | emit_value (Emitter &, const Def *) const override |
| const Def * | emit_type (Emitter &) const override |
| std::ostream & | stream (Tab &, std::ostream &) const override |
Public Member Functions inherited from mim::ast::Ptrn | |
| Ptrn (Loc loc) | |
| virtual bool | is_implicit () const |
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 | |
Static Public Member Functions inherited from mim::ast::Ptrn | |
| static Ptr< Expr > | to_expr (AST &, Ptr< Ptrn > &&) |
| static Ptr< Ptrn > | to_ptrn (Ptr< Expr > &&) |
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 207 of file ast.h.
References mim::ast::Node::loc(), and mim::ast::Ptrn::Ptrn().
|
overridevirtual |
Implements mim::ast::Ptrn.
Implements mim::ast::Ptrn.
Implements mim::ast::Ptrn.
Definition at line 59 of file emit.cpp.
References mim::ast::Decl::def().
|
overridevirtual |
Implements mim::ast::Node.
Definition at line 56 of file stream.cpp.