added type annotations to parser

Hi Dan,

I profiled Clabango and added type annotations to functions that were showing up high on CPU usage. After adding the annotations the usage drops significantly.