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

Just wraps TuplePtrn as Expr. More...

#include <mim/ast/ast.h>

Inheritance diagram for mim::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 mim::ast::Expr
Ref emit (Emitter &) const
 
- Public Member Functions inherited from mim::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 mim::ast::Expr
 Expr (Loc loc)
 
- Protected Member Functions inherited from mim::ast::Node
 Node (Loc loc)
 
virtual ~Node ()
 

Detailed Description

Just wraps TuplePtrn as Expr.

Definition at line 574 of file ast.h.

Constructor & Destructor Documentation

◆ SigmaExpr()

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

Definition at line 576 of file ast.h.

Member Function Documentation

◆ bind()

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

Implements mim::ast::Expr.

Definition at line 175 of file bind.cpp.

◆ emit_()

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

Implements mim::ast::Expr.

Definition at line 268 of file emit.cpp.

◆ emit_body()

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

Reimplemented from mim::ast::Expr.

Definition at line 267 of file emit.cpp.

◆ emit_decl()

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

Reimplemented from mim::ast::Expr.

Definition at line 266 of file emit.cpp.

◆ ptrn()

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

Definition at line 580 of file ast.h.

◆ stream()

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

Implements mim::ast::Node.

Definition at line 137 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: