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

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

#include <thorin/ast/ast.h>

Inheritance diagram for thorin::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 thorin::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 thorin::ast::Node
Loc loc () const
 
void dump () const
 

Private Member Functions

Ref emit_ (Emitter &) const override
 

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

.ins(tuple, index, value)

Definition at line 673 of file ast.h.

Constructor & Destructor Documentation

◆ InsertExpr()

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

Definition at line 675 of file ast.h.

Member Function Documentation

◆ bind()

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

Implements thorin::ast::Expr.

Definition at line 209 of file bind.cpp.

◆ emit_()

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

Implements thorin::ast::Expr.

Definition at line 321 of file emit.cpp.

◆ index()

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

Definition at line 682 of file ast.h.

◆ stream()

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

Implements thorin::ast::Node.

Definition at line 151 of file stream.cpp.

References thorin::print().

◆ tuple()

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

Definition at line 681 of file ast.h.

◆ value()

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

Definition at line 683 of file ast.h.


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