initialize a base class explicitly
add 'mult_expr' node
refactorings to reduce duplicate

- define visit_nodes() and visit_variants() to visit a vector of nodes
- rename variant_prefix_of to visit_variant