this.testPEXFile(new File("UDSLibraries/GenericDBMS.pex"), true);
}
public int testPEXFile(File pex, boolean failOnError) throws IOException, RecognitionException {
CharStream stream =
new NoCaseFileStream(pex.getAbsolutePath());
ForteLexer lexer = new ForteLexer(stream);
TokenStream tokenStream = new CommonTokenStream(lexer);
ForteParser parser = new ForteParser(tokenStream);
CommonTree tree = (CommonTree) parser.projectFile().getTree();