setParsedWithErrors(node, (ParserError[]) null);
}
public void setParsedWithErrors(final ASTNode node, ParserError... errors) {
// Ensure children are also in parsed status
node.visitDirectChildren(new ASTDirectChildrenVisitor() {
@Override
protected void geneticChildrenVisit(ASTNode child) {
assertTrue(child.getParent() == node);
assertTrue(child.isParsedStatus());
}