Generate classes based on the mozilla parser api

- now can filter based on types
Agreed. Let's kill the `or`.