genKeyFor(ast) {
    if (!ast.key) {
      const obj = {}
      obj.name = 'key'
      obj.value = 'arguments[1]'
      ast.attrs = ast.attrs || []
      ast.attrs.push(obj)
    }
    return ast
  }
gen key in for iterator
@param {Object} ast