public static HaxeTree parseFileContents(final CommonTokenStream tokenStream)
throws RecognitionException
{
HaxeParser parser = new HaxeParser(tokenStream);
parser.setTreeAdaptor(new HaxeTreeAdaptor());
HaxeParser.module_return parserResult = parser.module();
return (HaxeTree) parserResult.getTree();
}