return (E) parser.parseCompilationUnit();
}
boolean advanceToParent = false;
try {
IncrementalParseDispatcher dispatcher = new IncrementalParseDispatcher(parser, oldNode);
newNode = parent.accept(dispatcher);
//
// Validate that the new node can replace the old node.
//
Token mappedToken = tokenMap.get(oldNode.getEndToken().getNext());
if (mappedToken == null