mirror of
https://github.com/vim/vim.git
synced 2025-11-16 23:24:03 -05:00
patch 9.1.0020: Vim9: cannot compile all methods in a class
Problem: Vim9: cannot compile all methods in a class
Solution: Support compiling all the methods in a class using :defcompile
(Yegappan Lakshmanan)
closes: #13844
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
8610f74382
commit
4f32c83a77
@@ -50,6 +50,7 @@ void list_functions(regmatch_T *regmatch);
|
||||
ufunc_T *define_function(exarg_T *eap, char_u *name_arg, garray_T *lines_to_free, int class_flags, ocmember_T *obj_members, int obj_member_count);
|
||||
void ex_function(exarg_T *eap);
|
||||
ufunc_T *find_func_by_name(char_u *name, compiletype_T *compile_type);
|
||||
void defcompile_function(ufunc_T *ufunc, class_T *cl);
|
||||
void ex_defcompile(exarg_T *eap);
|
||||
int eval_fname_script(char_u *p);
|
||||
int translated_function_exists(char_u *name, int is_global);
|
||||
|
||||
@@ -31,6 +31,9 @@ void object_free_items(int copyID);
|
||||
void emsg_var_cl_define(char *msg, char_u *name, size_t len, class_T *cl);
|
||||
void method_not_found_msg(class_T *cl, vartype_T v_type, char_u *name, size_t len);
|
||||
void member_not_found_msg(class_T *cl, vartype_T v_type, char_u *name, size_t len);
|
||||
void defcompile_class(class_T *cl);
|
||||
void defcompile_classes_in_script(void);
|
||||
int is_class_name(char_u *name, typval_T *rettv);
|
||||
int class_instance_of(class_T *cl, class_T *other_cl);
|
||||
void f_instanceof(typval_T *argvars, typval_T *rettv);
|
||||
/* vim: set ft=c : */
|
||||
|
||||
Reference in New Issue
Block a user