Reference parser for Typescript