Generate classes based on the mozilla parser api

- now can filter based on types
I'm curious: why the caps in `API_PARSER`?