Function parol::analysis::k_decision::calculate_k_tuples

source ยท
pub fn calculate_k_tuples(
    grammar_config: &GrammarConfig,
    max_k: usize,
    first_cache: &FirstCache,
    follow_cache: &FollowCache,
) -> Result<BTreeMap<usize, KTuples>>
Expand description

Calculates lookahead tuples for all productions, where max_k is the limit.