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

sym More...

#include <thorin/ast/ast.h>

Inheritance diagram for thorin::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 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

sym

Definition at line 297 of file ast.h.

Constructor & Destructor Documentation

◆ IdExpr()

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

Definition at line 299 of file ast.h.

Member Function Documentation

◆ bind()

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

Implements thorin::ast::Expr.

Definition at line 111 of file bind.cpp.

◆ dbg()

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

Definition at line 303 of file ast.h.

Referenced by stream().

◆ decl()

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

Definition at line 304 of file ast.h.

Referenced by emit_().

◆ emit_()

Ref thorin::ast::IdExpr::emit_ ( Emitter ) const
overrideprivatevirtual

Implements thorin::ast::Expr.

Definition at line 118 of file emit.cpp.

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

◆ stream()

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

Implements thorin::ast::Node.

Definition at line 73 of file stream.cpp.

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


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