luaur_analysis/records/
to_string_options.rs1use crate::records::scope::Scope;
2use crate::records::to_string_name_map::ToStringNameMap;
3use alloc::string::String;
4use alloc::sync::Arc;
5use alloc::vec::Vec;
6
7#[derive(Debug, Clone)]
8pub struct ToStringOptions {
9 pub exhaustive: bool,
10 pub use_line_breaks: bool,
11 pub function_type_arguments: bool,
12 pub hide_table_kind: bool,
13 pub hide_named_function_type_parameters: bool,
14 pub hide_function_self_argument: bool,
15 pub hide_table_alias_expansions: bool,
16 pub use_question_marks: bool,
17 pub ignore_synthetic_name: bool,
18 pub max_table_length: usize,
19 pub max_type_length: usize,
20 pub composite_types_single_line_limit: usize,
21 pub name_map: ToStringNameMap,
22 pub scope: Option<Arc<Scope>>,
23 pub named_function_override_arg_names: Vec<String>,
24}