MimIR 0.1
MimIR is my Intermediate Representation
|
Helper class to retrieve Infer::arg if present. More...
#include <mim/def.h>
Public Member Functions | |
Ref ()=default | |
Ref (const Def *def) | |
const Def * | operator* () const |
const Def * | operator-> () const |
operator const Def * () const | |
operator bool () const | |
const Def * | def () const |
Retrieve wrapped Def without Infer::refering. | |
Static Public Member Functions | |
static const Def * | refer (const Def *def) |
Same as Infer::find but does nothing if def is nullptr . | |
Friends | |
std::ostream & | operator<< (std::ostream &os, Ref ref) |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
Same as Infer::find but does nothing if def
is nullptr
.
Definition at line 29 of file check.cpp.
References def(), and mim::Infer::find().
Referenced by operator const Def *(), operator*(), and operator->().
|
friend |