Macros | Functions
ex_eval.c File Reference
#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
#include <inttypes.h>
#include <limits.h>
#include "nvim/vim.h"
#include "nvim/ascii.h"
#include "nvim/ex_eval.h"
#include "nvim/charset.h"
#include "nvim/eval.h"
#include "nvim/eval/typval.h"
#include "nvim/ex_cmds2.h"
#include "nvim/ex_docmd.h"
#include "nvim/message.h"
#include "nvim/memory.h"
#include "nvim/regexp.h"
#include "nvim/strings.h"

Macros

#define THROW_ON_ERROR   true
 
#define THROW_ON_ERROR_TRUE
 
#define THROW_ON_INTERRUPT   true
 
#define THROW_ON_INTERRUPT_TRUE
 
#define CHECK_SKIP
 
#define discard_pending_return(p)   tv_free((typval_T *)(p))
 
#define RP_MAKE   0
 
#define RP_RESUME   1
 
#define RP_DISCARD   2
 

Functions

int aborting (void)
 
void update_force_abort (void)
 
int should_abort (int retcode)
 
int aborted_in_try (void)
 
int cause_errthrow (char_u *mesg, int severe, int *ignore)
 
void free_global_msglist (void)
 
void do_errthrow (struct condstack *cstack, char_u *cmdname)
 
int do_intthrow (struct condstack *cstack)
 
char_uget_exception_string (void *value, except_type_T type, char_u *cmdname, int *should_free)
 
void discard_current_exception (void)
 
void report_make_pending (int pending, void *value)
 
void report_resume_pending (int pending, void *value)
 
void report_discard_pending (int pending, void *value)
 
void ex_if (exarg_T *eap)
 
void ex_endif (exarg_T *eap)
 
void ex_else (exarg_T *eap)
 
void ex_while (exarg_T *eap)
 
void ex_continue (exarg_T *eap)
 
void ex_break (exarg_T *eap)
 
void ex_endwhile (exarg_T *eap)
 
void ex_throw (exarg_T *eap)
 
void do_throw (struct condstack *cstack)
 
void ex_try (exarg_T *eap)
 
void ex_catch (exarg_T *eap)
 
void ex_finally (exarg_T *eap)
 
void ex_endtry (exarg_T *eap)
 
void enter_cleanup (cleanup_T *csp)
 
void leave_cleanup (cleanup_T *csp)
 
int cleanup_conditionals (struct condstack *cstack, int searched_cond, int inclusive)
 
void rewind_conditionals (struct condstack *cstack, int idx, int cond_type, int *cond_level)
 
void ex_endfunction (exarg_T *eap)
 
int has_loop_cmd (char_u *p)
 

Detailed Description

Functions for Ex command line for the +eval feature.

Macro Definition Documentation

#define CHECK_SKIP
Value:
|| got_int \
|| (cstack->cs_idx > 0 \
&& !(cstack->cs_flags[cstack->cs_idx - 1] & CSF_ACTIVE)))
#define CSF_ACTIVE
Definition: ex_eval.h:46
did_emsg
Definition: eval.c:21604
EXTERN except_T * current_exception
Definition: globals.h:274
#define discard_pending_return (   p)    tv_free((typval_T *)(p))
#define RP_DISCARD   2
#define RP_MAKE   0
#define RP_RESUME   1
#define THROW_ON_ERROR   true
#define THROW_ON_ERROR_TRUE
#define THROW_ON_INTERRUPT   true
#define THROW_ON_INTERRUPT_TRUE

Function Documentation

int aborted_in_try ( void  )
int aborting ( void  )
int cause_errthrow ( char_u mesg,
int  severe,
int *  ignore 
)
int cleanup_conditionals ( struct condstack cstack,
int  searched_cond,
int  inclusive 
)
void discard_current_exception ( void  )
void do_errthrow ( struct condstack cstack,
char_u cmdname 
)
int do_intthrow ( struct condstack cstack)
void do_throw ( struct condstack cstack)
void enter_cleanup ( cleanup_T csp)
void ex_break ( exarg_T eap)
void ex_catch ( exarg_T eap)
void ex_continue ( exarg_T eap)
void ex_else ( exarg_T eap)
void ex_endfunction ( exarg_T eap)
void ex_endif ( exarg_T eap)
void ex_endtry ( exarg_T eap)
void ex_endwhile ( exarg_T eap)
void ex_finally ( exarg_T eap)
void ex_if ( exarg_T eap)
void ex_throw ( exarg_T eap)
void ex_try ( exarg_T eap)
void ex_while ( exarg_T eap)
void free_global_msglist ( void  )
char_u* get_exception_string ( void *  value,
except_type_T  type,
char_u cmdname,
int *  should_free 
)
int has_loop_cmd ( char_u p)
void leave_cleanup ( cleanup_T csp)
void report_discard_pending ( int  pending,
void *  value 
)
void report_make_pending ( int  pending,
void *  value 
)
void report_resume_pending ( int  pending,
void *  value 
)
void rewind_conditionals ( struct condstack cstack,
int  idx,
int  cond_type,
int *  cond_level 
)
int should_abort ( int  retcode)
void update_force_abort ( void  )