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

#include <thorin/ast/ast.h>

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

Public Member Functions

Ref emit (Emitter &) const
 
virtual void bind (Scopes &) const =0
 
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
 
virtual std::ostream & stream (Tab &, std::ostream &) const =0
 
void dump () const
 

Protected Member Functions

 Expr (Loc loc)
 
- Protected Member Functions inherited from thorin::ast::Node
 Node (Loc loc)
 
virtual ~Node ()
 

Private Member Functions

virtual Ref emit_ (Emitter &) const =0
 

Detailed Description

Definition at line 130 of file ast.h.

Constructor & Destructor Documentation

◆ Expr()

thorin::ast::Expr::Expr ( Loc  loc)
inlineprotected

Definition at line 132 of file ast.h.

Member Function Documentation

◆ bind()

◆ emit()

◆ emit_()

◆ emit_body()

virtual void thorin::ast::Expr::emit_body ( Emitter ,
Ref   
) const
inlinevirtual

Reimplemented in thorin::ast::PiExpr, thorin::ast::LamExpr, and thorin::ast::SigmaExpr.

Definition at line 139 of file ast.h.

◆ emit_decl()

virtual Ref thorin::ast::Expr::emit_decl ( Emitter ,
Ref   
) const
inlinevirtual

Reimplemented in thorin::ast::PiExpr, thorin::ast::LamExpr, and thorin::ast::SigmaExpr.

Definition at line 138 of file ast.h.


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