補完gen_assign, write_function call