Skip to main content

luaur_analysis/methods/
tarjan_node_tarjan_node.rs

1use crate::records::tarjan_node::TarjanNode;
2use crate::type_aliases::type_id::TypeId;
3use crate::type_aliases::type_pack_id::TypePackId;
4
5impl TarjanNode {
6    pub fn tarjan_node(
7        &mut self,
8        ty: TypeId,
9        tp: TypePackId,
10        on_stack: bool,
11        dirty: bool,
12        lowlink: i32,
13    ) {
14        self.ty = ty;
15        self.tp = tp;
16        self.on_stack = on_stack;
17        self.dirty = dirty;
18        self.lowlink = lowlink;
19    }
20}