getNext(part) {
    if (!has(this.subparts, part)) {
      this.subparts[part] = new RoutePart();
    }

    return this.subparts[part];
  }
Gets the next element of an URL part, creating a new
tree leaf if necessary

@param {string} part
@returns {RoutePart}