Lines Matching defs:dnp
193 dt_sugar_visit_all(dt_sugar_parse_t *dp, dt_node_t *dnp)
197 switch (dnp->dn_kind) {
209 for (arg = dnp->dn_args; arg != NULL; arg = arg->dn_list)
214 dt_sugar_visit_all(dp, dnp->dn_child);
218 dt_sugar_visit_all(dp, dnp->dn_left);
219 dt_sugar_visit_all(dp, dnp->dn_right);
220 if (dnp->dn_op == DT_TOK_LBRAC) {
221 dt_node_t *ln = dnp->dn_right;
230 dt_sugar_visit_all(dp, dnp->dn_expr);
231 dt_sugar_visit_all(dp, dnp->dn_left);
232 dt_sugar_visit_all(dp, dnp->dn_right);
237 dt_sugar_visit_all(dp, dnp->dn_expr);
241 for (arg = dnp->dn_aggtup; arg != NULL; arg = arg->dn_list)
244 if (dnp->dn_aggfun)
245 dt_sugar_visit_all(dp, dnp->dn_aggfun);
249 for (arg = dnp->dn_pdescs; arg != NULL; arg = arg->dn_list)
252 if (dnp->dn_pred != NULL)
253 dt_sugar_visit_all(dp, dnp->dn_pred);
255 for (arg = dnp->dn_acts; arg != NULL; arg = arg->dn_list)
260 const dt_idnode_t *inp = dnp->dn_ident->di_iarg;
266 if (dnp->dn_membexpr)
267 dt_sugar_visit_all(dp, dnp->dn_membexpr);
271 for (arg = dnp->dn_members; arg != NULL; arg = arg->dn_list)
276 for (arg = dnp->dn_probes; arg != NULL; arg = arg->dn_list)
281 for (arg = dnp->dn_list; arg != NULL; arg = arg->dn_list)
287 dt_sugar_visit_all(dp, dnp->dn_conditional);
289 for (arg = dnp->dn_body; arg != NULL; arg = arg->dn_list)
291 for (arg = dnp->dn_alternate_body; arg != NULL;
298 (void) dnerror(dnp, D_UNKNOWN, "bad node %p, kind %d\n",
299 (void *)dnp, dnp->dn_kind);