Lines Matching refs:lhs_type
161 type_T *lhs_type; member
6219 lhs->lhs_type, lhs->lhs_name); in generate_store_lhs()
6311 lhs->lhs_type = &t_list_string; in compile_lhs()
6313 lhs->lhs_type = &t_any; in compile_lhs()
6321 &lhs->lhs_type, cctx) == FAIL) in compile_lhs()
6417 lhs->lhs_type = sv->sv_type; in compile_lhs()
6451 lhs->lhs_type = parse_type(&p, cctx->ctx_type_list, TRUE); in compile_lhs()
6452 if (lhs->lhs_type == NULL) in compile_lhs()
6457 lhs->lhs_type = lhs->lhs_lvar->lv_type; in compile_lhs()
6463 && lhs->lhs_type->tt_type != VAR_STRING in compile_lhs()
6464 && lhs->lhs_type->tt_type != VAR_ANY) in compile_lhs()
6486 if ((lhs->lhs_type->tt_type == VAR_FUNC in compile_lhs()
6487 || lhs->lhs_type->tt_type == VAR_PARTIAL) in compile_lhs()
6493 cmdidx == CMD_final || cmdidx == CMD_const, lhs->lhs_type); in compile_lhs()
6499 lhs->lhs_member_type = lhs->lhs_type; in compile_lhs()
6535 lhs->lhs_type = &t_any; in compile_lhs()
6538 if (lhs->lhs_type->tt_member == NULL) in compile_lhs()
6541 lhs->lhs_member_type = lhs->lhs_type->tt_member; in compile_lhs()
6708 lhs->lhs_type = stack->ga_len == 0 ? &t_void in compile_load_lhs()
6711 if (rhs_type != NULL && lhs->lhs_type->tt_member != NULL in compile_load_lhs()
6713 && need_type(rhs_type, lhs->lhs_type->tt_member, -2, 0, cctx, in compile_load_lhs()
6719 lhs->lhs_lvar, lhs->lhs_type); in compile_load_lhs()
6774 && lhs->lhs_type->tt_type != VAR_LIST in compile_assign_unlet()
6775 && lhs->lhs_type != &t_blob in compile_assign_unlet()
6776 && lhs->lhs_type != &t_any) in compile_assign_unlet()
6782 if (lhs->lhs_type == &t_any) in compile_assign_unlet()
6789 dest_type = lhs->lhs_type->tt_type; in compile_assign_unlet()
7039 && need_type(&t_list_string, lhs.lhs_type, in compile_assignment()
7165 type_T *lhs_type = lhs.lhs_member_type; in compile_assignment() local
7170 if ((lhs_type == &t_number_or_string in compile_assignment()
7171 || lhs_type == &t_float) in compile_assignment()
7173 lhs_type = &t_number; in compile_assignment()
7174 if (*p != '=' && need_type(rhs_type, lhs_type, in compile_assignment()
7315 && (lhs.lhs_type->tt_type == VAR_DICT in compile_assignment()
7316 || lhs.lhs_type->tt_type == VAR_LIST) in compile_assignment()
7317 && lhs.lhs_type->tt_member != NULL in compile_assignment()
7318 && !(lhs.lhs_type->tt_member == &t_any in compile_assignment()
7321 && rhs_type->tt_type == lhs.lhs_type->tt_type in compile_assignment()
7323 && lhs.lhs_type->tt_member != &t_unknown) in compile_assignment()
7327 generate_SETTYPE(cctx, lhs.lhs_type); in compile_assignment()
8226 type_T *lhs_type = &t_any; in compile_for() local
8237 lhs_type = parse_type(&p, cctx->ctx_type_list, TRUE); in compile_for()
8273 if (lhs_type == &t_any) in compile_for()
8274 lhs_type = item_type; in compile_for()
8277 ? need_type(item_type, lhs_type, in compile_for()
8279 : check_type(lhs_type, item_type, TRUE, where)) in compile_for()
8282 var_lvar = reserve_local(cctx, arg, varlen, TRUE, lhs_type); in compile_for()