luaur-analysis 0.1.3

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Node: `cxx:Function:Luau.Analysis:Analysis/include/Luau/ToString.h:127:to_string`
//! Source: `Analysis/include/Luau/ToString.h:127-131` (hand-ported)

use crate::records::to_string_options::ToStringOptions;
use crate::records::type_pack_var::TypePackVar;
use alloc::string::String;

/// C++ `inline std::string toString(const TypePackVar& tp)`.
pub fn to_string_type_pack_var(tp: &TypePackVar) -> String {
    let mut opts = ToStringOptions::default();
    crate::functions::to_string_to_string_alt_p::to_string_type_pack_var_to_string_options(
        tp, &mut opts,
    )
}