9 #define VISIT(Type, Name) \ 10 template <typename Context> \ 12 const_visitor<Context>::visit(const Type ## _t& Name) 16 for (
const auto& t :
v)
22 for (
const auto& t :
v)
28 for (
const auto& t :
v)
34 for (
const auto& t :
v)
40 for (
const auto& t :
v)
46 v.sub()->accept(*
this);
51 for (
const auto& t :
v)
57 for (
const auto& t :
v)
63 v.sub()->accept(*
this);
68 v.sub()->accept(*
this);
73 v.sub()->accept(*
this);
78 v.sub()->accept(*
this);
83 v.sub()->accept(*
this);
An inner node with multiple children.
#define VISIT(Type, Name)
An inner node to name the subexpression.
An inner node implementing a weight.