Skip to main content

Module buffer

Module buffer 

Source

Structs§

FailPatternHit
A fail pattern matched in the output buffer.
LiteralMatch
Payload for a literal match.
Match
A match result with absolute byte offsets and typed payload.
MultiMatchHit
Result of a successful scan against one pattern slot.
OutputBuffer
PatternSlot
A pattern the multimatch scan is still looking for. regex is None for literal patterns; the source string lives in pattern_str either way so the builder can record it without going back to the IR.
RegexMatch
Payload for a regex match (capture groups by index).

Traits§

MatchKind
Marker trait for match payload types.

Type Aliases§

MatchSlices
(before, matched, after) slices around a match. Used by the VM to push a BufferEventKind::Matched describing how the cursor advanced.