Google interview question

What is the visitor pattern? Model/code it.