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 667 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 669 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 328 of file emit.cpp.

◆ index()

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

Definition at line 676 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 675 of file ast.h.

◆ value()

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

Definition at line 677 of file ast.h.


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