genChildrenKey(ast) {
    ast.children.forEach((v, i) => {
      v.attrs = v.attrs || []
      v.attrs.push({
        name: 'key',
        value: String(i),
      })
    })
  }
gen children key
@param {Object} ast