2022-05-19 08:10:12 +03:00
|
|
|
TestSnapshot {
|
|
|
|
vars: [
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('Line' type=inline),
|
|
|
|
#2,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 1,
|
|
|
|
cond_init: false,
|
|
|
|
declared: false,
|
|
|
|
declared_count: 0,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 1,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: false,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: true,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('Math' type=static),
|
|
|
|
#2,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 3,
|
|
|
|
cond_init: false,
|
|
|
|
declared: false,
|
|
|
|
declared_count: 0,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 3,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: false,
|
|
|
|
has_property_access: true,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: true,
|
|
|
|
is_fn_local: false,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('Text' type=static),
|
|
|
|
#2,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: true,
|
|
|
|
ref_count: 1,
|
|
|
|
cond_init: false,
|
|
|
|
declared: false,
|
|
|
|
declared_count: 0,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 1,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: false,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: true,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: false,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: false,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('TextLeaf' type=dynamic),
|
|
|
|
#1,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: true,
|
|
|
|
ref_count: 9,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 5,
|
|
|
|
usage_count: 9,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: true,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: false,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('TextNode' type=dynamic),
|
|
|
|
#2,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 1,
|
|
|
|
cond_init: false,
|
|
|
|
declared: false,
|
|
|
|
declared_count: 0,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 1,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: false,
|
|
|
|
has_property_access: true,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: true,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('appendText' type=dynamic),
|
|
|
|
#2,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 3,
|
|
|
|
cond_init: false,
|
|
|
|
declared: false,
|
|
|
|
declared_count: 0,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 1,
|
|
|
|
usage_count: 3,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: true,
|
|
|
|
is_fn_local: false,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: true,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('end' type=inline),
|
|
|
|
#8,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 3,
|
2022-08-05 16:25:28 +03:00
|
|
|
cond_init: false,
|
2022-05-19 08:10:12 +03:00
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
2022-08-26 10:56:40 +03:00
|
|
|
assign_count: 0,
|
2022-05-19 08:10:12 +03:00
|
|
|
mutation_by_call_count: 1,
|
|
|
|
usage_count: 3,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('end' type=inline),
|
|
|
|
#15,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 2,
|
2022-08-05 16:25:28 +03:00
|
|
|
cond_init: false,
|
2022-05-19 08:10:12 +03:00
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
2022-08-26 10:56:40 +03:00
|
|
|
assign_count: 0,
|
2022-05-19 08:10:12 +03:00
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 2,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
2022-08-26 10:56:40 +03:00
|
|
|
mutated: false,
|
2022-05-19 08:10:12 +03:00
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('from' type=static),
|
|
|
|
#9,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 3,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 2,
|
|
|
|
usage_count: 3,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: true,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('from' type=static),
|
|
|
|
#12,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 3,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 2,
|
|
|
|
usage_count: 3,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: true,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('from' type=static),
|
|
|
|
#13,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 3,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 1,
|
|
|
|
usage_count: 3,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('i' type=inline),
|
|
|
|
#7,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 3,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
2022-08-26 10:56:40 +03:00
|
|
|
assign_count: 1,
|
2022-05-19 08:10:12 +03:00
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 2,
|
|
|
|
reassigned_with_assignment: true,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('i' type=inline),
|
|
|
|
#14,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 5,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
2022-08-26 10:56:40 +03:00
|
|
|
assign_count: 1,
|
2022-05-19 08:10:12 +03:00
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 4,
|
|
|
|
reassigned_with_assignment: true,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('isLine' type=inline),
|
|
|
|
#6,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 1,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 1,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: false,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('joined' type=inline),
|
|
|
|
#10,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 5,
|
2022-08-05 16:25:28 +03:00
|
|
|
cond_init: false,
|
2022-05-19 08:10:12 +03:00
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 1,
|
|
|
|
usage_count: 5,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: true,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('len' type=inline),
|
|
|
|
#18,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 5,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 2,
|
|
|
|
mutation_by_call_count: 2,
|
|
|
|
usage_count: 4,
|
|
|
|
reassigned_with_assignment: true,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('length' type=static),
|
|
|
|
#4,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 2,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 1,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 2,
|
|
|
|
reassigned_with_assignment: true,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('length1' type=inline),
|
|
|
|
#3,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 1,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 1,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: false,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: false,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: false,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('line' type=inline),
|
|
|
|
#5,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 1,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 1,
|
|
|
|
reassigned_with_assignment: true,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: true,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('line' type=inline),
|
|
|
|
#6,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 4,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 1,
|
|
|
|
mutation_by_call_count: 1,
|
|
|
|
usage_count: 3,
|
|
|
|
reassigned_with_assignment: true,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('line' type=inline),
|
|
|
|
#15,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 2,
|
2022-08-05 16:25:28 +03:00
|
|
|
cond_init: false,
|
2022-05-19 08:10:12 +03:00
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
2022-08-26 10:56:40 +03:00
|
|
|
assign_count: 0,
|
2022-05-19 08:10:12 +03:00
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 2,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
2022-08-26 10:56:40 +03:00
|
|
|
mutated: false,
|
2022-05-19 08:10:12 +03:00
|
|
|
has_property_access: true,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('line' type=inline),
|
|
|
|
#17,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 1,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 1,
|
|
|
|
usage_count: 1,
|
|
|
|
reassigned_with_assignment: true,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: true,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('line' type=inline),
|
|
|
|
#19,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 2,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 1,
|
|
|
|
usage_count: 2,
|
|
|
|
reassigned_with_assignment: true,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: true,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: true,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('lineSep' type=inline),
|
|
|
|
#13,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 1,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 1,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: false,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('lines' type=inline),
|
|
|
|
#12,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 3,
|
2022-08-05 16:25:28 +03:00
|
|
|
cond_init: false,
|
2022-05-19 08:10:12 +03:00
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 2,
|
|
|
|
usage_count: 3,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: true,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: true,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('mid' type=inline),
|
|
|
|
#11,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 2,
|
2022-08-05 16:25:28 +03:00
|
|
|
cond_init: false,
|
2022-05-19 08:10:12 +03:00
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 2,
|
|
|
|
usage_count: 2,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: true,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('newLen' type=inline),
|
|
|
|
#12,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 2,
|
2022-08-05 16:25:28 +03:00
|
|
|
cond_init: false,
|
2022-05-19 08:10:12 +03:00
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 2,
|
|
|
|
usage_count: 2,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: true,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('offset' type=inline),
|
|
|
|
#6,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 3,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 1,
|
|
|
|
mutation_by_call_count: 1,
|
|
|
|
usage_count: 2,
|
|
|
|
reassigned_with_assignment: true,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('open' type=inline),
|
|
|
|
#9,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 1,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 1,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: false,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: false,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('part' type=inline),
|
|
|
|
#18,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 5,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 1,
|
|
|
|
mutation_by_call_count: 2,
|
|
|
|
usage_count: 4,
|
|
|
|
reassigned_with_assignment: true,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: true,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('pos' type=inline),
|
|
|
|
#14,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 7,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 1,
|
|
|
|
mutation_by_call_count: 2,
|
|
|
|
usage_count: 6,
|
|
|
|
reassigned_with_assignment: true,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('prev' type=inline),
|
|
|
|
#10,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 2,
|
2022-08-05 16:25:28 +03:00
|
|
|
cond_init: false,
|
2022-05-19 08:10:12 +03:00
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 2,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: false,
|
|
|
|
has_property_access: true,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('result' type=inline),
|
|
|
|
#13,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 3,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 2,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 3,
|
|
|
|
reassigned_with_assignment: true,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('sliceText' type=dynamic),
|
|
|
|
#2,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 2,
|
|
|
|
cond_init: false,
|
|
|
|
declared: false,
|
|
|
|
declared_count: 0,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 2,
|
|
|
|
usage_count: 2,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: true,
|
|
|
|
is_fn_local: false,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: true,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('string' type=static),
|
|
|
|
#8,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 2,
|
2022-08-05 16:25:28 +03:00
|
|
|
cond_init: false,
|
2022-05-19 08:10:12 +03:00
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
2022-08-26 10:56:40 +03:00
|
|
|
assign_count: 0,
|
2022-05-19 08:10:12 +03:00
|
|
|
mutation_by_call_count: 1,
|
|
|
|
usage_count: 2,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: true,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('target' type=static),
|
|
|
|
#6,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 1,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 1,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: false,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('target' type=static),
|
|
|
|
#9,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 4,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 4,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: false,
|
|
|
|
has_property_access: true,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('target' type=static),
|
|
|
|
#16,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 1,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 1,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: false,
|
|
|
|
has_property_access: true,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('target' type=static),
|
|
|
|
#18,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 3,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 3,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: false,
|
|
|
|
has_property_access: true,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('text' type=inline),
|
|
|
|
#4,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 1,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 1,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: false,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: false,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('text' type=inline),
|
|
|
|
#9,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 4,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 1,
|
|
|
|
usage_count: 4,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: true,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: Some(
|
|
|
|
"let",
|
|
|
|
),
|
|
|
|
var_initialized: true,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: true,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('text' type=inline),
|
|
|
|
#12,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 4,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 1,
|
|
|
|
usage_count: 4,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: true,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: true,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('text' type=inline),
|
|
|
|
#18,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 1,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 1,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: false,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: false,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('text1' type=inline),
|
|
|
|
#3,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 2,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 1,
|
|
|
|
usage_count: 2,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: false,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: false,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: true,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('textLength' type=dynamic),
|
|
|
|
#4,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 0,
|
|
|
|
cond_init: false,
|
|
|
|
declared: false,
|
|
|
|
declared_count: 0,
|
|
|
|
declared_as_fn_param: false,
|
|
|
|
declared_as_fn_expr: true,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 0,
|
|
|
|
usage_count: 0,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: false,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: false,
|
|
|
|
used_by_nested_fn: false,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: false,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('to' type=inline),
|
|
|
|
#9,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 3,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 2,
|
|
|
|
usage_count: 3,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: true,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('to' type=inline),
|
|
|
|
#12,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 3,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 2,
|
|
|
|
usage_count: 3,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: false,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: true,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Atom('to' type=inline),
|
|
|
|
#13,
|
|
|
|
),
|
|
|
|
VarUsageInfo {
|
|
|
|
inline_prevented: false,
|
|
|
|
ref_count: 3,
|
|
|
|
cond_init: false,
|
|
|
|
declared: true,
|
|
|
|
declared_count: 1,
|
|
|
|
declared_as_fn_param: true,
|
|
|
|
declared_as_fn_expr: false,
|
|
|
|
assign_count: 0,
|
|
|
|
mutation_by_call_count: 1,
|
|
|
|
usage_count: 3,
|
|
|
|
reassigned_with_assignment: false,
|
|
|
|
reassigned_with_var_decl: false,
|
|
|
|
mutated: true,
|
|
|
|
has_property_access: false,
|
|
|
|
has_property_mutation: false,
|
|
|
|
accessed_props: {},
|
|
|
|
exported: false,
|
|
|
|
used_above_decl: false,
|
|
|
|
is_fn_local: true,
|
|
|
|
used_by_nested_fn: true,
|
|
|
|
executed_multiple_time: true,
|
|
|
|
used_in_cond: true,
|
|
|
|
var_kind: None,
|
|
|
|
var_initialized: false,
|
|
|
|
declared_as_catch_param: false,
|
|
|
|
no_side_effect_for_member_access: false,
|
|
|
|
used_as_callee: false,
|
|
|
|
used_as_arg: false,
|
|
|
|
pure_fn: false,
|
|
|
|
infects: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
],
|
|
|
|
}
|