Skip to main content

Module repeat_prefix

Module repeat_prefix 

Source
Expand description

The prefix walk: consumes parsed ops from the empty state and yields the reachable prefix states, recording reaching prefixes for repeated bodies.

Port of the reference _redos_repeat_prefix.py (_PrefixWalk and _repeat_reaching_prefixes).

Functionsยง

repeat_reaching_prefixes
Reference _repeat_reaching_prefixes.