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

.Type level More...

#include <thorin/ast/ast.h>

Inheritance diagram for thorin::ast::TypeExpr:
[legend]

Public Member Functions

 TypeExpr (Loc loc, Ptr< Expr > &&level)
 
const Exprlevel () 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

.Type level

Definition at line 402 of file ast.h.

Constructor & Destructor Documentation

◆ TypeExpr()

thorin::ast::TypeExpr::TypeExpr ( Loc  loc,
Ptr< Expr > &&  level 
)
inline

Definition at line 404 of file ast.h.

Member Function Documentation

◆ bind()

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

Implements thorin::ast::Expr.

Definition at line 112 of file bind.cpp.

◆ emit_()

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

Implements thorin::ast::Expr.

Definition at line 123 of file emit.cpp.

References thorin::ast::Expr::emit(), and level().

◆ level()

const Expr * thorin::ast::TypeExpr::level ( ) const
inline

Definition at line 408 of file ast.h.

Referenced by emit_(), and stream().

◆ stream()

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

Implements thorin::ast::Node.

Definition at line 107 of file stream.cpp.

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


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