Module parol::analysis::reachability
source · Expand description
Module with reachability calculations
Functions§
- Detects whether all non-terminals are reachable
- Calculates the numbers of all productions that eventually can produce the given non-terminal by applying several derivation steps.
- Calculates the reachable non-terminals for each non-terminal of the given Cfg.
- Calculates for a given non-terminal all reachable non-terminals. Used for special derivation calculations (i.e. FOLLOW k relations)
- Calculates for a given production all reachable non-terminals. Used for special derivation calculations (i.e. FOLLOW k relations)
- Calculates all reachable non-terminals.
- Calculates all unreachable non-terminals.