Generate classes based on the mozilla parser api

- now can filter based on types
What's the purpose of dividing this into _get_specs and get_specs? Why not just inline the list() call down below at the only callsite?