MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches

#include <mim/ast/ast.h>

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

Public Types

using Prec = ast::Prec
 Backward-compatible alias; prefer the free-standing ast::Prec.

Public Member Functions

const Defemit (Emitter &) const
virtual void bind (Scopes &) const =0
virtual const Defemit_decl (Emitter &, const Def *) const
virtual void emit_body (Emitter &, const Def *) const
Public Member Functions inherited from mim::ast::Node
Loc loc () const
virtual std::ostream & stream (Tab &, std::ostream &) const =0
void dump () const

Protected Member Functions

 Expr (Loc loc)
Protected Member Functions inherited from mim::ast::Node
 Node (Loc loc)
virtual ~Node ()

Private Member Functions

virtual const Defemit_ (Emitter &) const =0

Detailed Description

Definition at line 131 of file ast.h.

Member Typedef Documentation

◆ Prec

Backward-compatible alias; prefer the free-standing ast::Prec.

Definition at line 137 of file ast.h.

Constructor & Destructor Documentation

◆ Expr()

mim::ast::Expr::Expr ( Loc loc)
inlineprotected

Member Function Documentation

◆ bind()

◆ emit()

◆ emit_()

◆ emit_body()

virtual void mim::ast::Expr::emit_body ( Emitter & ,
const Def *  ) const
inlinevirtual

Reimplemented in mim::ast::ArrowExpr, mim::ast::LamExpr, mim::ast::PiExpr, and mim::ast::SigmaExpr.

Definition at line 142 of file ast.h.

Referenced by mim::ast::LamExpr::emit_().

◆ emit_decl()

virtual const Def * mim::ast::Expr::emit_decl ( Emitter & ,
const Def *  ) const
inlinevirtual

Reimplemented in mim::ast::ArrowExpr, mim::ast::LamExpr, mim::ast::PiExpr, and mim::ast::SigmaExpr.

Definition at line 141 of file ast.h.

Referenced by mim::ast::LamExpr::emit_().


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