public int testPEX(File project) throws IOException, RecognitionException{
System.out.println("===== PEX: " + project.getName() + " =====");
TokenStream tokens = getStream(project);
parser.setTokenStream(tokens);
parser.setTreeAdaptor(adaptor);
projectFile_return result = parser.projectFile();
CommonTree tree = (CommonTree) result.getTree();
int errors = parser.getNumberOfSyntaxErrors();
ForteAST walker = null;
if (errors == 0){
if (PRINT_TREE)
System.out.println("Tree==>"+tree.toStringTree());