risingwave_frontend

Macro for_all_plan_nodes

source
macro_rules! for_all_plan_nodes {
    ($macro:ident) => { ... };
}
Expand description

for_all_plan_nodes includes all plan nodes. If you added a new plan node inside the project, be sure to add here and in its conventions like for_logical_plan_nodes

Every tuple has two elements, where { convention, name } You can use it as follows

macro_rules! use_plan {
    ($({ $convention:ident, $name:ident }),*) => {};
}
risingwave_frontend::for_all_plan_nodes! { use_plan }

See the following implementations for example.