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

#include <mim/ast/ast.h>

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

Public Member Functions

 ErrorPtrn (Loc loc)
 
void bind (Scopes &, bool quiet=false) const override
 
Ref emit_type (Emitter &) const override
 
std::ostream & stream (Tab &, std::ostream &) const override
 
- Public Member Functions inherited from mim::ast::Ptrn
 Ptrn (Loc loc, bool rebind, Dbg dbg)
 
bool rebind () const
 
Dbg dbg () const
 
Ref emit_value (Emitter &, Ref) const
 
- Public Member Functions inherited from mim::ast::Decl
Ref def () const
 
- Public Member Functions inherited from mim::ast::Node
Loc loc () const
 
void dump () const
 

Additional Inherited Members

- Static Public Member Functions inherited from mim::ast::Ptrn
static Ptr< Exprto_expr (AST &, Ptr< Ptrn > &&)
 
static Ptr< Ptrnto_ptrn (Ptr< Expr > &&)
 
- Protected Member Functions inherited from mim::ast::Decl
 Decl (Loc loc)
 
- Protected Member Functions inherited from mim::ast::Node
 Node (Loc loc)
 
virtual ~Node ()
 
- Protected Attributes inherited from mim::ast::Decl
Ref def_ = nullptr
 

Detailed Description

Definition at line 195 of file ast.h.

Constructor & Destructor Documentation

◆ ErrorPtrn()

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

Definition at line 197 of file ast.h.

Member Function Documentation

◆ bind()

void mim::ast::ErrorPtrn::bind ( Scopes & ,
bool quiet = false ) const
overridevirtual

Implements mim::ast::Ptrn.

Definition at line 94 of file bind.cpp.

◆ emit_type()

Ref mim::ast::ErrorPtrn::emit_type ( Emitter & ) const
overridevirtual

Implements mim::ast::Ptrn.

Definition at line 68 of file emit.cpp.

◆ stream()

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

Implements mim::ast::Node.

Definition at line 53 of file stream.cpp.


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