Function parol::analysis::left_recursion::detect_left_recursions
source · [−]pub fn detect_left_recursions(grammar: &Cfg) -> HashSet<Vec<NtNodeType>>
Expand description
Detects left recursions. The result is a collection of vectors of NtNodeType. The vectors of nodes are cycles in the NtGrammarGraph.