Worked on the TreeParser.parse() method.