blob: bd2b5c248736df65fa922ac32b66cfade3bc58f0 [file] [log] [blame]
Bram Moolenaardc7c3662021-12-20 15:04:29 +00001/* vim9cmds.c */
2void free_locals(cctx_T *cctx);
3int check_vim9_unlet(char_u *name);
4char_u *compile_unletlock(char_u *arg, exarg_T *eap, cctx_T *cctx);
5void drop_scope(cctx_T *cctx);
6char_u *compile_if(char_u *arg, cctx_T *cctx);
7char_u *compile_elseif(char_u *arg, cctx_T *cctx);
8char_u *compile_else(char_u *arg, cctx_T *cctx);
9char_u *compile_endif(char_u *arg, cctx_T *cctx);
10char_u *compile_for(char_u *arg_start, cctx_T *cctx);
11char_u *compile_endfor(char_u *arg, cctx_T *cctx);
12char_u *compile_while(char_u *arg, cctx_T *cctx);
13char_u *compile_endwhile(char_u *arg, cctx_T *cctx);
Bram Moolenaarcc341812022-09-19 15:54:34 +010014int get_loop_var_info(cctx_T *cctx, loopvarinfo_T *lvi);
15void get_loop_var_idx(cctx_T *cctx, int idx, lvar_T *lvar);
Bram Moolenaardc7c3662021-12-20 15:04:29 +000016char_u *compile_continue(char_u *arg, cctx_T *cctx);
17char_u *compile_break(char_u *arg, cctx_T *cctx);
18char_u *compile_block(char_u *arg, cctx_T *cctx);
19void compile_endblock(cctx_T *cctx);
20char_u *compile_try(char_u *arg, cctx_T *cctx);
21char_u *compile_catch(char_u *arg, cctx_T *cctx);
22char_u *compile_finally(char_u *arg, cctx_T *cctx);
23char_u *compile_endtry(char_u *arg, cctx_T *cctx);
24char_u *compile_throw(char_u *arg, cctx_T *cctx);
25char_u *compile_eval(char_u *arg, cctx_T *cctx);
Bram Moolenaar806a2732022-09-04 15:40:36 +010026int get_defer_var_idx(cctx_T *cctx);
Bram Moolenaar1d84f762022-09-03 21:35:53 +010027char_u *compile_defer(char_u *arg_start, cctx_T *cctx);
Bram Moolenaarbdc09a12022-10-07 14:31:45 +010028char_u *compile_mult_expr(char_u *arg, int cmdidx, long cmd_count, cctx_T *cctx);
Christian Brabandt762a79e2025-03-16 21:39:58 +010029char_u *compile_put(char_u *arg, exarg_T *eap, cctx_T *cctx);
Bram Moolenaardc7c3662021-12-20 15:04:29 +000030char_u *compile_exec(char_u *line_arg, exarg_T *eap, cctx_T *cctx);
31char_u *compile_script(char_u *line, cctx_T *cctx);
32char_u *compile_substitute(char_u *arg, exarg_T *eap, cctx_T *cctx);
33char_u *compile_redir(char_u *line, exarg_T *eap, cctx_T *cctx);
34char_u *compile_cexpr(char_u *line, exarg_T *eap, cctx_T *cctx);
35char_u *compile_return(char_u *arg, int check_return_type, int legacy, cctx_T *cctx);
36int check_global_and_subst(char_u *cmd, char_u *arg);
37/* vim: set ft=c : */