dom → codom, Cn dom, or Fn dom → codom depending on PiExpr::tag. More...
#include <mim/ast/ast.h>
Classes | |
| class | Dom |
| One dom of a PiExpr: ptrn with an optional -> ret type. More... | |
Public Member Functions | |
| PiExpr (Loc loc, Tok::Tag tag, Ptr< Dom > dom, Ptr< Expr > codom) | |
| Public Member Functions inherited from mim::ast::Expr | |
| const Def * | emit (Emitter &) const |
| const Def * | emit_decl (Emitter &, const Def *type) const |
| void | emit_body (Emitter &, const Def *decl) const |
| Public Member Functions inherited from mim::ast::Node | |
| Loc | loc () const |
| void | dump () const |
Private Member Functions | |
| void | bind (Scopes &) const override |
| void | stream (fe::Tab &, std::ostream &) const override |
| const Def * | emit_ (Emitter &) const override |
| const Def * | emit_decl_ (Emitter &, const Def *type) const override |
| void | emit_body_ (Emitter &, const Def *decl) const override |
Additional Inherited Members | |
| Protected Member Functions inherited from mim::ast::Expr | |
| Expr (Loc loc) | |
| Protected Member Functions inherited from mim::ast::Node | |
| Node (Loc loc) | |
dom → codom, Cn dom, or Fn dom → codom depending on PiExpr::tag.
Definition at line 712 of file ast.h.
References mim::ast::Expr::Expr(), and mim::ast::Node::loc().
|
overrideprivatevirtual |
Implements mim::ast::Expr.
Definition at line 272 of file bind.cpp.
References C_CN, ISA, and mim::ast::Node::loc().
Implements mim::ast::Expr.
Reimplemented from mim::ast::Expr.
Definition at line 399 of file emit.cpp.
References mim::ast::Expr::emit().
|
overrideprivatevirtual |
Reimplemented from mim::ast::Expr.
|
overrideprivatevirtual |