+ parseErrors.toString());
} else {
tree = (CommonTree) result.getTree();
CommonTreeNodeStream nodes = new CommonTreeNodeStream(tree);
nodes.setTokenStream(tokens);
ForteAST walker = new ForteAST(file, nodes);
ToolPlan plan = walker.project();
plan.document = document;
if (forteLibrariesSet.contains(plan.getToolName())){
plan.setLibrary(true);
}