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

Just wraps TuplePtrn as Expr. More...

#include <thorin/ast/ast.h>

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

Public Member Functions

 SigmaExpr (Ptr< TuplePtrn > &&ptrn)
 
const TuplePtrnptrn () const
 
void bind (Scopes &) const override
 
Ref emit_decl (Emitter &, Ref type) const override
 
void emit_body (Emitter &, Ref decl) const override
 
std::ostream & stream (Tab &, std::ostream &) const override
 
- Public Member Functions inherited from thorin::ast::Expr
Ref emit (Emitter &) const
 
- Public Member Functions inherited from thorin::ast::Node
Loc loc () const
 
void dump () const
 

Private Member Functions

Ref emit_ (Emitter &) const override
 

Friends

Ptr< PtrnPtrn::to_ptrn (Ptr< Expr > &&)
 

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

Just wraps TuplePtrn as Expr.

Definition at line 580 of file ast.h.

Constructor & Destructor Documentation

◆ SigmaExpr()

thorin::ast::SigmaExpr::SigmaExpr ( Ptr< TuplePtrn > &&  ptrn)
inline

Definition at line 582 of file ast.h.

Member Function Documentation

◆ bind()

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

Implements thorin::ast::Expr.

Definition at line 179 of file bind.cpp.

◆ emit_()

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

Implements thorin::ast::Expr.

Definition at line 261 of file emit.cpp.

◆ emit_body()

void thorin::ast::SigmaExpr::emit_body ( Emitter e,
Ref  decl 
) const
overridevirtual

Reimplemented from thorin::ast::Expr.

Definition at line 260 of file emit.cpp.

◆ emit_decl()

Ref thorin::ast::SigmaExpr::emit_decl ( Emitter e,
Ref  type 
) const
overridevirtual

Reimplemented from thorin::ast::Expr.

Definition at line 259 of file emit.cpp.

◆ ptrn()

const TuplePtrn * thorin::ast::SigmaExpr::ptrn ( ) const
inline

Definition at line 586 of file ast.h.

◆ stream()

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

Implements thorin::ast::Node.

Definition at line 136 of file stream.cpp.

Friends And Related Symbol Documentation

◆ Ptrn::to_ptrn

Ptr< Ptrn > Ptrn::to_ptrn ( Ptr< Expr > &&  )
friend

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