parser: add Visitor::current_node and Visitor::enter_visit