Thorin 1.9.0
The Higher ORder INtermediate representation
|
One of: More...
#include <thorin/ast/ast.h>
Classes | |
class | Dom |
Public Member Functions | |
PiExpr (Loc loc, Tok::Tag tag, Ptrs< Dom > &&doms, Ptr< Expr > &&codom) | |
Public Member Functions inherited from thorin::ast::Expr | |
Ref | emit (Emitter &) const |
Public Member Functions inherited from thorin::ast::Node | |
Loc | loc () const |
void | dump () const |
Private Member Functions | |
void | bind (Scopes &) const override |
Ref | emit_decl (Emitter &, Ref type) const override |
void | emit_body (Emitter &, Ref decl) const override |
std::ostream & | stream (Tab &, std::ostream &) const override |
Ref | emit_ (Emitter &) const override |
Additional Inherited Members | |
Protected Member Functions inherited from thorin::ast::Expr | |
Expr (Loc loc) | |
Protected Member Functions inherited from thorin::ast::Node | |
Node (Loc loc) | |
virtual | ~Node () |
One of:
Π dom_0 ... dom_n-1 -> codom
.Cn dom_0 ... dom_n-1
.Fn dom_0 ... dom_n-1 -> codom
|
overrideprivatevirtual |
Implements thorin::ast::Expr.
Definition at line 152 of file bind.cpp.
References thorin::ast::Expr::bind(), thorin::ast::PiExpr::Dom::bind(), and thorin::ast::Node::loc().
Implements thorin::ast::Expr.
Definition at line 217 of file emit.cpp.
References thorin::ast::Expr::emit(), thorin::ast::PiExpr::Dom::emit_type(), thorin::ast::PiExpr::Dom::pi_, and thorin::Pi::set_codom().
Reimplemented from thorin::ast::Expr.
Definition at line 215 of file emit.cpp.
References thorin::ast::Expr::emit().
Referenced by thorin::ast::LamExpr::emit_().
Reimplemented from thorin::ast::Expr.
Definition at line 210 of file emit.cpp.
References thorin::ast::Node::loc().
Referenced by thorin::ast::LamExpr::emit_().
|
overrideprivatevirtual |
Implements thorin::ast::Node.
Definition at line 119 of file stream.cpp.
References thorin::print().