MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim::ast::ArrowExpr Class Reference

dom -> codom More...

#include <mim/ast/ast.h>

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

Public Member Functions

 ArrowExpr (Loc loc, Ptr< Expr > &&dom, Ptr< Expr > &&codom)
 
- Public Member Functions inherited from mim::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 mim::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 mim::ast::Expr
 Expr (Loc loc)
 
- Protected Member Functions inherited from mim::ast::Node
 Node (Loc loc)
 
virtual ~Node ()
 

Detailed Description

dom -> codom

Definition at line 412 of file ast.h.

Constructor & Destructor Documentation

◆ ArrowExpr()

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

Definition at line 414 of file ast.h.

Member Function Documentation

◆ bind()

void mim::ast::ArrowExpr::bind ( Scopes & s) const
overrideprivatevirtual

Implements mim::ast::Expr.

Definition at line 138 of file bind.cpp.

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

◆ emit_()

Ref mim::ast::ArrowExpr::emit_ ( Emitter & e) const
overrideprivatevirtual

Implements mim::ast::Expr.

Definition at line 181 of file emit.cpp.

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

◆ stream()

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

Implements mim::ast::Node.

Definition at line 110 of file stream.cpp.

References mim::print().


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