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

#include <mim/ast/ast.h>

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

Public Member Functions

 ErrorExpr (Loc loc)
void bind (Scopes &) const override
std::ostream & stream (Tab &, std::ostream &) const override
Public Member Functions inherited from mim::ast::Expr
const Defemit (Emitter &) const
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
void dump () const

Private Member Functions

const Defemit_ (Emitter &) const override

Additional Inherited Members

Public Types inherited from mim::ast::Expr
using Prec = ast::Prec
 Backward-compatible alias; prefer the free-standing ast::Prec.
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

Definition at line 307 of file ast.h.

Constructor & Destructor Documentation

◆ ErrorExpr()

mim::ast::ErrorExpr::ErrorExpr ( Loc loc)
inline

Definition at line 309 of file ast.h.

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

Member Function Documentation

◆ bind()

void mim::ast::ErrorExpr::bind ( Scopes & ) const
overridevirtual

Implements mim::ast::Expr.

Definition at line 123 of file bind.cpp.

◆ emit_()

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

Implements mim::ast::Expr.

Definition at line 135 of file emit.cpp.

◆ stream()

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

Implements mim::ast::Node.

Definition at line 78 of file stream.cpp.


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