pub trait CfgSetsExt {
// Required methods
fn first_sets(&self) -> FirstSets;
fn follow_sets(&self) -> FollowSets;
fn follow_sets_with_first(&self, first_sets: &FirstSets) -> FollowSets;
}Expand description
Extension trait for Cfg.
Required Methods§
Sourcefn first_sets(&self) -> FirstSets
fn first_sets(&self) -> FirstSets
Computes the FIRST sets for this grammar.
Sourcefn follow_sets(&self) -> FollowSets
fn follow_sets(&self) -> FollowSets
Computes the FOLLOW sets for this grammar.
Sourcefn follow_sets_with_first(&self, first_sets: &FirstSets) -> FollowSets
fn follow_sets_with_first(&self, first_sets: &FirstSets) -> FollowSets
Computes the FOLLOW sets for this grammar with the given FIRST sets.