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

sym More...

#include <mim/ast/ast.h>

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

Public Member Functions

 IdExpr (Dbg dbg)
 
Dbg dbg () const
 
const Decldecl () 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

sym

Definition at line 307 of file ast.h.

Constructor & Destructor Documentation

◆ IdExpr()

mim::ast::IdExpr::IdExpr ( Dbg dbg)
inline

Definition at line 309 of file ast.h.

Member Function Documentation

◆ bind()

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

Implements mim::ast::Expr.

Definition at line 113 of file bind.cpp.

◆ dbg()

Dbg mim::ast::IdExpr::dbg ( ) const
inline

Definition at line 313 of file ast.h.

Referenced by stream().

◆ decl()

const Decl * mim::ast::IdExpr::decl ( ) const
inline

Definition at line 314 of file ast.h.

Referenced by emit_().

◆ emit_()

Ref mim::ast::IdExpr::emit_ ( Emitter & ) const
overrideprivatevirtual

Implements mim::ast::Expr.

Definition at line 120 of file emit.cpp.

References decl(), and mim::ast::Decl::def().

◆ stream()

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

Implements mim::ast::Node.

Definition at line 76 of file stream.cpp.

References dbg(), and mim::print().


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