docs: private String convert() {
      pushState(NORMAL);
      for (index = 0; index < glob.length(); index++) {
        currentState().process(this, glob.charAt(index));
      }
      currentState().finish(this);
      return builder.toString();
    }