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

Type level More...

#include <mim/ast/ast.h>

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

Type level

Definition at line 393 of file ast.h.

Constructor & Destructor Documentation

◆ TypeExpr()

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

Definition at line 395 of file ast.h.

Member Function Documentation

◆ bind()

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

Implements mim::ast::Expr.

Definition at line 114 of file bind.cpp.

◆ emit_()

Ref mim::ast::TypeExpr::emit_ ( Emitter & e) const
overrideprivatevirtual

Implements mim::ast::Expr.

Definition at line 125 of file emit.cpp.

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

◆ level()

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

Definition at line 399 of file ast.h.

Referenced by emit_(), and stream().

◆ stream()

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

Implements mim::ast::Node.

Definition at line 108 of file stream.cpp.

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


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