Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* ex_eval.c */ |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 2 | int aborting(void); |
| 3 | void update_force_abort(void); |
| 4 | int should_abort(int retcode); |
| 5 | int aborted_in_try(void); |
| 6 | int cause_errthrow(char_u *mesg, int severe, int *ignore); |
| 7 | void free_global_msglist(void); |
Bram Moolenaar | ddef129 | 2019-12-16 17:10:33 +0100 | [diff] [blame] | 8 | void do_errthrow(cstack_T *cstack, char_u *cmdname); |
| 9 | int do_intthrow(cstack_T *cstack); |
Bram Moolenaar | f9e3e09 | 2019-01-13 23:38:42 +0100 | [diff] [blame] | 10 | char *get_exception_string(void *value, except_type_T type, char_u *cmdname, int *should_free); |
Bram Moolenaar | 8a7d654 | 2020-01-26 15:56:19 +0100 | [diff] [blame] | 11 | int throw_exception(void *value, except_type_T type, char_u *cmdname); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 12 | void discard_current_exception(void); |
Bram Moolenaar | 8a7d654 | 2020-01-26 15:56:19 +0100 | [diff] [blame] | 13 | void catch_exception(except_T *excp); |
Yee Cheng Chin | 2051af1 | 2025-01-09 22:14:34 +0100 | [diff] [blame] | 14 | void finish_exception(except_T *excp); |
Yegappan Lakshmanan | c59c1e0 | 2023-10-19 10:52:34 +0200 | [diff] [blame] | 15 | void exception_state_save(exception_state_T *estate); |
| 16 | void exception_state_restore(exception_state_T *estate); |
| 17 | void exception_state_clear(void); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 18 | void report_make_pending(int pending, void *value); |
Bram Moolenaar | 4799cef | 2021-08-25 22:37:36 +0200 | [diff] [blame] | 19 | int cmd_is_name_only(char_u *arg); |
Bram Moolenaar | 25e4223 | 2019-08-04 15:04:10 +0200 | [diff] [blame] | 20 | void ex_eval(exarg_T *eap); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 21 | void ex_if(exarg_T *eap); |
| 22 | void ex_endif(exarg_T *eap); |
| 23 | void ex_else(exarg_T *eap); |
| 24 | void ex_while(exarg_T *eap); |
| 25 | void ex_continue(exarg_T *eap); |
| 26 | void ex_break(exarg_T *eap); |
| 27 | void ex_endwhile(exarg_T *eap); |
Bram Moolenaar | 9becdf2 | 2020-10-10 21:33:48 +0200 | [diff] [blame] | 28 | void ex_block(exarg_T *eap); |
| 29 | void ex_endblock(exarg_T *eap); |
Bram Moolenaar | 63b9173 | 2021-08-05 20:40:03 +0200 | [diff] [blame] | 30 | int inside_block(exarg_T *eap); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 31 | void ex_throw(exarg_T *eap); |
Bram Moolenaar | ddef129 | 2019-12-16 17:10:33 +0100 | [diff] [blame] | 32 | void do_throw(cstack_T *cstack); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 33 | void ex_try(exarg_T *eap); |
| 34 | void ex_catch(exarg_T *eap); |
| 35 | void ex_finally(exarg_T *eap); |
| 36 | void ex_endtry(exarg_T *eap); |
| 37 | void enter_cleanup(cleanup_T *csp); |
| 38 | void leave_cleanup(cleanup_T *csp); |
Bram Moolenaar | ddef129 | 2019-12-16 17:10:33 +0100 | [diff] [blame] | 39 | int cleanup_conditionals(cstack_T *cstack, int searched_cond, int inclusive); |
| 40 | void rewind_conditionals(cstack_T *cstack, int idx, int cond_type, int *cond_level); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 41 | void ex_endfunction(exarg_T *eap); |
| 42 | int has_loop_cmd(char_u *p); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 43 | /* vim: set ft=c : */ |