dvanceToEscape() {
    int escapeIndex = myBuffer.indexOf(ESCAPE, myEndOffset);
    myEndOffset = escapeIndex != -1 ? escapeIndex : myBuffer.length();
    myElementType = TEXT;
  }

  private vo
dvanceToEscape() {
    int esc