void DeclarationCombiner::apply(Stage &stage)
{
- visit(stage.content);
+ stage.content.visit(*this);
NodeRemover().apply(stage, nodes_to_remove);
}
{
Stage *builtin_stage = get_builtins(stage.type);
builtins = (builtin_stage ? &builtin_stage->content : 0);
- visit(stage.content);
+ stage.content.visit(*this);
}
Block *VariableResolver::next_block(Block &block)
if(stage->previous)
in_prefix = get_out_prefix(stage->previous->type);
out_prefix = get_out_prefix(stage->type);
- visit(s.content);
+ s.content.visit(*this);
NodeRemover().apply(s, nodes_to_remove);
}