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

callee arg More...

#include <mim/ast/ast.h>

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

Public Member Functions

 AppExpr (Loc loc, bool is_explicit, Ptr< Expr > &&callee, Ptr< Expr > &&arg)
 
bool is_explicit () const
 
const Exprcallee () const
 
const Exprarg () const
 
void bind (Scopes &) const override
 
std::ostream & stream (Tab &, std::ostream &) const override
 
- 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

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

callee arg

Definition at line 518 of file ast.h.

Constructor & Destructor Documentation

◆ AppExpr()

mim::ast::AppExpr::AppExpr ( Loc loc,
bool is_explicit,
Ptr< Expr > && callee,
Ptr< Expr > && arg )
inline

Definition at line 520 of file ast.h.

Member Function Documentation

◆ arg()

const Expr * mim::ast::AppExpr::arg ( ) const
inline

Definition at line 528 of file ast.h.

◆ bind()

void mim::ast::AppExpr::bind ( Scopes & s) const
overridevirtual

Implements mim::ast::Expr.

Definition at line 163 of file bind.cpp.

◆ callee()

const Expr * mim::ast::AppExpr::callee ( ) const
inline

Definition at line 527 of file ast.h.

◆ emit_()

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

Implements mim::ast::Expr.

Definition at line 238 of file emit.cpp.

◆ is_explicit()

bool mim::ast::AppExpr::is_explicit ( ) const
inline

Definition at line 526 of file ast.h.

◆ stream()

std::ostream & mim::ast::AppExpr::stream ( Tab & tab,
std::ostream & os ) const
overridevirtual

Implements mim::ast::Node.

Definition at line 128 of file stream.cpp.

References mim::print().


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