Searched refs:loop_parent (Results 1 – 1 of 1) sorted by relevance
114 pub fn loop_parent(&self, lp: Loop) -> Option<Loop> { in loop_parent() method150 finger = self.loop_parent(finger_loop); in is_child_loop()353 assert_eq!(loop_analysis.loop_parent(loops[1]), Some(loops[0])); in nested_loops_detection()354 assert_eq!(loop_analysis.loop_parent(loops[0]), None); in nested_loops_detection()416 assert_eq!(loop_analysis.loop_parent(loops[1]), Some(loops[0])); in complex_loop_detection()417 assert_eq!(loop_analysis.loop_parent(loops[2]), Some(loops[0])); in complex_loop_detection()418 assert_eq!(loop_analysis.loop_parent(loops[0]), None); in complex_loop_detection()