Module analyzer
metrale_
grammar
1.0.0-beta-preview
Module analyzer
Module Items
Structs
In metrale_
grammar::
grammar::
functor
metrale_grammar
::
grammar
::
functor
Module
analyzer
Copy item path
Source
Structs
ยง
Allow
Empty
Rule
Analyzer
Analyze which rules can match the empty string. Returns the sorted list of nullable rule ids.
Rule
RefGraph
Finder
Build the
inverted
rule reference graph:
graph[referee]
is the sorted, deduplicated list of rules that reference
referee
.
Used
Rules
Analyzer
Collect every rule reachable from the root rule (transitive closure over rule refs, repeats and tag dispatches). Used for dead-code elimination. Returns the reachable rule ids in ascending order.