This function will take a string containing typescript code and an optional object containing compiler options. The function returns the parsed code as a typescript SourceFile object.
forEachChild
The SourceFile symbol give us access to the source's type information.