code: function removeUnusedProperties(node) {
      if (typeof node !== "object") {
          return;
      }
      ["position"].forEach(function (key) {
          if (node.hasOwnProperty(key)) {
              delete node[key];
          }
      });
  }
docs: Remove undocumented properties on TxtNode from node
  @param {TxtNode} node already has loc,range