MimIR
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
void stream (fe::Tab &, std::ostream &) const override
Public Member Functions inherited from mim::ast::Expr
const Defemit (Emitter &) const
const Defemit_decl (Emitter &, const Def *type) const
void emit_body (Emitter &, const Def *decl) const
Public Member Functions inherited from mim::ast::Node
Loc loc () const
void dump () const

Private Member Functions

const Defemit_ (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)

Detailed Description

Type level

Definition at line 556 of file ast.h.

Constructor & Destructor Documentation

◆ TypeExpr()

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

Definition at line 558 of file ast.h.

References mim::ast::Expr::Expr(), level(), and mim::ast::Node::loc().

Member Function Documentation

◆ bind()

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

Implements mim::ast::Expr.

Definition at line 218 of file bind.cpp.

References level().

◆ emit_()

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

Implements mim::ast::Expr.

Definition at line 166 of file emit.cpp.

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

◆ level()

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

Definition at line 562 of file ast.h.

References mim::ast::Expr::Expr().

Referenced by bind(), emit_(), stream(), and TypeExpr().

◆ stream()

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

Implements mim::ast::Node.

Definition at line 139 of file stream.cpp.

References level(), and mim::ast::S::S().


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