function spaceOutGroups()

in src/cpp-renderer.ts [230:241]


function spaceOutGroups(groups: string[][]): string[] {
  var result: string[] = [];

  groups.forEach((lines) => {
    if (result.length > 0 && lines.length > 0) {
      result.push('');
    }
    result = result.concat(lines);
  });

  return result;
}