Thorin 1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
thorin::ast::ArrowExpr Class Reference

dom -> codom More...

#include <thorin/ast/ast.h>

Inheritance diagram for thorin::ast::ArrowExpr:
[legend]

Public Member Functions

 ArrowExpr (Loc loc, Ptr< Expr > &&dom, Ptr< Expr > &&codom)
 
- Public Member Functions inherited from thorin::ast::Expr
Ref emit (Emitter &) const
 
virtual Ref emit_decl (Emitter &, Ref) const
 
virtual void emit_body (Emitter &, Ref) const
 
- Public Member Functions inherited from thorin::ast::Node
Loc loc () const
 
void dump () const
 

Private Member Functions

void bind (Scopes &) 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 ()
 

Detailed Description

dom -> codom

Definition at line 422 of file ast.h.

Constructor & Destructor Documentation

◆ ArrowExpr()

thorin::ast::ArrowExpr::ArrowExpr ( Loc  loc,
Ptr< Expr > &&  dom,
Ptr< Expr > &&  codom 
)
inline

Definition at line 424 of file ast.h.

Member Function Documentation

◆ bind()

void thorin::ast::ArrowExpr::bind ( Scopes s) const
overrideprivatevirtual

Implements thorin::ast::Expr.

Definition at line 142 of file bind.cpp.

References thorin::ast::Expr::bind().

◆ emit_()

Ref thorin::ast::ArrowExpr::emit_ ( Emitter e) const
overrideprivatevirtual

Implements thorin::ast::Expr.

Definition at line 181 of file emit.cpp.

References thorin::ast::Expr::emit().

◆ stream()

std::ostream & thorin::ast::ArrowExpr::stream ( Tab tab,
std::ostream &  os 
) const
overrideprivatevirtual

Implements thorin::ast::Node.

Definition at line 109 of file stream.cpp.

References thorin::print().


The documentation for this class was generated from the following files: