blob: fbee55c954b6188866edf9358600e831462f721a [file] [log] [blame]
Bram Moolenaar8a7d6542020-01-26 15:56:19 +01001/* vim9compile.c */
Bram Moolenaarcbb6bdc2020-07-06 21:53:17 +02002int check_defined(char_u *p, size_t len, cctx_T *cctx);
Bram Moolenaar543e6f32020-07-10 22:45:38 +02003int check_compare_types(exptype_T type, typval_T *tv1, typval_T *tv2);
Bram Moolenaar193f6202020-11-16 20:08:35 +01004int use_typecheck(type_T *actual, type_T *expected);
Bram Moolenaarfbbcd002020-10-15 12:46:44 +02005int get_script_item_idx(int sid, char_u *name, int check_writable, cctx_T *cctx);
Bram Moolenaar4e12a5d2020-02-03 20:50:59 +01006imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx);
Bram Moolenaarefa94442020-08-08 22:16:00 +02007imported_T *find_imported_in_script(char_u *name, size_t len, int sid);
Bram Moolenaar75783bd2020-07-19 14:41:58 +02008int vim9_comment_start(char_u *p);
Bram Moolenaar7a4b8982020-07-08 17:36:21 +02009char_u *peek_next_line_from_context(cctx_T *cctx);
10char_u *next_line_from_context(cctx_T *cctx, int skip_comment);
Bram Moolenaar8a7d6542020-01-26 15:56:19 +010011char_u *to_name_const_end(char_u *arg);
Bram Moolenaar696ba232020-07-29 21:20:41 +020012exptype_T get_compare_type(char_u *p, int *len, int *type_is);
Bram Moolenaarbb1b5e22020-08-05 10:53:21 +020013void error_white_both(char_u *op, int len);
Bram Moolenaar8a7d6542020-01-26 15:56:19 +010014int assignment_len(char_u *p, int *heredoc);
Bram Moolenaare55b1c02020-06-21 15:52:59 +020015void vim9_declare_error(char_u *name);
Bram Moolenaard72c1bf2020-04-19 16:28:59 +020016int check_vim9_unlet(char_u *name);
Bram Moolenaar822ba242020-05-24 23:00:18 +020017int compile_def_function(ufunc_T *ufunc, int set_return_type, cctx_T *outer_cctx);
Bram Moolenaar6ff71d82020-05-24 23:45:24 +020018void set_function_type(ufunc_T *ufunc);
Bram Moolenaar20431c92020-03-20 18:39:46 +010019void delete_instr(isn_T *isn);
Bram Moolenaar0cb5bcf2020-06-20 18:19:09 +020020void clear_def_function(ufunc_T *ufunc);
Bram Moolenaarfdeab652020-09-19 15:16:50 +020021void unlink_def_function(ufunc_T *ufunc);
Bram Moolenaar8a7d6542020-01-26 15:56:19 +010022void free_def_functions(void);
23/* vim: set ft=c : */