result = new IllegalReferenceCheckRewriter(mq, false).expand(result);
if (mq.hasMessageAtLevel(MessageLevel.ERROR)) {
return null;
}
result.visitPreOrder(new NonAsciiCheckVisitor(mq));
if (mq.hasMessageAtLevel(MessageLevel.ERROR)) {
return null;
}
return result;