remove many of the instanceof/cast operations from the parser to make the monster faster
Authored by: rbri 2018-01-20
Parent: [r688]
Child: [r690]