docs: function makeTagTypes(name) {
    const parts = splitOne(name, '::');
    const tag = parts ? parts[1] : name;
    // Translate in the same way for all types, to match Python's generic translation.
    return ['scalar', 'sequence', 'mapping'].map(kind => new jsYaml.Type('!' + tag, {
      kind: kind,
      construct: data => ({[name]: applyOverrides(data, tag, 'parse')}),
      predicate: obj => checkType(obj, name),
      represent: obj => applyOverrides(obj[name], tag, 'dump'),
    }));
  }