[walker] Supply ancestors to visitor functions