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

callee arg More...

#include <thorin/ast/ast.h>

Inheritance diagram for thorin::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 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

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

callee arg

Definition at line 528 of file ast.h.

Constructor & Destructor Documentation

◆ AppExpr()

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

Definition at line 530 of file ast.h.

Member Function Documentation

◆ arg()

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

Definition at line 538 of file ast.h.

◆ bind()

void thorin::ast::AppExpr::bind ( Scopes s) const
overridevirtual

Implements thorin::ast::Expr.

Definition at line 167 of file bind.cpp.

◆ callee()

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

Definition at line 537 of file ast.h.

◆ emit_()

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

Implements thorin::ast::Expr.

Definition at line 238 of file emit.cpp.

◆ is_explicit()

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

Definition at line 536 of file ast.h.

◆ stream()

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

Implements thorin::ast::Node.

Definition at line 127 of file stream.cpp.

References thorin::print().


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