blob: f5037c932506b38102e5f2bacda5f0dbcbd2e61e [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* ex_eval.c */
Bram Moolenaaref269542016-01-19 13:22:12 +01002int aborting(void);
3void update_force_abort(void);
4int should_abort(int retcode);
5int aborted_in_try(void);
6int cause_errthrow(char_u *mesg, int severe, int *ignore);
7void free_global_msglist(void);
Bram Moolenaarddef1292019-12-16 17:10:33 +01008void do_errthrow(cstack_T *cstack, char_u *cmdname);
9int do_intthrow(cstack_T *cstack);
Bram Moolenaarf9e3e092019-01-13 23:38:42 +010010char *get_exception_string(void *value, except_type_T type, char_u *cmdname, int *should_free);
Bram Moolenaar8a7d6542020-01-26 15:56:19 +010011int throw_exception(void *value, except_type_T type, char_u *cmdname);
Bram Moolenaaref269542016-01-19 13:22:12 +010012void discard_current_exception(void);
Bram Moolenaar8a7d6542020-01-26 15:56:19 +010013void catch_exception(except_T *excp);
Bram Moolenaaref269542016-01-19 13:22:12 +010014void report_make_pending(int pending, void *value);
Bram Moolenaar25e42232019-08-04 15:04:10 +020015void ex_eval(exarg_T *eap);
Bram Moolenaaref269542016-01-19 13:22:12 +010016void ex_if(exarg_T *eap);
17void ex_endif(exarg_T *eap);
18void ex_else(exarg_T *eap);
19void ex_while(exarg_T *eap);
20void ex_continue(exarg_T *eap);
21void ex_break(exarg_T *eap);
22void ex_endwhile(exarg_T *eap);
Bram Moolenaar9becdf22020-10-10 21:33:48 +020023void ex_block(exarg_T *eap);
24void ex_endblock(exarg_T *eap);
Bram Moolenaar63b91732021-08-05 20:40:03 +020025int inside_block(exarg_T *eap);
Bram Moolenaaref269542016-01-19 13:22:12 +010026void ex_throw(exarg_T *eap);
Bram Moolenaarddef1292019-12-16 17:10:33 +010027void do_throw(cstack_T *cstack);
Bram Moolenaaref269542016-01-19 13:22:12 +010028void ex_try(exarg_T *eap);
29void ex_catch(exarg_T *eap);
30void ex_finally(exarg_T *eap);
31void ex_endtry(exarg_T *eap);
32void enter_cleanup(cleanup_T *csp);
33void leave_cleanup(cleanup_T *csp);
Bram Moolenaarddef1292019-12-16 17:10:33 +010034int cleanup_conditionals(cstack_T *cstack, int searched_cond, int inclusive);
35void rewind_conditionals(cstack_T *cstack, int idx, int cond_type, int *cond_level);
Bram Moolenaaref269542016-01-19 13:22:12 +010036void ex_endfunction(exarg_T *eap);
37int has_loop_cmd(char_u *p);
Bram Moolenaar071d4272004-06-13 20:20:40 +000038/* vim: set ft=c : */