Skip to main content

Module functions

Module functions 

Source

Modules§

assert_call_handler
assert_handler
create_scope_data
Source: Common/src/TimeTrace.cpp:263-266 (hand-ported) C++ LUAU_NOINLINE uint16_t createScopeData(const char* name, const char* category): return createToken(*Luau::TimeTrace::getGlobalContext(), name, category);
create_thread
Source: Common/src/TimeTrace.cpp:125-132 (hand-ported) C++:
create_token
Source: Common/src/TimeTrace.cpp:115-123 (hand-ported) C++:
edit_distance
equals_lower
escape
flush_events
Source: Common/src/TimeTrace.cpp:142-251 (hand-ported) Appends the buffered events for one thread to the Chrome-trace trace.json file, byte-for-byte matching the C++ formatter (Enter/Leave/ArgName/ArgValue).
fn_visit_r
fn_visit_v
format
Port of Luau::format from Common/src/StringUtils.cpp.
format_append
Port of Luau::formatAppend from Common/src/StringUtils.cpp.
format_g
C printf("%.*g", precision, value) equivalent.
get_clock
get_clock_microseconds
get_clock_period
get_clock_timestamp
get_global_context
Source: Common/src/TimeTrace.cpp:109-113 (hand-ported) C++ getGlobalContext() returns a process-wide shared_ptr singleton:
get_if_variant
get_if_variant_alt_b
C++ template<class T, typename... Ts> T* get_if(Variant<Ts...>* var) — the mutable free-function overload (Variant.h:220). Callers use the const, trait-based get_if (functions/get_if_variant.rs); this mutable overload has no Rust call site. This node exists as the pinned overload contract.
get_jump_target
get_op_length
get_thread_context
Source: Common/src/TimeTrace.cpp:253-261 (hand-ported) C++:
hash_combine
hash_range
is_analysis_flag_experimental
is_fallthrough
is_fast_call
is_identifier
is_jump_d
is_loop_jump
is_skip_c
is_whitespace
join_impl
join_string_utils
join_string_utils_alt_b
read
read_var_int
Generated skeleton item. Node: cxx:Function:Luau.Common:Common/src/BytecodeWire.cpp:26:read_var_int Source: Common/src/BytecodeWire.cpp Graph edges:
read_var_int_64
Generated skeleton item. Node: cxx:Function:Luau.Common:Common/src/BytecodeWire.cpp:9:read_var_int_64 Source: Common/src/BytecodeWire.cpp Graph edges:
release_thread
Source: Common/src/TimeTrace.cpp:134-140 (hand-ported) C++:
split
starts_with
strip
thread_context_provider
vformat
Port of Luau::vformat from Common/src/StringUtils.cpp.
vformat_append
Port of Luau::vformatAppend from Common/src/StringUtils.cpp.
visit_variant
@interface-stub
visit_variant_alt_b
@interface-stub