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

.ins(tuple, index, value) More...

#include <mim/ast/ast.h>

Inheritance diagram for mim::ast::InsertExpr:
[legend]

Public Member Functions

 InsertExpr (Loc loc, Ptr< Expr > &&tuple, Ptr< Expr > &&index, Ptr< Expr > &&value)
 
const Exprtuple () const
 
const Exprindex () const
 
const Exprvalue () const
 
void bind (Scopes &) const override
 
std::ostream & stream (Tab &, std::ostream &) const override
 
- Public Member Functions inherited from mim::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 mim::ast::Node
Loc loc () const
 
void dump () const
 

Private Member Functions

Ref emit_ (Emitter &) const override
 

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

.ins(tuple, index, value)

Definition at line 663 of file ast.h.

Constructor & Destructor Documentation

◆ InsertExpr()

mim::ast::InsertExpr::InsertExpr ( Loc loc,
Ptr< Expr > && tuple,
Ptr< Expr > && index,
Ptr< Expr > && value )
inline

Definition at line 665 of file ast.h.

Member Function Documentation

◆ bind()

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

Implements mim::ast::Expr.

Definition at line 205 of file bind.cpp.

◆ emit_()

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

Implements mim::ast::Expr.

Definition at line 321 of file emit.cpp.

◆ index()

const Expr * mim::ast::InsertExpr::index ( ) const
inline

Definition at line 672 of file ast.h.

◆ stream()

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

Implements mim::ast::Node.

Definition at line 152 of file stream.cpp.

References mim::print().

◆ tuple()

const Expr * mim::ast::InsertExpr::tuple ( ) const
inline

Definition at line 671 of file ast.h.

◆ value()

const Expr * mim::ast::InsertExpr::value ( ) const
inline

Definition at line 673 of file ast.h.


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