typeListToArraySnapshot = (type, snapshot) => {
  const cs = [];
  let n = type._start;

  while (n !== null) {
    if (n.countable && isVisible(n, snapshot)) {
      const c = n.content.getContent();

      for (let i = 0; i < c.length; i++) {
        cs.push(c[i]);
      }
    }

    n = n.right;
  }

  return cs;
}
@param {AbstractType<any>} type
@param {Snapshot} snapshot
@return {Array<any>}

@private
@function