Home
last modified time | relevance | path

Searched refs:tt_type (Results 1 – 9 of 9) sorted by relevance

/vim-8.2.3635/src/
H A Dvim9type.c127 type->tt_type = VAR_LIST; in get_list_type()
156 type->tt_type = VAR_DICT; in get_dict_type()
173 type->tt_type = VAR_FUNC; in alloc_func_type()
543 && !(expected->tt_type == VAR_ANY && actual->tt_type != VAR_VOID)) in check_type()
548 if (!(expected->tt_type == actual->tt_type in check_type()
560 if (expected->tt_type == VAR_DICT || expected->tt_type == VAR_LIST) in check_type()
617 if (type->tt_type != VAR_FUNC && type->tt_type != VAR_PARTIAL) in check_argument_types()
989 if (type1->tt_type != type2->tt_type) in equal_type()
1053 if (type1->tt_type == type2->tt_type) in common_type()
1055 if (type1->tt_type == VAR_LIST || type2->tt_type == VAR_DICT) in common_type()
[all …]
H A Devalfunc.c231 || type->tt_type == VAR_FLOAT || type->tt_type == VAR_NUMBER) in arg_float_or_nr()
316 || type->tt_type == VAR_LIST || type->tt_type == VAR_BLOB) in arg_list_or_blob()
329 || type->tt_type == VAR_STRING || type->tt_type == VAR_NUMBER) in arg_string_or_nr()
342 || type->tt_type == VAR_STRING || type->tt_type == VAR_NUMBER) in arg_buffer()
370 || type->tt_type == VAR_STRING || type->tt_type == VAR_NUMBER) in arg_lnum()
382 if (type->tt_type == VAR_ANY || type->tt_type == VAR_STRING) in arg_string_or_list_string()
404 || type->tt_type == VAR_STRING || type->tt_type == VAR_LIST) in arg_string_or_list_any()
417 || type->tt_type == VAR_STRING || type->tt_type == VAR_BLOB) in arg_string_or_blob()
430 || type->tt_type == VAR_LIST || type->tt_type == VAR_DICT) in arg_list_or_dict()
496 if (prev_type->tt_type != context->arg_types[context->arg_idx]->tt_type) in arg_same_struct_as_prev()
[all …]
H A Dvim9compile.c718 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()
788 case '/': if (check_number_or_float(type1->tt_type, type2->tt_type, 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()
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()
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()
[all …]
H A Dvim9script.c796 if (type->tt_type == VAR_ANY) in vim9_declare_scriptvar()
800 init_tv.v_type = type->tt_type; in vim9_declare_scriptvar()
H A Devalvars.c3472 if (type->tt_type == VAR_DICT && dest_tv->vval.v_dict != NULL) in set_var_const()
3480 else if (type->tt_type == VAR_LIST && dest_tv->vval.v_list != NULL) in set_var_const()
H A Dstructs.h1415 vartype_T tt_type; member
H A Deval.c3549 if (ufunc->uf_ret_type->tt_type == VAR_VOID) in eval7()
H A Duserfunc.c424 if (fp->uf_va_type != NULL && fp->uf_va_type->tt_type != VAR_LIST) in parse_argument_types()
H A Dvim9execute.c4246 && ct->ct_type->tt_type == VAR_BOOL in exec_instructions()