Go to the source code of this file.
|
| #define | REGISTER(CLASS) phys_opt.register_operator<interpreter::CLASS>(); |
| |
| #define | ACCEPT(CLASS) |
| |
| #define | DECLARE(CLASS) |
| |
◆ ACCEPT
Value: void CLASS::accept(MatchBaseVisitor &v) { v(*this); } \
void CLASS::accept(ConstMatchBaseVisitor &v) const { v(*this); }
Definition at line 15 of file InterpreterOperator.cpp.
◆ DECLARE
Value: void operator()(Const<CLASS> &M) override { \
super::operator()(M); \
if constexpr (not PreOrder) callback_(M); \
}
Exception class which can be thrown to skip recursion of the subtree in pre-order visitors.
◆ REGISTER
| #define REGISTER |
( |
|
CLASS | ) |
phys_opt.register_operator<interpreter::CLASS>(); |
◆ M_INTERPRETER_MATCH_LIST()
| M_INTERPRETER_MATCH_LIST |
( |
ACCEPT |
| ) |
|