static
int update_child(struct filter_node *parent,
struct filter_node *old_child,
struct filter_node *new_child)
{
static
int update_child(struct filter_node *parent,
struct filter_node *old_child,
struct filter_node *new_child)
{
int filter_visitor_set_parent(struct filter_parser_ctx *ctx)
{
return recursive_visit_set_parent(&ctx->ast->root, NULL);
int filter_visitor_set_parent(struct filter_parser_ctx *ctx)
{
return recursive_visit_set_parent(&ctx->ast->root, NULL);