Generate classes based on the mozilla parser api

- now can filter based on types
I think at one point it returned None. It should always return an empty iterator