parseDirectory(file, typeParser);
return; //Do not continue to parse as file
}
try {
GuiceyDataLexer lexer = new GuiceyDataLexer(new ANTLRFileStream(file.getAbsolutePath()));
CommonTokenStream tokens = new CommonTokenStream(lexer);
GuiceyDataParser parser = new GuiceyDataParser(tokens);
GuiceyDataParser.start_return ret = parser.start();
CommonTree tree = (CommonTree)ret.getTree();