Lines Matching refs:tt_type

628     switch ((*type)->tt_type)  in may_generate_2STRING()
664 to_string_error((*type)->tt_type); in may_generate_2STRING()
715 && type1->tt_type != VAR_ANY in generate_add_instr()
716 && type2->tt_type != VAR_ANY in generate_add_instr()
718 type1->tt_type, type2->tt_type, (char_u *)"+") == FAIL) in generate_add_instr()
732 && type1->tt_type == VAR_LIST && type2->tt_type == VAR_LIST in generate_add_instr()
747 if (type1->tt_type == type2->tt_type in operator_type()
748 && (type1->tt_type == VAR_NUMBER in operator_type()
749 || type1->tt_type == VAR_LIST in operator_type()
751 || type1->tt_type == VAR_FLOAT in operator_type()
753 || type1->tt_type == VAR_BLOB)) in operator_type()
754 return type1->tt_type; in operator_type()
788 case '/': if (check_number_or_float(type1->tt_type, type2->tt_type, in generate_two_op()
804 case '%': if ((type1->tt_type != VAR_ANY in generate_two_op()
805 && type1->tt_type != VAR_NUMBER) in generate_two_op()
806 || (type2->tt_type != VAR_ANY in generate_two_op()
807 && type2->tt_type != VAR_NUMBER)) in generate_two_op()
826 if ((type1->tt_type == VAR_NUMBER || type1->tt_type == VAR_FLOAT) in generate_two_op()
827 && (type2->tt_type == VAR_NUMBER || type2->tt_type == VAR_FLOAT)) in generate_two_op()
922 type1 = ((type_T **)stack->ga_data)[stack->ga_len - 2]->tt_type; in generate_COMPARE()
923 type2 = ((type_T **)stack->ga_data)[stack->ga_len - 1]->tt_type; in generate_COMPARE()
1028 if (actual->tt_type == VAR_ANY in use_typecheck()
1029 || actual->tt_type == VAR_UNKNOWN in use_typecheck()
1030 || (actual->tt_type == VAR_FUNC in use_typecheck()
1031 && (expected->tt_type == VAR_FUNC in use_typecheck()
1032 || expected->tt_type == VAR_PARTIAL) in use_typecheck()
1037 if ((actual->tt_type == VAR_LIST || actual->tt_type == VAR_DICT) in use_typecheck()
1038 && actual->tt_type == expected->tt_type) in use_typecheck()
1307 if (type->tt_type != VAR_LIST) in generate_GETITEM()
2115 if (type->tt_type == VAR_ANY) in generate_PCALL()
2117 else if (type->tt_type == VAR_FUNC || type->tt_type == VAR_PARTIAL) in generate_PCALL()
2207 if (type->tt_type != VAR_DICT && type != &t_any) in generate_STRINGMEMBER()
2217 if (type->tt_type == VAR_DICT) in generate_STRINGMEMBER()
2896 vartype = (*typep)->tt_type; in compile_member()
2921 if ((*typep)->tt_type == VAR_DICT) in compile_member()
2976 if ((*typep)->tt_type == VAR_LIST) in compile_member()
3515 if (type->tt_type == VAR_LIST) in compile_call()
3521 else if (type->tt_type == VAR_BLOB) in compile_call()
3725 if (ufunc->uf_ret_type->tt_type == VAR_VOID) in compile_lambda()
3792 if (ufunc->uf_ret_type == NULL || ufunc->uf_ret_type->tt_type == VAR_VOID) in get_lambda_tv_and_compile()
5712 if (cctx->ctx_ufunc->uf_ret_type->tt_type == VAR_VOID in compile_return()
5713 && stack_type->tt_type != VAR_VOID in compile_return()
5714 && stack_type->tt_type != VAR_UNKNOWN) in compile_return()
5729 if (cctx->ctx_ufunc->uf_ret_type->tt_type != VAR_VOID in compile_return()
5730 && cctx->ctx_ufunc->uf_ret_type->tt_type != VAR_UNKNOWN) in compile_return()
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()
6774 && lhs->lhs_type->tt_type != VAR_LIST in compile_assign_unlet()
6789 dest_type = lhs->lhs_type->tt_type; in compile_assign_unlet()
6987 if (stacktype->tt_type == VAR_VOID) in compile_assignment()
7115 if ((rhs_type->tt_type == VAR_FUNC in compile_assignment()
7116 || rhs_type->tt_type == VAR_PARTIAL) in compile_assignment()
7123 if (rhs_type->tt_type == VAR_VOID) in compile_assignment()
7172 && rhs_type->tt_type == VAR_NUMBER) in compile_assignment()
7199 switch (lhs.lhs_member_type->tt_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()
7321 && rhs_type->tt_type == lhs.lhs_type->tt_type in compile_assignment()
8167 if (vartype->tt_type != VAR_LIST && vartype->tt_type != VAR_STRING in compile_for()
8168 && vartype->tt_type != VAR_BLOB && vartype->tt_type != VAR_ANY) in compile_for()
8171 vartype_name(vartype->tt_type)); in compile_for()
8176 if (vartype->tt_type == VAR_STRING) in compile_for()
8178 else if (vartype->tt_type == VAR_BLOB) in compile_for()
8180 else if (vartype->tt_type == VAR_LIST in compile_for()
8181 && vartype->tt_member->tt_type != VAR_ANY) in compile_for()
8185 else if (vartype->tt_member->tt_type == VAR_LIST in compile_for()
8186 && vartype->tt_member->tt_member->tt_type != VAR_ANY) in compile_for()
8978 if (type->tt_type == VAR_VOID) in compile_mult_expr()
10200 if (ufunc->uf_ret_type->tt_type == VAR_UNKNOWN) in compile_def_function()
10202 else if (ufunc->uf_ret_type->tt_type != VAR_VOID) in compile_def_function()