It has a main dispatcher method, visit, which takes a single perl value and then calls the methods appropriate for that value.