Matches (target_0, target_1, ...)#index arg. More...
#include <mim/tuple.h>
Public Member Functions | |
| Dispatch (const Def *) | |
| operator bool () const noexcept | |
| const App * | app () const |
| const Def * | callee () const |
| const Def * | arg () const |
| Public Member Functions inherited from mim::Switch | |
| Switch (const Def *) | |
| operator bool () const noexcept | |
| const Extract * | extract () const |
| const Def * | tuple () const |
| const Def * | index () const |
| size_t | num_targets () const |
| const Def * | target (size_t i) const |
Additional Inherited Members | |
| Protected Attributes inherited from mim::Switch | |
| const Extract * | extract_ = nullptr |
Matches (target_0, target_1, ...)#index arg.
| mim::Dispatch::Dispatch | ( | const Def * | def | ) |
Definition at line 105 of file tuple.cpp.
References mim::Switch::extract(), and mim::Switch::Switch().
Referenced by mim::DispatchNormalize::rewrite_mut_Lam().
|
inline |
| const Def * mim::Dispatch::arg | ( | ) | const |
Definition at line 111 of file tuple.cpp.
References app(), and mim::App::arg().
| const Def * mim::Dispatch::callee | ( | ) | const |
Definition at line 110 of file tuple.cpp.
References app(), and mim::App::callee().
|
inlineexplicitnoexcept |