Compiler #
Compile from a regex's high-level intermediate representation (Syntax.Hir
)
into an NFA state graph (NFA
).
Equations
- Compiler.instInhabitedConfig = { default := { unanchored_prefix := true, unanchored_prefix_simulation := false } }
A value that represents the result of compiling a sub-expression of a regex's HIR.
Specifically, this represents a sub-graph of the NFA that
has an initial state at start
and a final state at end
.
- start : NFA.Unchecked.StateID
- end : NFA.Unchecked.StateID
Instances For
Equations
- Compiler.instInhabitedThompsonRef = { default := { start := 0, «end» := 0 } }
@[reducible, inline]
Equations
Instances For
Compile the HIR expression given.
Equations
- One or more equations did not get rendered due to their size.