ward through the document, looking for the next token             // whose type matches typeRe             do {                 token = iterator.stepForward();             } while (token && !typeRe.test(token.type));              if (token == null)                 break;              