Skip to main content

Module exec

Module exec 

Source
Expand description

Block statement executor: loops, functions, run/source, search path management.

Enums§

Signal
Flow control signal returned by exec_stmts.

Functions§

exec_stmts
Executes a sequence of parsed statements, handling flow control signals.
init
Initialises exec-level hooks in eval.rs so that eval_inner can call user functions.
resolve_script_path
Resolves a script filename to an existing path.
script_dir_pop
Pop the most recently pushed script directory from the search stack.
script_dir_push
Push a script directory onto the search stack.
session_path_add
Prepends (default) or appends a directory to the session search path.
session_path_init
Initializes the session search path from the config path array.
session_path_list
Returns a snapshot of the current session search path.
session_path_remove
Removes a directory from the session search path (exact match).