|
MimIR 0.1
MimIR is my Intermediate Representation
|
ptrn as id
More...
#include <mim/ast/ast.h>
Public Member Functions | |
| AliasPtrn (Loc loc, Ptr< Ptrn > &&ptrn, Dbg dbg) | |
| const Ptrn * | ptrn () const |
| Dbg | dbg () const |
| bool | is_implicit () const override |
| 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) | |
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 |
Definition at line 270 of file ast.h.
References dbg(), mim::ast::Node::loc(), mim::ast::Ptrn::Ptrn(), and ptrn().
|
overridevirtual |
Implements mim::ast::Ptrn.
Definition at line 105 of file bind.cpp.
References mim::ast::Ptrn::bind(), dbg(), and ptrn().
|
inline |
Definition at line 276 of file ast.h.
Referenced by AliasPtrn(), bind(), emit_value(), and stream().
Implements mim::ast::Ptrn.
Definition at line 91 of file emit.cpp.
References mim::ast::Ptrn::emit_type(), and ptrn().
Implements mim::ast::Ptrn.
Definition at line 68 of file emit.cpp.
References dbg(), mim::ast::Decl::def(), mim::ast::Decl::def_, mim::ast::Ptrn::emit_value(), ptrn(), and mim::Def::set().
|
inlineoverridevirtual |
Reimplemented from mim::ast::Ptrn.
Definition at line 277 of file ast.h.
References mim::ast::Ptrn::is_implicit(), and ptrn().
|
inline |
Definition at line 275 of file ast.h.
References mim::ast::Ptrn::Ptrn().
Referenced by AliasPtrn(), bind(), emit_type(), emit_value(), is_implicit(), and stream().
|
overridevirtual |
Implements mim::ast::Node.
Definition at line 57 of file stream.cpp.
References dbg(), mim::print(), and ptrn().