added type annotations to parser

Hi Dan,

I profiled Clabango and added type annotations to functions that were showing up high on CPU usage. A lot of it was caused by reflection calls. After adding the annotations the usage drops significantly.