Function parol::analysis::k_decision::calculate_k [−][src]
pub fn calculate_k(
grammar_config: &GrammarConfig,
max_k: usize,
first_cache: &FirstCache,
follow_cache: &FollowCache
) -> Result<usize>
Expand description
Calculates maximum lookahead size where max_k is the limit.