Reflect over event types to generate parser