CfgSetsExt

Trait CfgSetsExt 

Source
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§

Source

fn first_sets(&self) -> FirstSets

Computes the FIRST sets for this grammar.

Source

fn follow_sets(&self) -> FollowSets

Computes the FOLLOW sets for this grammar.

Source

fn follow_sets_with_first(&self, first_sets: &FirstSets) -> FollowSets

Computes the FOLLOW sets for this grammar with the given FIRST sets.

Implementations on Foreign Types§

Source§

impl CfgSetsExt for Cfg

Implementors§