getTypeChildren = t => {
  let s = t._start;
  const arr = [];

  while (s) {
    arr.push(s);
    s = s.right;
  }

  return arr;
}
Accumulate all (list) children of a type and return them as an Array.

@param {AbstractType<any>} t
@return {Array<Item>}