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

#include <mim/ast/ast.h>

Inheritance diagram for mim::ast::LamDecl::Dom:
[legend]

Public Member Functions

 Dom (Loc loc, bool is_implicit, Ptr< Ptrn > &&ptrn, Ptr< Expr > &&filter)
 
const Exprfilter () const
 
void bind (Scopes &scopes, bool quiet=false) const override
 
Lamemit_value (Emitter &) const
 
std::ostream & stream (Tab &, std::ostream &) const override
 
- Public Member Functions inherited from mim::ast::PiExpr::Dom
 Dom (Loc loc, bool is_implicit, Ptr< Ptrn > &&ptrn)
 
bool is_implicit () const
 
const Ptrnptrn () const
 
const IdPtrnret () const
 
void add_ret (AST &ast, Ptr< Expr > &&type) const
 
virtual void emit_type (Emitter &) const
 
std::ostream & stream (Tab &, std::ostream &) const override
 
- Public Member Functions inherited from mim::ast::Node
Loc loc () const
 
void dump () const
 

Friends

class LamDecl
 

Additional Inherited Members

- Protected Member Functions inherited from mim::ast::Node
 Node (Loc loc)
 
virtual ~Node ()
 
- Protected Attributes inherited from mim::ast::PiExpr::Dom
Pipi_ = nullptr
 
Pidecl_ = nullptr
 

Detailed Description

Definition at line 808 of file ast.h.

Constructor & Destructor Documentation

◆ Dom()

mim::ast::LamDecl::Dom::Dom ( Loc loc,
bool is_implicit,
Ptr< Ptrn > && ptrn,
Ptr< Expr > && filter )
inline

Definition at line 810 of file ast.h.

Member Function Documentation

◆ bind()

void mim::ast::LamDecl::Dom::bind ( Scopes & scopes,
bool quiet = false ) const
overridevirtual

Reimplemented from mim::ast::PiExpr::Dom.

Definition at line 280 of file bind.cpp.

References mim::ast::PiExpr::Dom::bind().

◆ emit_value()

Lam * mim::ast::LamDecl::Dom::emit_value ( Emitter & e) const

Definition at line 403 of file emit.cpp.

◆ filter()

const Expr * mim::ast::LamDecl::Dom::filter ( ) const
inline

Definition at line 814 of file ast.h.

◆ stream()

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

Implements mim::ast::Node.

Definition at line 189 of file stream.cpp.

References mim::print().

Friends And Related Symbol Documentation

◆ LamDecl

friend class LamDecl
friend

Definition at line 824 of file ast.h.


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