Skip to main content

Module functions

Module functions 

Source

Modulesยง

assertion_handler
complete_indexer
complete_partial_matches
complete_repl
convert_repl_requirer
convert_repl_requirer_alt_b
copts
counters_active
counters_dump
counters_function_callback
counters_init
counters_track
counters_value_callback
coverage_active
coverage_callback
coverage_dump
coverage_init
coverage_track
create_cli_require_context
display_help
get_cache_key
get_chunkname
get_completions
get_config
get_config_status
get_loadname
ic_get_completions
is_method_or_function_char
is_module_present
is_require_allowed
jump_to_alias
load
load_history
lua_callgrind
lua_collectgarbage
lua_loadstring
main
profiler_dump
Faithful port of void profilerDump(const char* path) (CLI/src/Profiler.cpp:115).
profiler_loop
Faithful port of static void profilerLoop() (CLI/src/Profiler.cpp:75).
profiler_start
Faithful port of void profilerStart(lua_State* L, int frequency) (CLI/src/Profiler.cpp:100).
profiler_stop
Faithful port of void profilerStop() (CLI/src/Profiler.cpp:109).
profiler_trigger
repl_main
Faithful port of the C++ int replMain(int argc, char** argv) from CLI/src/Repl.cpp. Parses the CLI options, installs the assertion handler, then either starts the interactive REPL (no file arguments) or runs each source file on a fresh lua_State, optionally enabling profiling / coverage / counters / native codegen, returning failed ? 1 : 0.
require_config_init
reset
run_code
run_file
run_repl
run_repl_impl
Faithful port of runReplImpl from CLI/src/Repl.cpp, with the isocline line editor replaced by rustyline.
safe_get_table
setup_arguments
setup_state
sigint_callback
sigint_handler_repl
sigint_handler_repl_alt_b
to_child
to_parent
try_replace_top_with_index
write